This website requires JavaScript.
Explore
Help
Sign In
nephele
/
haikuwebkit
Watch
1
Star
0
Fork
You've already forked haikuwebkit
0
Code
Issues
Releases
Activity
haiku
haikuwebkit
/
LayoutTests
/
fast
/
css-grid-layout
/
grid-crash-out-of-flow-posi...
3 lines
42 B
Plaintext
Raw
Permalink
Normal View
History
Unescape
Escape
[css-grid] Crash on debug changing the style of a positioned element https://bugs.webkit.org/show_bug.cgi?id=191473 Reviewed by Dean Jackson and Zalan Bujtas. Source/WebCore: When an box becomes {out-of,in}-flow, it may be re-parented and it may become a grid item. In that case, we must mark the RenderGrid as dirty, so that the grid items placement logic is executed again. Test: fast/css-grid-layout/grid-crash-out-of-flow-positioned-element.html * rendering/updating/RenderTreeBuilder.cpp: (WebCore::childFlowStateChangesAndAffectsParentBlock): Consider the case of a box's new parent being a grid container. LayoutTests: Regression test to ensure that the grid placement logic is executed when a positioned item becomes a grid item. * fast/css-grid-layout/grid-crash-out-of-flow-positioned-element-expected.txt: * fast/css-grid-layout/grid-crash-out-of-flow-positioned-element.html: * TestExpectations: Remove a Skip entry, since the test doesn't crash anymore. Canonical link: https://commits.webkit.org/207022@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@238888 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-12-05 08:17:10 +00:00
This test has passed if it didn't crash.