Microsoft's outline-style-hidden-001 testcase

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 UTC