W3C home > Mailing lists > Public > www-style@w3.org > March 2013

[css-text-decor-3] text-decoration model should account for 'objects' ∉ 'text-decoration-skip'

From: L. David Baron <dbaron@dbaron.org>
Date: Sun, 24 Mar 2013 19:01:45 -0700
To: www-style@w3.org
Message-ID: <20130325020145.GA28455@crum.dbaron.org>
http://dev.w3.org/csswg/css-text-decor-3/#line-decoration describes
the model for text-decoration drawing, largely analogous to the
model described in the text chapter of CSS 2.1:
CSS 2.1's model for text-decorations also includes its rules on
z-ordering of text-decorations in

http://dev.w3.org/csswg/css-text-decor-3/#text-decoration-skip adds
a new text-decoration-skip property.  When this property's computed
value does not contain 'objects', text decorations are drawn on
atomic inlines.

The z-ordering of the text-decorations drawn on atomic inlines also
needs to be specified in such a way that a reader could determine
exactly where in Appendix E of CSS 2.1 it fits.  It is currently
unspecified, as far as I can tell.

The model
(http://dev.w3.org/csswg/css-text-decor-3/#line-decoration) says:
  # The ‘visibility’ property, ‘text-shadow’, filters, and other
  # graphical transformations likewise affect text decorations as
  # part of the text they're drawn on, even if the decorations were
  # specified on an ancestor box.

This also needs to specify how these effects work with atomic
inlines.  For example, I would expect 'visibility' on an atomic
inline that is decorated because of text-decoration-skip to change
the visibility of the decoration, but I would not expect
'visibility' on its descendants to do so.  Likewise, I would expect
the rules for application of filters to be consistent with the rules
for z-ordering.


𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂
Received on Monday, 25 March 2013 02:02:14 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:25 UTC