Changeset 85971 in webkit


Ignore:
Timestamp:
May 6, 2011 1:07:38 PM (13 years ago)
Author:
hyatt@apple.com
Message:

https://bugs.webkit.org/show_bug.cgi?id=60398 (<rdar://problem/9307696>)
REGRESSION (r81684?): cox.com sign in button is missing

Reviewed by Dan Bernstein.

Fix a typo in r81684 where the ascent was used in a comparison instead of boxHeight.
This restores the original behavior before the refactoring messed it up.

Source/WebCore:

Added fast/inline/nested-top-alignment.html

  • rendering/InlineFlowBox.cpp:

(WebCore::InlineFlowBox::computeLogicalBoxHeights):

LayoutTests:

  • fast/inline/nested-top-alignment.html: Added.
  • platform/mac/fast/inline/nested-top-alignment-expected.png: Added.
  • platform/mac/fast/inline/nested-top-alignment-expected.txt: Added.
Location:
trunk
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r85970 r85971  
     12011-05-06  David Hyatt  <hyatt@apple.com>
     2
     3        Reviewed by Dan Bernstein.
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=60398 (<rdar://problem/9307696>)
     6        REGRESSION (r81684?): cox.com sign in button is missing
     7       
     8        Fix a typo in r81684 where the ascent was used in a comparison instead of boxHeight.
     9        This restores the original behavior before the refactoring messed it up.
     10
     11        * fast/inline/nested-top-alignment.html: Added.
     12        * platform/mac/fast/inline/nested-top-alignment-expected.png: Added.
     13        * platform/mac/fast/inline/nested-top-alignment-expected.txt: Added.
     14
    1152011-05-06  Adrienne Walker  <enne@google.com>
    216
  • trunk/Source/WebCore/ChangeLog

    r85964 r85971  
     12011-05-06  David Hyatt  <hyatt@apple.com>
     2
     3        Reviewed by Dan Bernstein.
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=60398 (<rdar://problem/9307696>)
     6        REGRESSION (r81684?): cox.com sign in button is missing
     7       
     8        Fix a typo in r81684 where the ascent was used in a comparison instead of boxHeight.
     9        This restores the original behavior before the refactoring messed it up.
     10
     11        Added fast/inline/nested-top-alignment.html
     12
     13        * rendering/InlineFlowBox.cpp:
     14        (WebCore::InlineFlowBox::computeLogicalBoxHeights):
     15
    1162011-05-06  David Hyatt  <hyatt@apple.com>
    217
  • trunk/Source/WebCore/rendering/InlineFlowBox.cpp

    r85512 r85971  
    540540        int boxHeight = ascent + descent;
    541541        if (curr->verticalAlign() == TOP) {
    542             if (maxPositionTop < ascent)
     542            if (maxPositionTop < boxHeight)
    543543                maxPositionTop = boxHeight;
    544544        } else if (curr->verticalAlign() == BOTTOM) {
Note: See TracChangeset for help on using the changeset viewer.