On 8/2/2007 10:19 AM, fantasai wrote [in part]: > Masayuki Nakano wrote: >> [EMAIL PROTECTED] wrote: >>> I really want to find out what the jp-critical need for linebreaking >>> of Latin-1 text is. >> we need to break URLs in most cases, therefore, I think, we should break >> after '/' for path part of URLs. And also we should break after '\' for >> windows file path too. And we should also break after '&' and ';' or '=' >> for param part of URLs. And '%' too. It is used for %-encoding. > > Why do we "need to" break URLs? Yes, it would be nice but can you give > some examples of where this is "jp-critical"? It would be better if we > all had the same understanding of the problem we're trying to solve here. > > I'd rather not break at '\', because it is used in escapes, which could > be in the middle of a token. If we're breaking at '\', I want to see > examples of why it is necessary and some estimate of how common these > cases are vs. the cases where we want the word to stay together. > > For %-encoding, you'd want to break *before* the %, not after it. But > for normal usage, e.g. '100%', you really don't want to break before. > Therefore I don't think % should be a breaking character. > > I don't see a problem with breaking after ';'. I can't recall how they're > particularly relevant to URLs, but I also can't think of any cases where > that would break anything. > > If we want to break at &, then we should prioritize spaces and semicolons > over &. We don't want 'x &nbps; ' to break after either &. > >> '/' and '\' may be needed the context analysis. (they are only broken >> after if it is second or more?) > > Yes, I believe this is necessary. 'c/o' should never break. Neither should > '\n'. If we're allowing breaks at slashes in 1.9, then this level of context > analysis is imho required.
Examples where the virgule (/) should not break a line: n/a for "not applicable" fractions (e.g., 2/3) dates (e.g., 8/2/07, which I would usually write "2Aug07" to avoid confusion with 8Feb07) combined units of measure (e.g., mi/hr, cm/sec, kg/m2) and/or (a stylistic abomination that I never use) In text other than Web pages, I manually break URIs and file paths just before (not after) the virgule. -- David E. Ross <http://www.rossde.com/>. Anyone who thinks government owns a monopoly on inefficient, obstructive bureaucracy has obviously never worked for a large corporation. © 1997 _______________________________________________ dev-tech-layout mailing list dev-tech-layout@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-layout