Files
Oriol Brufau 94f6b55d0b Bug 2035670 [wpt PR 59502] - layout: Keep all trailing whitespace after unparented table-levels, a=testonly
Automatic update from web-platform-tests
layout: Keep all trailing whitespace after unparented table-levels

A sequence of table-level boxes gets wrapped inside an anonymous table
box. This includes interleaved spaces (which table layout will skip),
but not trailing spaces, which need to be kept after the table.

We were only keeping the last such whitespace node, but it's possible
to have more than one whitespace node. So this patch keeps all nodes
after the last table-level element.

Signed-off-by: Oriol Brufau <[email protected]>

--

wpt-commits: 8198c88769e8dff2299a9614f7ead1005d41c1c8
wpt-pr: 59502
2026-05-08 08:37:01 +00:00
..