W3C home > Mailing lists > Public > public-css-testsuite@w3.org > November 2011

[RC6] outline-width-095 is incorrect

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Thu, 3 Nov 2011 14:41:35 -0700
Message-ID: <81e17bce1083b763c281a9fc3f1eb9a3.squirrel@cp3.shieldhost.com>
To: "Arron Eicholz" <arron.eicholz@microsoft.com>
Cc: "Public CSS test suite mailing list" <public-css-testsuite@w3.org>



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.

Contributions to the CSS 2.1 test suite:

CSS 2.1 Test suite RC6, March 23rd 2011:

CSS 2.1 test suite harness:

Contributing to to CSS 2.1 test suite:
Received on Thursday, 3 November 2011 21:42:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:26:55 UTC