-
eae@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=105579 Reviewed by Tony Chang. Source/WebCore: Add isfinite to childSize calculation in RenderFlexibleBox:: resolveFlexibleLengths to avoid overflow. Covered by css3/flexbox/flex-algorithm.html. * rendering/RenderFlexibleBox.cpp: (WebCore::RenderFlexibleBox::resolveFlexibleLengths): Check if value is finite before adding to childSize. LayoutTests: Update expectations for element with very large flex grow value. * css3/flexbox/flex-algorithm.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138312 268f45cc-cd09-0410-ab3c-d52691b4dbfc
eae@chromium.org authoredhttps://bugs.webkit.org/show_bug.cgi?id=105579 Reviewed by Tony Chang. Source/WebCore: Add isfinite to childSize calculation in RenderFlexibleBox:: resolveFlexibleLengths to avoid overflow. Covered by css3/flexbox/flex-algorithm.html. * rendering/RenderFlexibleBox.cpp: (WebCore::RenderFlexibleBox::resolveFlexibleLengths): Check if value is finite before adding to childSize. LayoutTests: Update expectations for element with very large flex grow value. * css3/flexbox/flex-algorithm.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138312 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Loading