mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:07:45 +00:00
LibWeb: Correct some initial values and add missing ones
- The `text-decoration-foo` values now match the spec. - Added values for `border-foo` since those are needed soon. - Make `color`'s initial value be `-libweb-palette-base-text`.
This commit is contained in:
parent
fc11b1f242
commit
4f81cb927a
1 changed files with 7 additions and 4 deletions
|
@ -104,6 +104,7 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"border-color": {
|
"border-color": {
|
||||||
|
"initial": "currentcolor",
|
||||||
"longhands": [
|
"longhands": [
|
||||||
"border-top-color",
|
"border-top-color",
|
||||||
"border-right-color",
|
"border-right-color",
|
||||||
|
@ -164,12 +165,13 @@
|
||||||
},
|
},
|
||||||
"border-spacing": {
|
"border-spacing": {
|
||||||
"inherited": true,
|
"inherited": true,
|
||||||
"initial": "0",
|
"initial": "0px 0px",
|
||||||
"quirks": [
|
"quirks": [
|
||||||
"unitless-length"
|
"unitless-length"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"border-style": {
|
"border-style": {
|
||||||
|
"initial": "none",
|
||||||
"longhands": [
|
"longhands": [
|
||||||
"border-top-style",
|
"border-top-style",
|
||||||
"border-right-style",
|
"border-right-style",
|
||||||
|
@ -204,6 +206,7 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"border-width": {
|
"border-width": {
|
||||||
|
"initial": "medium",
|
||||||
"longhands": [
|
"longhands": [
|
||||||
"border-top-width",
|
"border-top-width",
|
||||||
"border-right-width",
|
"border-right-width",
|
||||||
|
@ -246,7 +249,7 @@
|
||||||
},
|
},
|
||||||
"color": {
|
"color": {
|
||||||
"inherited": true,
|
"inherited": true,
|
||||||
"initial": "",
|
"initial": "-libweb-palette-base-text",
|
||||||
"quirks": [
|
"quirks": [
|
||||||
"hashless-hex-color"
|
"hashless-hex-color"
|
||||||
]
|
]
|
||||||
|
@ -569,7 +572,7 @@
|
||||||
},
|
},
|
||||||
"text-decoration-color": {
|
"text-decoration-color": {
|
||||||
"inherited": false,
|
"inherited": false,
|
||||||
"initial": "none"
|
"initial": "currentcolor"
|
||||||
},
|
},
|
||||||
"text-decoration-line": {
|
"text-decoration-line": {
|
||||||
"__comment": "FIXME: This property is not supposed to be inherited, but we currently rely on inheritance to propagate decorations into line boxes.",
|
"__comment": "FIXME: This property is not supposed to be inherited, but we currently rely on inheritance to propagate decorations into line boxes.",
|
||||||
|
@ -578,7 +581,7 @@
|
||||||
},
|
},
|
||||||
"text-decoration-style": {
|
"text-decoration-style": {
|
||||||
"inherited": false,
|
"inherited": false,
|
||||||
"initial": "none"
|
"initial": "solid"
|
||||||
},
|
},
|
||||||
"text-decoration-thickness": {
|
"text-decoration-thickness": {
|
||||||
"inherited": false,
|
"inherited": false,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue