Reviewed by Hyatt.
authorbdakin <bdakin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 21 Apr 2006 07:54:57 +0000 (07:54 +0000)
committerbdakin <bdakin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 21 Apr 2006 07:54:57 +0000 (07:54 +0000)
commit6171c0cd4d88ecaa2559d668470c6289d52172a2
treea16a9ee93e5982f79b99f873cecf7bc7a92745e7
parentb6c0c1d4f4cdc59b4f42b884ba674d8676821d04
    Reviewed by Hyatt.

        Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=8495
        REGRESSION: Sidebar on cnn.com is hosed

        * platform/mac/ImageMac.mm:
        (WebCore::Image::drawTiled): Use the size of the destination rect,
        not the oneTileRect in the no-pattern case.
        * rendering/RenderBox.cpp:
        (WebCore::RenderBox::paintBackgroundExtended): Initialize
        scaledWidth and scaledHeight to the appropriate value (was wrong in
        scroll case), adjust position at appropriate times, and take out
        no-repeat clause for now since we don't have enough test cases yet
        to be sure we won't cause massive regressions.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@13995 268f45cc-cd09-0410-ab3c-d52691b4dbfc
80 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/backgrounds/repeat/noRepeatCorrectClip-expected.checksum [new file with mode: 0644]
LayoutTests/fast/backgrounds/repeat/noRepeatCorrectClip-expected.png [new file with mode: 0644]
LayoutTests/fast/backgrounds/repeat/noRepeatCorrectClip-expected.txt [new file with mode: 0644]
LayoutTests/fast/backgrounds/repeat/noRepeatCorrectClip.html [new file with mode: 0644]
LayoutTests/fast/backgrounds/repeat/resources/nav.blue.gif [new file with mode: 0644]
LayoutTests/fast/backgrounds/size/backgroundSize01-expected.checksum [moved from LayoutTests/fast/css/backgroundSize01-expected.checksum with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize01-expected.png [moved from LayoutTests/fast/css/backgroundSize01-expected.png with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize01-expected.txt [moved from LayoutTests/fast/css/backgroundSize01-expected.txt with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize01.html [moved from LayoutTests/fast/css/backgroundSize01.html with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize02-expected.checksum [moved from LayoutTests/fast/css/backgroundSize02-expected.checksum with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize02-expected.png [moved from LayoutTests/fast/css/backgroundSize02-expected.png with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize02-expected.txt [moved from LayoutTests/fast/css/backgroundSize02-expected.txt with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize02.html [moved from LayoutTests/fast/css/backgroundSize02.html with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize03-expected.checksum [moved from LayoutTests/fast/css/backgroundSize03-expected.checksum with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize03-expected.png [moved from LayoutTests/fast/css/backgroundSize03-expected.png with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize03-expected.txt [moved from LayoutTests/fast/css/backgroundSize03-expected.txt with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize03.html [moved from LayoutTests/fast/css/backgroundSize03.html with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize04-expected.checksum [moved from LayoutTests/fast/css/backgroundSize04-expected.checksum with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize04-expected.png [moved from LayoutTests/fast/css/backgroundSize04-expected.png with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize04-expected.txt [moved from LayoutTests/fast/css/backgroundSize04-expected.txt with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize04.html [moved from LayoutTests/fast/css/backgroundSize04.html with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize05-expected.checksum [moved from LayoutTests/fast/css/backgroundSize05-expected.checksum with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize05-expected.png [moved from LayoutTests/fast/css/backgroundSize05-expected.png with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize05-expected.txt [moved from LayoutTests/fast/css/backgroundSize05-expected.txt with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize05.html [moved from LayoutTests/fast/css/backgroundSize05.html with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize06-expected.checksum [moved from LayoutTests/fast/css/backgroundSize06-expected.checksum with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize06-expected.png [moved from LayoutTests/fast/css/backgroundSize06-expected.png with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize06-expected.txt [moved from LayoutTests/fast/css/backgroundSize06-expected.txt with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize06.html [moved from LayoutTests/fast/css/backgroundSize06.html with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize07-expected.checksum [moved from LayoutTests/fast/css/backgroundSize07-expected.checksum with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize07-expected.png [moved from LayoutTests/fast/css/backgroundSize07-expected.png with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize07-expected.txt [moved from LayoutTests/fast/css/backgroundSize07-expected.txt with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize07.html [moved from LayoutTests/fast/css/backgroundSize07.html with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize08-expected.checksum [moved from LayoutTests/fast/css/backgroundSize08-expected.checksum with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize08-expected.png [moved from LayoutTests/fast/css/backgroundSize08-expected.png with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize08-expected.txt [moved from LayoutTests/fast/css/backgroundSize08-expected.txt with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize08.html [moved from LayoutTests/fast/css/backgroundSize08.html with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize09-expected.checksum [moved from LayoutTests/fast/css/backgroundSize09-expected.checksum with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize09-expected.png [moved from LayoutTests/fast/css/backgroundSize09-expected.png with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize09-expected.txt [moved from LayoutTests/fast/css/backgroundSize09-expected.txt with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize09.html [moved from LayoutTests/fast/css/backgroundSize09.html with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize10-expected.checksum [moved from LayoutTests/fast/css/backgroundSize10-expected.checksum with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize10-expected.png [moved from LayoutTests/fast/css/backgroundSize10-expected.png with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize10-expected.txt [moved from LayoutTests/fast/css/backgroundSize10-expected.txt with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize10.html [moved from LayoutTests/fast/css/backgroundSize10.html with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize11-expected.checksum [moved from LayoutTests/fast/css/backgroundSize11-expected.checksum with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize11-expected.png [moved from LayoutTests/fast/css/backgroundSize11-expected.png with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize11-expected.txt [moved from LayoutTests/fast/css/backgroundSize11-expected.txt with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize11.html [moved from LayoutTests/fast/css/backgroundSize11.html with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize12-expected.checksum [moved from LayoutTests/fast/css/backgroundSize12-expected.checksum with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize12-expected.png [moved from LayoutTests/fast/css/backgroundSize12-expected.png with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize12-expected.txt [moved from LayoutTests/fast/css/backgroundSize12-expected.txt with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize12.html [moved from LayoutTests/fast/css/backgroundSize12.html with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize13-expected.checksum [new file with mode: 0644]
LayoutTests/fast/backgrounds/size/backgroundSize13-expected.png [new file with mode: 0644]
LayoutTests/fast/backgrounds/size/backgroundSize13-expected.txt [moved from LayoutTests/fast/css/backgroundSize13-expected.txt with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize13.html [moved from LayoutTests/fast/css/backgroundSize13.html with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize14-expected.checksum [new file with mode: 0644]
LayoutTests/fast/backgrounds/size/backgroundSize14-expected.png [new file with mode: 0644]
LayoutTests/fast/backgrounds/size/backgroundSize14-expected.txt [moved from LayoutTests/fast/css/backgroundSize14-expected.txt with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize14.html [moved from LayoutTests/fast/css/backgroundSize14.html with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize15-expected.checksum [new file with mode: 0644]
LayoutTests/fast/backgrounds/size/backgroundSize15-expected.png [new file with mode: 0644]
LayoutTests/fast/backgrounds/size/backgroundSize15-expected.txt [moved from LayoutTests/fast/css/backgroundSize15-expected.txt with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize15.html [moved from LayoutTests/fast/css/backgroundSize15.html with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize16-expected.checksum [moved from LayoutTests/fast/css/backgroundSize16-expected.checksum with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize16-expected.png [moved from LayoutTests/fast/css/backgroundSize16-expected.png with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize16-expected.txt [moved from LayoutTests/fast/css/backgroundSize16-expected.txt with 100% similarity]
LayoutTests/fast/backgrounds/size/backgroundSize16.html [moved from LayoutTests/fast/css/backgroundSize16.html with 100% similarity]
LayoutTests/fast/backgrounds/size/resources/bikes.bmp [moved from LayoutTests/fast/css/resources/bikes.bmp with 100% similarity]
LayoutTests/fast/css/backgroundSize13-expected.checksum [deleted file]
LayoutTests/fast/css/backgroundSize13-expected.png [deleted file]
LayoutTests/fast/css/backgroundSize14-expected.checksum [deleted file]
LayoutTests/fast/css/backgroundSize14-expected.png [deleted file]
LayoutTests/fast/css/backgroundSize15-expected.checksum [deleted file]
LayoutTests/fast/css/backgroundSize15-expected.png [deleted file]
WebCore/ChangeLog
WebCore/platform/mac/ImageMac.mm
WebCore/rendering/RenderBox.cpp