W3C home > Mailing lists > Public > www-style@w3.org > November 2011

[css3-text] Splitting CSS Text into Level 3 and Level 4

From: fantasai <fantasai.lists@inkedblade.net>
Date: Fri, 18 Nov 2011 03:00:46 -0800
Message-ID: <4EC63ADE.1030803@inkedblade.net>
To: "www-style@w3.org" <www-style@w3.org>
In the interests of getting some of the more stable features to CR, I'm suggesting
that we split CSS3 Text into two levels along the lines outlined below. I've
annotated the items on the list with their implementation status and EPUB inclusion,
as requested. The spec probably needs at least one or two more WDs before LC, but
making this split means LC is within sight. We'll maintain a Level 4 draft with
the features that are cut so that we can continue working on them.

=== Keep in Level 3 ===

These features are both already-implemented and required for EPUB:
   * line-break
   * word-break
   * hyphens
   * text-align-last
   * text-emphasis-style
   * text-emphasis-color
   * text-transform

These are implemented already in some form:
   * tab-size
   * text-wrap ('avoid' is not implemented; 'none' and 'normal' are)
   * text-space-collapse: collapse, preserve, preserve-breaks
   * overflow-wrap (word-wrap): normal, break-word
   * text-justify
   * hanging-punctuation
   * text-decoration-color
   * text-decoration-style
   * text-emphasis-position
   * text-shadow
   * text-decoration-line: none, underline, overline, line-through
   * text-underline-position

These have no known implementations of the new stuff, but unless
someone starts raising issues that indicate they need a lot more
work, I don't see any reason to hold them back from CR:
   * text-align
   * letter-spacing
   * word-spacing
   * text-indent
   * text-decoration-skip

=== Defer to next level ===

   * text-replace / @text-transform
   * text-space-collapse: trim-inner, consume-before, consume-after
   * overflow-wrap: hyphenate
   * text-spacing
   * text-decoration: everything else

=== Undecided, but probaby defer ===

   * text-space-collapse: discard
   * hyphenate-limit-zone
   * hyphenate-limit-chars (partial IMPL as 'hyphenate-before' and 'hyphenate-after')
   * hyphenate-limit-lines (IMPL as 'hyphenate-lines')
   * hyphenate-limit-last
   * text-emphasis-skip (IMPL)

The definitions here feel a bit shaky, but maybe could be stabilized.

For hyphenation limits I'm especially concerned about their relative
priority and their interaction with paragraph-level (TeX-style) breaking.
The interactions there don't seem to be well-thought-out / well-defined.

For 'discard', the only uncertainty I have is whether it should preserve
line-breaking opportunities where the white space used to be.

~fantasai
Received on Friday, 18 November 2011 11:01:28 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:46 GMT