Changeset 30345 in webkit


Ignore:
Timestamp:
Feb 17, 2008 12:50:32 AM (16 years ago)
Author:
mitz@apple.com
Message:

WebCore:

Reviewed by Darin Adler.

Test: fast/forms/control-clip-overflow.html

  • rendering/RenderFlow.cpp: (WebCore::RenderFlow::lowestPosition): Account for control clipping. (WebCore::RenderFlow::rightmostPosition): Ditto. (WebCore::RenderFlow::leftmostPosition): Ditto.

LayoutTests:

Reviewed by Darin Adler.

  • fast/forms/control-clip-overflow.html: Added.
  • platform/mac/fast/forms/control-clip-overflow-expected.checksum: Added.
  • platform/mac/fast/forms/control-clip-overflow-expected.png: Added.
  • platform/mac/fast/forms/control-clip-overflow-expected.txt: Added.
Location:
trunk
Files:
4 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r30342 r30345  
     12008-02-17  Dan Bernstein  <mitz@apple.com>
     2
     3        Reviewed by Darin Adler.
     4
     5        - test for http://bugs.webkit.org/show_bug.cgi?id=17033
     6          <rdar://problem/5709315> REGRESSION: Really long <option> causes unnecessary page scroll bars to accommodate content
     7
     8        * fast/forms/control-clip-overflow.html: Added.
     9        * platform/mac/fast/forms/control-clip-overflow-expected.checksum: Added.
     10        * platform/mac/fast/forms/control-clip-overflow-expected.png: Added.
     11        * platform/mac/fast/forms/control-clip-overflow-expected.txt: Added.
     12
    1132008-02-16  Dan Bernstein  <mitz@apple.com>
    214
  • trunk/WebCore/ChangeLog

    r30344 r30345  
     12008-02-17  Dan Bernstein  <mitz@apple.com>
     2
     3        Reviewed by Darin Adler.
     4
     5        - fix http://bugs.webkit.org/show_bug.cgi?id=17033
     6          <rdar://problem/5709315> REGRESSION: Really long <option> causes unnecessary page scroll bars to accommodate content
     7
     8        Test: fast/forms/control-clip-overflow.html
     9
     10        * rendering/RenderFlow.cpp:
     11        (WebCore::RenderFlow::lowestPosition): Account for control clipping.
     12        (WebCore::RenderFlow::rightmostPosition): Ditto.
     13        (WebCore::RenderFlow::leftmostPosition): Ditto.
     14
    1152008-02-16  Oliver Hunt  <oliver@apple.com>
    216
  • trunk/WebCore/rendering/RenderFlow.cpp

    r27051 r30345  
    551551{
    552552    ASSERT(!isInlineFlow());
    553     if (!includeOverflowInterior && hasOverflowClip())
     553    if (!includeOverflowInterior && (hasOverflowClip() || hasControlClip()))
    554554        return includeSelf && m_width > 0 ? overflowHeight(false) : 0;
    555555
     
    575575{
    576576    ASSERT(!isInlineFlow());
    577     if (!includeOverflowInterior && hasOverflowClip())
     577    if (!includeOverflowInterior && (hasOverflowClip() || hasControlClip()))
    578578        return includeSelf && m_height > 0 ? overflowWidth(false) : 0;
    579579
     
    599599{
    600600    ASSERT(!isInlineFlow());
    601     if (!includeOverflowInterior && hasOverflowClip())
     601    if (!includeOverflowInterior && (hasOverflowClip() || hasControlClip()))
    602602        return includeSelf && m_height > 0 ? overflowLeft(false) : m_width;
    603603
Note: See TracChangeset for help on using the changeset viewer.