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
(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
anonymous-flex-item-004.html is already tracked in bug 205386. This bug can track anonymous-flex-item-005.html
(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.
<rdar://problem/94163881>