mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 00:57:36 +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",
|
"static",
|
||||||
"sticky",
|
"sticky",
|
||||||
"table",
|
"table",
|
||||||
|
"table-caption",
|
||||||
"table-cell",
|
"table-cell",
|
||||||
|
"table-column",
|
||||||
|
"table-column-group",
|
||||||
"table-footer-group",
|
"table-footer-group",
|
||||||
"table-header-group",
|
"table-header-group",
|
||||||
"table-row",
|
"table-row",
|
||||||
|
|
|
@ -398,6 +398,12 @@ CSS::Display StyleProperties::display() const
|
||||||
return CSS::Display::TableRow;
|
return CSS::Display::TableRow;
|
||||||
case CSS::ValueID::TableCell:
|
case CSS::ValueID::TableCell:
|
||||||
return CSS::Display::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:
|
case CSS::ValueID::TableRowGroup:
|
||||||
return CSS::Display::TableRowGroup;
|
return CSS::Display::TableRowGroup;
|
||||||
case CSS::ValueID::TableHeaderGroup:
|
case CSS::ValueID::TableHeaderGroup:
|
||||||
|
|
|
@ -87,6 +87,9 @@ enum class Display {
|
||||||
TableHeaderGroup,
|
TableHeaderGroup,
|
||||||
TableRowGroup,
|
TableRowGroup,
|
||||||
TableFooterGroup,
|
TableFooterGroup,
|
||||||
|
TableColumn,
|
||||||
|
TableColumnGroup,
|
||||||
|
TableCaption,
|
||||||
};
|
};
|
||||||
|
|
||||||
enum class WhiteSpace {
|
enum class WhiteSpace {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue