mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:07:45 +00:00
LibWeb: Add handful of CSS properties and identifiers
This is just to make the CSS parser stop whining when it encounters some very common properties and identifiers. More work will be required to actually support these things. :^)
This commit is contained in:
parent
1d47d41c01
commit
09087b8f8e
2 changed files with 60 additions and 2 deletions
|
@ -58,12 +58,17 @@
|
||||||
"absolute",
|
"absolute",
|
||||||
"alias",
|
"alias",
|
||||||
"all-scroll",
|
"all-scroll",
|
||||||
|
"anywhere",
|
||||||
"auto",
|
"auto",
|
||||||
|
"baseline",
|
||||||
"blink",
|
"blink",
|
||||||
"block",
|
"block",
|
||||||
"bold",
|
"bold",
|
||||||
"bolder",
|
"bolder",
|
||||||
"both",
|
"both",
|
||||||
|
"bottom",
|
||||||
|
"border-box",
|
||||||
|
"break-word",
|
||||||
"capitalize",
|
"capitalize",
|
||||||
"cell",
|
"cell",
|
||||||
"center",
|
"center",
|
||||||
|
@ -73,6 +78,7 @@
|
||||||
"column",
|
"column",
|
||||||
"column-reverse",
|
"column-reverse",
|
||||||
"content",
|
"content",
|
||||||
|
"content-box",
|
||||||
"context-menu",
|
"context-menu",
|
||||||
"copy",
|
"copy",
|
||||||
"crosshair",
|
"crosshair",
|
||||||
|
@ -102,6 +108,7 @@
|
||||||
"inline-block",
|
"inline-block",
|
||||||
"inset",
|
"inset",
|
||||||
"inside",
|
"inside",
|
||||||
|
"invert",
|
||||||
"italic",
|
"italic",
|
||||||
"justify",
|
"justify",
|
||||||
"large",
|
"large",
|
||||||
|
@ -115,6 +122,7 @@
|
||||||
"lower-latin",
|
"lower-latin",
|
||||||
"lower-roman",
|
"lower-roman",
|
||||||
"medium",
|
"medium",
|
||||||
|
"middle",
|
||||||
"monospace",
|
"monospace",
|
||||||
"move",
|
"move",
|
||||||
"ne-resize",
|
"ne-resize",
|
||||||
|
@ -157,11 +165,14 @@
|
||||||
"solid",
|
"solid",
|
||||||
"space",
|
"space",
|
||||||
"space-around",
|
"space-around",
|
||||||
|
"s-resize",
|
||||||
"space-between",
|
"space-between",
|
||||||
"square",
|
"square",
|
||||||
"s-resize",
|
|
||||||
"static",
|
"static",
|
||||||
"sticky",
|
"sticky",
|
||||||
|
"stretch",
|
||||||
|
"sub",
|
||||||
|
"super",
|
||||||
"sw-resize",
|
"sw-resize",
|
||||||
"table",
|
"table",
|
||||||
"table-caption",
|
"table-caption",
|
||||||
|
@ -173,6 +184,9 @@
|
||||||
"table-row",
|
"table-row",
|
||||||
"table-row-group",
|
"table-row-group",
|
||||||
"text",
|
"text",
|
||||||
|
"text-bottom",
|
||||||
|
"text-top",
|
||||||
|
"top",
|
||||||
"ui-monospace",
|
"ui-monospace",
|
||||||
"ui-rounded",
|
"ui-rounded",
|
||||||
"ui-sans-serif",
|
"ui-sans-serif",
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
{
|
{
|
||||||
|
"align-items": {
|
||||||
|
"inherited": false,
|
||||||
|
"initial": "normal"
|
||||||
|
},
|
||||||
"background": {},
|
"background": {},
|
||||||
"background-attachment": {
|
"background-attachment": {
|
||||||
"inherited": false,
|
"inherited": false,
|
||||||
|
@ -217,10 +221,14 @@
|
||||||
"unitless-length"
|
"unitless-length"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"box-shadow":{
|
"box-shadow": {
|
||||||
"inherited": false,
|
"inherited": false,
|
||||||
"initial": "none"
|
"initial": "none"
|
||||||
},
|
},
|
||||||
|
"box-sizing": {
|
||||||
|
"inherited": false,
|
||||||
|
"initial": "content-box"
|
||||||
|
},
|
||||||
"caption-side": {
|
"caption-side": {
|
||||||
"inherited": true,
|
"inherited": true,
|
||||||
"initial": "top"
|
"initial": "top"
|
||||||
|
@ -255,6 +263,10 @@
|
||||||
"inherited": false,
|
"inherited": false,
|
||||||
"initial": "inline"
|
"initial": "inline"
|
||||||
},
|
},
|
||||||
|
"fill": {
|
||||||
|
"inherited": true,
|
||||||
|
"initial": "black"
|
||||||
|
},
|
||||||
"flex": {
|
"flex": {
|
||||||
"longhands": [
|
"longhands": [
|
||||||
"flex-grow",
|
"flex-grow",
|
||||||
|
@ -443,6 +455,26 @@
|
||||||
"inherited": false,
|
"inherited": false,
|
||||||
"initial": "1"
|
"initial": "1"
|
||||||
},
|
},
|
||||||
|
"outline": {
|
||||||
|
"inherited": false,
|
||||||
|
"longhands": [
|
||||||
|
"outline-color",
|
||||||
|
"outline-style",
|
||||||
|
"outline-width"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"outline-color": {
|
||||||
|
"inherited": false,
|
||||||
|
"initial": "invert"
|
||||||
|
},
|
||||||
|
"outline-style": {
|
||||||
|
"inherited": false,
|
||||||
|
"initial": "none"
|
||||||
|
},
|
||||||
|
"outline-width": {
|
||||||
|
"inherited": false,
|
||||||
|
"initial": "medium"
|
||||||
|
},
|
||||||
"overflow": {
|
"overflow": {
|
||||||
"longhands": [
|
"longhands": [
|
||||||
"overflow-x",
|
"overflow-x",
|
||||||
|
@ -498,6 +530,10 @@
|
||||||
"unitless-length"
|
"unitless-length"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"pointer-events": {
|
||||||
|
"inherited": true,
|
||||||
|
"initial": "auto"
|
||||||
|
},
|
||||||
"position": {
|
"position": {
|
||||||
"inherited": false,
|
"inherited": false,
|
||||||
"initial": "static"
|
"initial": "static"
|
||||||
|
@ -558,6 +594,10 @@
|
||||||
"unitless-length"
|
"unitless-length"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"user-select": {
|
||||||
|
"inherited": false,
|
||||||
|
"initial": "auto"
|
||||||
|
},
|
||||||
"vertical-align": {
|
"vertical-align": {
|
||||||
"inherited": false,
|
"inherited": false,
|
||||||
"initial": "baseline",
|
"initial": "baseline",
|
||||||
|
@ -587,6 +627,10 @@
|
||||||
"unitless-length"
|
"unitless-length"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"word-wrap": {
|
||||||
|
"inherited": true,
|
||||||
|
"initial": "normal"
|
||||||
|
},
|
||||||
"z-index": {
|
"z-index": {
|
||||||
"inherited": false,
|
"inherited": false,
|
||||||
"initial": "auto"
|
"initial": "auto"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue