[RC6] outline-width-095 is incorrect

Hello,

[RC6]
http://test.csswg.org/suites/css2.1/20110323/html4/outline-width-095.htm

[nightly-unstable]
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/outline-width-095.htm

There are 3 constraints from the spec wrt this testcase:

- outline borders may be drawn starting just outside the border box but
the spec uses a "may" word. Firefox 7.0.1 (and previous versions) draws
the outline borders just outside the outline box of its descendant, not
just outside its own border box

- how multiple overlapping outlines are drawn is undefined;

- when outline borders are painted within the z-axis has 3 options
according to E.2

The sole reason for <div id="abs"></div> in the testcase is to mask,
overlap the parent (<div id="div1">) inverted outline borders. There is
no other reason. Since the inverted outlines are overlapped by <div
id="abs">, therefore the orange outline borders of the child should
shine through. But orange color is not mentioned in the testcase.

The testcase assumes that outline borders of parent (invert in the
testcase) will overlap, will paint over the orange outline borders of
its child which can then create a blue color (IE8 and Konqueror 4.7.2
create a blue color) or remain as previously defined (black) (Chrome
15.0.874.106 paints black). But that behavior is not natural or
intuitive ... even though it complies with E.2 section right now. So,
the top box may be black or blue.

Opera 11.52 renders orange borders: the outline borders of the child
overlaps the outline borders of its parent and such orange color is not
affected by invert outline borders under, below it. The resulting color
after such overlapping is compliant.

In order to be acceptable, I think the testcase should introduce orange
as a 3rd color acceptable for the top box in such testcase.

Finally, with color being a decisive factor in this testcase, such
testcase is less an 'outline-width: inherit' kind of testcase than a
resulting outline color kind of testcase.

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

CSS 2.1 Test suite RC6, March 23rd 2011:
http://test.csswg.org/suites/css2.1/20110323/html4/toc.html

CSS 2.1 test suite harness:
http://test.csswg.org/harness/

Contributing to to CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.html

Received on Thursday, 3 November 2011 21:42:16 UTC