12012-08-09 Tony Chang <tony@chromium.org>
2
3 implement display: -webkit-inline-flex
4 https://bugs.webkit.org/show_bug.cgi?id=77772
5
6 Reviewed by Ojan Vafai.
7
8 The crashes last time were because we were marking too much of the tree for relayout. During some editing
9 operations, this causes a layout when we're in an inconsistent state.
10
11 Tests: css3/flexbox/inline-flex-crash.html
12 css3/flexbox/inline-flex-crash2.html
13 css3/flexbox/inline-flex.html
14
15 * rendering/RenderFlexibleBox.cpp:
16 (WebCore::RenderFlexibleBox::computeMainAxisPreferredSizes): Only layout the child.
17 (WebCore::RenderFlexibleBox::layoutAndPlaceChildren): Only layout the child.
18 (WebCore::RenderFlexibleBox::applyStretchAlignmentToChild): Only layout the child.
19 * rendering/style/RenderStyle.h: Include INLINE_FLEX as an inline and replaced display type.
20