1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:17:45 +00:00

LibWeb: Add some more CSS "display" values

This commit is contained in:
Andreas Kling 2021-01-07 14:40:02 +01:00
parent 5a97e8bb23
commit f655a60773
3 changed files with 12 additions and 0 deletions

View file

@ -104,7 +104,10 @@
"static",
"sticky",
"table",
"table-caption",
"table-cell",
"table-column",
"table-column-group",
"table-footer-group",
"table-header-group",
"table-row",

View file

@ -398,6 +398,12 @@ CSS::Display StyleProperties::display() const
return CSS::Display::TableRow;
case CSS::ValueID::TableCell:
return CSS::Display::TableCell;
case CSS::ValueID::TableColumn:
return CSS::Display::TableColumn;
case CSS::ValueID::TableColumnGroup:
return CSS::Display::TableColumnGroup;
case CSS::ValueID::TableCaption:
return CSS::Display::TableCaption;
case CSS::ValueID::TableRowGroup:
return CSS::Display::TableRowGroup;
case CSS::ValueID::TableHeaderGroup:

View file

@ -87,6 +87,9 @@ enum class Display {
TableHeaderGroup,
TableRowGroup,
TableFooterGroup,
TableColumn,
TableColumnGroup,
TableCaption,
};
enum class WhiteSpace {