- From: Rijk van Geijtenbeek <rijk@iname.com>
- Date: Wed, 11 Apr 2001 22:21:06 +0200
- To: www-style@w3.org
Hi all, On http://www.meyerweb.com/eric/css/tests/css2/sec16-03-01.htm I read: "Text decorations only apply to the text of an element, so the image at the end of this sentence should not be overlined: [img]. The underline of the parent element should hold true beneath the image, however, since text-decoration 'spans' child elements." Doesn't the spec simply mean to say that IMG can not have text-decoration, so the second part of the paragraph above is mistaken? The CSS2 spec says on text-decoration [1]: "If the property is specified for a block-level element, it affects all inline-level descendants of the element. If it is specified for (or affects) an inline-level element, it affects all boxes generated by the element. If the element has no content or no text content (e.g., the IMG element in HTML), user agents must ignore this property." [1] http://www.w3.org/TR/REC-CSS2/text.html#propdef-text-decoration Greetings, Rijk mailto:rijk@iname.com Mot du Jour: It's not the bullet that kills you, it's the hole.
Received on Wednesday, 11 April 2001 16:19:25 UTC