Changeset 26674 in webkit


Ignore:
Timestamp:
Oct 16, 2007 1:04:42 PM (17 years ago)
Author:
mitz
Message:

WebCore:

Reviewed by Dave Hyatt.

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.

  • 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.
Location:
trunk
Files:
4 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r26673 r26674  
     12007-10-16  Mitz Pettel  <mitz@webkit.org>
     2
     3        Reviewed by Dave Hyatt.
     4
     5        - test for http://bugs.webkit.org/show_bug.cgi?id=15296
     6          REGRESSION (r19716-r19719): width not specified for <marquee> tag is causing the alignment issue.
     7
     8        * fast/block/float/marquee-shrink-to-avoid-floats.html: Added.
     9        * platform/mac/fast/block: Added.
     10        * platform/mac/fast/block/float: Added.
     11        * platform/mac/fast/block/float/marquee-shrink-to-avoid-floats-expected.checksum: Added.
     12        * platform/mac/fast/block/float/marquee-shrink-to-avoid-floats-expected.png: Added.
     13        * platform/mac/fast/block/float/marquee-shrink-to-avoid-floats-expected.txt: Added.
     14
    1152007-10-16  Beth Dakin  <bdakin@apple.com>
    216
  • trunk/WebCore/ChangeLog

    r26673 r26674  
     12007-10-16  Mitz Pettel  <mitz@webkit.org>
     2
     3        Reviewed by Dave Hyatt.
     4
     5        - fix http://bugs.webkit.org/show_bug.cgi?id=15296
     6          REGRESSION (r19716-r19719): width not specified for <marquee> tag is causing the alignment issue.
     7
     8        Test: fast/block/float/marquee-shrink-to-avoid-floats.html
     9
     10        * rendering/RenderObject.cpp:
     11        (WebCore::RenderObject::shrinkToAvoidFloats): Changed to return 'true' for <marquee>s with auto width.
     12
    1132007-10-16  Beth Dakin  <bdakin@apple.com>
    214
  • trunk/WebCore/rendering/RenderObject.cpp

    r26623 r26674  
    29282928    // involves doing a relayout during findNextLineBreak and somehow overriding the containingBlockWidth method to return the
    29292929    // current remaining width on a line.
    2930     if (isInline() || !avoidsFloats())
     2930    if (isInline() && !isHTMLMarquee() || !avoidsFloats())
    29312931        return false;
    29322932
Note: See TracChangeset for help on using the changeset viewer.