WebCore:
authorhyatt@apple.com <hyatt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Oct 2008 20:35:36 +0000 (20:35 +0000)
committerhyatt@apple.com <hyatt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Oct 2008 20:35:36 +0000 (20:35 +0000)
2008-10-14  David Hyatt  <hyatt@apple.com>

        https://bugs.webkit.org/show_bug.cgi?id=21595

        Clean up background and overflow propagation from the body to the viewport.  Make it match the
        latest CSS2.1 spec thinking.

        Reviewed by Adam Roben

        Added many tests at fast/body-propagation/.  These are Simon Pieters' tests of propagation handling
        (available at http://simon.html5.org/test/css/magic-body/).

        * dom/Document.cpp:
        (WebCore::Document::body):
        * page/FrameView.cpp:
        (WebCore::FrameView::layout):
        * rendering/RenderBox.cpp:
        (WebCore::RenderBox::styleDidChange):
        (WebCore::RenderBox::paintRootBoxDecorations):
        (WebCore::RenderBox::paintBoxDecorations):
        (WebCore::RenderBox::repaintLayerRectsForImage):

LayoutTests:

2008-10-14  David Hyatt  <hyatt@apple.com>

        Add layout tests for body propagation of overflow and background to the viewport.

        Reviewed by Adam Roben

        * fast/body-propagation: Added.
        * fast/body-propagation/background-color: Added.
        * fast/body-propagation/background-color/001-xhtml.xhtml: Added.
        * fast/body-propagation/background-color/001.html: Added.
        * fast/body-propagation/background-color/002-xhtml.xhtml: Added.
        * fast/body-propagation/background-color/002.html: Added.
        * fast/body-propagation/background-color/003-declarative.xhtml: Added.
        * fast/body-propagation/background-color/003-xhtml.xhtml: Added.
        * fast/body-propagation/background-color/003.html: Added.
        * fast/body-propagation/background-color/004-declarative.xhtml: Added.
        * fast/body-propagation/background-color/004-xhtml.xhtml: Added.
        * fast/body-propagation/background-color/004.html: Added.
        * fast/body-propagation/background-color/005-declarative.xhtml: Added.
        * fast/body-propagation/background-color/005-xhtml.xhtml: Added.
        * fast/body-propagation/background-color/005.html: Added.
        * fast/body-propagation/background-color/006-declarative.xhtml: Added.
        * fast/body-propagation/background-color/006-xhtml.xhtml: Added.
        * fast/body-propagation/background-color/006.html: Added.
        * fast/body-propagation/background-color/007-declarative.xhtml: Added.
        * fast/body-propagation/background-color/007-xhtml.xhtml: Added.
        * fast/body-propagation/background-color/007.html: Added.
        * fast/body-propagation/background-color/008-xhtml.xhtml: Added.
        * fast/body-propagation/background-color/008.html: Added.
        * fast/body-propagation/background-image: Added.
        * fast/body-propagation/background-image/001-xhtml.xhtml: Added.
        * fast/body-propagation/background-image/001.html: Added.
        * fast/body-propagation/background-image/002-xhtml.xhtml: Added.
        * fast/body-propagation/background-image/002.html: Added.
        * fast/body-propagation/background-image/003-declarative.xhtml: Added.
        * fast/body-propagation/background-image/003-xhtml.xhtml: Added.
        * fast/body-propagation/background-image/003.html: Added.
        * fast/body-propagation/background-image/004-declarative.xhtml: Added.
        * fast/body-propagation/background-image/004-xhtml.xhtml: Added.
        * fast/body-propagation/background-image/004.html: Added.
        * fast/body-propagation/background-image/005-declarative.xhtml: Added.
        * fast/body-propagation/background-image/005-xhtml.xhtml: Added.
        * fast/body-propagation/background-image/005.html: Added.
        * fast/body-propagation/background-image/006-declarative.xhtml: Added.
        * fast/body-propagation/background-image/006-xhtml.xhtml: Added.
        * fast/body-propagation/background-image/006.html: Added.
        * fast/body-propagation/background-image/007-declarative.xhtml: Added.
        * fast/body-propagation/background-image/007-xhtml.xhtml: Added.
        * fast/body-propagation/background-image/007.html: Added.
        * fast/body-propagation/background-image/008-xhtml.xhtml: Added.
        * fast/body-propagation/background-image/008.html: Added.
        * fast/body-propagation/background-image/009-xhtml.xhtml: Added.
        * fast/body-propagation/background-image/009.html: Added.
        * fast/body-propagation/background-image/010-xhtml.xhtml: Added.
        * fast/body-propagation/background-image/010.html: Added.
        * fast/body-propagation/background-image/resources: Added.
        * fast/body-propagation/background-image/resources/lime.png: Added.
        * fast/body-propagation/background-image/resources/red.png: Added.
        * fast/body-propagation/background-image/resources/white.png: Added.
        * fast/body-propagation/background-image/resources/yellow.png: Added.
        * fast/body-propagation/overflow: Added.
        * fast/body-propagation/overflow/001-xhtml.xhtml: Added.
        * fast/body-propagation/overflow/001.html: Added.
        * fast/body-propagation/overflow/002-xhtml.xhtml: Added.
        * fast/body-propagation/overflow/002.html: Added.
        * fast/body-propagation/overflow/003-declarative.xhtml: Added.
        * fast/body-propagation/overflow/003-xhtml.xhtml: Added.
        * fast/body-propagation/overflow/003.html: Added.
        * fast/body-propagation/overflow/004-declarative.xhtml: Added.
        * fast/body-propagation/overflow/004-xhtml.xhtml: Added.
        * fast/body-propagation/overflow/004.html: Added.
        * fast/body-propagation/overflow/005-declarative.xhtml: Added.
        * fast/body-propagation/overflow/005-xhtml.xhtml: Added.
        * fast/body-propagation/overflow/005.html: Added.
        * fast/body-propagation/overflow/006-declarative.xhtml: Added.
        * fast/body-propagation/overflow/006-xhtml.xhtml: Added.
        * fast/body-propagation/overflow/006.html: Added.
        * fast/body-propagation/overflow/007-declarative.xhtml: Added.
        * fast/body-propagation/overflow/007-xhtml.xhtml: Added.
        * fast/body-propagation/overflow/007.html: Added.
        * platform/mac/fast/body-propagation: Added.
        * platform/mac/fast/body-propagation/background-color: Added.
        * platform/mac/fast/body-propagation/background-color/001-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-color/001-expected.png: Added.
        * platform/mac/fast/body-propagation/background-color/001-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-color/001-xhtml-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-color/001-xhtml-expected.png: Added.
        * platform/mac/fast/body-propagation/background-color/001-xhtml-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-color/002-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-color/002-expected.png: Added.
        * platform/mac/fast/body-propagation/background-color/002-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-color/002-xhtml-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-color/002-xhtml-expected.png: Added.
        * platform/mac/fast/body-propagation/background-color/002-xhtml-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-color/003-declarative-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-color/003-declarative-expected.png: Added.
        * platform/mac/fast/body-propagation/background-color/003-declarative-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-color/003-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-color/003-expected.png: Added.
        * platform/mac/fast/body-propagation/background-color/003-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-color/003-xhtml-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-color/003-xhtml-expected.png: Added.
        * platform/mac/fast/body-propagation/background-color/003-xhtml-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-color/004-declarative-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-color/004-declarative-expected.png: Added.
        * platform/mac/fast/body-propagation/background-color/004-declarative-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-color/004-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-color/004-expected.png: Added.
        * platform/mac/fast/body-propagation/background-color/004-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-color/004-xhtml-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-color/004-xhtml-expected.png: Added.
        * platform/mac/fast/body-propagation/background-color/004-xhtml-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-color/005-declarative-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-color/005-declarative-expected.png: Added.
        * platform/mac/fast/body-propagation/background-color/005-declarative-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-color/005-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-color/005-expected.png: Added.
        * platform/mac/fast/body-propagation/background-color/005-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-color/005-xhtml-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-color/005-xhtml-expected.png: Added.
        * platform/mac/fast/body-propagation/background-color/005-xhtml-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-color/006-declarative-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-color/006-declarative-expected.png: Added.
        * platform/mac/fast/body-propagation/background-color/006-declarative-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-color/006-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-color/006-expected.png: Added.
        * platform/mac/fast/body-propagation/background-color/006-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-color/006-xhtml-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-color/006-xhtml-expected.png: Added.
        * platform/mac/fast/body-propagation/background-color/006-xhtml-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-color/007-declarative-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-color/007-declarative-expected.png: Added.
        * platform/mac/fast/body-propagation/background-color/007-declarative-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-color/007-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-color/007-expected.png: Added.
        * platform/mac/fast/body-propagation/background-color/007-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-color/007-xhtml-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-color/007-xhtml-expected.png: Added.
        * platform/mac/fast/body-propagation/background-color/007-xhtml-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-color/008-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-color/008-expected.png: Added.
        * platform/mac/fast/body-propagation/background-color/008-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-color/008-xhtml-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-color/008-xhtml-expected.png: Added.
        * platform/mac/fast/body-propagation/background-color/008-xhtml-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-image: Added.
        * platform/mac/fast/body-propagation/background-image/001-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-image/001-expected.png: Added.
        * platform/mac/fast/body-propagation/background-image/001-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-image/001-xhtml-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-image/001-xhtml-expected.png: Added.
        * platform/mac/fast/body-propagation/background-image/001-xhtml-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-image/002-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-image/002-expected.png: Added.
        * platform/mac/fast/body-propagation/background-image/002-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-image/002-xhtml-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-image/002-xhtml-expected.png: Added.
        * platform/mac/fast/body-propagation/background-image/002-xhtml-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-image/003-declarative-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-image/003-declarative-expected.png: Added.
        * platform/mac/fast/body-propagation/background-image/003-declarative-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-image/003-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-image/003-expected.png: Added.
        * platform/mac/fast/body-propagation/background-image/003-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-image/003-xhtml-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-image/003-xhtml-expected.png: Added.
        * platform/mac/fast/body-propagation/background-image/003-xhtml-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-image/004-declarative-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-image/004-declarative-expected.png: Added.
        * platform/mac/fast/body-propagation/background-image/004-declarative-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-image/004-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-image/004-expected.png: Added.
        * platform/mac/fast/body-propagation/background-image/004-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-image/004-xhtml-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-image/004-xhtml-expected.png: Added.
        * platform/mac/fast/body-propagation/background-image/004-xhtml-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-image/005-declarative-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-image/005-declarative-expected.png: Added.
        * platform/mac/fast/body-propagation/background-image/005-declarative-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-image/005-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-image/005-expected.png: Added.
        * platform/mac/fast/body-propagation/background-image/005-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-image/005-xhtml-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-image/005-xhtml-expected.png: Added.
        * platform/mac/fast/body-propagation/background-image/005-xhtml-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-image/006-declarative-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-image/006-declarative-expected.png: Added.
        * platform/mac/fast/body-propagation/background-image/006-declarative-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-image/006-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-image/006-expected.png: Added.
        * platform/mac/fast/body-propagation/background-image/006-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-image/006-xhtml-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-image/006-xhtml-expected.png: Added.
        * platform/mac/fast/body-propagation/background-image/006-xhtml-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-image/007-declarative-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-image/007-declarative-expected.png: Added.
        * platform/mac/fast/body-propagation/background-image/007-declarative-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-image/007-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-image/007-expected.png: Added.
        * platform/mac/fast/body-propagation/background-image/007-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-image/007-xhtml-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-image/007-xhtml-expected.png: Added.
        * platform/mac/fast/body-propagation/background-image/007-xhtml-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-image/008-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-image/008-expected.png: Added.
        * platform/mac/fast/body-propagation/background-image/008-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-image/008-xhtml-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-image/008-xhtml-expected.png: Added.
        * platform/mac/fast/body-propagation/background-image/008-xhtml-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-image/009-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-image/009-expected.png: Added.
        * platform/mac/fast/body-propagation/background-image/009-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-image/009-xhtml-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-image/009-xhtml-expected.png: Added.
        * platform/mac/fast/body-propagation/background-image/009-xhtml-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-image/010-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-image/010-expected.png: Added.
        * platform/mac/fast/body-propagation/background-image/010-expected.txt: Added.
        * platform/mac/fast/body-propagation/background-image/010-xhtml-expected.checksum: Added.
        * platform/mac/fast/body-propagation/background-image/010-xhtml-expected.png: Added.
        * platform/mac/fast/body-propagation/background-image/010-xhtml-expected.txt: Added.
        * platform/mac/fast/body-propagation/overflow: Added.
        * platform/mac/fast/body-propagation/overflow/001-expected.checksum: Added.
        * platform/mac/fast/body-propagation/overflow/001-expected.png: Added.
        * platform/mac/fast/body-propagation/overflow/001-expected.txt: Added.
        * platform/mac/fast/body-propagation/overflow/001-xhtml-expected.checksum: Added.
        * platform/mac/fast/body-propagation/overflow/001-xhtml-expected.png: Added.
        * platform/mac/fast/body-propagation/overflow/001-xhtml-expected.txt: Added.
        * platform/mac/fast/body-propagation/overflow/002-expected.checksum: Added.
        * platform/mac/fast/body-propagation/overflow/002-expected.png: Added.
        * platform/mac/fast/body-propagation/overflow/002-expected.txt: Added.
        * platform/mac/fast/body-propagation/overflow/002-xhtml-expected.checksum: Added.
        * platform/mac/fast/body-propagation/overflow/002-xhtml-expected.png: Added.
        * platform/mac/fast/body-propagation/overflow/002-xhtml-expected.txt: Added.
        * platform/mac/fast/body-propagation/overflow/003-declarative-expected.checksum: Added.
        * platform/mac/fast/body-propagation/overflow/003-declarative-expected.png: Added.
        * platform/mac/fast/body-propagation/overflow/003-declarative-expected.txt: Added.
        * platform/mac/fast/body-propagation/overflow/003-expected.checksum: Added.
        * platform/mac/fast/body-propagation/overflow/003-expected.png: Added.
        * platform/mac/fast/body-propagation/overflow/003-expected.txt: Added.
        * platform/mac/fast/body-propagation/overflow/003-xhtml-expected.checksum: Added.
        * platform/mac/fast/body-propagation/overflow/003-xhtml-expected.png: Added.
        * platform/mac/fast/body-propagation/overflow/003-xhtml-expected.txt: Added.
        * platform/mac/fast/body-propagation/overflow/004-declarative-expected.checksum: Added.
        * platform/mac/fast/body-propagation/overflow/004-declarative-expected.png: Added.
        * platform/mac/fast/body-propagation/overflow/004-declarative-expected.txt: Added.
        * platform/mac/fast/body-propagation/overflow/004-expected.checksum: Added.
        * platform/mac/fast/body-propagation/overflow/004-expected.png: Added.
        * platform/mac/fast/body-propagation/overflow/004-expected.txt: Added.
        * platform/mac/fast/body-propagation/overflow/004-xhtml-expected.checksum: Added.
        * platform/mac/fast/body-propagation/overflow/004-xhtml-expected.png: Added.
        * platform/mac/fast/body-propagation/overflow/004-xhtml-expected.txt: Added.
        * platform/mac/fast/body-propagation/overflow/005-declarative-expected.checksum: Added.
        * platform/mac/fast/body-propagation/overflow/005-declarative-expected.png: Added.
        * platform/mac/fast/body-propagation/overflow/005-declarative-expected.txt: Added.
        * platform/mac/fast/body-propagation/overflow/005-expected.checksum: Added.
        * platform/mac/fast/body-propagation/overflow/005-expected.png: Added.
        * platform/mac/fast/body-propagation/overflow/005-expected.txt: Added.
        * platform/mac/fast/body-propagation/overflow/005-xhtml-expected.checksum: Added.
        * platform/mac/fast/body-propagation/overflow/005-xhtml-expected.png: Added.
        * platform/mac/fast/body-propagation/overflow/005-xhtml-expected.txt: Added.
        * platform/mac/fast/body-propagation/overflow/006-declarative-expected.checksum: Added.
        * platform/mac/fast/body-propagation/overflow/006-declarative-expected.png: Added.
        * platform/mac/fast/body-propagation/overflow/006-declarative-expected.txt: Added.
        * platform/mac/fast/body-propagation/overflow/006-expected.checksum: Added.
        * platform/mac/fast/body-propagation/overflow/006-expected.png: Added.
        * platform/mac/fast/body-propagation/overflow/006-expected.txt: Added.
        * platform/mac/fast/body-propagation/overflow/006-xhtml-expected.checksum: Added.
        * platform/mac/fast/body-propagation/overflow/006-xhtml-expected.png: Added.
        * platform/mac/fast/body-propagation/overflow/006-xhtml-expected.txt: Added.
        * platform/mac/fast/body-propagation/overflow/007-declarative-expected.checksum: Added.
        * platform/mac/fast/body-propagation/overflow/007-declarative-expected.png: Added.
        * platform/mac/fast/body-propagation/overflow/007-declarative-expected.txt: Added.
        * platform/mac/fast/body-propagation/overflow/007-expected.checksum: Added.
        * platform/mac/fast/body-propagation/overflow/007-expected.png: Added.
        * platform/mac/fast/body-propagation/overflow/007-expected.txt: Added.
        * platform/mac/fast/body-propagation/overflow/007-xhtml-expected.checksum: Added.
        * platform/mac/fast/body-propagation/overflow/007-xhtml-expected.png: Added.
        * platform/mac/fast/body-propagation/overflow/007-xhtml-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37591 268f45cc-cd09-0410-ab3c-d52691b4dbfc

269 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/body-propagation/background-color/001-xhtml.xhtml [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-color/001.html [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-color/002-xhtml.xhtml [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-color/002.html [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-color/003-declarative.xhtml [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-color/003-xhtml.xhtml [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-color/003.html [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-color/004-declarative.xhtml [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-color/004-xhtml.xhtml [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-color/004.html [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-color/005-declarative.xhtml [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-color/005-xhtml.xhtml [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-color/005.html [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-color/006-declarative.xhtml [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-color/006-xhtml.xhtml [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-color/006.html [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-color/007-declarative.xhtml [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-color/007-xhtml.xhtml [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-color/007.html [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-color/008-xhtml.xhtml [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-color/008.html [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-image/001-xhtml.xhtml [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-image/001.html [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-image/002-xhtml.xhtml [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-image/002.html [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-image/003-declarative.xhtml [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-image/003-xhtml.xhtml [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-image/003.html [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-image/004-declarative.xhtml [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-image/004-xhtml.xhtml [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-image/004.html [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-image/005-declarative.xhtml [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-image/005-xhtml.xhtml [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-image/005.html [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-image/006-declarative.xhtml [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-image/006-xhtml.xhtml [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-image/006.html [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-image/007-declarative.xhtml [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-image/007-xhtml.xhtml [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-image/007.html [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-image/008-xhtml.xhtml [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-image/008.html [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-image/009-xhtml.xhtml [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-image/009.html [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-image/010-xhtml.xhtml [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-image/010.html [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-image/resources/lime.png [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-image/resources/red.png [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-image/resources/white.png [new file with mode: 0644]
LayoutTests/fast/body-propagation/background-image/resources/yellow.png [new file with mode: 0644]
LayoutTests/fast/body-propagation/overflow/001-xhtml.xhtml [new file with mode: 0644]
LayoutTests/fast/body-propagation/overflow/001.html [new file with mode: 0644]
LayoutTests/fast/body-propagation/overflow/002-xhtml.xhtml [new file with mode: 0644]
LayoutTests/fast/body-propagation/overflow/002.html [new file with mode: 0644]
LayoutTests/fast/body-propagation/overflow/003-declarative.xhtml [new file with mode: 0644]
LayoutTests/fast/body-propagation/overflow/003-xhtml.xhtml [new file with mode: 0644]
LayoutTests/fast/body-propagation/overflow/003.html [new file with mode: 0644]
LayoutTests/fast/body-propagation/overflow/004-declarative.xhtml [new file with mode: 0644]
LayoutTests/fast/body-propagation/overflow/004-xhtml.xhtml [new file with mode: 0644]
LayoutTests/fast/body-propagation/overflow/004.html [new file with mode: 0644]
LayoutTests/fast/body-propagation/overflow/005-declarative.xhtml [new file with mode: 0644]
LayoutTests/fast/body-propagation/overflow/005-xhtml.xhtml [new file with mode: 0644]
LayoutTests/fast/body-propagation/overflow/005.html [new file with mode: 0644]
LayoutTests/fast/body-propagation/overflow/006-declarative.xhtml [new file with mode: 0644]
LayoutTests/fast/body-propagation/overflow/006-xhtml.xhtml [new file with mode: 0644]
LayoutTests/fast/body-propagation/overflow/006.html [new file with mode: 0644]
LayoutTests/fast/body-propagation/overflow/007-declarative.xhtml [new file with mode: 0644]
LayoutTests/fast/body-propagation/overflow/007-xhtml.xhtml [new file with mode: 0644]
LayoutTests/fast/body-propagation/overflow/007.html [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/001-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/001-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/001-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/001-xhtml-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/001-xhtml-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/001-xhtml-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/002-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/002-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/002-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/002-xhtml-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/002-xhtml-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/002-xhtml-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/003-declarative-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/003-declarative-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/003-declarative-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/003-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/003-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/003-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/003-xhtml-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/003-xhtml-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/003-xhtml-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/004-declarative-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/004-declarative-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/004-declarative-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/004-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/004-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/004-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/004-xhtml-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/004-xhtml-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/004-xhtml-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/005-declarative-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/005-declarative-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/005-declarative-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/005-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/005-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/005-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/005-xhtml-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/005-xhtml-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/005-xhtml-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/006-declarative-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/006-declarative-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/006-declarative-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/006-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/006-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/006-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/006-xhtml-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/006-xhtml-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/006-xhtml-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/007-declarative-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/007-declarative-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/007-declarative-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/007-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/007-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/007-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/007-xhtml-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/007-xhtml-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/007-xhtml-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/008-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/008-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/008-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/008-xhtml-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/008-xhtml-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-color/008-xhtml-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/001-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/001-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/001-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/001-xhtml-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/001-xhtml-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/001-xhtml-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/002-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/002-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/002-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/002-xhtml-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/002-xhtml-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/002-xhtml-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/003-declarative-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/003-declarative-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/003-declarative-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/003-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/003-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/003-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/003-xhtml-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/003-xhtml-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/003-xhtml-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/004-declarative-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/004-declarative-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/004-declarative-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/004-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/004-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/004-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/004-xhtml-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/004-xhtml-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/004-xhtml-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/005-declarative-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/005-declarative-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/005-declarative-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/005-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/005-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/005-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/005-xhtml-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/005-xhtml-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/005-xhtml-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/006-declarative-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/006-declarative-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/006-declarative-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/006-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/006-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/006-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/006-xhtml-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/006-xhtml-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/006-xhtml-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/007-declarative-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/007-declarative-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/007-declarative-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/007-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/007-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/007-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/007-xhtml-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/007-xhtml-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/007-xhtml-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/008-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/008-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/008-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/008-xhtml-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/008-xhtml-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/008-xhtml-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/009-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/009-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/009-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/009-xhtml-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/009-xhtml-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/009-xhtml-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/010-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/010-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/010-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/010-xhtml-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/010-xhtml-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/background-image/010-xhtml-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/001-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/001-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/001-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/001-xhtml-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/001-xhtml-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/001-xhtml-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/002-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/002-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/002-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/002-xhtml-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/002-xhtml-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/002-xhtml-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/003-declarative-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/003-declarative-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/003-declarative-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/003-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/003-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/003-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/003-xhtml-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/003-xhtml-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/003-xhtml-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/004-declarative-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/004-declarative-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/004-declarative-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/004-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/004-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/004-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/004-xhtml-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/004-xhtml-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/004-xhtml-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/005-declarative-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/005-declarative-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/005-declarative-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/005-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/005-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/005-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/005-xhtml-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/005-xhtml-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/005-xhtml-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/006-declarative-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/006-declarative-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/006-declarative-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/006-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/006-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/006-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/006-xhtml-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/006-xhtml-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/006-xhtml-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/007-declarative-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/007-declarative-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/007-declarative-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/007-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/007-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/007-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/007-xhtml-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/007-xhtml-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/body-propagation/overflow/007-xhtml-expected.txt [new file with mode: 0644]
WebCore/ChangeLog
WebCore/dom/Document.cpp
WebCore/page/FrameView.cpp
WebCore/rendering/RenderBox.cpp

index 87e425c..fa0d8e5 100644 (file)
@@ -1,3 +1,283 @@
+2008-10-14  David Hyatt  <hyatt@apple.com>
+
+        Add layout tests for body propagation of overflow and background to the viewport.
+
+        Reviewed by Adam Roben
+
+        * fast/body-propagation: Added.
+        * fast/body-propagation/background-color: Added.
+        * fast/body-propagation/background-color/001-xhtml.xhtml: Added.
+        * fast/body-propagation/background-color/001.html: Added.
+        * fast/body-propagation/background-color/002-xhtml.xhtml: Added.
+        * fast/body-propagation/background-color/002.html: Added.
+        * fast/body-propagation/background-color/003-declarative.xhtml: Added.
+        * fast/body-propagation/background-color/003-xhtml.xhtml: Added.
+        * fast/body-propagation/background-color/003.html: Added.
+        * fast/body-propagation/background-color/004-declarative.xhtml: Added.
+        * fast/body-propagation/background-color/004-xhtml.xhtml: Added.
+        * fast/body-propagation/background-color/004.html: Added.
+        * fast/body-propagation/background-color/005-declarative.xhtml: Added.
+        * fast/body-propagation/background-color/005-xhtml.xhtml: Added.
+        * fast/body-propagation/background-color/005.html: Added.
+        * fast/body-propagation/background-color/006-declarative.xhtml: Added.
+        * fast/body-propagation/background-color/006-xhtml.xhtml: Added.
+        * fast/body-propagation/background-color/006.html: Added.
+        * fast/body-propagation/background-color/007-declarative.xhtml: Added.
+        * fast/body-propagation/background-color/007-xhtml.xhtml: Added.
+        * fast/body-propagation/background-color/007.html: Added.
+        * fast/body-propagation/background-color/008-xhtml.xhtml: Added.
+        * fast/body-propagation/background-color/008.html: Added.
+        * fast/body-propagation/background-image: Added.
+        * fast/body-propagation/background-image/001-xhtml.xhtml: Added.
+        * fast/body-propagation/background-image/001.html: Added.
+        * fast/body-propagation/background-image/002-xhtml.xhtml: Added.
+        * fast/body-propagation/background-image/002.html: Added.
+        * fast/body-propagation/background-image/003-declarative.xhtml: Added.
+        * fast/body-propagation/background-image/003-xhtml.xhtml: Added.
+        * fast/body-propagation/background-image/003.html: Added.
+        * fast/body-propagation/background-image/004-declarative.xhtml: Added.
+        * fast/body-propagation/background-image/004-xhtml.xhtml: Added.
+        * fast/body-propagation/background-image/004.html: Added.
+        * fast/body-propagation/background-image/005-declarative.xhtml: Added.
+        * fast/body-propagation/background-image/005-xhtml.xhtml: Added.
+        * fast/body-propagation/background-image/005.html: Added.
+        * fast/body-propagation/background-image/006-declarative.xhtml: Added.
+        * fast/body-propagation/background-image/006-xhtml.xhtml: Added.
+        * fast/body-propagation/background-image/006.html: Added.
+        * fast/body-propagation/background-image/007-declarative.xhtml: Added.
+        * fast/body-propagation/background-image/007-xhtml.xhtml: Added.
+        * fast/body-propagation/background-image/007.html: Added.
+        * fast/body-propagation/background-image/008-xhtml.xhtml: Added.
+        * fast/body-propagation/background-image/008.html: Added.
+        * fast/body-propagation/background-image/009-xhtml.xhtml: Added.
+        * fast/body-propagation/background-image/009.html: Added.
+        * fast/body-propagation/background-image/010-xhtml.xhtml: Added.
+        * fast/body-propagation/background-image/010.html: Added.
+        * fast/body-propagation/background-image/resources: Added.
+        * fast/body-propagation/background-image/resources/lime.png: Added.
+        * fast/body-propagation/background-image/resources/red.png: Added.
+        * fast/body-propagation/background-image/resources/white.png: Added.
+        * fast/body-propagation/background-image/resources/yellow.png: Added.
+        * fast/body-propagation/overflow: Added.
+        * fast/body-propagation/overflow/001-xhtml.xhtml: Added.
+        * fast/body-propagation/overflow/001.html: Added.
+        * fast/body-propagation/overflow/002-xhtml.xhtml: Added.
+        * fast/body-propagation/overflow/002.html: Added.
+        * fast/body-propagation/overflow/003-declarative.xhtml: Added.
+        * fast/body-propagation/overflow/003-xhtml.xhtml: Added.
+        * fast/body-propagation/overflow/003.html: Added.
+        * fast/body-propagation/overflow/004-declarative.xhtml: Added.
+        * fast/body-propagation/overflow/004-xhtml.xhtml: Added.
+        * fast/body-propagation/overflow/004.html: Added.
+        * fast/body-propagation/overflow/005-declarative.xhtml: Added.
+        * fast/body-propagation/overflow/005-xhtml.xhtml: Added.
+        * fast/body-propagation/overflow/005.html: Added.
+        * fast/body-propagation/overflow/006-declarative.xhtml: Added.
+        * fast/body-propagation/overflow/006-xhtml.xhtml: Added.
+        * fast/body-propagation/overflow/006.html: Added.
+        * fast/body-propagation/overflow/007-declarative.xhtml: Added.
+        * fast/body-propagation/overflow/007-xhtml.xhtml: Added.
+        * fast/body-propagation/overflow/007.html: Added.
+        * platform/mac/fast/body-propagation: Added.
+        * platform/mac/fast/body-propagation/background-color: Added.
+        * platform/mac/fast/body-propagation/background-color/001-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-color/001-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-color/001-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-color/001-xhtml-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-color/001-xhtml-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-color/001-xhtml-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-color/002-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-color/002-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-color/002-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-color/002-xhtml-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-color/002-xhtml-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-color/002-xhtml-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-color/003-declarative-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-color/003-declarative-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-color/003-declarative-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-color/003-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-color/003-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-color/003-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-color/003-xhtml-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-color/003-xhtml-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-color/003-xhtml-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-color/004-declarative-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-color/004-declarative-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-color/004-declarative-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-color/004-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-color/004-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-color/004-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-color/004-xhtml-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-color/004-xhtml-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-color/004-xhtml-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-color/005-declarative-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-color/005-declarative-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-color/005-declarative-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-color/005-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-color/005-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-color/005-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-color/005-xhtml-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-color/005-xhtml-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-color/005-xhtml-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-color/006-declarative-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-color/006-declarative-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-color/006-declarative-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-color/006-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-color/006-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-color/006-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-color/006-xhtml-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-color/006-xhtml-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-color/006-xhtml-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-color/007-declarative-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-color/007-declarative-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-color/007-declarative-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-color/007-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-color/007-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-color/007-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-color/007-xhtml-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-color/007-xhtml-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-color/007-xhtml-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-color/008-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-color/008-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-color/008-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-color/008-xhtml-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-color/008-xhtml-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-color/008-xhtml-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-image: Added.
+        * platform/mac/fast/body-propagation/background-image/001-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-image/001-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-image/001-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-image/001-xhtml-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-image/001-xhtml-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-image/001-xhtml-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-image/002-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-image/002-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-image/002-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-image/002-xhtml-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-image/002-xhtml-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-image/002-xhtml-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-image/003-declarative-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-image/003-declarative-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-image/003-declarative-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-image/003-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-image/003-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-image/003-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-image/003-xhtml-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-image/003-xhtml-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-image/003-xhtml-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-image/004-declarative-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-image/004-declarative-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-image/004-declarative-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-image/004-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-image/004-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-image/004-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-image/004-xhtml-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-image/004-xhtml-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-image/004-xhtml-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-image/005-declarative-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-image/005-declarative-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-image/005-declarative-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-image/005-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-image/005-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-image/005-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-image/005-xhtml-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-image/005-xhtml-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-image/005-xhtml-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-image/006-declarative-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-image/006-declarative-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-image/006-declarative-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-image/006-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-image/006-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-image/006-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-image/006-xhtml-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-image/006-xhtml-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-image/006-xhtml-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-image/007-declarative-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-image/007-declarative-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-image/007-declarative-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-image/007-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-image/007-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-image/007-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-image/007-xhtml-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-image/007-xhtml-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-image/007-xhtml-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-image/008-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-image/008-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-image/008-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-image/008-xhtml-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-image/008-xhtml-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-image/008-xhtml-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-image/009-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-image/009-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-image/009-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-image/009-xhtml-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-image/009-xhtml-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-image/009-xhtml-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-image/010-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-image/010-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-image/010-expected.txt: Added.
+        * platform/mac/fast/body-propagation/background-image/010-xhtml-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/background-image/010-xhtml-expected.png: Added.
+        * platform/mac/fast/body-propagation/background-image/010-xhtml-expected.txt: Added.
+        * platform/mac/fast/body-propagation/overflow: Added.
+        * platform/mac/fast/body-propagation/overflow/001-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/overflow/001-expected.png: Added.
+        * platform/mac/fast/body-propagation/overflow/001-expected.txt: Added.
+        * platform/mac/fast/body-propagation/overflow/001-xhtml-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/overflow/001-xhtml-expected.png: Added.
+        * platform/mac/fast/body-propagation/overflow/001-xhtml-expected.txt: Added.
+        * platform/mac/fast/body-propagation/overflow/002-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/overflow/002-expected.png: Added.
+        * platform/mac/fast/body-propagation/overflow/002-expected.txt: Added.
+        * platform/mac/fast/body-propagation/overflow/002-xhtml-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/overflow/002-xhtml-expected.png: Added.
+        * platform/mac/fast/body-propagation/overflow/002-xhtml-expected.txt: Added.
+        * platform/mac/fast/body-propagation/overflow/003-declarative-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/overflow/003-declarative-expected.png: Added.
+        * platform/mac/fast/body-propagation/overflow/003-declarative-expected.txt: Added.
+        * platform/mac/fast/body-propagation/overflow/003-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/overflow/003-expected.png: Added.
+        * platform/mac/fast/body-propagation/overflow/003-expected.txt: Added.
+        * platform/mac/fast/body-propagation/overflow/003-xhtml-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/overflow/003-xhtml-expected.png: Added.
+        * platform/mac/fast/body-propagation/overflow/003-xhtml-expected.txt: Added.
+        * platform/mac/fast/body-propagation/overflow/004-declarative-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/overflow/004-declarative-expected.png: Added.
+        * platform/mac/fast/body-propagation/overflow/004-declarative-expected.txt: Added.
+        * platform/mac/fast/body-propagation/overflow/004-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/overflow/004-expected.png: Added.
+        * platform/mac/fast/body-propagation/overflow/004-expected.txt: Added.
+        * platform/mac/fast/body-propagation/overflow/004-xhtml-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/overflow/004-xhtml-expected.png: Added.
+        * platform/mac/fast/body-propagation/overflow/004-xhtml-expected.txt: Added.
+        * platform/mac/fast/body-propagation/overflow/005-declarative-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/overflow/005-declarative-expected.png: Added.
+        * platform/mac/fast/body-propagation/overflow/005-declarative-expected.txt: Added.
+        * platform/mac/fast/body-propagation/overflow/005-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/overflow/005-expected.png: Added.
+        * platform/mac/fast/body-propagation/overflow/005-expected.txt: Added.
+        * platform/mac/fast/body-propagation/overflow/005-xhtml-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/overflow/005-xhtml-expected.png: Added.
+        * platform/mac/fast/body-propagation/overflow/005-xhtml-expected.txt: Added.
+        * platform/mac/fast/body-propagation/overflow/006-declarative-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/overflow/006-declarative-expected.png: Added.
+        * platform/mac/fast/body-propagation/overflow/006-declarative-expected.txt: Added.
+        * platform/mac/fast/body-propagation/overflow/006-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/overflow/006-expected.png: Added.
+        * platform/mac/fast/body-propagation/overflow/006-expected.txt: Added.
+        * platform/mac/fast/body-propagation/overflow/006-xhtml-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/overflow/006-xhtml-expected.png: Added.
+        * platform/mac/fast/body-propagation/overflow/006-xhtml-expected.txt: Added.
+        * platform/mac/fast/body-propagation/overflow/007-declarative-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/overflow/007-declarative-expected.png: Added.
+        * platform/mac/fast/body-propagation/overflow/007-declarative-expected.txt: Added.
+        * platform/mac/fast/body-propagation/overflow/007-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/overflow/007-expected.png: Added.
+        * platform/mac/fast/body-propagation/overflow/007-expected.txt: Added.
+        * platform/mac/fast/body-propagation/overflow/007-xhtml-expected.checksum: Added.
+        * platform/mac/fast/body-propagation/overflow/007-xhtml-expected.png: Added.
+        * platform/mac/fast/body-propagation/overflow/007-xhtml-expected.txt: Added.
+
 2008-10-14  Dimitri Glazkov  <dglazkov@chromium.org>
 
         Reviewed and landed by Sam Weinig.
diff --git a/LayoutTests/fast/body-propagation/background-color/001-xhtml.xhtml b/LayoutTests/fast/body-propagation/background-color/001-xhtml.xhtml
new file mode 100644 (file)
index 0000000..0becbae
--- /dev/null
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>background on body should fill the viewport</title>
+  <style>
+   html { background-color:transparent; background-image:none; }
+   body { background-color:yellow; margin:8px; color:navy; }
+  </style>
+ </head>
+ <body>
+  <p>The entire viewport should be yellow.</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-color/001.html b/LayoutTests/fast/body-propagation/background-color/001.html
new file mode 100644 (file)
index 0000000..0becbae
--- /dev/null
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>background on body should fill the viewport</title>
+  <style>
+   html { background-color:transparent; background-image:none; }
+   body { background-color:yellow; margin:8px; color:navy; }
+  </style>
+ </head>
+ <body>
+  <p>The entire viewport should be yellow.</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-color/002-xhtml.xhtml b/LayoutTests/fast/body-propagation/background-color/002-xhtml.xhtml
new file mode 100644 (file)
index 0000000..8839fa1
--- /dev/null
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>background on body should not fill the viewport when root has background</title>
+  <style>
+   html { background-color:lime; }
+   body { background-color:red; height:0; }
+  </style>
+ </head>
+ <body>
+  <p>The entire viewport should be green and there should be no red.</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-color/002.html b/LayoutTests/fast/body-propagation/background-color/002.html
new file mode 100644 (file)
index 0000000..8839fa1
--- /dev/null
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>background on body should not fill the viewport when root has background</title>
+  <style>
+   html { background-color:lime; }
+   body { background-color:red; height:0; }
+  </style>
+ </head>
+ <body>
+  <p>The entire viewport should be green and there should be no red.</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-color/003-declarative.xhtml b/LayoutTests/fast/body-propagation/background-color/003-declarative.xhtml
new file mode 100644 (file)
index 0000000..e943b03
--- /dev/null
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html xmlns="urn:foo:bogus">
+ <head xmlns="http://www.w3.org/1999/xhtml">
+  <title>background on body should not fill the viewport when root is not html:html</title>
+  <style>
+   html { background-color:transparent; background-image:none; }
+   body { background-color:red; }
+   p { background-color:lime; margin:0; }
+  </style>
+ </head>
+ <body xmlns="http://www.w3.org/1999/xhtml">
+  <p>This line should be green and there should be no red.</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-color/003-xhtml.xhtml b/LayoutTests/fast/body-propagation/background-color/003-xhtml.xhtml
new file mode 100644 (file)
index 0000000..56474e5
--- /dev/null
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>background on body should not fill the viewport when root is not html:html</title>
+  <style>
+   html { background-color:transparent; background-image:none; }
+   body { background-color:red; }
+   p { background-color:lime; margin:0; }
+  </style>
+  <script>
+   window.onload = function() {
+     var oldElm = document.documentElement;
+     var newElm = document.createElementNS("urn:foo:bogus", "html");
+     while (oldElm.firstChild)
+       newElm.appendChild(oldElm.firstChild);
+     document.replaceChild(newElm, oldElm);
+     document.getElementsByTagName("p")[0].firstChild.data = "This line should be green and there should be no red.";
+   }
+  </script>
+ </head>
+ <body>
+  <p>FAIL (script didn't run)</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-color/003.html b/LayoutTests/fast/body-propagation/background-color/003.html
new file mode 100644 (file)
index 0000000..56474e5
--- /dev/null
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>background on body should not fill the viewport when root is not html:html</title>
+  <style>
+   html { background-color:transparent; background-image:none; }
+   body { background-color:red; }
+   p { background-color:lime; margin:0; }
+  </style>
+  <script>
+   window.onload = function() {
+     var oldElm = document.documentElement;
+     var newElm = document.createElementNS("urn:foo:bogus", "html");
+     while (oldElm.firstChild)
+       newElm.appendChild(oldElm.firstChild);
+     document.replaceChild(newElm, oldElm);
+     document.getElementsByTagName("p")[0].firstChild.data = "This line should be green and there should be no red.";
+   }
+  </script>
+ </head>
+ <body>
+  <p>FAIL (script didn't run)</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-color/004-declarative.xhtml b/LayoutTests/fast/body-propagation/background-color/004-declarative.xhtml
new file mode 100644 (file)
index 0000000..820354f
--- /dev/null
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>background on non-HTML body should not fill the viewport</title>
+  <style>
+   html { background-color:transparent; background-image:none; }
+   body { background-color:red; }
+   p { background-color:lime; margin:0; }
+  </style>
+ </head>
+ <body xmlns="urn:foo:bogus">
+  <p xmlns="http://www.w3.org/1999/xhtml">This line should be green and there should be no red.</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-color/004-xhtml.xhtml b/LayoutTests/fast/body-propagation/background-color/004-xhtml.xhtml
new file mode 100644 (file)
index 0000000..bc34155
--- /dev/null
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>background on non-HTML body should not fill the viewport</title>
+  <style>
+   html { background-color:transparent; background-image:none; }
+   body { background-color:red; }
+   p { background-color:lime; margin:0; }
+  </style>
+  <script>
+   window.onload = function() {
+     var oldElm = document.getElementsByTagName("body")[0];
+     var newElm = document.createElementNS("urn:foo:bogus", "body");
+     while (oldElm.firstChild)
+       newElm.appendChild(oldElm.firstChild);
+     document.documentElement.replaceChild(newElm, oldElm);
+     document.getElementsByTagName("p")[0].firstChild.data = "This line should be green and there should be no red.";
+   }
+  </script>
+ </head>
+ <body>
+  <p>FAIL (script didn't run)</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-color/004.html b/LayoutTests/fast/body-propagation/background-color/004.html
new file mode 100644 (file)
index 0000000..bc34155
--- /dev/null
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>background on non-HTML body should not fill the viewport</title>
+  <style>
+   html { background-color:transparent; background-image:none; }
+   body { background-color:red; }
+   p { background-color:lime; margin:0; }
+  </style>
+  <script>
+   window.onload = function() {
+     var oldElm = document.getElementsByTagName("body")[0];
+     var newElm = document.createElementNS("urn:foo:bogus", "body");
+     while (oldElm.firstChild)
+       newElm.appendChild(oldElm.firstChild);
+     document.documentElement.replaceChild(newElm, oldElm);
+     document.getElementsByTagName("p")[0].firstChild.data = "This line should be green and there should be no red.";
+   }
+  </script>
+ </head>
+ <body>
+  <p>FAIL (script didn't run)</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-color/005-declarative.xhtml b/LayoutTests/fast/body-propagation/background-color/005-declarative.xhtml
new file mode 100644 (file)
index 0000000..0ed4b53
--- /dev/null
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>background on body should fill the viewport even when it has bogus siblings</title>
+  <style>
+   html { background-color:transparent; background-image:none; }
+   body { background-color:yellow; color:navy; }
+  </style>
+ </head>
+ <body xmlns="urn:foo:bogus"/><body>
+  <p>The canvas should be yellow.</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-color/005-xhtml.xhtml b/LayoutTests/fast/body-propagation/background-color/005-xhtml.xhtml
new file mode 100644 (file)
index 0000000..e170f9b
--- /dev/null
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>background on body should fill the viewport even when it has bogus siblings</title>
+  <style>
+   html { background-color:transparent; background-image:none; }
+   body { background-color:yellow; color:navy; }
+  </style>
+  <script>
+   window.onload = function() {
+     var newElm = document.createElementNS("urn:foo:bogus", "body");
+     document.documentElement.insertBefore(newElm, document.getElementsByTagName("body")[0]);
+     document.getElementsByTagName("p")[0].firstChild.data = "The entire viewport should be yellow.";
+   }
+  </script>
+ </head>
+ <body>
+  <p>FAIL (script didn't run)</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-color/005.html b/LayoutTests/fast/body-propagation/background-color/005.html
new file mode 100644 (file)
index 0000000..e170f9b
--- /dev/null
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>background on body should fill the viewport even when it has bogus siblings</title>
+  <style>
+   html { background-color:transparent; background-image:none; }
+   body { background-color:yellow; color:navy; }
+  </style>
+  <script>
+   window.onload = function() {
+     var newElm = document.createElementNS("urn:foo:bogus", "body");
+     document.documentElement.insertBefore(newElm, document.getElementsByTagName("body")[0]);
+     document.getElementsByTagName("p")[0].firstChild.data = "The entire viewport should be yellow.";
+   }
+  </script>
+ </head>
+ <body>
+  <p>FAIL (script didn't run)</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-color/006-declarative.xhtml b/LayoutTests/fast/body-propagation/background-color/006-declarative.xhtml
new file mode 100644 (file)
index 0000000..b495f79
--- /dev/null
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>background on subsequent bodys should not cover the viewport</title>
+  <style>
+   html { background-color:transparent; background-image:none; }
+   #test { background-color:red; padding:0; }
+   p { background-color:lime; }
+  </style>
+ </head>
+ <body>
+  <p>This line should be green and there should be no red.</p>
+ </body>
+<body id="test"/></html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-color/006-xhtml.xhtml b/LayoutTests/fast/body-propagation/background-color/006-xhtml.xhtml
new file mode 100644 (file)
index 0000000..fdae237
--- /dev/null
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>background on subsequent bodys should not cover the viewport</title>
+  <style>
+   html { background-color:transparent; background-image:none; }
+   #test { background-color:red; padding:0; }
+   p { background-color:lime; }
+  </style>
+  <script>
+   window.onload = function() {
+     var newElm = document.getElementsByTagName("body")[0].cloneNode(false);
+     newElm.id = "test";
+     document.documentElement.appendChild(newElm);
+     document.getElementsByTagName("p")[0].firstChild.data = "This line should be green and there should be no red.";
+   }
+  </script>
+ </head>
+ <body>
+  <p>FAIL (script didn't run)</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-color/006.html b/LayoutTests/fast/body-propagation/background-color/006.html
new file mode 100644 (file)
index 0000000..fdae237
--- /dev/null
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>background on subsequent bodys should not cover the viewport</title>
+  <style>
+   html { background-color:transparent; background-image:none; }
+   #test { background-color:red; padding:0; }
+   p { background-color:lime; }
+  </style>
+  <script>
+   window.onload = function() {
+     var newElm = document.getElementsByTagName("body")[0].cloneNode(false);
+     newElm.id = "test";
+     document.documentElement.appendChild(newElm);
+     document.getElementsByTagName("p")[0].firstChild.data = "This line should be green and there should be no red.";
+   }
+  </script>
+ </head>
+ <body>
+  <p>FAIL (script didn't run)</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-color/007-declarative.xhtml b/LayoutTests/fast/body-propagation/background-color/007-declarative.xhtml
new file mode 100644 (file)
index 0000000..2436e03
--- /dev/null
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>background on body should not cover the viewport when not child of root</title>
+  <style>
+   html { background-color:transparent; background-image:none; }
+   body { background-color:red; padding:0; }
+   p { background-color:lime; }
+  </style>
+ </head>
+<bogus><body>
+  <p>This line should be green and there should be no red.</p>
+ </body></bogus></html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-color/007-xhtml.xhtml b/LayoutTests/fast/body-propagation/background-color/007-xhtml.xhtml
new file mode 100644 (file)
index 0000000..08fed0b
--- /dev/null
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>background on body should not cover the viewport when not child of root</title>
+  <style>
+   html { background-color:transparent; background-image:none; }
+   body { background-color:red; padding:0; }
+   p { background-color:lime; }
+  </style>
+  <script>
+   window.onload = function() {
+     var newElm = document.createElement("bogus"); // namespace doesn't matter in this case
+     newElm.appendChild(document.getElementsByTagName("body")[0]);
+     document.documentElement.appendChild(newElm);
+     document.getElementsByTagName("p")[0].firstChild.data = "This line should be green and there should be no red.";
+   }
+  </script>
+ </head>
+ <body>
+  <p>FAIL (script didn't run)</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-color/007.html b/LayoutTests/fast/body-propagation/background-color/007.html
new file mode 100644 (file)
index 0000000..08fed0b
--- /dev/null
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>background on body should not cover the viewport when not child of root</title>
+  <style>
+   html { background-color:transparent; background-image:none; }
+   body { background-color:red; padding:0; }
+   p { background-color:lime; }
+  </style>
+  <script>
+   window.onload = function() {
+     var newElm = document.createElement("bogus"); // namespace doesn't matter in this case
+     newElm.appendChild(document.getElementsByTagName("body")[0]);
+     document.documentElement.appendChild(newElm);
+     document.getElementsByTagName("p")[0].firstChild.data = "This line should be green and there should be no red.";
+   }
+  </script>
+ </head>
+ <body>
+  <p>FAIL (script didn't run)</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-color/008-xhtml.xhtml b/LayoutTests/fast/body-propagation/background-color/008-xhtml.xhtml
new file mode 100644 (file)
index 0000000..25d49c0
--- /dev/null
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>when background on body is propagated to the canvas, it shouldn't have a background itself</title>
+  <style>
+   html { background-color:transparent; background-image:none; }
+   head { background-color:yellow; position:absolute; width:100%; height:1.25em; display:block; }
+   body { background-color:white; position:absolute; width:100%; height:1.25em; margin:0; padding:0; color:navy; }
+   p { margin:0; }
+  </style>
+ </head>
+ <body>
+  <p>This line should have a yellow background.</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-color/008.html b/LayoutTests/fast/body-propagation/background-color/008.html
new file mode 100644 (file)
index 0000000..23d103c
--- /dev/null
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>when background on body is propagated to the viewport, it shouldn't have a background itself</title>
+  <style>
+   html { background-color:transparent; background-image:none; }
+   head { background-color:yellow; position:absolute; width:100%; height:1.25em; display:block; }
+   body { background-color:white; position:absolute; width:100%; height:1.25em; margin:0; padding:0; color:navy; }
+   p { margin:0; }
+  </style>
+ </head>
+ <body>
+  <p>This line should have a yellow background.</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-image/001-xhtml.xhtml b/LayoutTests/fast/body-propagation/background-image/001-xhtml.xhtml
new file mode 100644 (file)
index 0000000..79eac88
--- /dev/null
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>background on body should fill the viewport</title>
+  <style>
+   html { background-color:transparent; background-image:none; }
+   body { background-image:url(resources/yellow.png); margin:8px; color:navy; }
+  </style>
+ </head>
+ <body>
+  <p>The entire canvas should be yellow.</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-image/001.html b/LayoutTests/fast/body-propagation/background-image/001.html
new file mode 100644 (file)
index 0000000..79eac88
--- /dev/null
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>background on body should fill the viewport</title>
+  <style>
+   html { background-color:transparent; background-image:none; }
+   body { background-image:url(resources/yellow.png); margin:8px; color:navy; }
+  </style>
+ </head>
+ <body>
+  <p>The entire canvas should be yellow.</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-image/002-xhtml.xhtml b/LayoutTests/fast/body-propagation/background-image/002-xhtml.xhtml
new file mode 100644 (file)
index 0000000..c9bd1ec
--- /dev/null
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>background on body should not fill the viewport when root has background</title>
+  <style>
+   html { background-image:url(resources/lime.png); }
+   body { background-image:url(resources/red.png); height:0; }
+  </style>
+ </head>
+ <body>
+  <p>The entire canvas should be green and there should be no red.</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-image/002.html b/LayoutTests/fast/body-propagation/background-image/002.html
new file mode 100644 (file)
index 0000000..c9bd1ec
--- /dev/null
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>background on body should not fill the viewport when root has background</title>
+  <style>
+   html { background-image:url(resources/lime.png); }
+   body { background-image:url(resources/red.png); height:0; }
+  </style>
+ </head>
+ <body>
+  <p>The entire canvas should be green and there should be no red.</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-image/003-declarative.xhtml b/LayoutTests/fast/body-propagation/background-image/003-declarative.xhtml
new file mode 100644 (file)
index 0000000..f1fc674
--- /dev/null
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html xmlns="urn:foo:bogus">
+ <head xmlns="http://www.w3.org/1999/xhtml">
+  <title>background on body should not fill the viewport when root is not html:html</title>
+  <style>
+   html { background-color:transparent; background-image:none; }
+   body { background-image:url(resources/red.png); }
+   p { background-image:url(resources/lime.png); margin:0; }
+  </style>
+ </head>
+ <body xmlns="http://www.w3.org/1999/xhtml">
+  <p>This line should be green and there should be no red.</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-image/003-xhtml.xhtml b/LayoutTests/fast/body-propagation/background-image/003-xhtml.xhtml
new file mode 100644 (file)
index 0000000..2222781
--- /dev/null
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>background on body should not fill the viewport when root is not html:html</title>
+  <style>
+   html { background-color:transparent; background-image:none; }
+   body { background-image:url(resources/red.png); }
+   p { background-image:url(resources/lime.png); margin:0; }
+  </style>
+  <script>
+   window.onload = function() {
+     var oldElm = document.documentElement;
+     var newElm = document.createElementNS("urn:foo:bogus", "html");
+     while (oldElm.firstChild)
+       newElm.appendChild(oldElm.firstChild);
+     document.replaceChild(newElm, oldElm);
+     document.getElementsByTagName("p")[0].firstChild.data = "This line should be green and there should be no red.";
+   }
+  </script>
+ </head>
+ <body>
+  <p>FAIL (script didn't run)</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-image/003.html b/LayoutTests/fast/body-propagation/background-image/003.html
new file mode 100644 (file)
index 0000000..2222781
--- /dev/null
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>background on body should not fill the viewport when root is not html:html</title>
+  <style>
+   html { background-color:transparent; background-image:none; }
+   body { background-image:url(resources/red.png); }
+   p { background-image:url(resources/lime.png); margin:0; }
+  </style>
+  <script>
+   window.onload = function() {
+     var oldElm = document.documentElement;
+     var newElm = document.createElementNS("urn:foo:bogus", "html");
+     while (oldElm.firstChild)
+       newElm.appendChild(oldElm.firstChild);
+     document.replaceChild(newElm, oldElm);
+     document.getElementsByTagName("p")[0].firstChild.data = "This line should be green and there should be no red.";
+   }
+  </script>
+ </head>
+ <body>
+  <p>FAIL (script didn't run)</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-image/004-declarative.xhtml b/LayoutTests/fast/body-propagation/background-image/004-declarative.xhtml
new file mode 100644 (file)
index 0000000..f8d14ba
--- /dev/null
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>background on non-HTML body should not fill the viewport</title>
+  <style>
+   html { background-color:transparent; background-image:none; }
+   body { background-image:url(resources/red.png); }
+   p { background-image:url(resources/lime.png); margin:0; }
+  </style>
+ </head>
+ <body xmlns="urn:foo:bogus">
+  <p xmlns="http://www.w3.org/1999/xhtml">This line should be green and there should be no red.</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-image/004-xhtml.xhtml b/LayoutTests/fast/body-propagation/background-image/004-xhtml.xhtml
new file mode 100644 (file)
index 0000000..fbe4ed7
--- /dev/null
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>background on non-HTML body should not fill the viewport</title>
+  <style>
+   html { background-color:transparent; background-image:none; }
+   body { background-image:url(resources/red.png); }
+   p { background-image:url(resources/lime.png); margin:0; }
+  </style>
+  <script>
+   window.onload = function() {
+     var oldElm = document.getElementsByTagName("body")[0];
+     var newElm = document.createElementNS("urn:foo:bogus", "body");
+     while (oldElm.firstChild)
+       newElm.appendChild(oldElm.firstChild);
+     document.documentElement.replaceChild(newElm, oldElm);
+     document.getElementsByTagName("p")[0].firstChild.data = "This line should be green and there should be no red.";
+   }
+  </script>
+ </head>
+ <body>
+  <p>FAIL (script didn't run)</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-image/004.html b/LayoutTests/fast/body-propagation/background-image/004.html
new file mode 100644 (file)
index 0000000..fbe4ed7
--- /dev/null
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>background on non-HTML body should not fill the viewport</title>
+  <style>
+   html { background-color:transparent; background-image:none; }
+   body { background-image:url(resources/red.png); }
+   p { background-image:url(resources/lime.png); margin:0; }
+  </style>
+  <script>
+   window.onload = function() {
+     var oldElm = document.getElementsByTagName("body")[0];
+     var newElm = document.createElementNS("urn:foo:bogus", "body");
+     while (oldElm.firstChild)
+       newElm.appendChild(oldElm.firstChild);
+     document.documentElement.replaceChild(newElm, oldElm);
+     document.getElementsByTagName("p")[0].firstChild.data = "This line should be green and there should be no red.";
+   }
+  </script>
+ </head>
+ <body>
+  <p>FAIL (script didn't run)</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-image/005-declarative.xhtml b/LayoutTests/fast/body-propagation/background-image/005-declarative.xhtml
new file mode 100644 (file)
index 0000000..938265b
--- /dev/null
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>background on body should fill the canvas even when it has bogus siblings</title>
+  <style>
+   html { background-color:transparent; background-image:none; }
+   body { background-image:url(resources/yellow.png); color:navy; }
+  </style>
+ </head>
+ <body xmlns="urn:foo:bogus"/><body>
+  <p>The entire viewport should be yellow.</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-image/005-xhtml.xhtml b/LayoutTests/fast/body-propagation/background-image/005-xhtml.xhtml
new file mode 100644 (file)
index 0000000..4477ab7
--- /dev/null
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>background on body should fill the viewport even when it has bogus siblings</title>
+  <style>
+   html { background-color:transparent; background-image:none; }
+   body { background-image:url(resources/yellow.png); color:navy; }
+  </style>
+  <script>
+   window.onload = function() {
+     var newElm = document.createElementNS("urn:foo:bogus", "body");
+     document.documentElement.insertBefore(newElm, document.getElementsByTagName("body")[0]);
+     document.getElementsByTagName("p")[0].firstChild.data = "The entire viewport should be yellow.";
+   }
+  </script>
+ </head>
+ <body>
+  <p>FAIL (script didn't run)</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-image/005.html b/LayoutTests/fast/body-propagation/background-image/005.html
new file mode 100644 (file)
index 0000000..4477ab7
--- /dev/null
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>background on body should fill the viewport even when it has bogus siblings</title>
+  <style>
+   html { background-color:transparent; background-image:none; }
+   body { background-image:url(resources/yellow.png); color:navy; }
+  </style>
+  <script>
+   window.onload = function() {
+     var newElm = document.createElementNS("urn:foo:bogus", "body");
+     document.documentElement.insertBefore(newElm, document.getElementsByTagName("body")[0]);
+     document.getElementsByTagName("p")[0].firstChild.data = "The entire viewport should be yellow.";
+   }
+  </script>
+ </head>
+ <body>
+  <p>FAIL (script didn't run)</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-image/006-declarative.xhtml b/LayoutTests/fast/body-propagation/background-image/006-declarative.xhtml
new file mode 100644 (file)
index 0000000..faacc4e
--- /dev/null
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>background on subsequent bodys should not cover the viewport</title>
+  <style>
+   html { background-color:transparent; background-image:none; }
+   #test { background-image:url(resources/red.png); padding:0; }
+   p { background-image:url(resources/lime.png); }
+  </style>
+ </head>
+ <body>
+  <p>This line should be green and there should be no red.</p>
+ </body>
+<body id="test"/></html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-image/006-xhtml.xhtml b/LayoutTests/fast/body-propagation/background-image/006-xhtml.xhtml
new file mode 100644 (file)
index 0000000..2b30000
--- /dev/null
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>background on subsequent bodys should not cover the viewport</title>
+  <style>
+   html { background-color:transparent; background-image:none; }
+   #test { background-image:url(resources/red.png); padding:0; }
+   p { background-image:url(resources/lime.png); }
+  </style>
+  <script>
+   window.onload = function() {
+     var newElm = document.getElementsByTagName("body")[0].cloneNode(false);
+     newElm.id = "test";
+     document.documentElement.appendChild(newElm);
+     document.getElementsByTagName("p")[0].firstChild.data = "This line should be green and there should be no red.";
+   }
+  </script>
+ </head>
+ <body>
+  <p>FAIL (script didn't run)</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-image/006.html b/LayoutTests/fast/body-propagation/background-image/006.html
new file mode 100644 (file)
index 0000000..2b30000
--- /dev/null
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>background on subsequent bodys should not cover the viewport</title>
+  <style>
+   html { background-color:transparent; background-image:none; }
+   #test { background-image:url(resources/red.png); padding:0; }
+   p { background-image:url(resources/lime.png); }
+  </style>
+  <script>
+   window.onload = function() {
+     var newElm = document.getElementsByTagName("body")[0].cloneNode(false);
+     newElm.id = "test";
+     document.documentElement.appendChild(newElm);
+     document.getElementsByTagName("p")[0].firstChild.data = "This line should be green and there should be no red.";
+   }
+  </script>
+ </head>
+ <body>
+  <p>FAIL (script didn't run)</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-image/007-declarative.xhtml b/LayoutTests/fast/body-propagation/background-image/007-declarative.xhtml
new file mode 100644 (file)
index 0000000..dfbab9c
--- /dev/null
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>background on body should not cover the viewport when not child of root</title>
+  <style>
+   html { background-color:transparent; background-image:none; }
+   body { background-image:url(resources/red.png); padding:0; }
+   p { background-image:url(resources/lime.png); }
+  </style>
+ </head>
+<bogus><body>
+  <p>This line should be green and there should be no red.</p>
+ </body></bogus></html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-image/007-xhtml.xhtml b/LayoutTests/fast/body-propagation/background-image/007-xhtml.xhtml
new file mode 100644 (file)
index 0000000..14c71ab
--- /dev/null
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>background on body should not cover the viewport when not child of root</title>
+  <style>
+   html { background-color:transparent; background-image:none; }
+   body { background-image:url(resources/red.png); padding:0; }
+   p { background-image:url(resources/lime.png); }
+  </style>
+  <script>
+   window.onload = function() {
+     var newElm = document.createElement("bogus"); // namespace doesn't matter in this case
+     newElm.appendChild(document.getElementsByTagName("body")[0]);
+     document.documentElement.appendChild(newElm);
+     document.getElementsByTagName("p")[0].firstChild.data = "This line should be green and there should be no red.";
+   }
+  </script>
+ </head>
+ <body>
+  <p>FAIL (script didn't run)</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-image/007.html b/LayoutTests/fast/body-propagation/background-image/007.html
new file mode 100644 (file)
index 0000000..14c71ab
--- /dev/null
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>background on body should not cover the viewport when not child of root</title>
+  <style>
+   html { background-color:transparent; background-image:none; }
+   body { background-image:url(resources/red.png); padding:0; }
+   p { background-image:url(resources/lime.png); }
+  </style>
+  <script>
+   window.onload = function() {
+     var newElm = document.createElement("bogus"); // namespace doesn't matter in this case
+     newElm.appendChild(document.getElementsByTagName("body")[0]);
+     document.documentElement.appendChild(newElm);
+     document.getElementsByTagName("p")[0].firstChild.data = "This line should be green and there should be no red.";
+   }
+  </script>
+ </head>
+ <body>
+  <p>FAIL (script didn't run)</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-image/008-xhtml.xhtml b/LayoutTests/fast/body-propagation/background-image/008-xhtml.xhtml
new file mode 100644 (file)
index 0000000..39aa45d
--- /dev/null
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>when background on body is propagated to the viewport, it shouldn't have a background itself</title>
+  <style>
+   html { background-color:transparent; background-image:none; }
+   head { background-image:url(resources/yellow.png); position:absolute; width:100%; height:1.25em; display:block; }
+   body { background-image:url(resources/white.png); position:absolute; width:100%; height:1.25em; margin:0; padding:0; color:navy; }
+   p { margin:0; }
+  </style>
+ </head>
+ <body>
+  <p>This line should have a yellow background.</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-image/008.html b/LayoutTests/fast/body-propagation/background-image/008.html
new file mode 100644 (file)
index 0000000..39aa45d
--- /dev/null
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>when background on body is propagated to the viewport, it shouldn't have a background itself</title>
+  <style>
+   html { background-color:transparent; background-image:none; }
+   head { background-image:url(resources/yellow.png); position:absolute; width:100%; height:1.25em; display:block; }
+   body { background-image:url(resources/white.png); position:absolute; width:100%; height:1.25em; margin:0; padding:0; color:navy; }
+   p { margin:0; }
+  </style>
+ </head>
+ <body>
+  <p>This line should have a yellow background.</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-image/009-xhtml.xhtml b/LayoutTests/fast/body-propagation/background-image/009-xhtml.xhtml
new file mode 100644 (file)
index 0000000..4d2310d
--- /dev/null
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>background on body when propagated to the viewport should be anchored at the root element</title>
+  <style>
+   html { background-color:transparent; background-image:none; margin:50px; border:thin solid; min-width:150px; min-height:150px; }
+   body { background-image:url(resources/yellow.png); background-repeat:no-repeat; margin:50px; border:thin solid; min-width:50px; min-height:50px; color:navy; }
+  </style>
+ </head>
+ <body>
+  <p>There should be a yellow square in the top-left corner, <em>between</em> the borders.</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-image/009.html b/LayoutTests/fast/body-propagation/background-image/009.html
new file mode 100644 (file)
index 0000000..4d2310d
--- /dev/null
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>background on body when propagated to the viewport should be anchored at the root element</title>
+  <style>
+   html { background-color:transparent; background-image:none; margin:50px; border:thin solid; min-width:150px; min-height:150px; }
+   body { background-image:url(resources/yellow.png); background-repeat:no-repeat; margin:50px; border:thin solid; min-width:50px; min-height:50px; color:navy; }
+  </style>
+ </head>
+ <body>
+  <p>There should be a yellow square in the top-left corner, <em>between</em> the borders.</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-image/010-xhtml.xhtml b/LayoutTests/fast/body-propagation/background-image/010-xhtml.xhtml
new file mode 100644 (file)
index 0000000..778ee59
--- /dev/null
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>background on body when not propagated to the viewport should not be anchored at the root element</title>
+  <style>
+   html { background-color:white; margin:50px; border:thin solid;  min-width:150px; min-height:150px;}
+   body { background-image:url(resources/yellow.png); background-repeat:no-repeat; margin:50px; border:thin solid; min-width:50px; min-height:50px; color:navy; }
+  </style>
+ </head>
+ <body>
+  <p>There should be a yellow square in the top-left corner, <em>inside</em> the inner border.</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-image/010.html b/LayoutTests/fast/body-propagation/background-image/010.html
new file mode 100644 (file)
index 0000000..b153d59
--- /dev/null
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>background on body when not propagated to the viewport should not be anchored at the root element</title>
+  <style>
+   html { background-color:white; margin:50px; border:thin solid; min-width:150px; min-height:150px; }
+   body { background-image:url(resources/yellow.png); background-repeat:no-repeat; margin:50px; border:thin solid; min-width:50px; min-height:50px; color:navy; }
+  </style>
+ </head>
+ <body>
+  <p>There should be a yellow square in the top-left corner, <em>inside</em> the inner border.</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/background-image/resources/lime.png b/LayoutTests/fast/body-propagation/background-image/resources/lime.png
new file mode 100644 (file)
index 0000000..4ba905a
Binary files /dev/null and b/LayoutTests/fast/body-propagation/background-image/resources/lime.png differ
diff --git a/LayoutTests/fast/body-propagation/background-image/resources/red.png b/LayoutTests/fast/body-propagation/background-image/resources/red.png
new file mode 100644 (file)
index 0000000..e3895ac
Binary files /dev/null and b/LayoutTests/fast/body-propagation/background-image/resources/red.png differ
diff --git a/LayoutTests/fast/body-propagation/background-image/resources/white.png b/LayoutTests/fast/body-propagation/background-image/resources/white.png
new file mode 100644 (file)
index 0000000..25f05e3
Binary files /dev/null and b/LayoutTests/fast/body-propagation/background-image/resources/white.png differ
diff --git a/LayoutTests/fast/body-propagation/background-image/resources/yellow.png b/LayoutTests/fast/body-propagation/background-image/resources/yellow.png
new file mode 100644 (file)
index 0000000..f02c232
Binary files /dev/null and b/LayoutTests/fast/body-propagation/background-image/resources/yellow.png differ
diff --git a/LayoutTests/fast/body-propagation/overflow/001-xhtml.xhtml b/LayoutTests/fast/body-propagation/overflow/001-xhtml.xhtml
new file mode 100644 (file)
index 0000000..e105c76
--- /dev/null
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>overflow on body should propagate to the viewport</title>
+  <style>
+   html { overflow:visible; }
+   body { overflow:scroll; width:10em; height:10em; border:thin solid; color:navy; }
+   .filler { color:gray; }
+  </style>
+ </head>
+ <body>
+  <p>There should be scrollbars for the viewport -- not for this box.</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/overflow/001.html b/LayoutTests/fast/body-propagation/overflow/001.html
new file mode 100644 (file)
index 0000000..e105c76
--- /dev/null
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>overflow on body should propagate to the viewport</title>
+  <style>
+   html { overflow:visible; }
+   body { overflow:scroll; width:10em; height:10em; border:thin solid; color:navy; }
+   .filler { color:gray; }
+  </style>
+ </head>
+ <body>
+  <p>There should be scrollbars for the viewport -- not for this box.</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/overflow/002-xhtml.xhtml b/LayoutTests/fast/body-propagation/overflow/002-xhtml.xhtml
new file mode 100644 (file)
index 0000000..4cdd406
--- /dev/null
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>overflow on body should not propagate to the viewport when root has overflow</title>
+  <style>
+   html { overflow:hidden; }
+   body { overflow:scroll; width:10em; height:10em; border:thin solid; color:navy; }
+   .filler { color:gray; }
+  </style>
+ </head>
+ <body>
+  <p>There should be scrollbars for this box -- not for the viewport.</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/overflow/002.html b/LayoutTests/fast/body-propagation/overflow/002.html
new file mode 100644 (file)
index 0000000..4cdd406
--- /dev/null
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>overflow on body should not propagate to the viewport when root has overflow</title>
+  <style>
+   html { overflow:hidden; }
+   body { overflow:scroll; width:10em; height:10em; border:thin solid; color:navy; }
+   .filler { color:gray; }
+  </style>
+ </head>
+ <body>
+  <p>There should be scrollbars for this box -- not for the viewport.</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/overflow/003-declarative.xhtml b/LayoutTests/fast/body-propagation/overflow/003-declarative.xhtml
new file mode 100644 (file)
index 0000000..77130f6
--- /dev/null
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html xmlns="urn:foo:bogus">
+ <head xmlns="http://www.w3.org/1999/xhtml">
+  <title>overflow on body should not propagate to the viewport when root is not html:html</title>
+  <style>
+   html { overflow:visible; }
+   body { overflow:scroll; width:10em; height:10em; border:thin solid; color:navy; }
+   .filler { color:gray; }
+  </style>
+ </head>
+ <body xmlns="http://www.w3.org/1999/xhtml">
+  <p>There should be scrollbars for this box -- not for the viewport.</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/overflow/003-xhtml.xhtml b/LayoutTests/fast/body-propagation/overflow/003-xhtml.xhtml
new file mode 100644 (file)
index 0000000..1030c6b
--- /dev/null
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>overflow on body should not propagate to the viewport when root is not html:html</title>
+  <style>
+   html { overflow:visible; }
+   body { overflow:scroll; width:10em; height:10em; border:thin solid; color:navy; }
+   .filler { color:gray; }
+  </style>
+  <script>
+   window.onload = function() {
+     var oldElm = document.documentElement;
+     var newElm = document.createElementNS("urn:foo:bogus", "html");
+     while (oldElm.firstChild)
+       newElm.appendChild(oldElm.firstChild);
+     document.replaceChild(newElm, oldElm);
+     document.getElementsByTagName("p")[0].firstChild.data = "There should be scrollbars for this box -- not for the viewport.";
+   }
+  </script>
+ </head>
+ <body>
+  <p>FAIL (script didn't run)</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/overflow/003.html b/LayoutTests/fast/body-propagation/overflow/003.html
new file mode 100644 (file)
index 0000000..1030c6b
--- /dev/null
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>overflow on body should not propagate to the viewport when root is not html:html</title>
+  <style>
+   html { overflow:visible; }
+   body { overflow:scroll; width:10em; height:10em; border:thin solid; color:navy; }
+   .filler { color:gray; }
+  </style>
+  <script>
+   window.onload = function() {
+     var oldElm = document.documentElement;
+     var newElm = document.createElementNS("urn:foo:bogus", "html");
+     while (oldElm.firstChild)
+       newElm.appendChild(oldElm.firstChild);
+     document.replaceChild(newElm, oldElm);
+     document.getElementsByTagName("p")[0].firstChild.data = "There should be scrollbars for this box -- not for the viewport.";
+   }
+  </script>
+ </head>
+ <body>
+  <p>FAIL (script didn't run)</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/overflow/004-declarative.xhtml b/LayoutTests/fast/body-propagation/overflow/004-declarative.xhtml
new file mode 100644 (file)
index 0000000..bf83697
--- /dev/null
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>overflow on non-HTML body not should propagate to the viewport</title>
+  <style>
+   html { overflow:visible; }
+   body { display:block; overflow:scroll; width:10em; height:10em; border:thin solid; color:navy; }
+   .filler { color:gray; }
+  </style>
+ </head>
+ <body xmlns="urn:foo:bogus">
+  <p xmlns="http://www.w3.org/1999/xhtml">There should be scrollbars for this box -- not for the viewport.</p>
+  <p xmlns="http://www.w3.org/1999/xhtml" class="filler">This is filler text.</p>
+  <p xmlns="http://www.w3.org/1999/xhtml" class="filler">This is filler text.</p>
+  <p xmlns="http://www.w3.org/1999/xhtml" class="filler">This is filler text.</p>
+  <p xmlns="http://www.w3.org/1999/xhtml" class="filler">This is filler text.</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/overflow/004-xhtml.xhtml b/LayoutTests/fast/body-propagation/overflow/004-xhtml.xhtml
new file mode 100644 (file)
index 0000000..b7a4277
--- /dev/null
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>overflow on non-HTML body not should propagate to the viewport</title>
+  <style>
+   html { overflow:visible; }
+   body { display:block; overflow:scroll; width:10em; height:10em; border:thin solid; color:navy; }
+   .filler { color:gray; }
+  </style>
+  <script>
+   window.onload = function() {
+     var oldElm = document.getElementsByTagName("body")[0];
+     var newElm = document.createElementNS("urn:foo:bogus", "body");
+     while (oldElm.firstChild)
+       newElm.appendChild(oldElm.firstChild);
+     document.documentElement.replaceChild(newElm, oldElm);
+     document.getElementsByTagName("p")[0].firstChild.data = "There should be scrollbars for this box -- not for the viewport.";
+   }
+  </script>
+ </head>
+ <body>
+  <p>FAIL (script didn't run)</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/overflow/004.html b/LayoutTests/fast/body-propagation/overflow/004.html
new file mode 100644 (file)
index 0000000..b7a4277
--- /dev/null
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>overflow on non-HTML body not should propagate to the viewport</title>
+  <style>
+   html { overflow:visible; }
+   body { display:block; overflow:scroll; width:10em; height:10em; border:thin solid; color:navy; }
+   .filler { color:gray; }
+  </style>
+  <script>
+   window.onload = function() {
+     var oldElm = document.getElementsByTagName("body")[0];
+     var newElm = document.createElementNS("urn:foo:bogus", "body");
+     while (oldElm.firstChild)
+       newElm.appendChild(oldElm.firstChild);
+     document.documentElement.replaceChild(newElm, oldElm);
+     document.getElementsByTagName("p")[0].firstChild.data = "There should be scrollbars for this box -- not for the viewport.";
+   }
+  </script>
+ </head>
+ <body>
+  <p>FAIL (script didn't run)</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/overflow/005-declarative.xhtml b/LayoutTests/fast/body-propagation/overflow/005-declarative.xhtml
new file mode 100644 (file)
index 0000000..6a81deb
--- /dev/null
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>overflow on body should propagate to the viewport even when it has bogus siblings</title>
+  <style>
+   html { overflow:visible; }
+   body { display:block; overflow:scroll; width:10em; height:10em; border:thin solid; color:navy; }
+   .filler { color:gray; }
+  </style>
+ </head>
+ <body xmlns="urn:foo:bogus"/><body>
+  <p>There should be scrollbars for the viewport -- not for this box. (Additionally, there should be a box above that does have scrollbars.)</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/overflow/005-xhtml.xhtml b/LayoutTests/fast/body-propagation/overflow/005-xhtml.xhtml
new file mode 100644 (file)
index 0000000..0c366ba
--- /dev/null
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>overflow on body should propagate to the viewport even when it has bogus siblings</title>
+  <style>
+   html { overflow:visible; }
+   body { display:block; overflow:scroll; width:10em; height:10em; border:thin solid; color:navy; }
+   .filler { color:gray; }
+  </style>
+  <script>
+   window.onload = function() {
+     var newElm = document.createElementNS("urn:foo:bogus", "body");
+     document.documentElement.insertBefore(newElm, document.getElementsByTagName("body")[0]);
+     document.getElementsByTagName("p")[0].firstChild.data = "There should be scrollbars for the viewport -- not for this box. (Additionally, there should be a box above that does have scrollbars.)";
+   }
+  </script>
+ </head>
+ <body>
+  <p>FAIL (script didn't run)</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/overflow/005.html b/LayoutTests/fast/body-propagation/overflow/005.html
new file mode 100644 (file)
index 0000000..0c366ba
--- /dev/null
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>overflow on body should propagate to the viewport even when it has bogus siblings</title>
+  <style>
+   html { overflow:visible; }
+   body { display:block; overflow:scroll; width:10em; height:10em; border:thin solid; color:navy; }
+   .filler { color:gray; }
+  </style>
+  <script>
+   window.onload = function() {
+     var newElm = document.createElementNS("urn:foo:bogus", "body");
+     document.documentElement.insertBefore(newElm, document.getElementsByTagName("body")[0]);
+     document.getElementsByTagName("p")[0].firstChild.data = "There should be scrollbars for the viewport -- not for this box. (Additionally, there should be a box above that does have scrollbars.)";
+   }
+  </script>
+ </head>
+ <body>
+  <p>FAIL (script didn't run)</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/overflow/006-declarative.xhtml b/LayoutTests/fast/body-propagation/overflow/006-declarative.xhtml
new file mode 100644 (file)
index 0000000..14c0557
--- /dev/null
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>overflow on subsequent bodys should not propagate to the viewport</title>
+  <style>
+   html { overflow:visible; }
+   #test { display:block; overflow:scroll; width:10em; height:10em; border:thin solid; }
+   body { color:navy; }
+  </style>
+ </head>
+ <body>
+  <p>There should be scrollbars for the box below -- not for the viewport.</p>
+ </body>
+<body id="test"/></html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/overflow/006-xhtml.xhtml b/LayoutTests/fast/body-propagation/overflow/006-xhtml.xhtml
new file mode 100644 (file)
index 0000000..03a42d4
--- /dev/null
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>overflow on subsequent bodys should not propagate to the viewport</title>
+  <style>
+   html { overflow:visible; }
+   #test { display:block; overflow:scroll; width:10em; height:10em; border:thin solid; }
+   body { color:navy; }
+  </style>
+  <script>
+   window.onload = function() {
+     var newElm = document.getElementsByTagName("body")[0].cloneNode(false);
+     newElm.id = "test";
+     document.documentElement.appendChild(newElm);
+     document.getElementsByTagName("p")[0].firstChild.data = "There should be scrollbars for the box below -- not for the viewport.";
+   }
+  </script>
+ </head>
+ <body>
+  <p>FAIL (script didn't run)</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/overflow/006.html b/LayoutTests/fast/body-propagation/overflow/006.html
new file mode 100644 (file)
index 0000000..03a42d4
--- /dev/null
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>overflow on subsequent bodys should not propagate to the viewport</title>
+  <style>
+   html { overflow:visible; }
+   #test { display:block; overflow:scroll; width:10em; height:10em; border:thin solid; }
+   body { color:navy; }
+  </style>
+  <script>
+   window.onload = function() {
+     var newElm = document.getElementsByTagName("body")[0].cloneNode(false);
+     newElm.id = "test";
+     document.documentElement.appendChild(newElm);
+     document.getElementsByTagName("p")[0].firstChild.data = "There should be scrollbars for the box below -- not for the viewport.";
+   }
+  </script>
+ </head>
+ <body>
+  <p>FAIL (script didn't run)</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/overflow/007-declarative.xhtml b/LayoutTests/fast/body-propagation/overflow/007-declarative.xhtml
new file mode 100644 (file)
index 0000000..2a9d3fd
--- /dev/null
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>overflow on body should not propagate to the viewport when not child of root</title>
+  <style>
+   html { overflow:hidden; }
+   body { overflow:scroll; width:10em; height:10em; border:thin solid; display:block; color:navy; }
+   .filler { color:gray; }
+  </style>
+ </head>
+<bogus><body>
+  <p>There should be scrollbars for this box -- not for the viewport.</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+ </body></bogus></html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/overflow/007-xhtml.xhtml b/LayoutTests/fast/body-propagation/overflow/007-xhtml.xhtml
new file mode 100644 (file)
index 0000000..968443b
--- /dev/null
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>overflow on body should not propagate to the viewport when not child of root</title>
+  <style>
+   html { overflow:hidden; }
+   body { overflow:scroll; width:10em; height:10em; border:thin solid; display:block; color:navy; }
+   .filler { color:gray; }
+  </style>
+  <script>
+   window.onload = function() {
+     var newElm = document.createElement("bogus"); // namespace doesn't matter in this case
+     newElm.appendChild(document.getElementsByTagName("body")[0]);
+     document.documentElement.appendChild(newElm);
+     document.getElementsByTagName("p")[0].firstChild.data = "There should be scrollbars for this box -- not for the viewport.";
+   }
+  </script>
+ </head>
+ <body>
+  <p>FAIL (script didn't run)</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/body-propagation/overflow/007.html b/LayoutTests/fast/body-propagation/overflow/007.html
new file mode 100644 (file)
index 0000000..968443b
--- /dev/null
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+  <title>overflow on body should not propagate to the viewport when not child of root</title>
+  <style>
+   html { overflow:hidden; }
+   body { overflow:scroll; width:10em; height:10em; border:thin solid; display:block; color:navy; }
+   .filler { color:gray; }
+  </style>
+  <script>
+   window.onload = function() {
+     var newElm = document.createElement("bogus"); // namespace doesn't matter in this case
+     newElm.appendChild(document.getElementsByTagName("body")[0]);
+     document.documentElement.appendChild(newElm);
+     document.getElementsByTagName("p")[0].firstChild.data = "There should be scrollbars for this box -- not for the viewport.";
+   }
+  </script>
+ </head>
+ <body>
+  <p>FAIL (script didn't run)</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+  <p class="filler">This is filler text.</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/001-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-color/001-expected.checksum
new file mode 100644 (file)
index 0000000..83503e5
--- /dev/null
@@ -0,0 +1 @@
+9ae605ab8bf1f1f064b5fcbef2ee5519
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/001-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-color/001-expected.png
new file mode 100644 (file)
index 0000000..2ed359d
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-color/001-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/001-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-color/001-expected.txt
new file mode 100644 (file)
index 0000000..d51714e
--- /dev/null
@@ -0,0 +1,8 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x50
+  RenderBlock {HTML} at (0,0) size 800x50
+    RenderBody {BODY} at (8,16) size 784x18 [color=#000080] [bgcolor=#FFFF00]
+      RenderBlock {P} at (0,0) size 784x18
+        RenderText {#text} at (0,0) size 240x18
+          text run at (0,0) width 240: "The entire viewport should be yellow."
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/001-xhtml-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-color/001-xhtml-expected.checksum
new file mode 100644 (file)
index 0000000..83503e5
--- /dev/null
@@ -0,0 +1 @@
+9ae605ab8bf1f1f064b5fcbef2ee5519
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/001-xhtml-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-color/001-xhtml-expected.png
new file mode 100644 (file)
index 0000000..2ed359d
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-color/001-xhtml-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/001-xhtml-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-color/001-xhtml-expected.txt
new file mode 100644 (file)
index 0000000..51a780c
--- /dev/null
@@ -0,0 +1,8 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x50
+  RenderBlock {html} at (0,0) size 800x50
+    RenderBody {body} at (8,16) size 784x18 [color=#000080] [bgcolor=#FFFF00]
+      RenderBlock {p} at (0,0) size 784x18
+        RenderText {#text} at (0,0) size 240x18
+          text run at (0,0) width 240: "The entire viewport should be yellow."
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/002-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-color/002-expected.checksum
new file mode 100644 (file)
index 0000000..5254aec
--- /dev/null
@@ -0,0 +1 @@
+0415d1b545ba9baba3084cb3820a2814
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/002-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-color/002-expected.png
new file mode 100644 (file)
index 0000000..7d8780d
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-color/002-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/002-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-color/002-expected.txt
new file mode 100644 (file)
index 0000000..81793bf
--- /dev/null
@@ -0,0 +1,8 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x50
+  RenderBlock {HTML} at (0,0) size 800x24 [bgcolor=#00FF00]
+    RenderBody {BODY} at (8,16) size 784x0 [bgcolor=#FF0000]
+      RenderBlock {P} at (0,0) size 784x18
+        RenderText {#text} at (0,0) size 403x18
+          text run at (0,0) width 403: "The entire viewport should be green and there should be no red."
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/002-xhtml-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-color/002-xhtml-expected.checksum
new file mode 100644 (file)
index 0000000..5254aec
--- /dev/null
@@ -0,0 +1 @@
+0415d1b545ba9baba3084cb3820a2814
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/002-xhtml-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-color/002-xhtml-expected.png
new file mode 100644 (file)
index 0000000..7d8780d
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-color/002-xhtml-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/002-xhtml-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-color/002-xhtml-expected.txt
new file mode 100644 (file)
index 0000000..cf56fd9
--- /dev/null
@@ -0,0 +1,8 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x50
+  RenderBlock {html} at (0,0) size 800x24 [bgcolor=#00FF00]
+    RenderBody {body} at (8,16) size 784x0 [bgcolor=#FF0000]
+      RenderBlock {p} at (0,0) size 784x18
+        RenderText {#text} at (0,0) size 403x18
+          text run at (0,0) width 403: "The entire viewport should be green and there should be no red."
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/003-declarative-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-color/003-declarative-expected.checksum
new file mode 100644 (file)
index 0000000..090c753
--- /dev/null
@@ -0,0 +1 @@
+9ad55c8d9298220a13dd9a37a0990c27
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/003-declarative-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-color/003-declarative-expected.png
new file mode 100644 (file)
index 0000000..388a311
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-color/003-declarative-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/003-declarative-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-color/003-declarative-expected.txt
new file mode 100644 (file)
index 0000000..8a7ec8c
--- /dev/null
@@ -0,0 +1,8 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x34
+  RenderBlock {html} at (0,0) size 800x34
+    RenderBody {body} at (8,8) size 784x18 [bgcolor=#FF0000]
+      RenderBlock {p} at (0,0) size 784x18 [bgcolor=#00FF00]
+        RenderText {#text} at (0,0) size 334x18
+          text run at (0,0) width 334: "This line should be green and there should be no red."
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/003-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-color/003-expected.checksum
new file mode 100644 (file)
index 0000000..090c753
--- /dev/null
@@ -0,0 +1 @@
+9ad55c8d9298220a13dd9a37a0990c27
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/003-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-color/003-expected.png
new file mode 100644 (file)
index 0000000..388a311
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-color/003-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/003-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-color/003-expected.txt
new file mode 100644 (file)
index 0000000..e14294d
--- /dev/null
@@ -0,0 +1,8 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x34
+  RenderBlock {html} at (0,0) size 800x34
+    RenderBody {BODY} at (8,8) size 784x18 [bgcolor=#FF0000]
+      RenderBlock {P} at (0,0) size 784x18 [bgcolor=#00FF00]
+        RenderText {#text} at (0,0) size 334x18
+          text run at (0,0) width 334: "This line should be green and there should be no red."
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/003-xhtml-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-color/003-xhtml-expected.checksum
new file mode 100644 (file)
index 0000000..090c753
--- /dev/null
@@ -0,0 +1 @@
+9ad55c8d9298220a13dd9a37a0990c27
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/003-xhtml-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-color/003-xhtml-expected.png
new file mode 100644 (file)
index 0000000..388a311
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-color/003-xhtml-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/003-xhtml-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-color/003-xhtml-expected.txt
new file mode 100644 (file)
index 0000000..8a7ec8c
--- /dev/null
@@ -0,0 +1,8 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x34
+  RenderBlock {html} at (0,0) size 800x34
+    RenderBody {body} at (8,8) size 784x18 [bgcolor=#FF0000]
+      RenderBlock {p} at (0,0) size 784x18 [bgcolor=#00FF00]
+        RenderText {#text} at (0,0) size 334x18
+          text run at (0,0) width 334: "This line should be green and there should be no red."
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/004-declarative-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-color/004-declarative-expected.checksum
new file mode 100644 (file)
index 0000000..9076011
--- /dev/null
@@ -0,0 +1 @@
+f0de986cc8211174be98b858d7aca8d2
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/004-declarative-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-color/004-declarative-expected.png
new file mode 100644 (file)
index 0000000..79ca595
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-color/004-declarative-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/004-declarative-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-color/004-declarative-expected.txt
new file mode 100644 (file)
index 0000000..905a593
--- /dev/null
@@ -0,0 +1,14 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x18
+  RenderBlock {html} at (0,0) size 800x18
+    RenderBlock (anonymous) at (0,0) size 800x0
+      RenderInline {body} at (0,0) size 0x0 [bgcolor=#FF0000]
+        RenderText {#text} at (0,0) size 0x0
+    RenderBlock (anonymous) at (0,0) size 800x18
+      RenderBlock {p} at (0,0) size 800x18 [bgcolor=#00FF00]
+        RenderText {#text} at (0,0) size 334x18
+          text run at (0,0) width 334: "This line should be green and there should be no red."
+    RenderBlock (anonymous) at (0,18) size 800x0
+      RenderInline {body} at (0,0) size 0x0 [bgcolor=#FF0000]
+      RenderText {#text} at (0,0) size 0x0
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/004-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-color/004-expected.checksum
new file mode 100644 (file)
index 0000000..9076011
--- /dev/null
@@ -0,0 +1 @@
+f0de986cc8211174be98b858d7aca8d2
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/004-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-color/004-expected.png
new file mode 100644 (file)
index 0000000..79ca595
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-color/004-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/004-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-color/004-expected.txt
new file mode 100644 (file)
index 0000000..091f8b0
--- /dev/null
@@ -0,0 +1,13 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x18
+  RenderBlock {HTML} at (0,0) size 800x18
+    RenderBlock (anonymous) at (0,0) size 800x0
+      RenderInline {body} at (0,0) size 0x0 [bgcolor=#FF0000]
+        RenderText {#text} at (0,0) size 0x0
+    RenderBlock (anonymous) at (0,0) size 800x18
+      RenderBlock {P} at (0,0) size 800x18 [bgcolor=#00FF00]
+        RenderText {#text} at (0,0) size 334x18
+          text run at (0,0) width 334: "This line should be green and there should be no red."
+    RenderBlock (anonymous) at (0,18) size 800x0
+      RenderInline {body} at (0,0) size 0x0 [bgcolor=#FF0000]
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/004-xhtml-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-color/004-xhtml-expected.checksum
new file mode 100644 (file)
index 0000000..9076011
--- /dev/null
@@ -0,0 +1 @@
+f0de986cc8211174be98b858d7aca8d2
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/004-xhtml-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-color/004-xhtml-expected.png
new file mode 100644 (file)
index 0000000..79ca595
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-color/004-xhtml-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/004-xhtml-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-color/004-xhtml-expected.txt
new file mode 100644 (file)
index 0000000..905a593
--- /dev/null
@@ -0,0 +1,14 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x18
+  RenderBlock {html} at (0,0) size 800x18
+    RenderBlock (anonymous) at (0,0) size 800x0
+      RenderInline {body} at (0,0) size 0x0 [bgcolor=#FF0000]
+        RenderText {#text} at (0,0) size 0x0
+    RenderBlock (anonymous) at (0,0) size 800x18
+      RenderBlock {p} at (0,0) size 800x18 [bgcolor=#00FF00]
+        RenderText {#text} at (0,0) size 334x18
+          text run at (0,0) width 334: "This line should be green and there should be no red."
+    RenderBlock (anonymous) at (0,18) size 800x0
+      RenderInline {body} at (0,0) size 0x0 [bgcolor=#FF0000]
+      RenderText {#text} at (0,0) size 0x0
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/005-declarative-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-color/005-declarative-expected.checksum
new file mode 100644 (file)
index 0000000..9e7b60c
--- /dev/null
@@ -0,0 +1 @@
+0a25b01b990a9cb8fd4359c2e86b6d1e
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/005-declarative-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-color/005-declarative-expected.png
new file mode 100644 (file)
index 0000000..dc2a216
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-color/005-declarative-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/005-declarative-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-color/005-declarative-expected.txt
new file mode 100644 (file)
index 0000000..6449813
--- /dev/null
@@ -0,0 +1,10 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x50
+  RenderBlock {html} at (0,0) size 800x50
+    RenderBlock (anonymous) at (0,0) size 800x0
+      RenderInline {body} at (0,0) size 0x0 [color=#000080] [bgcolor=#FFFF00]
+    RenderBody {body} at (8,16) size 784x18 [color=#000080] [bgcolor=#FFFF00]
+      RenderBlock {p} at (0,0) size 784x18
+        RenderText {#text} at (0,0) size 188x18
+          text run at (0,0) width 188: "The canvas should be yellow."
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/005-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-color/005-expected.checksum
new file mode 100644 (file)
index 0000000..83503e5
--- /dev/null
@@ -0,0 +1 @@
+9ae605ab8bf1f1f064b5fcbef2ee5519
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/005-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-color/005-expected.png
new file mode 100644 (file)
index 0000000..2ed359d
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-color/005-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/005-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-color/005-expected.txt
new file mode 100644 (file)
index 0000000..be4f08b
--- /dev/null
@@ -0,0 +1,10 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x50
+  RenderBlock {HTML} at (0,0) size 800x50
+    RenderBlock (anonymous) at (0,0) size 800x0
+      RenderInline {body} at (0,0) size 0x0 [color=#000080] [bgcolor=#FFFF00]
+    RenderBody {BODY} at (8,16) size 784x18 [color=#000080] [bgcolor=#FFFF00]
+      RenderBlock {P} at (0,0) size 784x18
+        RenderText {#text} at (0,0) size 240x18
+          text run at (0,0) width 240: "The entire viewport should be yellow."
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/005-xhtml-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-color/005-xhtml-expected.checksum
new file mode 100644 (file)
index 0000000..83503e5
--- /dev/null
@@ -0,0 +1 @@
+9ae605ab8bf1f1f064b5fcbef2ee5519
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/005-xhtml-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-color/005-xhtml-expected.png
new file mode 100644 (file)
index 0000000..2ed359d
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-color/005-xhtml-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/005-xhtml-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-color/005-xhtml-expected.txt
new file mode 100644 (file)
index 0000000..c9eb4a9
--- /dev/null
@@ -0,0 +1,10 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x50
+  RenderBlock {html} at (0,0) size 800x50
+    RenderBlock (anonymous) at (0,0) size 800x0
+      RenderInline {body} at (0,0) size 0x0 [color=#000080] [bgcolor=#FFFF00]
+    RenderBody {body} at (8,16) size 784x18 [color=#000080] [bgcolor=#FFFF00]
+      RenderBlock {p} at (0,0) size 784x18
+        RenderText {#text} at (0,0) size 240x18
+          text run at (0,0) width 240: "The entire viewport should be yellow."
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/006-declarative-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-color/006-declarative-expected.checksum
new file mode 100644 (file)
index 0000000..340a560
--- /dev/null
@@ -0,0 +1 @@
+a4b97f4f099fd5b8e24f44280f426329
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/006-declarative-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-color/006-declarative-expected.png
new file mode 100644 (file)
index 0000000..5c464e5
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-color/006-declarative-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/006-declarative-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-color/006-declarative-expected.txt
new file mode 100644 (file)
index 0000000..3c9535e
--- /dev/null
@@ -0,0 +1,9 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x50
+  RenderBlock {html} at (0,0) size 800x50
+    RenderBody {body} at (8,16) size 784x18
+      RenderBlock {p} at (0,0) size 784x18 [bgcolor=#00FF00]
+        RenderText {#text} at (0,0) size 334x18
+          text run at (0,0) width 334: "This line should be green and there should be no red."
+    RenderBody {body} at (8,50) size 784x0 [bgcolor=#FF0000]
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/006-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-color/006-expected.checksum
new file mode 100644 (file)
index 0000000..340a560
--- /dev/null
@@ -0,0 +1 @@
+a4b97f4f099fd5b8e24f44280f426329
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/006-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-color/006-expected.png
new file mode 100644 (file)
index 0000000..5c464e5
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-color/006-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/006-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-color/006-expected.txt
new file mode 100644 (file)
index 0000000..bdc713d
--- /dev/null
@@ -0,0 +1,9 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x50
+  RenderBlock {HTML} at (0,0) size 800x50
+    RenderBody {BODY} at (8,16) size 784x18
+      RenderBlock {P} at (0,0) size 784x18 [bgcolor=#00FF00]
+        RenderText {#text} at (0,0) size 334x18
+          text run at (0,0) width 334: "This line should be green and there should be no red."
+    RenderBody {BODY} at (8,50) size 784x0 [bgcolor=#FF0000]
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/006-xhtml-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-color/006-xhtml-expected.checksum
new file mode 100644 (file)
index 0000000..340a560
--- /dev/null
@@ -0,0 +1 @@
+a4b97f4f099fd5b8e24f44280f426329
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/006-xhtml-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-color/006-xhtml-expected.png
new file mode 100644 (file)
index 0000000..5c464e5
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-color/006-xhtml-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/006-xhtml-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-color/006-xhtml-expected.txt
new file mode 100644 (file)
index 0000000..3c9535e
--- /dev/null
@@ -0,0 +1,9 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x50
+  RenderBlock {html} at (0,0) size 800x50
+    RenderBody {body} at (8,16) size 784x18
+      RenderBlock {p} at (0,0) size 784x18 [bgcolor=#00FF00]
+        RenderText {#text} at (0,0) size 334x18
+          text run at (0,0) width 334: "This line should be green and there should be no red."
+    RenderBody {body} at (8,50) size 784x0 [bgcolor=#FF0000]
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/007-declarative-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-color/007-declarative-expected.checksum
new file mode 100644 (file)
index 0000000..340a560
--- /dev/null
@@ -0,0 +1 @@
+a4b97f4f099fd5b8e24f44280f426329
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/007-declarative-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-color/007-declarative-expected.png
new file mode 100644 (file)
index 0000000..5c464e5
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-color/007-declarative-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/007-declarative-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-color/007-declarative-expected.txt
new file mode 100644 (file)
index 0000000..98e6cff
--- /dev/null
@@ -0,0 +1,13 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x50
+  RenderBlock {html} at (0,0) size 800x50
+    RenderBlock (anonymous) at (0,0) size 800x0
+      RenderInline {bogus} at (0,0) size 0x0
+    RenderBlock (anonymous) at (0,16) size 800x18
+      RenderBody {body} at (8,0) size 784x18 [bgcolor=#FF0000]
+        RenderBlock {p} at (0,0) size 784x18 [bgcolor=#00FF00]
+          RenderText {#text} at (0,0) size 334x18
+            text run at (0,0) width 334: "This line should be green and there should be no red."
+    RenderBlock (anonymous) at (0,50) size 800x0
+      RenderInline {bogus} at (0,0) size 0x0
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/007-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-color/007-expected.checksum
new file mode 100644 (file)
index 0000000..340a560
--- /dev/null
@@ -0,0 +1 @@
+a4b97f4f099fd5b8e24f44280f426329
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/007-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-color/007-expected.png
new file mode 100644 (file)
index 0000000..5c464e5
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-color/007-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/007-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-color/007-expected.txt
new file mode 100644 (file)
index 0000000..c5fb4be
--- /dev/null
@@ -0,0 +1,13 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x50
+  RenderBlock {HTML} at (0,0) size 800x50
+    RenderBlock (anonymous) at (0,0) size 800x0
+      RenderInline {BOGUS} at (0,0) size 0x0
+    RenderBlock (anonymous) at (0,16) size 800x18
+      RenderBody {BODY} at (8,0) size 784x18 [bgcolor=#FF0000]
+        RenderBlock {P} at (0,0) size 784x18 [bgcolor=#00FF00]
+          RenderText {#text} at (0,0) size 334x18
+            text run at (0,0) width 334: "This line should be green and there should be no red."
+    RenderBlock (anonymous) at (0,50) size 800x0
+      RenderInline {BOGUS} at (0,0) size 0x0
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/007-xhtml-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-color/007-xhtml-expected.checksum
new file mode 100644 (file)
index 0000000..340a560
--- /dev/null
@@ -0,0 +1 @@
+a4b97f4f099fd5b8e24f44280f426329
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/007-xhtml-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-color/007-xhtml-expected.png
new file mode 100644 (file)
index 0000000..5c464e5
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-color/007-xhtml-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/007-xhtml-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-color/007-xhtml-expected.txt
new file mode 100644 (file)
index 0000000..98e6cff
--- /dev/null
@@ -0,0 +1,13 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x50
+  RenderBlock {html} at (0,0) size 800x50
+    RenderBlock (anonymous) at (0,0) size 800x0
+      RenderInline {bogus} at (0,0) size 0x0
+    RenderBlock (anonymous) at (0,16) size 800x18
+      RenderBody {body} at (8,0) size 784x18 [bgcolor=#FF0000]
+        RenderBlock {p} at (0,0) size 784x18 [bgcolor=#00FF00]
+          RenderText {#text} at (0,0) size 334x18
+            text run at (0,0) width 334: "This line should be green and there should be no red."
+    RenderBlock (anonymous) at (0,50) size 800x0
+      RenderInline {bogus} at (0,0) size 0x0
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/008-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-color/008-expected.checksum
new file mode 100644 (file)
index 0000000..6f46d61
--- /dev/null
@@ -0,0 +1 @@
+76346f2ee503d06a1547fd930f41b597
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/008-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-color/008-expected.png
new file mode 100644 (file)
index 0000000..ddfa38d
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-color/008-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/008-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-color/008-expected.txt
new file mode 100644 (file)
index 0000000..28c1e86
--- /dev/null
@@ -0,0 +1,11 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x0
+  RenderBlock {HTML} at (0,0) size 800x0
+layer at (0,0) size 800x20
+  RenderBlock (positioned) {HEAD} at (0,0) size 800x20 [bgcolor=#FFFF00]
+layer at (0,0) size 800x20
+  RenderBody {BODY} at (0,0) size 800x20 [color=#000080] [bgcolor=#FFFFFF]
+    RenderBlock {P} at (0,0) size 800x18
+      RenderText {#text} at (0,0) size 276x18
+        text run at (0,0) width 276: "This line should have a yellow background."
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/008-xhtml-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-color/008-xhtml-expected.checksum
new file mode 100644 (file)
index 0000000..6f46d61
--- /dev/null
@@ -0,0 +1 @@
+76346f2ee503d06a1547fd930f41b597
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/008-xhtml-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-color/008-xhtml-expected.png
new file mode 100644 (file)
index 0000000..ddfa38d
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-color/008-xhtml-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-color/008-xhtml-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-color/008-xhtml-expected.txt
new file mode 100644 (file)
index 0000000..6af32bb
--- /dev/null
@@ -0,0 +1,11 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x0
+  RenderBlock {html} at (0,0) size 800x0
+layer at (0,0) size 800x20
+  RenderBlock (positioned) {head} at (0,0) size 800x20 [bgcolor=#FFFF00]
+layer at (0,0) size 800x20
+  RenderBody {body} at (0,0) size 800x20 [color=#000080] [bgcolor=#FFFFFF]
+    RenderBlock {p} at (0,0) size 800x18
+      RenderText {#text} at (0,0) size 276x18
+        text run at (0,0) width 276: "This line should have a yellow background."
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/001-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-image/001-expected.checksum
new file mode 100644 (file)
index 0000000..7dfaa0e
--- /dev/null
@@ -0,0 +1 @@
+9573e7df1d6756800fbb88e6cbbb3cbf
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/001-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-image/001-expected.png
new file mode 100644 (file)
index 0000000..5919fd6
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-image/001-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/001-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-image/001-expected.txt
new file mode 100644 (file)
index 0000000..0a0fcad
--- /dev/null
@@ -0,0 +1,8 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x50
+  RenderBlock {HTML} at (0,0) size 800x50
+    RenderBody {BODY} at (8,16) size 784x18 [color=#000080]
+      RenderBlock {P} at (0,0) size 784x18
+        RenderText {#text} at (0,0) size 227x18
+          text run at (0,0) width 227: "The entire canvas should be yellow."
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/001-xhtml-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-image/001-xhtml-expected.checksum
new file mode 100644 (file)
index 0000000..7dfaa0e
--- /dev/null
@@ -0,0 +1 @@
+9573e7df1d6756800fbb88e6cbbb3cbf
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/001-xhtml-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-image/001-xhtml-expected.png
new file mode 100644 (file)
index 0000000..5919fd6
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-image/001-xhtml-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/001-xhtml-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-image/001-xhtml-expected.txt
new file mode 100644 (file)
index 0000000..7da69f3
--- /dev/null
@@ -0,0 +1,8 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x50
+  RenderBlock {html} at (0,0) size 800x50
+    RenderBody {body} at (8,16) size 784x18 [color=#000080]
+      RenderBlock {p} at (0,0) size 784x18
+        RenderText {#text} at (0,0) size 227x18
+          text run at (0,0) width 227: "The entire canvas should be yellow."
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/002-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-image/002-expected.checksum
new file mode 100644 (file)
index 0000000..84ad107
--- /dev/null
@@ -0,0 +1 @@
+1f27821f7ef45b133c9f9a24ab82573a
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/002-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-image/002-expected.png
new file mode 100644 (file)
index 0000000..323294a
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-image/002-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/002-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-image/002-expected.txt
new file mode 100644 (file)
index 0000000..19485d2
--- /dev/null
@@ -0,0 +1,8 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x50
+  RenderBlock {HTML} at (0,0) size 800x24
+    RenderBody {BODY} at (8,16) size 784x0
+      RenderBlock {P} at (0,0) size 784x18
+        RenderText {#text} at (0,0) size 390x18
+          text run at (0,0) width 390: "The entire canvas should be green and there should be no red."
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/002-xhtml-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-image/002-xhtml-expected.checksum
new file mode 100644 (file)
index 0000000..84ad107
--- /dev/null
@@ -0,0 +1 @@
+1f27821f7ef45b133c9f9a24ab82573a
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/002-xhtml-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-image/002-xhtml-expected.png
new file mode 100644 (file)
index 0000000..323294a
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-image/002-xhtml-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/002-xhtml-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-image/002-xhtml-expected.txt
new file mode 100644 (file)
index 0000000..8ec8461
--- /dev/null
@@ -0,0 +1,8 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x50
+  RenderBlock {html} at (0,0) size 800x24
+    RenderBody {body} at (8,16) size 784x0
+      RenderBlock {p} at (0,0) size 784x18
+        RenderText {#text} at (0,0) size 390x18
+          text run at (0,0) width 390: "The entire canvas should be green and there should be no red."
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/003-declarative-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-image/003-declarative-expected.checksum
new file mode 100644 (file)
index 0000000..090c753
--- /dev/null
@@ -0,0 +1 @@
+9ad55c8d9298220a13dd9a37a0990c27
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/003-declarative-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-image/003-declarative-expected.png
new file mode 100644 (file)
index 0000000..388a311
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-image/003-declarative-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/003-declarative-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-image/003-declarative-expected.txt
new file mode 100644 (file)
index 0000000..5bed3fa
--- /dev/null
@@ -0,0 +1,8 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x34
+  RenderBlock {html} at (0,0) size 800x34
+    RenderBody {body} at (8,8) size 784x18
+      RenderBlock {p} at (0,0) size 784x18
+        RenderText {#text} at (0,0) size 334x18
+          text run at (0,0) width 334: "This line should be green and there should be no red."
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/003-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-image/003-expected.checksum
new file mode 100644 (file)
index 0000000..090c753
--- /dev/null
@@ -0,0 +1 @@
+9ad55c8d9298220a13dd9a37a0990c27
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/003-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-image/003-expected.png
new file mode 100644 (file)
index 0000000..388a311
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-image/003-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/003-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-image/003-expected.txt
new file mode 100644 (file)
index 0000000..4e1e291
--- /dev/null
@@ -0,0 +1,8 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x34
+  RenderBlock {html} at (0,0) size 800x34
+    RenderBody {BODY} at (8,8) size 784x18
+      RenderBlock {P} at (0,0) size 784x18
+        RenderText {#text} at (0,0) size 334x18
+          text run at (0,0) width 334: "This line should be green and there should be no red."
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/003-xhtml-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-image/003-xhtml-expected.checksum
new file mode 100644 (file)
index 0000000..090c753
--- /dev/null
@@ -0,0 +1 @@
+9ad55c8d9298220a13dd9a37a0990c27
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/003-xhtml-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-image/003-xhtml-expected.png
new file mode 100644 (file)
index 0000000..388a311
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-image/003-xhtml-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/003-xhtml-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-image/003-xhtml-expected.txt
new file mode 100644 (file)
index 0000000..5bed3fa
--- /dev/null
@@ -0,0 +1,8 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x34
+  RenderBlock {html} at (0,0) size 800x34
+    RenderBody {body} at (8,8) size 784x18
+      RenderBlock {p} at (0,0) size 784x18
+        RenderText {#text} at (0,0) size 334x18
+          text run at (0,0) width 334: "This line should be green and there should be no red."
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/004-declarative-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-image/004-declarative-expected.checksum
new file mode 100644 (file)
index 0000000..9076011
--- /dev/null
@@ -0,0 +1 @@
+f0de986cc8211174be98b858d7aca8d2
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/004-declarative-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-image/004-declarative-expected.png
new file mode 100644 (file)
index 0000000..79ca595
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-image/004-declarative-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/004-declarative-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-image/004-declarative-expected.txt
new file mode 100644 (file)
index 0000000..1fed867
--- /dev/null
@@ -0,0 +1,14 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x18
+  RenderBlock {html} at (0,0) size 800x18
+    RenderBlock (anonymous) at (0,0) size 800x0
+      RenderInline {body} at (0,0) size 0x0
+        RenderText {#text} at (0,0) size 0x0
+    RenderBlock (anonymous) at (0,0) size 800x18
+      RenderBlock {p} at (0,0) size 800x18
+        RenderText {#text} at (0,0) size 334x18
+          text run at (0,0) width 334: "This line should be green and there should be no red."
+    RenderBlock (anonymous) at (0,18) size 800x0
+      RenderInline {body} at (0,0) size 0x0
+      RenderText {#text} at (0,0) size 0x0
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/004-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-image/004-expected.checksum
new file mode 100644 (file)
index 0000000..9076011
--- /dev/null
@@ -0,0 +1 @@
+f0de986cc8211174be98b858d7aca8d2
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/004-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-image/004-expected.png
new file mode 100644 (file)
index 0000000..79ca595
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-image/004-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/004-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-image/004-expected.txt
new file mode 100644 (file)
index 0000000..582cb17
--- /dev/null
@@ -0,0 +1,13 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x18
+  RenderBlock {HTML} at (0,0) size 800x18
+    RenderBlock (anonymous) at (0,0) size 800x0
+      RenderInline {body} at (0,0) size 0x0
+        RenderText {#text} at (0,0) size 0x0
+    RenderBlock (anonymous) at (0,0) size 800x18
+      RenderBlock {P} at (0,0) size 800x18
+        RenderText {#text} at (0,0) size 334x18
+          text run at (0,0) width 334: "This line should be green and there should be no red."
+    RenderBlock (anonymous) at (0,18) size 800x0
+      RenderInline {body} at (0,0) size 0x0
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/004-xhtml-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-image/004-xhtml-expected.checksum
new file mode 100644 (file)
index 0000000..9076011
--- /dev/null
@@ -0,0 +1 @@
+f0de986cc8211174be98b858d7aca8d2
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/004-xhtml-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-image/004-xhtml-expected.png
new file mode 100644 (file)
index 0000000..79ca595
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-image/004-xhtml-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/004-xhtml-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-image/004-xhtml-expected.txt
new file mode 100644 (file)
index 0000000..1fed867
--- /dev/null
@@ -0,0 +1,14 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x18
+  RenderBlock {html} at (0,0) size 800x18
+    RenderBlock (anonymous) at (0,0) size 800x0
+      RenderInline {body} at (0,0) size 0x0
+        RenderText {#text} at (0,0) size 0x0
+    RenderBlock (anonymous) at (0,0) size 800x18
+      RenderBlock {p} at (0,0) size 800x18
+        RenderText {#text} at (0,0) size 334x18
+          text run at (0,0) width 334: "This line should be green and there should be no red."
+    RenderBlock (anonymous) at (0,18) size 800x0
+      RenderInline {body} at (0,0) size 0x0
+      RenderText {#text} at (0,0) size 0x0
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/005-declarative-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-image/005-declarative-expected.checksum
new file mode 100644 (file)
index 0000000..83503e5
--- /dev/null
@@ -0,0 +1 @@
+9ae605ab8bf1f1f064b5fcbef2ee5519
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/005-declarative-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-image/005-declarative-expected.png
new file mode 100644 (file)
index 0000000..2ed359d
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-image/005-declarative-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/005-declarative-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-image/005-declarative-expected.txt
new file mode 100644 (file)
index 0000000..63e94d6
--- /dev/null
@@ -0,0 +1,10 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x50
+  RenderBlock {html} at (0,0) size 800x50
+    RenderBlock (anonymous) at (0,0) size 800x0
+      RenderInline {body} at (0,0) size 0x0 [color=#000080]
+    RenderBody {body} at (8,16) size 784x18 [color=#000080]
+      RenderBlock {p} at (0,0) size 784x18
+        RenderText {#text} at (0,0) size 240x18
+          text run at (0,0) width 240: "The entire viewport should be yellow."
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/005-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-image/005-expected.checksum
new file mode 100644 (file)
index 0000000..83503e5
--- /dev/null
@@ -0,0 +1 @@
+9ae605ab8bf1f1f064b5fcbef2ee5519
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/005-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-image/005-expected.png
new file mode 100644 (file)
index 0000000..2ed359d
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-image/005-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/005-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-image/005-expected.txt
new file mode 100644 (file)
index 0000000..8752c22
--- /dev/null
@@ -0,0 +1,10 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x50
+  RenderBlock {HTML} at (0,0) size 800x50
+    RenderBlock (anonymous) at (0,0) size 800x0
+      RenderInline {body} at (0,0) size 0x0 [color=#000080]
+    RenderBody {BODY} at (8,16) size 784x18 [color=#000080]
+      RenderBlock {P} at (0,0) size 784x18
+        RenderText {#text} at (0,0) size 240x18
+          text run at (0,0) width 240: "The entire viewport should be yellow."
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/005-xhtml-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-image/005-xhtml-expected.checksum
new file mode 100644 (file)
index 0000000..83503e5
--- /dev/null
@@ -0,0 +1 @@
+9ae605ab8bf1f1f064b5fcbef2ee5519
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/005-xhtml-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-image/005-xhtml-expected.png
new file mode 100644 (file)
index 0000000..2ed359d
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-image/005-xhtml-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/005-xhtml-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-image/005-xhtml-expected.txt
new file mode 100644 (file)
index 0000000..63e94d6
--- /dev/null
@@ -0,0 +1,10 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x50
+  RenderBlock {html} at (0,0) size 800x50
+    RenderBlock (anonymous) at (0,0) size 800x0
+      RenderInline {body} at (0,0) size 0x0 [color=#000080]
+    RenderBody {body} at (8,16) size 784x18 [color=#000080]
+      RenderBlock {p} at (0,0) size 784x18
+        RenderText {#text} at (0,0) size 240x18
+          text run at (0,0) width 240: "The entire viewport should be yellow."
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/006-declarative-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-image/006-declarative-expected.checksum
new file mode 100644 (file)
index 0000000..340a560
--- /dev/null
@@ -0,0 +1 @@
+a4b97f4f099fd5b8e24f44280f426329
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/006-declarative-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-image/006-declarative-expected.png
new file mode 100644 (file)
index 0000000..5c464e5
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-image/006-declarative-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/006-declarative-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-image/006-declarative-expected.txt
new file mode 100644 (file)
index 0000000..8426ec4
--- /dev/null
@@ -0,0 +1,9 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x50
+  RenderBlock {html} at (0,0) size 800x50
+    RenderBody {body} at (8,16) size 784x18
+      RenderBlock {p} at (0,0) size 784x18
+        RenderText {#text} at (0,0) size 334x18
+          text run at (0,0) width 334: "This line should be green and there should be no red."
+    RenderBody {body} at (8,50) size 784x0
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/006-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-image/006-expected.checksum
new file mode 100644 (file)
index 0000000..340a560
--- /dev/null
@@ -0,0 +1 @@
+a4b97f4f099fd5b8e24f44280f426329
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/006-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-image/006-expected.png
new file mode 100644 (file)
index 0000000..5c464e5
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-image/006-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/006-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-image/006-expected.txt
new file mode 100644 (file)
index 0000000..363d37d
--- /dev/null
@@ -0,0 +1,9 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x50
+  RenderBlock {HTML} at (0,0) size 800x50
+    RenderBody {BODY} at (8,16) size 784x18
+      RenderBlock {P} at (0,0) size 784x18
+        RenderText {#text} at (0,0) size 334x18
+          text run at (0,0) width 334: "This line should be green and there should be no red."
+    RenderBody {BODY} at (8,50) size 784x0
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/006-xhtml-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-image/006-xhtml-expected.checksum
new file mode 100644 (file)
index 0000000..340a560
--- /dev/null
@@ -0,0 +1 @@
+a4b97f4f099fd5b8e24f44280f426329
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/006-xhtml-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-image/006-xhtml-expected.png
new file mode 100644 (file)
index 0000000..5c464e5
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-image/006-xhtml-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/006-xhtml-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-image/006-xhtml-expected.txt
new file mode 100644 (file)
index 0000000..8426ec4
--- /dev/null
@@ -0,0 +1,9 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x50
+  RenderBlock {html} at (0,0) size 800x50
+    RenderBody {body} at (8,16) size 784x18
+      RenderBlock {p} at (0,0) size 784x18
+        RenderText {#text} at (0,0) size 334x18
+          text run at (0,0) width 334: "This line should be green and there should be no red."
+    RenderBody {body} at (8,50) size 784x0
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/007-declarative-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-image/007-declarative-expected.checksum
new file mode 100644 (file)
index 0000000..340a560
--- /dev/null
@@ -0,0 +1 @@
+a4b97f4f099fd5b8e24f44280f426329
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/007-declarative-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-image/007-declarative-expected.png
new file mode 100644 (file)
index 0000000..5c464e5
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-image/007-declarative-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/007-declarative-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-image/007-declarative-expected.txt
new file mode 100644 (file)
index 0000000..00efb82
--- /dev/null
@@ -0,0 +1,13 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x50
+  RenderBlock {html} at (0,0) size 800x50
+    RenderBlock (anonymous) at (0,0) size 800x0
+      RenderInline {bogus} at (0,0) size 0x0
+    RenderBlock (anonymous) at (0,16) size 800x18
+      RenderBody {body} at (8,0) size 784x18
+        RenderBlock {p} at (0,0) size 784x18
+          RenderText {#text} at (0,0) size 334x18
+            text run at (0,0) width 334: "This line should be green and there should be no red."
+    RenderBlock (anonymous) at (0,50) size 800x0
+      RenderInline {bogus} at (0,0) size 0x0
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/007-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-image/007-expected.checksum
new file mode 100644 (file)
index 0000000..340a560
--- /dev/null
@@ -0,0 +1 @@
+a4b97f4f099fd5b8e24f44280f426329
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/007-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-image/007-expected.png
new file mode 100644 (file)
index 0000000..5c464e5
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-image/007-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/007-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-image/007-expected.txt
new file mode 100644 (file)
index 0000000..03a453f
--- /dev/null
@@ -0,0 +1,13 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x50
+  RenderBlock {HTML} at (0,0) size 800x50
+    RenderBlock (anonymous) at (0,0) size 800x0
+      RenderInline {BOGUS} at (0,0) size 0x0
+    RenderBlock (anonymous) at (0,16) size 800x18
+      RenderBody {BODY} at (8,0) size 784x18
+        RenderBlock {P} at (0,0) size 784x18
+          RenderText {#text} at (0,0) size 334x18
+            text run at (0,0) width 334: "This line should be green and there should be no red."
+    RenderBlock (anonymous) at (0,50) size 800x0
+      RenderInline {BOGUS} at (0,0) size 0x0
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/007-xhtml-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-image/007-xhtml-expected.checksum
new file mode 100644 (file)
index 0000000..340a560
--- /dev/null
@@ -0,0 +1 @@
+a4b97f4f099fd5b8e24f44280f426329
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/007-xhtml-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-image/007-xhtml-expected.png
new file mode 100644 (file)
index 0000000..5c464e5
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-image/007-xhtml-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/007-xhtml-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-image/007-xhtml-expected.txt
new file mode 100644 (file)
index 0000000..00efb82
--- /dev/null
@@ -0,0 +1,13 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x50
+  RenderBlock {html} at (0,0) size 800x50
+    RenderBlock (anonymous) at (0,0) size 800x0
+      RenderInline {bogus} at (0,0) size 0x0
+    RenderBlock (anonymous) at (0,16) size 800x18
+      RenderBody {body} at (8,0) size 784x18
+        RenderBlock {p} at (0,0) size 784x18
+          RenderText {#text} at (0,0) size 334x18
+            text run at (0,0) width 334: "This line should be green and there should be no red."
+    RenderBlock (anonymous) at (0,50) size 800x0
+      RenderInline {bogus} at (0,0) size 0x0
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/008-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-image/008-expected.checksum
new file mode 100644 (file)
index 0000000..6f46d61
--- /dev/null
@@ -0,0 +1 @@
+76346f2ee503d06a1547fd930f41b597
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/008-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-image/008-expected.png
new file mode 100644 (file)
index 0000000..ddfa38d
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-image/008-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/008-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-image/008-expected.txt
new file mode 100644 (file)
index 0000000..f455ff4
--- /dev/null
@@ -0,0 +1,11 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x0
+  RenderBlock {HTML} at (0,0) size 800x0
+layer at (0,0) size 800x20
+  RenderBlock (positioned) {HEAD} at (0,0) size 800x20
+layer at (0,0) size 800x20
+  RenderBody {BODY} at (0,0) size 800x20 [color=#000080]
+    RenderBlock {P} at (0,0) size 800x18
+      RenderText {#text} at (0,0) size 276x18
+        text run at (0,0) width 276: "This line should have a yellow background."
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/008-xhtml-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-image/008-xhtml-expected.checksum
new file mode 100644 (file)
index 0000000..6f46d61
--- /dev/null
@@ -0,0 +1 @@
+76346f2ee503d06a1547fd930f41b597
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/008-xhtml-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-image/008-xhtml-expected.png
new file mode 100644 (file)
index 0000000..ddfa38d
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-image/008-xhtml-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/008-xhtml-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-image/008-xhtml-expected.txt
new file mode 100644 (file)
index 0000000..c3a0d2f
--- /dev/null
@@ -0,0 +1,11 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x0
+  RenderBlock {html} at (0,0) size 800x0
+layer at (0,0) size 800x20
+  RenderBlock (positioned) {head} at (0,0) size 800x20
+layer at (0,0) size 800x20
+  RenderBody {body} at (0,0) size 800x20 [color=#000080]
+    RenderBlock {p} at (0,0) size 800x18
+      RenderText {#text} at (0,0) size 276x18
+        text run at (0,0) width 276: "This line should have a yellow background."
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/009-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-image/009-expected.checksum
new file mode 100644 (file)
index 0000000..55faa01
--- /dev/null
@@ -0,0 +1 @@
+7c22d5933e06146b8d9cf6bd41d56f90
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/009-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-image/009-expected.png
new file mode 100644 (file)
index 0000000..5d55e97
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-image/009-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/009-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-image/009-expected.txt
new file mode 100644 (file)
index 0000000..9706d2a
--- /dev/null
@@ -0,0 +1,13 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (50,50) size 700x154
+  RenderBlock {HTML} at (50,50) size 700x154 [border: (1px solid #000000)]
+    RenderBody {BODY} at (51,51) size 598x52 [color=#000080] [border: (1px solid #000080)]
+      RenderBlock {P} at (1,17) size 596x18
+        RenderText {#text} at (0,0) size 345x18
+          text run at (0,0) width 345: "There should be a yellow square in the top-left corner, "
+        RenderInline {EM} at (0,0) size 52x18
+          RenderText {#text} at (345,0) size 52x18
+            text run at (345,0) width 52: "between"
+        RenderText {#text} at (397,0) size 78x18
+          text run at (397,0) width 78: " the borders."
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/009-xhtml-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-image/009-xhtml-expected.checksum
new file mode 100644 (file)
index 0000000..55faa01
--- /dev/null
@@ -0,0 +1 @@
+7c22d5933e06146b8d9cf6bd41d56f90
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/009-xhtml-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-image/009-xhtml-expected.png
new file mode 100644 (file)
index 0000000..5d55e97
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-image/009-xhtml-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/009-xhtml-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-image/009-xhtml-expected.txt
new file mode 100644 (file)
index 0000000..8b90d7e
--- /dev/null
@@ -0,0 +1,13 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (50,50) size 700x154
+  RenderBlock {html} at (50,50) size 700x154 [border: (1px solid #000000)]
+    RenderBody {body} at (51,51) size 598x52 [color=#000080] [border: (1px solid #000080)]
+      RenderBlock {p} at (1,17) size 596x18
+        RenderText {#text} at (0,0) size 345x18
+          text run at (0,0) width 345: "There should be a yellow square in the top-left corner, "
+        RenderInline {em} at (0,0) size 52x18
+          RenderText {#text} at (345,0) size 52x18
+            text run at (345,0) width 52: "between"
+        RenderText {#text} at (397,0) size 78x18
+          text run at (397,0) width 78: " the borders."
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/010-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-image/010-expected.checksum
new file mode 100644 (file)
index 0000000..825d534
--- /dev/null
@@ -0,0 +1 @@
+8036bef4bf8723cda54a6de3eddae67c
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/010-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-image/010-expected.png
new file mode 100644 (file)
index 0000000..f6e8ab0
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-image/010-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/010-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-image/010-expected.txt
new file mode 100644 (file)
index 0000000..a607553
--- /dev/null
@@ -0,0 +1,13 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (50,50) size 700x154
+  RenderBlock {HTML} at (50,50) size 700x154 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
+    RenderBody {BODY} at (51,51) size 598x52 [color=#000080] [border: (1px solid #000080)]
+      RenderBlock {P} at (1,17) size 596x18
+        RenderText {#text} at (0,0) size 345x18
+          text run at (0,0) width 345: "There should be a yellow square in the top-left corner, "
+        RenderInline {EM} at (0,0) size 37x18
+          RenderText {#text} at (345,0) size 37x18
+            text run at (345,0) width 37: "inside"
+        RenderText {#text} at (382,0) size 108x18
+          text run at (382,0) width 108: " the inner border."
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/010-xhtml-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/background-image/010-xhtml-expected.checksum
new file mode 100644 (file)
index 0000000..825d534
--- /dev/null
@@ -0,0 +1 @@
+8036bef4bf8723cda54a6de3eddae67c
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/010-xhtml-expected.png b/LayoutTests/platform/mac/fast/body-propagation/background-image/010-xhtml-expected.png
new file mode 100644 (file)
index 0000000..f6e8ab0
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/background-image/010-xhtml-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/background-image/010-xhtml-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/background-image/010-xhtml-expected.txt
new file mode 100644 (file)
index 0000000..82b86d9
--- /dev/null
@@ -0,0 +1,13 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (50,50) size 700x154
+  RenderBlock {html} at (50,50) size 700x154 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
+    RenderBody {body} at (51,51) size 598x52 [color=#000080] [border: (1px solid #000080)]
+      RenderBlock {p} at (1,17) size 596x18
+        RenderText {#text} at (0,0) size 345x18
+          text run at (0,0) width 345: "There should be a yellow square in the top-left corner, "
+        RenderInline {em} at (0,0) size 37x18
+          RenderText {#text} at (345,0) size 37x18
+            text run at (345,0) width 37: "inside"
+        RenderText {#text} at (382,0) size 108x18
+          text run at (382,0) width 108: " the inner border."
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/001-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/overflow/001-expected.checksum
new file mode 100644 (file)
index 0000000..94c16aa
--- /dev/null
@@ -0,0 +1 @@
+5a1e34aadc5bad614d22f1bf7efacdc3
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/001-expected.png b/LayoutTests/platform/mac/fast/body-propagation/overflow/001-expected.png
new file mode 100644 (file)
index 0000000..a9ba992
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/overflow/001-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/001-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/overflow/001-expected.txt
new file mode 100644 (file)
index 0000000..e4a4dd6
--- /dev/null
@@ -0,0 +1,23 @@
+layer at (0,0) size 785x585
+  RenderView at (0,0) size 785x585
+layer at (0,0) size 785x249
+  RenderBlock {HTML} at (0,0) size 785x178
+    RenderBody {BODY} at (8,8) size 162x162 [color=#000080] [border: (1px solid #000080)]
+      RenderBlock {P} at (1,17) size 160x72
+        RenderText {#text} at (0,0) size 142x72
+          text run at (0,0) width 102: "There should be"
+          text run at (0,18) width 105: "scrollbars for the"
+          text run at (0,36) width 142: "viewport -- not for this"
+          text run at (0,54) width 28: "box."
+      RenderBlock {P} at (1,105) size 160x18 [color=#808080]
+        RenderText {#text} at (0,0) size 106x18
+          text run at (0,0) width 106: "This is filler text."
+      RenderBlock {P} at (1,139) size 160x18 [color=#808080]
+        RenderText {#text} at (0,0) size 106x18
+          text run at (0,0) width 106: "This is filler text."
+      RenderBlock {P} at (1,173) size 160x18 [color=#808080]
+        RenderText {#text} at (0,0) size 106x18
+          text run at (0,0) width 106: "This is filler text."
+      RenderBlock {P} at (1,207) size 160x18 [color=#808080]
+        RenderText {#text} at (0,0) size 106x18
+          text run at (0,0) width 106: "This is filler text."
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/001-xhtml-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/overflow/001-xhtml-expected.checksum
new file mode 100644 (file)
index 0000000..94c16aa
--- /dev/null
@@ -0,0 +1 @@
+5a1e34aadc5bad614d22f1bf7efacdc3
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/001-xhtml-expected.png b/LayoutTests/platform/mac/fast/body-propagation/overflow/001-xhtml-expected.png
new file mode 100644 (file)
index 0000000..a9ba992
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/overflow/001-xhtml-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/001-xhtml-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/overflow/001-xhtml-expected.txt
new file mode 100644 (file)
index 0000000..55b5fea
--- /dev/null
@@ -0,0 +1,23 @@
+layer at (0,0) size 785x585
+  RenderView at (0,0) size 785x585
+layer at (0,0) size 785x249
+  RenderBlock {html} at (0,0) size 785x178
+    RenderBody {body} at (8,8) size 162x162 [color=#000080] [border: (1px solid #000080)]
+      RenderBlock {p} at (1,17) size 160x72
+        RenderText {#text} at (0,0) size 142x72
+          text run at (0,0) width 102: "There should be"
+          text run at (0,18) width 105: "scrollbars for the"
+          text run at (0,36) width 142: "viewport -- not for this"
+          text run at (0,54) width 28: "box."
+      RenderBlock {p} at (1,105) size 160x18 [color=#808080]
+        RenderText {#text} at (0,0) size 106x18
+          text run at (0,0) width 106: "This is filler text."
+      RenderBlock {p} at (1,139) size 160x18 [color=#808080]
+        RenderText {#text} at (0,0) size 106x18
+          text run at (0,0) width 106: "This is filler text."
+      RenderBlock {p} at (1,173) size 160x18 [color=#808080]
+        RenderText {#text} at (0,0) size 106x18
+          text run at (0,0) width 106: "This is filler text."
+      RenderBlock {p} at (1,207) size 160x18 [color=#808080]
+        RenderText {#text} at (0,0) size 106x18
+          text run at (0,0) width 106: "This is filler text."
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/002-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/overflow/002-expected.checksum
new file mode 100644 (file)
index 0000000..17a9e64
--- /dev/null
@@ -0,0 +1 @@
+f3cba2a708de0e08d62716026fe28998
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/002-expected.png b/LayoutTests/platform/mac/fast/body-propagation/overflow/002-expected.png
new file mode 100644 (file)
index 0000000..19cf6e5
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/overflow/002-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/002-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/overflow/002-expected.txt
new file mode 100644 (file)
index 0000000..ccb7f32
--- /dev/null
@@ -0,0 +1,23 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x178
+  RenderBlock {HTML} at (0,0) size 800x178
+layer at (8,8) size 162x162 clip at (9,9) size 145x145 scrollHeight 206
+  RenderBody {BODY} at (8,8) size 162x162 [color=#000080] [border: (1px solid #000080)]
+    RenderBlock {P} at (1,17) size 145x54
+      RenderText {#text} at (0,0) size 145x54
+        text run at (0,0) width 102: "There should be"
+        text run at (0,18) width 145: "scrollbars for this box -"
+        text run at (0,36) width 138: "- not for the viewport."
+    RenderBlock {P} at (1,87) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
+    RenderBlock {P} at (1,121) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
+    RenderBlock {P} at (1,155) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
+    RenderBlock {P} at (1,189) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/002-xhtml-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/overflow/002-xhtml-expected.checksum
new file mode 100644 (file)
index 0000000..17a9e64
--- /dev/null
@@ -0,0 +1 @@
+f3cba2a708de0e08d62716026fe28998
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/002-xhtml-expected.png b/LayoutTests/platform/mac/fast/body-propagation/overflow/002-xhtml-expected.png
new file mode 100644 (file)
index 0000000..19cf6e5
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/overflow/002-xhtml-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/002-xhtml-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/overflow/002-xhtml-expected.txt
new file mode 100644 (file)
index 0000000..7dcbe3d
--- /dev/null
@@ -0,0 +1,23 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x178
+  RenderBlock {html} at (0,0) size 800x178
+layer at (8,8) size 162x162 clip at (9,9) size 145x145 scrollHeight 206
+  RenderBody {body} at (8,8) size 162x162 [color=#000080] [border: (1px solid #000080)]
+    RenderBlock {p} at (1,17) size 145x54
+      RenderText {#text} at (0,0) size 145x54
+        text run at (0,0) width 102: "There should be"
+        text run at (0,18) width 145: "scrollbars for this box -"
+        text run at (0,36) width 138: "- not for the viewport."
+    RenderBlock {p} at (1,87) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
+    RenderBlock {p} at (1,121) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
+    RenderBlock {p} at (1,155) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
+    RenderBlock {p} at (1,189) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/003-declarative-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/overflow/003-declarative-expected.checksum
new file mode 100644 (file)
index 0000000..17a9e64
--- /dev/null
@@ -0,0 +1 @@
+f3cba2a708de0e08d62716026fe28998
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/003-declarative-expected.png b/LayoutTests/platform/mac/fast/body-propagation/overflow/003-declarative-expected.png
new file mode 100644 (file)
index 0000000..19cf6e5
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/overflow/003-declarative-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/003-declarative-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/overflow/003-declarative-expected.txt
new file mode 100644 (file)
index 0000000..7dcbe3d
--- /dev/null
@@ -0,0 +1,23 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x178
+  RenderBlock {html} at (0,0) size 800x178
+layer at (8,8) size 162x162 clip at (9,9) size 145x145 scrollHeight 206
+  RenderBody {body} at (8,8) size 162x162 [color=#000080] [border: (1px solid #000080)]
+    RenderBlock {p} at (1,17) size 145x54
+      RenderText {#text} at (0,0) size 145x54
+        text run at (0,0) width 102: "There should be"
+        text run at (0,18) width 145: "scrollbars for this box -"
+        text run at (0,36) width 138: "- not for the viewport."
+    RenderBlock {p} at (1,87) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
+    RenderBlock {p} at (1,121) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
+    RenderBlock {p} at (1,155) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
+    RenderBlock {p} at (1,189) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/003-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/overflow/003-expected.checksum
new file mode 100644 (file)
index 0000000..17a9e64
--- /dev/null
@@ -0,0 +1 @@
+f3cba2a708de0e08d62716026fe28998
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/003-expected.png b/LayoutTests/platform/mac/fast/body-propagation/overflow/003-expected.png
new file mode 100644 (file)
index 0000000..19cf6e5
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/overflow/003-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/003-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/overflow/003-expected.txt
new file mode 100644 (file)
index 0000000..f972bb3
--- /dev/null
@@ -0,0 +1,23 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x178
+  RenderBlock {html} at (0,0) size 800x178
+layer at (8,8) size 162x162 clip at (9,9) size 145x145 scrollHeight 206
+  RenderBody {BODY} at (8,8) size 162x162 [color=#000080] [border: (1px solid #000080)]
+    RenderBlock {P} at (1,17) size 145x54
+      RenderText {#text} at (0,0) size 145x54
+        text run at (0,0) width 102: "There should be"
+        text run at (0,18) width 145: "scrollbars for this box -"
+        text run at (0,36) width 138: "- not for the viewport."
+    RenderBlock {P} at (1,87) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
+    RenderBlock {P} at (1,121) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
+    RenderBlock {P} at (1,155) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
+    RenderBlock {P} at (1,189) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/003-xhtml-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/overflow/003-xhtml-expected.checksum
new file mode 100644 (file)
index 0000000..17a9e64
--- /dev/null
@@ -0,0 +1 @@
+f3cba2a708de0e08d62716026fe28998
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/003-xhtml-expected.png b/LayoutTests/platform/mac/fast/body-propagation/overflow/003-xhtml-expected.png
new file mode 100644 (file)
index 0000000..19cf6e5
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/overflow/003-xhtml-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/003-xhtml-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/overflow/003-xhtml-expected.txt
new file mode 100644 (file)
index 0000000..7dcbe3d
--- /dev/null
@@ -0,0 +1,23 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x178
+  RenderBlock {html} at (0,0) size 800x178
+layer at (8,8) size 162x162 clip at (9,9) size 145x145 scrollHeight 206
+  RenderBody {body} at (8,8) size 162x162 [color=#000080] [border: (1px solid #000080)]
+    RenderBlock {p} at (1,17) size 145x54
+      RenderText {#text} at (0,0) size 145x54
+        text run at (0,0) width 102: "There should be"
+        text run at (0,18) width 145: "scrollbars for this box -"
+        text run at (0,36) width 138: "- not for the viewport."
+    RenderBlock {p} at (1,87) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
+    RenderBlock {p} at (1,121) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
+    RenderBlock {p} at (1,155) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
+    RenderBlock {p} at (1,189) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/004-declarative-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/overflow/004-declarative-expected.checksum
new file mode 100644 (file)
index 0000000..9ed5b06
--- /dev/null
@@ -0,0 +1 @@
+c3e2ad68ddd05a0cc08c6d2919f7321e
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/004-declarative-expected.png b/LayoutTests/platform/mac/fast/body-propagation/overflow/004-declarative-expected.png
new file mode 100644 (file)
index 0000000..5d83f34
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/overflow/004-declarative-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/004-declarative-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/overflow/004-declarative-expected.txt
new file mode 100644 (file)
index 0000000..a3ec996
--- /dev/null
@@ -0,0 +1,23 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x162
+  RenderBlock {html} at (0,0) size 800x162
+layer at (0,0) size 162x162 clip at (1,1) size 145x145 scrollHeight 206
+  RenderBlock {body} at (0,0) size 162x162 [color=#000080] [border: (1px solid #000080)]
+    RenderBlock {p} at (1,17) size 145x54
+      RenderText {#text} at (0,0) size 145x54
+        text run at (0,0) width 102: "There should be"
+        text run at (0,18) width 145: "scrollbars for this box -"
+        text run at (0,36) width 138: "- not for the viewport."
+    RenderBlock {p} at (1,87) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
+    RenderBlock {p} at (1,121) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
+    RenderBlock {p} at (1,155) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
+    RenderBlock {p} at (1,189) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/004-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/overflow/004-expected.checksum
new file mode 100644 (file)
index 0000000..9ed5b06
--- /dev/null
@@ -0,0 +1 @@
+c3e2ad68ddd05a0cc08c6d2919f7321e
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/004-expected.png b/LayoutTests/platform/mac/fast/body-propagation/overflow/004-expected.png
new file mode 100644 (file)
index 0000000..5d83f34
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/overflow/004-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/004-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/overflow/004-expected.txt
new file mode 100644 (file)
index 0000000..f02d267
--- /dev/null
@@ -0,0 +1,23 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x162
+  RenderBlock {HTML} at (0,0) size 800x162
+layer at (0,0) size 162x162 clip at (1,1) size 145x145 scrollHeight 206
+  RenderBlock {body} at (0,0) size 162x162 [color=#000080] [border: (1px solid #000080)]
+    RenderBlock {P} at (1,17) size 145x54
+      RenderText {#text} at (0,0) size 145x54
+        text run at (0,0) width 102: "There should be"
+        text run at (0,18) width 145: "scrollbars for this box -"
+        text run at (0,36) width 138: "- not for the viewport."
+    RenderBlock {P} at (1,87) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
+    RenderBlock {P} at (1,121) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
+    RenderBlock {P} at (1,155) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
+    RenderBlock {P} at (1,189) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/004-xhtml-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/overflow/004-xhtml-expected.checksum
new file mode 100644 (file)
index 0000000..9ed5b06
--- /dev/null
@@ -0,0 +1 @@
+c3e2ad68ddd05a0cc08c6d2919f7321e
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/004-xhtml-expected.png b/LayoutTests/platform/mac/fast/body-propagation/overflow/004-xhtml-expected.png
new file mode 100644 (file)
index 0000000..5d83f34
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/overflow/004-xhtml-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/004-xhtml-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/overflow/004-xhtml-expected.txt
new file mode 100644 (file)
index 0000000..a3ec996
--- /dev/null
@@ -0,0 +1,23 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x162
+  RenderBlock {html} at (0,0) size 800x162
+layer at (0,0) size 162x162 clip at (1,1) size 145x145 scrollHeight 206
+  RenderBlock {body} at (0,0) size 162x162 [color=#000080] [border: (1px solid #000080)]
+    RenderBlock {p} at (1,17) size 145x54
+      RenderText {#text} at (0,0) size 145x54
+        text run at (0,0) width 102: "There should be"
+        text run at (0,18) width 145: "scrollbars for this box -"
+        text run at (0,36) width 138: "- not for the viewport."
+    RenderBlock {p} at (1,87) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
+    RenderBlock {p} at (1,121) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
+    RenderBlock {p} at (1,155) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
+    RenderBlock {p} at (1,189) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/005-declarative-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/overflow/005-declarative-expected.checksum
new file mode 100644 (file)
index 0000000..1dbb8a1
--- /dev/null
@@ -0,0 +1 @@
+04dfc60d4e82aa3434f8512e2dc18d1e
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/005-declarative-expected.png b/LayoutTests/platform/mac/fast/body-propagation/overflow/005-declarative-expected.png
new file mode 100644 (file)
index 0000000..3b68117
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/overflow/005-declarative-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/005-declarative-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/overflow/005-declarative-expected.txt
new file mode 100644 (file)
index 0000000..cd0c12f
--- /dev/null
@@ -0,0 +1,28 @@
+layer at (0,0) size 785x585
+  RenderView at (0,0) size 785x585
+layer at (0,0) size 785x465
+  RenderBlock {html} at (0,0) size 785x340
+    RenderBody {body} at (8,170) size 162x162 [color=#000080] [border: (1px solid #000080)]
+      RenderBlock {p} at (1,17) size 160x126
+        RenderText {#text} at (0,0) size 155x126
+          text run at (0,0) width 102: "There should be"
+          text run at (0,18) width 105: "scrollbars for the"
+          text run at (0,36) width 142: "viewport -- not for this"
+          text run at (0,54) width 155: "box. (Additionally, there"
+          text run at (0,72) width 142: "should be a box above"
+          text run at (0,90) width 90: "that does have"
+          text run at (0,108) width 69: "scrollbars.)"
+      RenderBlock {p} at (1,159) size 160x18 [color=#808080]
+        RenderText {#text} at (0,0) size 106x18
+          text run at (0,0) width 106: "This is filler text."
+      RenderBlock {p} at (1,193) size 160x18 [color=#808080]
+        RenderText {#text} at (0,0) size 106x18
+          text run at (0,0) width 106: "This is filler text."
+      RenderBlock {p} at (1,227) size 160x18 [color=#808080]
+        RenderText {#text} at (0,0) size 106x18
+          text run at (0,0) width 106: "This is filler text."
+      RenderBlock {p} at (1,261) size 160x18 [color=#808080]
+        RenderText {#text} at (0,0) size 106x18
+          text run at (0,0) width 106: "This is filler text."
+layer at (0,0) size 162x162 clip at (1,1) size 145x145
+  RenderBlock {body} at (0,0) size 162x162 [color=#000080] [border: (1px solid #000080)]
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/005-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/overflow/005-expected.checksum
new file mode 100644 (file)
index 0000000..1dbb8a1
--- /dev/null
@@ -0,0 +1 @@
+04dfc60d4e82aa3434f8512e2dc18d1e
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/005-expected.png b/LayoutTests/platform/mac/fast/body-propagation/overflow/005-expected.png
new file mode 100644 (file)
index 0000000..3b68117
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/overflow/005-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/005-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/overflow/005-expected.txt
new file mode 100644 (file)
index 0000000..380e5af
--- /dev/null
@@ -0,0 +1,28 @@
+layer at (0,0) size 785x585
+  RenderView at (0,0) size 785x585
+layer at (0,0) size 785x465
+  RenderBlock {HTML} at (0,0) size 785x340
+    RenderBody {BODY} at (8,170) size 162x162 [color=#000080] [border: (1px solid #000080)]
+      RenderBlock {P} at (1,17) size 160x126
+        RenderText {#text} at (0,0) size 155x126
+          text run at (0,0) width 102: "There should be"
+          text run at (0,18) width 105: "scrollbars for the"
+          text run at (0,36) width 142: "viewport -- not for this"
+          text run at (0,54) width 155: "box. (Additionally, there"
+          text run at (0,72) width 142: "should be a box above"
+          text run at (0,90) width 90: "that does have"
+          text run at (0,108) width 69: "scrollbars.)"
+      RenderBlock {P} at (1,159) size 160x18 [color=#808080]
+        RenderText {#text} at (0,0) size 106x18
+          text run at (0,0) width 106: "This is filler text."
+      RenderBlock {P} at (1,193) size 160x18 [color=#808080]
+        RenderText {#text} at (0,0) size 106x18
+          text run at (0,0) width 106: "This is filler text."
+      RenderBlock {P} at (1,227) size 160x18 [color=#808080]
+        RenderText {#text} at (0,0) size 106x18
+          text run at (0,0) width 106: "This is filler text."
+      RenderBlock {P} at (1,261) size 160x18 [color=#808080]
+        RenderText {#text} at (0,0) size 106x18
+          text run at (0,0) width 106: "This is filler text."
+layer at (0,0) size 162x162 clip at (1,1) size 145x145
+  RenderBlock {body} at (0,0) size 162x162 [color=#000080] [border: (1px solid #000080)]
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/005-xhtml-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/overflow/005-xhtml-expected.checksum
new file mode 100644 (file)
index 0000000..1dbb8a1
--- /dev/null
@@ -0,0 +1 @@
+04dfc60d4e82aa3434f8512e2dc18d1e
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/005-xhtml-expected.png b/LayoutTests/platform/mac/fast/body-propagation/overflow/005-xhtml-expected.png
new file mode 100644 (file)
index 0000000..3b68117
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/overflow/005-xhtml-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/005-xhtml-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/overflow/005-xhtml-expected.txt
new file mode 100644 (file)
index 0000000..cd0c12f
--- /dev/null
@@ -0,0 +1,28 @@
+layer at (0,0) size 785x585
+  RenderView at (0,0) size 785x585
+layer at (0,0) size 785x465
+  RenderBlock {html} at (0,0) size 785x340
+    RenderBody {body} at (8,170) size 162x162 [color=#000080] [border: (1px solid #000080)]
+      RenderBlock {p} at (1,17) size 160x126
+        RenderText {#text} at (0,0) size 155x126
+          text run at (0,0) width 102: "There should be"
+          text run at (0,18) width 105: "scrollbars for the"
+          text run at (0,36) width 142: "viewport -- not for this"
+          text run at (0,54) width 155: "box. (Additionally, there"
+          text run at (0,72) width 142: "should be a box above"
+          text run at (0,90) width 90: "that does have"
+          text run at (0,108) width 69: "scrollbars.)"
+      RenderBlock {p} at (1,159) size 160x18 [color=#808080]
+        RenderText {#text} at (0,0) size 106x18
+          text run at (0,0) width 106: "This is filler text."
+      RenderBlock {p} at (1,193) size 160x18 [color=#808080]
+        RenderText {#text} at (0,0) size 106x18
+          text run at (0,0) width 106: "This is filler text."
+      RenderBlock {p} at (1,227) size 160x18 [color=#808080]
+        RenderText {#text} at (0,0) size 106x18
+          text run at (0,0) width 106: "This is filler text."
+      RenderBlock {p} at (1,261) size 160x18 [color=#808080]
+        RenderText {#text} at (0,0) size 106x18
+          text run at (0,0) width 106: "This is filler text."
+layer at (0,0) size 162x162 clip at (1,1) size 145x145
+  RenderBlock {body} at (0,0) size 162x162 [color=#000080] [border: (1px solid #000080)]
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/006-declarative-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/overflow/006-declarative-expected.checksum
new file mode 100644 (file)
index 0000000..9aeffe6
--- /dev/null
@@ -0,0 +1 @@
+14669b57f9aae07707a8a3e5098c094d
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/006-declarative-expected.png b/LayoutTests/platform/mac/fast/body-propagation/overflow/006-declarative-expected.png
new file mode 100644 (file)
index 0000000..adf9543
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/overflow/006-declarative-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/006-declarative-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/overflow/006-declarative-expected.txt
new file mode 100644 (file)
index 0000000..56b7347
--- /dev/null
@@ -0,0 +1,10 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x220
+  RenderBlock {html} at (0,0) size 800x220
+    RenderBody {body} at (8,16) size 784x18 [color=#000080]
+      RenderBlock {p} at (0,0) size 784x18
+        RenderText {#text} at (0,0) size 429x18
+          text run at (0,0) width 429: "There should be scrollbars for the box below -- not for the viewport."
+layer at (8,50) size 162x162 clip at (9,51) size 145x145
+  RenderBody {body} at (8,50) size 162x162 [color=#000080] [border: (1px solid #000080)]
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/006-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/overflow/006-expected.checksum
new file mode 100644 (file)
index 0000000..9aeffe6
--- /dev/null
@@ -0,0 +1 @@
+14669b57f9aae07707a8a3e5098c094d
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/006-expected.png b/LayoutTests/platform/mac/fast/body-propagation/overflow/006-expected.png
new file mode 100644 (file)
index 0000000..adf9543
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/overflow/006-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/006-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/overflow/006-expected.txt
new file mode 100644 (file)
index 0000000..eb8e099
--- /dev/null
@@ -0,0 +1,10 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x220
+  RenderBlock {HTML} at (0,0) size 800x220
+    RenderBody {BODY} at (8,16) size 784x18 [color=#000080]
+      RenderBlock {P} at (0,0) size 784x18
+        RenderText {#text} at (0,0) size 429x18
+          text run at (0,0) width 429: "There should be scrollbars for the box below -- not for the viewport."
+layer at (8,50) size 162x162 clip at (9,51) size 145x145
+  RenderBody {BODY} at (8,50) size 162x162 [color=#000080] [border: (1px solid #000080)]
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/006-xhtml-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/overflow/006-xhtml-expected.checksum
new file mode 100644 (file)
index 0000000..9aeffe6
--- /dev/null
@@ -0,0 +1 @@
+14669b57f9aae07707a8a3e5098c094d
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/006-xhtml-expected.png b/LayoutTests/platform/mac/fast/body-propagation/overflow/006-xhtml-expected.png
new file mode 100644 (file)
index 0000000..adf9543
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/overflow/006-xhtml-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/006-xhtml-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/overflow/006-xhtml-expected.txt
new file mode 100644 (file)
index 0000000..56b7347
--- /dev/null
@@ -0,0 +1,10 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x220
+  RenderBlock {html} at (0,0) size 800x220
+    RenderBody {body} at (8,16) size 784x18 [color=#000080]
+      RenderBlock {p} at (0,0) size 784x18
+        RenderText {#text} at (0,0) size 429x18
+          text run at (0,0) width 429: "There should be scrollbars for the box below -- not for the viewport."
+layer at (8,50) size 162x162 clip at (9,51) size 145x145
+  RenderBody {body} at (8,50) size 162x162 [color=#000080] [border: (1px solid #000080)]
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/007-declarative-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/overflow/007-declarative-expected.checksum
new file mode 100644 (file)
index 0000000..17a9e64
--- /dev/null
@@ -0,0 +1 @@
+f3cba2a708de0e08d62716026fe28998
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/007-declarative-expected.png b/LayoutTests/platform/mac/fast/body-propagation/overflow/007-declarative-expected.png
new file mode 100644 (file)
index 0000000..19cf6e5
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/overflow/007-declarative-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/007-declarative-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/overflow/007-declarative-expected.txt
new file mode 100644 (file)
index 0000000..99462b6
--- /dev/null
@@ -0,0 +1,28 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x178
+  RenderBlock {html} at (0,0) size 800x178
+    RenderBlock (anonymous) at (0,0) size 800x0
+      RenderInline {bogus} at (0,0) size 0x0
+    RenderBlock (anonymous) at (0,8) size 800x162
+    RenderBlock (anonymous) at (0,178) size 800x0
+      RenderInline {bogus} at (0,0) size 0x0
+layer at (8,8) size 162x162 clip at (9,9) size 145x145 scrollHeight 206
+  RenderBody {body} at (8,0) size 162x162 [color=#000080] [border: (1px solid #000080)]
+    RenderBlock {p} at (1,17) size 145x54
+      RenderText {#text} at (0,0) size 145x54
+        text run at (0,0) width 102: "There should be"
+        text run at (0,18) width 145: "scrollbars for this box -"
+        text run at (0,36) width 138: "- not for the viewport."
+    RenderBlock {p} at (1,87) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
+    RenderBlock {p} at (1,121) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
+    RenderBlock {p} at (1,155) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
+    RenderBlock {p} at (1,189) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/007-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/overflow/007-expected.checksum
new file mode 100644 (file)
index 0000000..17a9e64
--- /dev/null
@@ -0,0 +1 @@
+f3cba2a708de0e08d62716026fe28998
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/007-expected.png b/LayoutTests/platform/mac/fast/body-propagation/overflow/007-expected.png
new file mode 100644 (file)
index 0000000..19cf6e5
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/overflow/007-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/007-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/overflow/007-expected.txt
new file mode 100644 (file)
index 0000000..2a8437c
--- /dev/null
@@ -0,0 +1,28 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x178
+  RenderBlock {HTML} at (0,0) size 800x178
+    RenderBlock (anonymous) at (0,0) size 800x0
+      RenderInline {BOGUS} at (0,0) size 0x0
+    RenderBlock (anonymous) at (0,8) size 800x162
+    RenderBlock (anonymous) at (0,178) size 800x0
+      RenderInline {BOGUS} at (0,0) size 0x0
+layer at (8,8) size 162x162 clip at (9,9) size 145x145 scrollHeight 206
+  RenderBody {BODY} at (8,0) size 162x162 [color=#000080] [border: (1px solid #000080)]
+    RenderBlock {P} at (1,17) size 145x54
+      RenderText {#text} at (0,0) size 145x54
+        text run at (0,0) width 102: "There should be"
+        text run at (0,18) width 145: "scrollbars for this box -"
+        text run at (0,36) width 138: "- not for the viewport."
+    RenderBlock {P} at (1,87) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
+    RenderBlock {P} at (1,121) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
+    RenderBlock {P} at (1,155) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
+    RenderBlock {P} at (1,189) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/007-xhtml-expected.checksum b/LayoutTests/platform/mac/fast/body-propagation/overflow/007-xhtml-expected.checksum
new file mode 100644 (file)
index 0000000..17a9e64
--- /dev/null
@@ -0,0 +1 @@
+f3cba2a708de0e08d62716026fe28998
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/007-xhtml-expected.png b/LayoutTests/platform/mac/fast/body-propagation/overflow/007-xhtml-expected.png
new file mode 100644 (file)
index 0000000..19cf6e5
Binary files /dev/null and b/LayoutTests/platform/mac/fast/body-propagation/overflow/007-xhtml-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/body-propagation/overflow/007-xhtml-expected.txt b/LayoutTests/platform/mac/fast/body-propagation/overflow/007-xhtml-expected.txt
new file mode 100644 (file)
index 0000000..99462b6
--- /dev/null
@@ -0,0 +1,28 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x178
+  RenderBlock {html} at (0,0) size 800x178
+    RenderBlock (anonymous) at (0,0) size 800x0
+      RenderInline {bogus} at (0,0) size 0x0
+    RenderBlock (anonymous) at (0,8) size 800x162
+    RenderBlock (anonymous) at (0,178) size 800x0
+      RenderInline {bogus} at (0,0) size 0x0
+layer at (8,8) size 162x162 clip at (9,9) size 145x145 scrollHeight 206
+  RenderBody {body} at (8,0) size 162x162 [color=#000080] [border: (1px solid #000080)]
+    RenderBlock {p} at (1,17) size 145x54
+      RenderText {#text} at (0,0) size 145x54
+        text run at (0,0) width 102: "There should be"
+        text run at (0,18) width 145: "scrollbars for this box -"
+        text run at (0,36) width 138: "- not for the viewport."
+    RenderBlock {p} at (1,87) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
+    RenderBlock {p} at (1,121) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
+    RenderBlock {p} at (1,155) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
+    RenderBlock {p} at (1,189) size 145x18 [color=#808080]
+      RenderText {#text} at (0,0) size 106x18
+        text run at (0,0) width 106: "This is filler text."
index 4e34700..05e972d 100644 (file)
@@ -1,3 +1,25 @@
+2008-10-14  David Hyatt  <hyatt@apple.com>
+
+        https://bugs.webkit.org/show_bug.cgi?id=21595
+
+        Clean up background and overflow propagation from the body to the viewport.  Make it match the
+        latest CSS2.1 spec thinking.
+
+        Reviewed by Adam Roben
+
+        Added many tests at fast/body-propagation/.  These are Simon Pieters' tests of propagation handling
+        (available at http://simon.html5.org/test/css/magic-body/).
+
+        * dom/Document.cpp:
+        (WebCore::Document::body):
+        * page/FrameView.cpp:
+        (WebCore::FrameView::layout):
+        * rendering/RenderBox.cpp:
+        (WebCore::RenderBox::styleDidChange):
+        (WebCore::RenderBox::paintRootBoxDecorations):
+        (WebCore::RenderBox::paintBoxDecorations):
+        (WebCore::RenderBox::repaintLayerRectsForImage):
+
 2008-10-14  Dimitri Glazkov  <dglazkov@chromium.org>
 
         Reviewed and landed by Sam Weinig.
index 57b2cef..054e2ce 100644 (file)
@@ -1487,7 +1487,7 @@ HTMLElement* Document::body()
         if (i->hasTagName(framesetTag))
             return static_cast<HTMLElement*>(i);
         
-        if (i->hasTagName(bodyTag))
+        if (i->hasTagName(bodyTag) && !body)
             body = i;
     }
     return static_cast<HTMLElement*>(body);
index d08180d..4da8506 100644 (file)
@@ -460,26 +460,23 @@ void FrameView::layout(bool allowSubtree)
 
     if (!subtree) {
         RenderObject* rootRenderer = document->documentElement() ? document->documentElement()->renderer() : 0;
-        if (document->isHTMLDocument()) {
-            Node* body = static_cast<HTMLDocument*>(document)->body();
-            if (body && body->renderer()) {
-                if (body->hasTagName(framesetTag)) {
+        Node* body = document->body();
+        if (body && body->renderer()) {
+            if (body->hasTagName(framesetTag)) {
+                body->renderer()->setChildNeedsLayout(true);
+                vMode = ScrollbarAlwaysOff;
+                hMode = ScrollbarAlwaysOff;
+            } else if (body->hasTagName(bodyTag)) {
+                if (!d->m_firstLayout && m_size.height() != visibleHeight()
+                        && static_cast<RenderBox*>(body->renderer())->stretchesToViewHeight())
                     body->renderer()->setChildNeedsLayout(true);
-                    vMode = ScrollbarAlwaysOff;
-                    hMode = ScrollbarAlwaysOff;
-                } else if (body->hasTagName(bodyTag)) {
-                    if (!d->m_firstLayout && m_size.height() != visibleHeight()
-                            && static_cast<RenderBox*>(body->renderer())->stretchesToViewHeight())
-                        body->renderer()->setChildNeedsLayout(true);
-                    // It's sufficient to just check the X overflow,
-                    // since it's illegal to have visible in only one direction.
-                    RenderObject* o = rootRenderer->style()->overflowX() == OVISIBLE 
-                        ? body->renderer() : rootRenderer;
-                    applyOverflowToViewport(o, hMode, vMode); // Only applies to HTML UAs, not to XML/XHTML UAs
-                }
+                // It's sufficient to just check the X overflow,
+                // since it's illegal to have visible in only one direction.
+                RenderObject* o = rootRenderer->style()->overflowX() == OVISIBLE && document->documentElement()->hasTagName(htmlTag) ? body->renderer() : rootRenderer;
+                applyOverflowToViewport(o, hMode, vMode);
             }
         } else if (rootRenderer)
-            applyOverflowToViewport(rootRenderer, hMode, vMode); // XML/XHTML UAs use the root element.
+            applyOverflowToViewport(rootRenderer, hMode, vMode);
 #ifdef INSTRUMENT_LAYOUT_SCHEDULING
         if (d->m_firstLayout && !document->ownerElement())
             printf("Elapsed time before first layout: %d\n", document->elapsedTime());
index d09b6d3..4e2cda0 100644 (file)
@@ -135,10 +135,22 @@ void RenderBox::styleDidChange(RenderStyle::Diff diff, const RenderStyle* oldSty
     }
 
     // We also handle <body> and <html>, whose overflow applies to the viewport.
-    if (!isRoot() && (!isBody() || !document()->isHTMLDocument()) && (isRenderBlock() || isTableRow() || isTableSection())) {
+    if (!isRoot() && (isRenderBlock() || isTableRow() || isTableSection()) && style()->overflowX() != OVISIBLE) {
+        bool boxHasOverflowClip = true;
+        if (isBody()) {
+            // Overflow on the body can propagate to the viewport under the following conditions.
+            // (1) The root element is <html>.
+            // (2) We are the primary <body> (can be checked by looking at document.body).
+            // (3) The root element has visible overflow.
+            if (document()->documentElement()->hasTagName(htmlTag) &&
+                document()->body() == element() &&
+                document()->documentElement()->renderer()->style()->overflowX() == OVISIBLE)
+                boxHasOverflowClip = false;
+        }
+        
         // Check for overflow clip.
         // It's sufficient to just check one direction, since it's illegal to have visible on only one overflow value.
-        if (style()->overflowX() != OVISIBLE) {
+        if (boxHasOverflowClip) {
             if (!s_hadOverflowClip)
                 // Erase the overflow
                 repaint();
@@ -331,7 +343,7 @@ void RenderBox::paintRootBoxDecorations(PaintInfo& paintInfo, int tx, int ty)
 {
     const FillLayer* bgLayer = style()->backgroundLayers();
     Color bgColor = style()->backgroundColor();
-    if (document()->isHTMLDocument() && !style()->hasBackground()) {
+    if (!style()->hasBackground() && element() && element()->hasTagName(HTMLNames::htmlTag)) {
         // Locate the <body> element using the DOM.  This is easier than trying
         // to crawl around a render tree with potential :before/:after content and
         // anonymous blocks created by inline <body> tags etc.  We can locate the <body>
@@ -409,7 +421,7 @@ void RenderBox::paintBoxDecorations(PaintInfo& paintInfo, int tx, int ty)
         // The <body> only paints its background if the root element has defined a background
         // independent of the body.  Go through the DOM to get to the root element's render object,
         // since the root could be inline and wrapped in an anonymous block.
-        if (!isBody() || !document()->isHTMLDocument() || document()->documentElement()->renderer()->style()->hasBackground())
+        if (!isBody() || document()->documentElement()->renderer()->style()->hasBackground())
             paintFillLayers(paintInfo, style()->backgroundColor(), style()->backgroundLayers(), my, mh, tx, ty, w, h);
         if (style()->hasAppearance())
             theme()->paintDecorations(this, paintInfo, IntRect(tx, ty, w, h));
@@ -569,7 +581,7 @@ bool RenderBox::repaintLayerRectsForImage(WrappedImagePtr image, const FillLayer
             // Now that we know this image is being used, compute the renderer and the rect
             // if we haven't already
             if (!layerRenderer) {
-                bool drawingRootBackground = drawingBackground && (isRoot() || (isBody() && document()->isHTMLDocument() && !document()->documentElement()->renderer()->style()->hasBackground()));
+                bool drawingRootBackground = drawingBackground && (isRoot() || (isBody() && !document()->documentElement()->renderer()->style()->hasBackground()));
                 if (drawingRootBackground) {
                     layerRenderer = view();