Re: html-precedence-003 (was Re: Chrome 6 test results for user stylesheets tests)

On 10/18/2010 07:19 AM, Øyvind Stenhaug wrote:
> On Sat, 16 Oct 2010 20:16:47 +0200, Gérard Talbot
> <www-style@gtalbot.org> wrote:
>
>> http://test.csswg.org/suites/css2.1/20101001/html4/html-precedence-003.htm
>>
>> is a valid testcase. So, Chrome 6 fails that one.
>
> Looks like the "Test passes [...]" paragraph will be red even in a
> correct implementation though. So the TC should be improved, since the
> convention is that red means failure.

Yes, it should be selecting the <font> element only.

If the testcase uses

font {
   color: red;
   text-decoration: underline;
}

or

font {
   color: red;
   background: lime;
}

and checks for the second style rule, then it can both check that
the style rule is applied correctly from the user style sheet and
also that the color is overridden by the HTML preshint.

~fantasai

Received on Saturday, 23 October 2010 07:47:32 UTC