On 2 elo, 20:19, fantasai <[EMAIL PROTECTED]> wrote:
> Masayuki Nakano wrote:
> > And we should also break after '&' and ';' or '='
>
> 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.
Breaking after semicolon (;) would be unexpected, but I can't think of
any natural language example where semicolon is not followed by a
space (which, of course, offers a break opportunity anyway, unless it
is a no-break space). However, semicolon is often used in smileys, and
you wouldn't want to break there. ;-)
> If we want to break at &, then we should prioritize spaces and semicolons
> over &. We don't want 'x &nbps; ' to break after either &.
Also, breaking abbreviations of names, such as AT&T, would generally
be undesirable.
> > *However*, if nobody have trouble, we should use similar spec for the
> > compatibility with WinIE. I.e., '!', '$', '?', '[', ']', '{', '}', '¢'
> > and '°'.
Square brackets '[]' could be used instead of parentheses in cases
such as 'colo[u]ring'. I'm not sure whether anybody would use curly
brackets '{}' in such a situation, but if somebody did, it would be
logical to expect them to behave in the same way than the other
brackets.
An exclamation mark and a question mark may occur adjacent to each
other when somebody wants to express that s/he has written something
surprising (!?). Also, some writers may try to emphasize their
sentences with a sequence of exclamation marks (!!!) or question marks
(???); this is bad style, but nevertheless, one would not expect such
a sequence to be broken.
In English, '$' is usually followed by a number ($20), while in some
other languages, the currency symbol comes after the number ('20$' or
'20 $' -- the latter example preferably with a no-break space). Also,
in some languages, case suffixes are connected to symbol characters
with a colon. In Finnish, for example, the genitive suffix -n could be
used when building strings such as '$:n', '¢:n' and '%:n', and these
should not be broken.
A degree symbol (U+00B0) is often written adjacent to the unit of
measurement (100 °C), but if the unit is not mentioned, the degree
symbol is written adjacent to the number (100°). Thus, the degree
symbol should not be breakable at all.
--
Simo Kaupinmäki
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout