WebCore:
authormitz <mitz@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 16 Oct 2007 20:04:42 +0000 (20:04 +0000)
committermitz <mitz@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 16 Oct 2007 20:04:42 +0000 (20:04 +0000)
commitc99d01244b65cff115ae9540be9bd75dd082cad6
tree7f8e39bccf2056ba3baf84e91047dbf722d79d13
parent78c55447376d3e143dac5dd9c7651044619df283
WebCore:

        Reviewed by Dave Hyatt.

        - fix http://bugs.webkit.org/show_bug.cgi?id=15296
          REGRESSION (r19716-r19719): width not specified for <marquee> tag is causing the alignment issue.

        Test: fast/block/float/marquee-shrink-to-avoid-floats.html

        * rendering/RenderObject.cpp:
        (WebCore::RenderObject::shrinkToAvoidFloats): Changed to return 'true' for <marquee>s with auto width.

LayoutTests:

        Reviewed by Dave Hyatt.

        - test for http://bugs.webkit.org/show_bug.cgi?id=15296
          REGRESSION (r19716-r19719): width not specified for <marquee> tag is causing the alignment issue.

        * fast/block/float/marquee-shrink-to-avoid-floats.html: Added.
        * platform/mac/fast/block: Added.
        * platform/mac/fast/block/float: Added.
        * platform/mac/fast/block/float/marquee-shrink-to-avoid-floats-expected.checksum: Added.
        * platform/mac/fast/block/float/marquee-shrink-to-avoid-floats-expected.png: Added.
        * platform/mac/fast/block/float/marquee-shrink-to-avoid-floats-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@26674 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/block/float/marquee-shrink-to-avoid-floats.html [new file with mode: 0644]
LayoutTests/platform/mac/fast/block/float/marquee-shrink-to-avoid-floats-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/block/float/marquee-shrink-to-avoid-floats-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/block/float/marquee-shrink-to-avoid-floats-expected.txt [new file with mode: 0644]
WebCore/ChangeLog
WebCore/rendering/RenderObject.cpp