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

On 02/27/2009 06:18 PM, Arron Eicholz wrote:
> 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

Fixed. Let me know if this is ok:
   http://test.csswg.org/source/approved/css2.1/archive/raw-tests/css1tests/css1test543.xml

~fantasai

Received on Monday, 25 January 2010 10:45:56 UTC