layout: Propagate specified info for flex item (#36993)

We should propagate specified info for flex items. This will prevent the
loss of it for boxes that have this info (e.g. table or grid).

Testing: Adding new WPT tests

---------

Signed-off-by: stevennovaryo <steven.novaryo@gmail.com>
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
Steven Novaryo 2025-05-14 05:10:40 +08:00 committed by GitHub
parent c985c08737
commit a572bf1191
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 25 additions and 3 deletions

View file

@ -618436,7 +618436,7 @@
]
],
"table-client-props.html": [
"4af06d6bf71f0df75d3710ec0906445e943d340d",
"2895bebebbf1868ef60f947d230ecca96dd6e85a",
[
null,
{}

View file

@ -43,6 +43,19 @@
<tr><td>`,
26, 34,
"Table with collapsed border" ],
[ `<div style="display: flex">
<table style="width: 20px; height: 30px;
border-width: 1px 2px 3px 4px; border-style: solid;
border-collapse: separate; box-sizing: content-box">`,
26, 34,
"Flex-level table with separated border" ],
[ `<div style="display: flex">
<table style="width: 20px; height: 30px;
border-width: 2px 4px 6px 8px; border-style: solid;
border-collapse: collapse; box-sizing: content-box">
<tr><td>`,
26, 34,
"Flex-level table with collapsed border" ],
[ `<table>
<caption style="width: 40px; height: 50px; padding: 1px 2px 3px 4px">`,
46, 54,