Title: [121130] trunk/Source/WebCore
Revision
121130
Author
[email protected]
Date
2012-06-24 19:14:26 -0700 (Sun, 24 Jun 2012)

Log Message

REGRESSION(r121124): LayoutTests/fast/block/inline-children-root-linebox-crash.html asserts
https://bugs.webkit.org/show_bug.cgi?id=89844
        
Reviewed by Dan Bernstein.

We need to check for the flipped writing mode and take the slow path if it is used.

* rendering/RenderGeometryMap.cpp:
(WebCore::RenderGeometryMap::pushMappingsToAncestor):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (121129 => 121130)


--- trunk/Source/WebCore/ChangeLog	2012-06-25 02:03:45 UTC (rev 121129)
+++ trunk/Source/WebCore/ChangeLog	2012-06-25 02:14:26 UTC (rev 121130)
@@ -1,3 +1,15 @@
+2012-06-24  Antti Koivisto  <[email protected]>
+
+        REGRESSION(r121124): LayoutTests/fast/block/inline-children-root-linebox-crash.html asserts
+        https://bugs.webkit.org/show_bug.cgi?id=89844
+        
+        Reviewed by Dan Bernstein.
+
+        We need to check for the flipped writing mode and take the slow path if it is used.
+
+        * rendering/RenderGeometryMap.cpp:
+        (WebCore::RenderGeometryMap::pushMappingsToAncestor):
+
 2012-06-24  Luke Macpherson  <[email protected]>
 
         Add runtime flag to enable/disable CSS variables (in addition to existing compile-time flag).

Modified: trunk/Source/WebCore/rendering/RenderGeometryMap.cpp (121129 => 121130)


--- trunk/Source/WebCore/rendering/RenderGeometryMap.cpp	2012-06-25 02:03:45 UTC (rev 121129)
+++ trunk/Source/WebCore/rendering/RenderGeometryMap.cpp	2012-06-25 02:14:26 UTC (rev 121130)
@@ -185,7 +185,7 @@
     const RenderObject* renderer = layer->renderer();
 
     // The simple case can be handled fast in the layer tree.
-    bool canConvertInLayerTree = ancestorLayer && renderer->style()->position() != FixedPosition;
+    bool canConvertInLayerTree = ancestorLayer && renderer->style()->position() != FixedPosition && !renderer->style()->isFlippedBlocksWritingMode();
     for (const RenderLayer* current = layer; current != ancestorLayer && canConvertInLayerTree; current = current->parent())
         canConvertInLayerTree = current->canUseConvertToLayerCoords();
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to