Bug 210144
Summary: | [css-flexbox] Out-of-flow boxes should not be children of anonymous flex items. | ||
---|---|---|---|
Product: | WebKit | Reporter: | Carlos Alberto Lopez Perez <clopez> |
Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED CONFIGURATION CHANGED | ||
Severity: | Normal | CC: | bfulgham, obrufau, sgill26, svillar, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: |
https://bugs.chromium.org/p/chromium/issues/detail?id=788379 https://bugs.chromium.org/p/chromium/issues/detail?id=807497 https://bugs.webkit.org/show_bug.cgi?id=205386 |
Carlos Alberto Lopez Perez
Text node children of a flexible box are wrapped in anonymous flex items. Consecutive text node siblings should be merged in the same item.
But we should not skip merging out-of-flow (absolute positioned) elements.
This causes failures in the following two WPT tests:
https://wpt.live/css/css-flexbox/anonymous-flex-item-004.html
https://wpt.live/css/css-flexbox/anonymous-flex-item-005.html
This two test pass on firefox. On Chrome currently only the 004 passes. Tracked at https://crbug.com/788379
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Carlos Alberto Lopez Perez
(In reply to Carlos Alberto Lopez Perez from comment #0)
> On Chrome currently only the 004 passes.
> Tracked at https://crbug.com/788379
^^^^^ Sorry, I mean tracked at https://crbug.com/807497
Oriol Brufau
anonymous-flex-item-004.html is already tracked in bug 205386.
This bug can track anonymous-flex-item-005.html
Sergio Villar Senin
(In reply to Oriol Brufau from comment #2)
> anonymous-flex-item-004.html is already tracked in bug 205386.
> This bug can track anonymous-flex-item-005.html
See https://bugs.webkit.org/show_bug.cgi?id=205386#c8 for a detailed explanation about why this is failing.
Radar WebKit Bug Importer
<rdar://problem/94163881>
Sammy Gill
We seem to be passing these now