Re: [RC6] text-decoration-applies-to-005 is incorrect; text-decoration applicability with inline-block

On Tue, 08 Nov 2011 23:20:30 +0100, Gérard Talbot  
<css21testsuite@gtalbot.org> wrote:

> [RC6]
> http://test.csswg.org/suites/css2.1/20110323/html4/text-decoration-089.htm
>
> [nightly-unstable]
> http://test.csswg.org/suites/css2.1/nightly-unstable/html4/text-decoration-089.htm
>
> [RC6]
> http://test.csswg.org/suites/css2.1/20110323/html4/text-decoration-applies-to-005.htm
>
> [nightly-unstable]
> http://test.csswg.org/suites/css2.1/nightly-unstable/html4/text-decoration-applies-to-005.htm
>
> "
> Note that text decorations are not propagated to (...) the contents of
> atomic inline-level descendants such as inline blocks and inline tables.
> (...) User agents must not render these text decorations on content that
> is not text. For example, images and inline blocks must not be
> underlined.
> "
> 16.3.1 Underlining, overlining, striking, and blinking: the
> 'text-decoration' property
> http://www.w3.org/TR/CSS21/text.html#decoration

Propagation is only an issue in text-decoration-089, though. In  
text-decoration-applies-to-005, text-decoration is set on the inline-block  
itself, so an underline is expected.

-- 
Øyvind Stenhaug
Core Norway, Opera Software ASA

Received on Wednesday, 9 November 2011 13:58:17 UTC