W3C home > Mailing lists > Public > public-css-testsuite@w3.org > February 2009

t1504-c543-txt-decor-00-d-g.htm: text-decoration description ambiguous

From: Arron Eicholz <Arron.Eicholz@microsoft.com>
Date: Fri, 27 Feb 2009 18:18:23 -0800
To: "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>
Message-ID: <66D5CB5D6AB0694592FAF5487C50368B29B55CB85C@NA-EXMSG-C111.redmond.corp.microsoft.com>
http://www.w3.org/Style/CSS/Test/CSS2.1/current/html4/t1504-c543-txt-decor-00-d-g.htm

Here is the markup for the fourth test from the bottom:

<p> There should be no red at the end of this line. <strong class="one"> </strong>&nbsp;</p>

The relevant CSS is: 

.one {text-decoration: underline;}

However, CSS2.1 states [1]:

"Underlines, overlines, and line-throughs are applied only to text (including white space, letter spacing, and word spacing): margins, borders, and padding are skipped. If an element contains no text, user agents must refrain from rendering these text decorations on the element. For example, images will not be underlined."

We interpret this as requiring this space to be underlined.

The test case is currently invalid and needs to be updated to match the current spec that states white space should be underlined.

[1] http://www.w3.org/TR/CSS21/text.html#propdef-text-decoration

--
Thanks,
Arron Eicholz
Received on Saturday, 28 February 2009 02:19:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 20 September 2010 17:51:57 GMT