Changeset 29553 in webkit
- Timestamp:
- Jan 16, 2008 10:20:16 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r29552 r29553 1 2008-01-16 David Hyatt <hyatt@apple.com> 2 3 Fix for http://bugs.webkit.org/show_bug.cgi?id=16611 4 5 Reviewed by olliej 6 7 * ChangeLog: 8 * fast/css/vertical-align-lengths.html: Added. 9 * platform/mac/fast/css/vertical-align-lengths-expected.checksum: Added. 10 * platform/mac/fast/css/vertical-align-lengths-expected.png: Added. 11 * platform/mac/fast/css/vertical-align-lengths-expected.txt: Added. 12 1 13 2008-01-16 Dan Bernstein <mitz@apple.com> 2 14 -
trunk/WebCore/ChangeLog
r29552 r29553 1 2008-01-16 David Hyatt <hyatt@apple.com> 2 3 Fix for http://bugs.webkit.org/show_bug.cgi?id=16611 4 5 Make sure vertical-align length values are offset from their parents rather than being absolute to the 6 line. 7 8 Reviewed by olliej 9 10 Added fast/css/vertical-align-lengths.html 11 12 * rendering/RenderObject.cpp: 13 (WebCore::RenderObject::getVerticalPosition): 14 1 15 2008-01-16 Dan Bernstein <mitz@apple.com> 2 16 -
trunk/WebCore/rendering/RenderObject.cpp
r29457 r29553 2688 2688 else if (va == BOTTOM) 2689 2689 vpos = PositionBottom; 2690 else if (va == LENGTH)2691 vpos = -style()->verticalAlignLength().calcValue(lineHeight(firstLine));2692 2690 else { 2693 2691 bool checkParent = parent()->isInline() && !parent()->isInlineBlockOrInlineTable() && parent()->style()->verticalAlign() != TOP && parent()->style()->verticalAlign() != BOTTOM; … … 2714 2712 } else if (va == BASELINE_MIDDLE) 2715 2713 vpos += -lineHeight(firstLine) / 2 + baselinePosition(firstLine); 2714 else if (va == LENGTH) 2715 vpos -= style()->verticalAlignLength().calcValue(lineHeight(firstLine)); 2716 2716 } 2717 2717
Note: See TracChangeset
for help on using the changeset viewer.