Implement 'empty-cells' for layout 2020 (#32331)

https://drafts.csswg.org/css-tables/#empty-cell-rendering

Co-authored-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
Oriol Brufau 2024-05-21 13:08:08 +02:00 committed by GitHub
parent 9d57c0de77
commit 5b13604bd8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 46 additions and 133 deletions

View file

@ -94,6 +94,9 @@ bitflags! {
/// Whether or not this Fragment was created to contain a list item marker
/// with a used value of `list-style-position: outside`.
const IS_OUTSIDE_LIST_ITEM_MARKER = 0b00001000;
/// Avoid painting the fragment, this is used for empty table cells when 'empty-cells' is 'hide'.
/// This flag doesn't avoid hit-testing.
const DO_NOT_PAINT = 0b00010000;
}
}