Index of /test/css/magic-body
Name Last modified Size Description
Parent Directory -
background-color/ 2007-05-02 18:29 -
background-image/ 2007-05-02 18:29 -
magic-body.rar 2007-09-03 02:01 30K
overflow/ 2007-05-02 18:30 -
The NNN.htm and NNN.xht files are the same byte for byte. The
NNN-declarative.xht are exactly equivalent to the NNN.xht files, except
that they don't have a "script" element and thus don't rely on scripting.
Relevant parts of the *current* spec:
http://www.w3.org/TR/CSS21/colors.html#q2
http://www.w3.org/TR/CSS21/visufx.html#propdef-overflow
If HTML and XHTML are treated equivalently w.r.t. 'background-color',
'background-image' and 'overflow' in implementations (i.e., if these tests
pass) before CSS 2.1 goes to Rec, then the spec will change:
http://lists.w3.org/Archives/Public/www-style/2007Apr/0196.html
Proposed spec changes:
http://lists.w3.org/Archives/Public/www-style/2007Mar/0057.html
Why HTML and XHTML should be treated equivalently here, see e.g.:
http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2007-March/009878.html
Opera: bug #263168
Mozilla: https://bugzilla.mozilla.org/show_bug.cgi?id=379461
WebKit: http://bugs.webkit.org/show_bug.cgi?id=13568
In the table below, P means that the test passed, F means that the test
failed (but the script did run, if appliciable), and S means that the
script didn't run. The first refers to NNN.htm, the second refers to
NNN.xht, and the third refers to NNN-declarative.xht.
Results as of 2007-05-14
Property | Test | WebKit | Opera | Gecko | Title
------------+------+--------+-------+-------+------------------------------------------------------------------------------------------------
background- | 001 | P F - | P P - | P F - | background on body should fill the canvas
color, | 002 | P P - | P P - | P P - | background on body should not fill the canvas when root has background
background- | 003 | F P P | S S F | F P P | background on body should not fill the canvas when root is not html:html
image | 004 | P P P | P*F P | P P P | background on non-HTML body should not fill the canvas
| 005 | P F F | P P P | P F F | background on body should fill the canvas even when it has bogus siblings
| 006 | F P P | F F F | P P P | background on subsequent bodys should not cover the canvas
| 007 | P P P | F F F | P P P | background on body should not cover the canvas when not child of root
| 008 | P F - | P P - | P F - | when background on body is propagated to the canvas, it shouldn't have a background itself
------------+------+--------+-------+-------+------------------------------------------------------------------------------------------------
background- | 009 | F F - | P P - | P F - | background on body when propagated to the canvas should be anchored at the root element
image | 010 | P P - | P P - | P P - | background on body when not propagated to the canvas should not be anchored at the root element
------------+------+--------+-------+-------+------------------------------------------------------------------------------------------------
overflow | 001 | P F - | P F - | P P - | overflow on body should propagate to the viewport
| 002 | F P - | F P - | P P - | overflow on body should not propagate to the viewport when root has overflow
| 003 | F P P | S S P | P P P | overflow on body should not propagate to the viewport when root is not html:html
| 004 | P P P | F P P | F F P | overflow on non-HTML body not should propagate to the viewport
| 005 | P F F | P F F | P P P | overflow on body should propagate to the viewport even when it has bogus siblings
| 006 | F P P | F P P | P P P | overflow on subsequent bodys should not propagate to the viewport
| 007 | F P P | F P P | P P P | overflow on body should not propagate to the viewport when not child of root
*) Opera renders 004.htm correctly after a reflow.