W3C home > Mailing lists > Public > public-css-testsuite@w3.org > September 2010

Microsoft's outline-style-hidden-001 testcase

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Wed, 1 Sep 2010 16:43:30 -0700
Message-ID: <f1118893350968204387b51dfccc077a.squirrel@cp3.shieldhost.com>
To: "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>
Cc: "Arron Eicholz" <arron.eicholz@microsoft.com>
Hello,

Regarding this testcase

http://test.csswg.org/suites/css2.1/20100815/html4/outline-style-hidden-001.htm

The spec says:
"
The 'outline-style' property accepts the same values as 'border-style',
except that 'hidden' is not a legal outline style.
"
http://www.w3.org/TR/CSS21/ui.html#dynamic-outlines

The relevant code of the testcase is:

            div
            {
                background: black;
                height: 100px;
                margin-top: 40px;
                outline-style: hidden;
                outline-color: red;
                outline-width: 15px;
                width: 100px;
            }
        </style>

        <p>Test passes if there is no red visible on the page.</p>

        <div></div>

Let's say a browser does *not* support hidden as an outline-style like
the spec says, then the initial, default outline-style will apply (which
is none) and there will be no red visible.

Let's say a browser does support hidden as an outline-style just like
border-style: hidden does, then there will be no red visible either.

So that test is not correct.

Proposed replacement:

http://www.gtalbot.org/BrowserBugsSection/css21testsuite/outline-style-hidden-001.htm

Konqueror 4.4.5 now fails such test.

regards, Gérard
-- 
Contributions to the CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

CSS 2.1 test suite (beta 3; August 15th 2010):
http://test.csswg.org/suites/css2.1/20100815/html4/toc.html

CSS 2.1 test suite contributors:
http://test.csswg.org/source/contributors/
Received on Wednesday, 1 September 2010 23:44:07 GMT

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