mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 02:27:19 +02:00
The spec requires us to store properties in their shorthand-expanded form and in the "specified" order, removing duplicates prefering based on "cascading order". We already enforced this in `set_property` but not at creation time (e.g. in stylesheets) or in `set_css_text` (e.g. updating style attribute). This commit enforces the spec requirements at all the relevant points. We no longer include logical properties in the return value of `getComputedStyle` as they are mapped to their physical equivalents in `StyleComputer::for_each_property_expanding_shorthands`, but resolving that requires a relatively large rework of how we handle logical properties, (namely moving when we map them to their physical equivalents from parse time to style computation time). This also exposes two false positive tests in wpt-import/css/cssom/border-shorthand-serialization.html related to us not yet supporting the border-image css property.
209 lines
3.8 KiB
Plaintext
209 lines
3.8 KiB
Plaintext
Harness status: OK
|
|
|
|
Found 203 tests
|
|
|
|
199 Pass
|
|
4 Fail
|
|
Pass accent-color
|
|
Pass border-collapse
|
|
Pass border-spacing
|
|
Pass caption-side
|
|
Pass caret-color
|
|
Pass clip-rule
|
|
Pass color
|
|
Pass color-scheme
|
|
Pass cursor
|
|
Pass direction
|
|
Pass fill
|
|
Pass fill-opacity
|
|
Pass fill-rule
|
|
Pass font-family
|
|
Pass font-feature-settings
|
|
Pass font-language-override
|
|
Pass font-size
|
|
Pass font-style
|
|
Pass font-variant-alternates
|
|
Pass font-variant-caps
|
|
Pass font-variant-east-asian
|
|
Pass font-variant-emoji
|
|
Pass font-variant-ligatures
|
|
Pass font-variant-numeric
|
|
Pass font-variant-position
|
|
Pass font-variation-settings
|
|
Pass font-weight
|
|
Pass font-width
|
|
Pass image-rendering
|
|
Pass letter-spacing
|
|
Pass line-height
|
|
Pass list-style-position
|
|
Pass list-style-type
|
|
Pass math-depth
|
|
Pass math-shift
|
|
Pass math-style
|
|
Pass pointer-events
|
|
Pass quotes
|
|
Pass stroke
|
|
Pass stroke-dasharray
|
|
Pass stroke-dashoffset
|
|
Pass stroke-linecap
|
|
Pass stroke-linejoin
|
|
Pass stroke-miterlimit
|
|
Pass stroke-opacity
|
|
Pass stroke-width
|
|
Pass tab-size
|
|
Pass text-align
|
|
Pass text-anchor
|
|
Pass text-decoration-line
|
|
Pass text-indent
|
|
Pass text-justify
|
|
Pass text-shadow
|
|
Pass text-transform
|
|
Pass text-wrap-mode
|
|
Pass text-wrap-style
|
|
Pass visibility
|
|
Pass white-space-collapse
|
|
Pass word-break
|
|
Pass word-spacing
|
|
Pass word-wrap
|
|
Pass writing-mode
|
|
Pass align-items
|
|
Pass align-self
|
|
Pass animation-delay
|
|
Pass animation-direction
|
|
Pass animation-duration
|
|
Pass animation-fill-mode
|
|
Pass animation-iteration-count
|
|
Fail animation-name
|
|
Pass animation-play-state
|
|
Pass animation-timing-function
|
|
Pass appearance
|
|
Pass aspect-ratio
|
|
Pass backdrop-filter
|
|
Pass background-attachment
|
|
Pass background-blend-mode
|
|
Pass background-clip
|
|
Pass background-color
|
|
Pass background-origin
|
|
Pass background-position-x
|
|
Pass background-position-y
|
|
Pass background-repeat
|
|
Pass background-size
|
|
Pass border-bottom-color
|
|
Pass border-bottom-left-radius
|
|
Pass border-bottom-right-radius
|
|
Pass border-bottom-style
|
|
Pass border-bottom-width
|
|
Pass border-left-color
|
|
Pass border-left-style
|
|
Pass border-left-width
|
|
Pass border-right-color
|
|
Pass border-right-style
|
|
Pass border-right-width
|
|
Pass border-top-color
|
|
Pass border-top-left-radius
|
|
Pass border-top-right-radius
|
|
Pass border-top-style
|
|
Pass border-top-width
|
|
Pass bottom
|
|
Pass box-shadow
|
|
Pass box-sizing
|
|
Pass clear
|
|
Pass clip
|
|
Pass clip-path
|
|
Pass column-count
|
|
Pass column-gap
|
|
Pass column-span
|
|
Pass column-width
|
|
Pass contain
|
|
Pass content
|
|
Pass content-visibility
|
|
Pass counter-increment
|
|
Pass counter-reset
|
|
Pass counter-set
|
|
Pass cx
|
|
Pass cy
|
|
Pass display
|
|
Pass flex-basis
|
|
Pass flex-direction
|
|
Pass flex-grow
|
|
Pass flex-shrink
|
|
Pass flex-wrap
|
|
Pass float
|
|
Pass grid-auto-columns
|
|
Pass grid-auto-flow
|
|
Pass grid-auto-rows
|
|
Pass grid-column-end
|
|
Pass grid-column-start
|
|
Pass grid-row-end
|
|
Pass grid-row-start
|
|
Pass grid-template-areas
|
|
Pass grid-template-columns
|
|
Pass grid-template-rows
|
|
Fail height
|
|
Pass isolation
|
|
Pass justify-content
|
|
Pass justify-items
|
|
Pass justify-self
|
|
Pass left
|
|
Pass margin-bottom
|
|
Pass margin-left
|
|
Pass margin-right
|
|
Pass margin-top
|
|
Pass mask-image
|
|
Pass mask-type
|
|
Pass max-height
|
|
Pass max-width
|
|
Pass min-height
|
|
Pass min-width
|
|
Pass mix-blend-mode
|
|
Pass object-fit
|
|
Pass object-position
|
|
Pass opacity
|
|
Pass order
|
|
Pass outline-color
|
|
Pass outline-offset
|
|
Pass outline-style
|
|
Pass outline-width
|
|
Pass overflow-x
|
|
Pass overflow-y
|
|
Pass padding-bottom
|
|
Pass padding-left
|
|
Pass padding-right
|
|
Pass padding-top
|
|
Pass position
|
|
Pass r
|
|
Pass right
|
|
Pass rotate
|
|
Pass row-gap
|
|
Pass rx
|
|
Pass ry
|
|
Pass scale
|
|
Pass scrollbar-color
|
|
Pass scrollbar-gutter
|
|
Pass scrollbar-width
|
|
Pass stop-color
|
|
Pass stop-opacity
|
|
Pass table-layout
|
|
Pass text-decoration-color
|
|
Pass text-decoration-style
|
|
Pass text-decoration-thickness
|
|
Pass text-overflow
|
|
Pass top
|
|
Pass touch-action
|
|
Fail transform
|
|
Pass transform-box
|
|
Pass transition-behavior
|
|
Pass transition-delay
|
|
Pass transition-duration
|
|
Pass transition-property
|
|
Pass transition-timing-function
|
|
Pass translate
|
|
Pass unicode-bidi
|
|
Pass user-select
|
|
Pass vertical-align
|
|
Pass view-transition-name
|
|
Pass white-space-trim
|
|
Fail width
|
|
Pass x
|
|
Pass y
|
|
Pass z-index |