< prev index next >

modules/javafx.web/src/main/native/Source/WebCore/rendering/RenderMultiColumnSet.cpp

Print this page

        

@@ -314,11 +314,11 @@
 {
     setComputedColumnWidthAndCount(multiColumnFlow()->columnWidth(), multiColumnFlow()->columnCount()); // FIXME: This will eventually vary if we are contained inside fragments.
 
     // FIXME: When we add fragments support, we'll start it off at the width of the multi-column
     // block in that particular fragment.
-    setLogicalWidth(parentBox()->contentLogicalWidth());
+    setLogicalWidth(multiColumnBlockFlow()->contentLogicalWidth());
 }
 
 bool RenderMultiColumnSet::requiresBalancing() const
 {
     if (!multiColumnFlow()->progressionIsInline())
< prev index next >