All child elements of a flex container should be turned into a flex item
authortony@chromium.org <tony@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 30 Jun 2012 03:16:23 +0000 (03:16 +0000)
committertony@chromium.org <tony@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 30 Jun 2012 03:16:23 +0000 (03:16 +0000)
commit72233c7547a46034eeb69f7fff7327474385c3b9
tree24b07ba617a635067c858ee35f415bb2df79a6b1
parent00133cae5f8d09e93370ed53d1ff154feaf83904
All child elements of a flex container should be turned into a flex item
https://bugs.webkit.org/show_bug.cgi?id=90323

Reviewed by Ojan Vafai.

Source/WebCore:

We used to only convert some elements to blocks, but now we convert everything except text nodes.
This was recently changed here:
http://wiki.csswg.org/topics/css3-flexbox-flexbox-replaced-children

Tests: css3/flexbox/anonymous-block.html : Add new test case.
       css3/flexbox/flexitem.html: Update results.

* css/StyleResolver.cpp:
(WebCore::StyleResolver::collectMatchingRulesForList):

LayoutTests:

* css3/flexbox/anonymous-block-expected.html:
* css3/flexbox/anonymous-block.html:
* css3/flexbox/flexitem-expected.txt:
* css3/flexbox/flexitem.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@121613 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/css3/flexbox/anonymous-block-expected.html
LayoutTests/css3/flexbox/anonymous-block.html
LayoutTests/css3/flexbox/flexitem-expected.txt
LayoutTests/css3/flexbox/flexitem.html
Source/WebCore/ChangeLog
Source/WebCore/css/StyleResolver.cpp