mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
The difference is that parsing as the `color` property's value also allows the CSS-wide keywords, which we don't want here. The added test cases make sure that those keywords are *not* valid: - `color` should inherit its parent value of `orange` - `background-color` doesn't inherit, so should be its initial value of `transparent`
36 lines
594 B
Text
36 lines
594 B
Text
direction: ltr
|
|
direction: ltr
|
|
direction: rtl
|
|
color: red
|
|
color: rgb(255, 0, 0)
|
|
color: orange
|
|
background-color: blue
|
|
background-color: rgb(0, 0, 255)
|
|
background-color: transparent
|
|
font-size: 10px
|
|
font-size: 24px
|
|
font-size: 32px
|
|
math-style: compact
|
|
math-style: normal
|
|
math-style: normal
|
|
math-style: compact
|
|
math-style: compact
|
|
math-depth: 1
|
|
math-depth: 2
|
|
math-depth: 3
|
|
math-depth: -2
|
|
text-transform: math-auto
|
|
text-transform: none
|
|
width: 10px
|
|
width: auto
|
|
width: 32px
|
|
height: 20px
|
|
height: auto
|
|
height: 32px
|
|
height: 30px
|
|
height: auto
|
|
height: 48px
|
|
height: 20px
|
|
height: 30px
|
|
height: 50px
|
|
height: 56px
|