W3C home > Mailing lists > Public > www-style@w3.org > August 2012

[css3-text] line-break questions/comments

From: Glenn Adams <glenn@skynav.com>
Date: Sat, 25 Aug 2012 17:54:37 +0800
Message-ID: <CACQ=j+d-Q1M_WacQFSFisrbCxasFpBXDNsN-tUUM7Hgo0ojOVw@mail.gmail.com>
To: W3C Style <www-style@w3.org>
(1) "known to be Chinese or Japanese" is not defined in a manner sufficient
to obtain testability or interoperability at any level; some default
algorithm should be defined, e.g., "use the 'lang' attribute ..." or "use
the default language of the font if any" or "if there are any hiragana or
katakana character, then treat as Japanese; if any hangul character, treat
as Korean, otherwise ...", etc

(2) line-break support is optional but recommended for CJK markets;
however, it is unclear whether its rules are intended to be applied in the
absence of "known to be Chinese or Japanese"; e.g., if in a UA that
supports line-break, the default algorithm for "known to be Chinese or
Japanese" returns false (e.g., if the entire text is "A&#x2025;&#x2025;B"),
then does the rule forbidding a break between &#x2025; characters still
apply when line-break:strict?

(3) speaking of "breaks between some inseparable characters: ‥ U+2025,
… U+2026" what exactly does "between" mean here? does it mean between only
the following four pairs or something else?


(4) is it permissible for 'auto' behavior to differ from all of
normal|strict|loose? e.g., map to 'foo' (where foo is defined internally by

(5) regarding "breaks before postfixes", what if there is nothing prior to
the postfix or nothing prior within the same element? e.g., if we have

<span style="line-break:strict">

then is a break permitted before the "[don't] break before postfix" '%'?

(6) same question as (5) for "breaks after prefixes", substituting after
for before?

<span style="line-break:strict">

then is a break permitted after the "[don't] break after prefix" '$'?

(7) what is behavior when different line-break modes apply to adjacent
text? e.g.

<span style="line-break:loose">$</span><span

<span style="line-break:strict">$</span><span
Received on Saturday, 25 August 2012 09:55:26 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:03 UTC