mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 00:47:45 +00:00
LibWeb: Move <display-foo>
definitions into Enums.json
This eliminates a fair bit of boilerplate.
This commit is contained in:
parent
3b0980c89f
commit
125d161b3f
10 changed files with 182 additions and 313 deletions
|
@ -133,6 +133,43 @@
|
|||
"zoom-in",
|
||||
"zoom-out"
|
||||
],
|
||||
"display-box": [
|
||||
"contents",
|
||||
"none"
|
||||
],
|
||||
"display-inside": [
|
||||
"flow",
|
||||
"flow-root",
|
||||
"table",
|
||||
"flex",
|
||||
"grid",
|
||||
"ruby"
|
||||
],
|
||||
"display-internal": [
|
||||
"table-row-group",
|
||||
"table-header-group",
|
||||
"table-footer-group",
|
||||
"table-row",
|
||||
"table-cell",
|
||||
"table-column-group",
|
||||
"table-column",
|
||||
"table-caption",
|
||||
"ruby-base",
|
||||
"ruby-text",
|
||||
"ruby-base-container",
|
||||
"ruby-text-container"
|
||||
],
|
||||
"display-legacy": [
|
||||
"inline-block",
|
||||
"inline-table",
|
||||
"inline-flex",
|
||||
"inline-grid"
|
||||
],
|
||||
"display-outside": [
|
||||
"block",
|
||||
"inline",
|
||||
"run-in"
|
||||
],
|
||||
"fill-rule": [
|
||||
"nonzero",
|
||||
"evenodd"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue