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

[RC4] z-index-abspos-009 currently invalid

From: Arron Eicholz <Arron.Eicholz@microsoft.com>
Date: Tue, 28 Dec 2010 23:47:14 +0000
To: "fantasai (fantasai.lists@inkedblade.net)" <fantasai.lists@inkedblade.net>, "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>
Message-ID: <07349ECFC3608F48BC3B10459913E70B12B0E94C@TK5EX14MBXC140.redmond.corp.microsoft.com>
http://test.csswg.org/suites/css2.1/20101210/html4/z-index-abspos-009.htm

Currently the z-index-abspos-009 test case is invalid.

The red HTML element is 55x55 pixels in size however the div element that is to cover the HTML element is only 53x53 pixels in size (10px left border  + 9px left padding + 15px width + 9px right padding + 10px right border). And is positioned -19px which would leave it 1px sort of the left edge of the HTML element.

This is a simple change and I think the case just needs a small tweak to fix the padding and margins for the div.


This is the change:
            div
            {
                background: red url(/support/swatch-green.png) center no-repeat;
                height: 15px;
                width: 15px;
                padding: 10px;
                border: solid 10px green;
                position: absolute;
                margin-top: -20px;
                margin-left: -20px;
                z-index: -1;
            }

--
Thanks,
Arron Eicholz
Received on Tuesday, 28 December 2010 23:47:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 28 December 2010 23:48:01 GMT