Title: [94693] trunk/Source/WebCore
- Revision
- 94693
- Author
- [email protected]
- Date
- 2011-09-07 11:48:07 -0700 (Wed, 07 Sep 2011)
Log Message
https://bugs.webkit.org/show_bug.cgi?id=67286
REGRESSION: css2.1/t090204-display-change-01-b-ao.html fails after r94084.
Make sure that the trailing floats line box explicitly sets the line top with leading and line bottom with
leading to just be the block height.
Reviewed by Dan Bernstein.
* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::linkToEndLineIfNeeded):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (94692 => 94693)
--- trunk/Source/WebCore/ChangeLog 2011-09-07 18:32:35 UTC (rev 94692)
+++ trunk/Source/WebCore/ChangeLog 2011-09-07 18:48:07 UTC (rev 94693)
@@ -1,3 +1,17 @@
+2011-09-07 David Hyatt <[email protected]>
+
+ https://bugs.webkit.org/show_bug.cgi?id=67286
+
+ REGRESSION: css2.1/t090204-display-change-01-b-ao.html fails after r94084.
+
+ Make sure that the trailing floats line box explicitly sets the line top with leading and line bottom with
+ leading to just be the block height.
+
+ Reviewed by Dan Bernstein.
+
+ * rendering/RenderBlockLineLayout.cpp:
+ (WebCore::RenderBlock::linkToEndLineIfNeeded):
+
2011-09-06 Abhishek Arya <[email protected]>
Null owningRenderer crash in RenderScrollbar::updateScrollbarParts.
Modified: trunk/Source/WebCore/rendering/RenderBlockLineLayout.cpp (94692 => 94693)
--- trunk/Source/WebCore/rendering/RenderBlockLineLayout.cpp 2011-09-07 18:32:35 UTC (rev 94692)
+++ trunk/Source/WebCore/rendering/RenderBlockLineLayout.cpp 2011-09-07 18:48:07 UTC (rev 94693)
@@ -1168,8 +1168,9 @@
trailingFloatsLineBox->setConstructed();
GlyphOverflowAndFallbackFontsMap textBoxDataMap;
VerticalPositionCache verticalPositionCache;
- trailingFloatsLineBox->alignBoxesInBlockDirection(logicalHeight(), textBoxDataMap, verticalPositionCache);
int blockLogicalHeight = logicalHeight();
+ trailingFloatsLineBox->alignBoxesInBlockDirection(blockLogicalHeight, textBoxDataMap, verticalPositionCache);
+ trailingFloatsLineBox->setLineTopBottomPositions(blockLogicalHeight, blockLogicalHeight, blockLogicalHeight, blockLogicalHeight);
IntRect logicalLayoutOverflow(0, blockLogicalHeight, 1, bottomLayoutOverflow - blockLogicalHeight);
IntRect logicalVisualOverflow(0, blockLogicalHeight, 1, bottomVisualOverflow - blockLogicalHeight);
trailingFloatsLineBox->setOverflowFromLogicalRects(logicalLayoutOverflow, logicalVisualOverflow, trailingFloatsLineBox->lineTop(), trailingFloatsLineBox->lineBottom());
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes