- From: L. David Baron <dbaron@dbaron.org>
- Date: Sun, 24 Mar 2013 19:01:45 -0700
- To: www-style@w3.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: http://www.w3.org/TR/CSS21/text.html#decoration CSS 2.1's model for text-decorations also includes its rules on z-ordering of text-decorations in http://www.w3.org/TR/CSS21/zindex.html 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. -David -- 𝄞 L. David Baron http://dbaron.org/ 𝄂 𝄢 Mozilla http://www.mozilla.org/ 𝄂
Received on Monday, 25 March 2013 02:02:14 UTC