Microsoft's containing-block-004

Hello,

http://test.csswg.org/suites/css2.1/20101001/html4/containing-block-004.htm

#div1 is defined in the local stylesheet while id="d1" is used: most
likely a typo.

Proposed adjustment:

        <style type="text/css">
            #containing-block
            {
                background: red;
                display: block;
                height: 100px;
                width: 100px;
            }
            #static-element
            {
                background: green;
                height: 100%;
                position: static;
                width: 100%;
            }
        </style>

        <p>Test passes if there is a green square and no red.</p>
        <div id="containing-block">
            <div id="static-element"></div>
        </div>

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

CSS 2.1 test suite (RC2; October 1st 2010):
http://test.csswg.org/suites/css2.1/20101001/html4/toc.html

CSS 2.1 test suite contributors:
http://test.csswg.org/source/contributors/

Received on Friday, 8 October 2010 02:58:54 UTC