nesting horizontal flexboxes is broken
[WebKit-https.git] / Source / WebCore / rendering / RenderBlock.cpp
index 05c9f3b..4e74ab4 100755 (executable)
@@ -5023,6 +5023,8 @@ void RenderBlock::computePreferredLogicalWidths()
         }
 
         int scrollbarWidth = 0;
+        // FIXME: This should only be done for horizontal writing mode.
+        // For vertical writing mode, this should check overflowX and use the horizontalScrollbarHeight.
         if (hasOverflowClip() && styleToUse->overflowY() == OSCROLL) {
             layer()->setHasVerticalScrollbar(true);
             scrollbarWidth = verticalScrollbarWidth();