LibWeb: Add CSS::Display enum and StyleProperties::display()

The display property is not interesting after we've built the layout
tree, so we don't have to move it into LayoutStyle.
This commit is contained in:
Andreas Kling 2020-06-24 16:22:16 +02:00
commit bc178ee743
Notes: sideshowbarker 2024-07-19 05:24:28 +09:00
8 changed files with 55 additions and 23 deletions

View file

@ -123,6 +123,18 @@ enum class TextAlign {
VendorSpecificCenter,
};
enum class Display {
None,
Block,
Inline,
InlineBlock,
ListItem,
Table,
TableRow,
TableCell,
TableRowGroup,
};
}
class StyleValue : public RefCounted<StyleValue> {