https://bugs.webkit.org/show_bug.cgi?id=60398 (<rdar://problem/9307696>)
authorDavid Hyatt <hyatt@apple.com>
Fri, 6 May 2011 20:07:38 +0000 (20:07 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Tue, 10 May 2011 20:35:20 +0000 (17:35 -0300)
commit35361c39d83008b5335d177bb4f7d2759ed09de8
tree2158248d46f2c09cb488b6905f2885d08d9f8887
parent0182f0261d2328d76bf1e404a4d3f52ab15e676d
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.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85971 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/inline/nested-top-alignment.html [new file with mode: 0644]
LayoutTests/platform/mac/fast/inline/nested-top-alignment-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/inline/nested-top-alignment-expected.txt [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/rendering/InlineFlowBox.cpp