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)
commit20b5592765c15e050ea55de3ecfc83813e38bd5e
tree24b07ba617a635067c858ee35f415bb2df79a6b1
parent29349a2e0abfef6feaddbe484089fb224096356b
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: http://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