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:
parent
5a97e8bb23
commit
f655a60773
3 changed files with 12 additions and 0 deletions
|
@ -104,7 +104,10 @@
|
|||
"static",
|
||||
"sticky",
|
||||
"table",
|
||||
"table-caption",
|
||||
"table-cell",
|
||||
"table-column",
|
||||
"table-column-group",
|
||||
"table-footer-group",
|
||||
"table-header-group",
|
||||
"table-row",
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -87,6 +87,9 @@ enum class Display {
|
|||
TableHeaderGroup,
|
||||
TableRowGroup,
|
||||
TableFooterGroup,
|
||||
TableColumn,
|
||||
TableColumnGroup,
|
||||
TableCaption,
|
||||
};
|
||||
|
||||
enum class WhiteSpace {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue