css/cssom

edit

WPT coverage of the tests of css/cssom at the revision 5602b0f210e3. The tests link to their results in the browsers on wpt.fyi. The tentative tests (experimental features) and the reftests are listed separately from the stable tests.

GroupPassingTestsDisabledPass rate
Stable260263099%
Tentative69067%
Reftests912075%
All275284097%

Failure reasons

The tests that do not pass (failing or disabled), by kind of reason. A test with several reasons counts once per kind.

  • TEST BUG: 2
  • NOT IMPLEMENTED: 7

Stable tests

TestResultSubtestsKindDescription
CSS-escape-numeric-id.htmlPass2 / 2
CSS-namespace-object-class-string.htmlPass4 / 4
CSS-supports.htmlPass11 / 11
CSSConditionRule-conditionText.htmlPass1 / 1
CSSCounterStyleRule.htmlPass1 / 1
CSSFontFaceRule.htmlPass1 / 1
CSSFontFeatureValuesRule.htmlPass8 / 8
CSSGroupingRule-cssRules.htmlPass1 / 1
CSSGroupingRule-insertRule-computed.htmlPass1 / 1
CSSGroupingRule-insertRule.htmlPass7 / 7
CSSImportRule-insertRule-styleSheet-parentStyleSheet.htmlPass1 / 1
CSSImportRule-layer-false-positive.htmlPass11 / 11
CSSImportRule-layer-media.htmlPass6 / 6
CSSImportRule-media-identity.htmlPass1 / 1
CSSKeyframeRule-keyText-edge-cases.htmlPass14 / 14
CSSKeyframeRule-keyText.htmlPass11 / 11
CSSKeyframeRule.htmlPass2 / 2
CSSKeyframesRule-appendRule-invalid.htmlPass4 / 4
CSSKeyframesRule-appendRule-multiple.htmlPass2 / 2
CSSKeyframesRule-deleteRule-detach.htmlPass2 / 2
CSSKeyframesRule-indexed-getter.htmlPass6 / 6
CSSKeyframesRule.htmlPass2 / 2
CSSNamespaceRule.htmlPass1 / 1
CSSRule-type.htmlPass14 / 14
CSSRuleList.htmlPass1 / 1
CSSStyleDeclaration-indexed-properties.htmlPass6 / 6
CSSStyleDeclaration-iterator.htmlPass1 / 1
CSSStyleRule-selectorText-setter.htmlPass7 / 7
CSSStyleRule-set-selectorText-namespace.htmlPass5 / 5
CSSStyleRule-set-selectorText.htmlPass82 / 82
CSSStyleRule.htmlPass10 / 10
CSSStyleSheet-constructable-baseURL.htmlPass3 / 3
CSSStyleSheet-constructable-cssRules.htmlPass1 / 1
CSSStyleSheet-constructable-disabled-regular-sheet-insertion.htmlPass1 / 1
CSSStyleSheet-constructable-duplicate.htmlPass4 / 4
CSSStyleSheet-constructable-invalidation.htmlPass3 / 3
CSSStyleSheet-constructable-replace-cssRules.htmlPass2 / 2
CSSStyleSheet-constructable-replace-on-regular-sheet.htmlPass3 / 3
CSSStyleSheet-constructable-replace-thenable.htmlPass1 / 1
CSSStyleSheet-constructable-replaceSync-detached.htmlPass5 / 5
CSSStyleSheet-constructable.htmlPass32 / 32
CSSStyleSheet-insertRule-computed.htmlPass1 / 1
CSSStyleSheet-modify-after-removal.htmlPass2 / 2
CSSStyleSheet-replace-detach-old-rules.htmlPass4 / 4
CSSStyleSheet-replace-parse-errors.htmlPass8 / 8
CSSStyleSheet-template-adoption.htmlPass1 / 1
CSSStyleSheet.htmlPass17 / 17
HTMLLinkElement-disabled-001.htmlPass2 / 2
HTMLLinkElement-disabled-002.htmlPass1 / 1
HTMLLinkElement-disabled-003.htmlPass1 / 1
HTMLLinkElement-disabled-004.htmlPass1 / 1
HTMLLinkElement-disabled-005.htmlPass1 / 1
HTMLLinkElement-disabled-006.htmlPass1 / 1
HTMLLinkElement-disabled-007.htmlPass1 / 1
HTMLLinkElement-load-event-002.htmlPass2 / 2
HTMLLinkElement-load-event.htmlPass1 / 1
HTMLStyleElement-load-event.htmlPass1 / 1
MediaList-parsing.htmlPass13 / 13
MediaList.htmlPass1 / 1
MediaList2.xhtmlPass5 / 5
MutationObserver-style.htmlPass2 / 2
StyleSheet-properties.htmlPass35 / 35
StyleSheetList-constructable-shadow-with-style-recalc.htmlPass1 / 1
StyleSheetList-constructable-shadow.htmlPass1 / 1
StyleSheetList-constructable-with-style-recalc.htmlPass1 / 1
StyleSheetList-constructable.htmlPass1 / 1
StyleSheetList.htmlPass1 / 1
adoptedstylesheets-cascade-order.htmlPass13 / 13
adoptedstylesheets-modify-array-and-sheet.htmlPass3 / 3
adoptedstylesheets-observablearray-removal.htmlPass12 / 12
adoptedstylesheets-observablearray.htmlPass5 / 5
at-namespace.htmlPass1 / 1
base-uri.htmlPass3 / 3
border-shorthand-serialization.htmlPass3 / 3
caretPositionFromPoint-audioVideo.htmlPass2 / 2
caretPositionFromPoint-in-flex-container.htmlPass3 / 3
caretPositionFromPoint-textarea.htmlPass4 / 4
caretPositionFromPoint-with-transformation.htmlPass1 / 1
caretPositionFromPoint.htmlPass7 / 7
computed-style-001.htmlPass4 / 4
computed-style-002.htmlPass1 / 1
computed-style-003.htmlPass1 / 1
computed-style-004.htmlPass2 / 2
computed-style-005.htmlPass4 / 4
computed-style-set-property.htmlPass5 / 5
css-rule-selector-text.htmlPass2 / 2
css-style-attr-decl-block.htmlPass7 / 7
css-style-attribute-modifications.htmlPass1 / 1
css-style-declaration-modifications.htmlPass4 / 4
css-style-reparse.htmlPass2 / 2
cssimportrule-parent.htmlPass1 / 1
cssimportrule-sheet-identity.htmlPass1 / 1
cssimportrule.htmlPass11 / 11
cssom-cssText-serialize.htmlPass1 / 1
cssom-cssstyledeclaration-set.htmlPass1 / 1
cssom-fontfacerule-constructors.htmlPass2 / 2
cssom-fontfacerule.htmlPass1 / 1
cssom-getPropertyValue-common-checks.htmlPass11 / 11
cssom-pagerule.htmlPass22 / 22
cssom-ruleTypeAndOrder.htmlPass7 / 7
cssom-setProperty-shorthand.htmlPass76 / 76
cssstyledeclaration-all-shorthand.htmlPass27 / 27
cssstyledeclaration-csstext-all-shorthand.htmlPass6 / 6
cssstyledeclaration-csstext-final-delimiter.htmlPass3 / 3
cssstyledeclaration-csstext-important.htmlPass1 / 1
cssstyledeclaration-csstext-setter.window.jsPass9 / 9
cssstyledeclaration-csstext.htmlPass11 / 11
cssstyledeclaration-custom-properties.htmlPass1 / 1
cssstyledeclaration-mutability.htmlPass3 / 3
cssstyledeclaration-mutationrecord-001.htmlPass1 / 1
cssstyledeclaration-mutationrecord-002.htmlPass1 / 1
cssstyledeclaration-mutationrecord-003.htmlPass1 / 1
cssstyledeclaration-mutationrecord-004.htmlPass1 / 1
cssstyledeclaration-mutationrecord-005.htmlPass1 / 1
cssstyledeclaration-nested.htmlPass1 / 1
cssstyledeclaration-properties.htmlPass1 / 1
cssstyledeclaration-registered-custom-properties.htmlPass2 / 2
cssstyledeclaration-removeProperty-all.htmlPass2 / 2
cssstyledeclaration-setter-attr.htmlPass2 / 2
cssstyledeclaration-setter-declarations.htmlPass4 / 4
cssstyledeclaration-setter-form-controls.htmlPass8 / 8
cssstyledeclaration-setter-logical.htmlPass1 / 1
delete-namespace-rule-when-child-rule-exists.htmlPass1 / 1
escape.htmlPass10 / 10
flex-serialization.htmlFail4 / 5TEST BUGflex: 0 is expected to serialize as flex: 0 1 0px, while every browser serializes it as flex: 0 1 0% (the omitted flex-basis is 0%)
font-family-serialization-001.htmlPass27 / 27
font-shorthand-serialization.htmlPass1 / 1
font-variant-shorthand-serialization.htmlPass7 / 7
functional-values-comma.htmlPass7 / 7
getComputedStyle-animations-replaced-into-ib-split.htmlPass1 / 1
getComputedStyle-basic.htmlPass4 / 4
getComputedStyle-calc.htmlPass5 / 5
getComputedStyle-detached-subtree.htmlPass6 / 6
getComputedStyle-display-none-001.htmlPass2 / 2
getComputedStyle-display-none-002.htmlPass1 / 1
getComputedStyle-display-none-003.htmlPass1 / 1
getComputedStyle-display-none-shadow-invalidation.htmlPass2 / 2
getComputedStyle-dynamic-subdoc.htmlPass1 / 1
getComputedStyle-important.htmlPass2 / 2
getComputedStyle-inset-inline-containing-block-vertical.htmlPass2 / 2
getComputedStyle-insets-absolute-roundtrip.htmlPass4 / 4
getComputedStyle-insets-absolute.htmlPass324 / 324
getComputedStyle-insets-fixed.htmlPass324 / 324
getComputedStyle-insets-grid.htmlPass5 / 5
getComputedStyle-insets-nobox.htmlPass216 / 216
getComputedStyle-insets-relative.htmlPass252 / 252
getComputedStyle-insets-relpos-block-in-inline.htmlPass4 / 4
getComputedStyle-insets-relpos-inline-002.htmlPass4 / 4
getComputedStyle-insets-relpos-inline.htmlPass4 / 4
getComputedStyle-insets-static.htmlPass216 / 216
getComputedStyle-insets-sticky-container-for-abspos.htmlPass252 / 252
getComputedStyle-insets-sticky.htmlPass252 / 252
getComputedStyle-layout-dependent-removed-ib-sibling.htmlPass1 / 1
getComputedStyle-layout-dependent-replaced-into-ib-split.htmlPass1 / 1
getComputedStyle-line-height.htmlPass4 / 4
getComputedStyle-live.htmlPass1 / 1
getComputedStyle-logical-enumeration.htmlPass1 / 1
getComputedStyle-margins-roundtrip.htmlPass4 / 4
getComputedStyle-math-function-percentage.htmlPass12 / 12
getComputedStyle-mutations.htmlPass9 / 9
getComputedStyle-page-rule.xhtmlPass1 / 1
getComputedStyle-pointerEvents.htmlPass3 / 3
getComputedStyle-property-order.htmlPass1 / 1
getComputedStyle-pseudo-checkmark.htmlPass3 / 3
getComputedStyle-pseudo-class.htmlPass1 / 1
getComputedStyle-pseudo-picker-icon.htmlPass3 / 3
getComputedStyle-pseudo-picker.htmlPass9 / 9
getComputedStyle-pseudo-shadow.htmlPass2 / 2
getComputedStyle-pseudo-with-argument.htmlPass22 / 22
getComputedStyle-pseudo.htmlPass28 / 28
getComputedStyle-resolved-colors.htmlPass13 / 13
getComputedStyle-resolved-min-max-clamping.htmlPass1 / 1
getComputedStyle-resolved-min-size-auto.htmlPass16 / 16
getComputedStyle-root-variables.htmlPass1 / 1
getComputedStyle-root.htmlPass1 / 1
getComputedStyle-shadow-host.htmlPass1 / 1
getComputedStyle-shadow-inherit.htmlPass2 / 2
getComputedStyle-sticky-pos-percent.htmlPass1 / 1
getComputedStyle-style-element-updates.htmlPass4 / 4
getComputedStyle-visibility-nominal-case.htmlPass2 / 2
getComputedStyle-visibility-override.htmlPass2 / 2
getComputedStyle-visibility-unset.htmlPass2 / 2
grouping-rule-no-nested-declarations.htmlPass5 / 5
historical.htmlPass20 / 20
idlharness.htmlPass497 / 497
import-namespace-invalid-prelude.htmlPass8 / 8
inline-style-001.htmlPass5 / 5
insertRule-across-context.htmlPass2 / 2
insertRule-charset-no-index.htmlPass2 / 2
insertRule-font-face.htmlPass1 / 1
insertRule-import-no-index.htmlPass2 / 2
insertRule-namespace-after-import.htmlPass2 / 2
insertRule-namespace-no-index.htmlPass3 / 3
insertRule-no-index.htmlPass2 / 2
insertRule-syntax-error-01.htmlPass1 / 1
invalid-pseudo-elements.htmlPass1 / 1
link-element-stylesheet-title.htmlPass2 / 2
medialist-appendmedium-parse-single-and-dedup.htmlPass3 / 3
medialist-deletemedium-parse-and-remove-all.htmlPass2 / 2
medialist-interfaces-001.htmlPass4 / 4
medialist-interfaces-002.htmlPass3 / 3
medialist-interfaces-004.htmlPass2 / 2
medialist-mutation-after-owner-gc.htmlPass9 / 9
mediaquery-sort-dedup.htmlPass2 / 2
nested-import-namespace-invalid.htmlPass4 / 4
overflow-serialization.htmlPass10 / 10
page-descriptors.htmlPass21 / 21
preferred-stylesheet-order.htmlPass1 / 1
preferred-stylesheet-reversed-order.htmlPass1 / 1
property-accessors.htmlPass9 / 9
resolved-border-width.htmlPass2 / 2
rule-restrictions.htmlFail1 / 2TEST BUGthe @page subtest expects the declaration of transform (which does not apply to the page context) dropped from CSSPageRule.style, as Gecko does; as in Blink and WebKit, and as css/css-page/cssom/margin-001.html and margin-002.html expect, the declarations of all the properties are kept in @page and in the margin rules (the cascade of the page context ignores them; css-page-3 leaves the properties that are not in CSS 2.1 undefined)
selectorSerialize.htmlPass23 / 23
selectorText-modification-restyle-002.htmlPass2 / 2
serialization-CSSDeclaration-with-important.htmlPass4 / 4
serialize-all-longhands.htmlPass2 / 2
serialize-custom-props.htmlPass20 / 20
serialize-media-rule.htmlPass12 / 12
serialize-namespaced-type-selectors.htmlPass60 / 60
serialize-values.htmlFail696 / 697NOT IMPLEMENTEDthe invert value of outline-color
serialize-variable-reference-whitespace.htmlPass8 / 8
serialize-variable-reference.htmlPass4 / 4
serialize-whitespace.htmlPass1 / 1
set-selector-text-attachment.htmlPass1 / 1
setproperty-custom-property-override-important.htmlPass5 / 5
setproperty-null-undefined.htmlPass4 / 4
shadow-dom-style-sheet.htmlPass3 / 3
shorthand-serialization.htmlPass7 / 7
shorthand-values.htmlPass21 / 21
style-attr-update-across-documents.htmlPass1 / 1
style-background-position-longhands.htmlPass3 / 3
style-background-position.htmlPass7 / 7
style-background-repeat.htmlPass3 / 3
style-background-shorthand-overwrite.htmlPass4 / 4
style-backgroundcolor-oklch.htmlPass1 / 1
style-backgroundcolor-table-row.htmlPass1 / 1
style-backgroundimage-lineargradient.htmlPass1 / 1
style-border-shorthand-var.htmlPass1 / 1
style-color-values.htmlPass6 / 6
style-color.htmlPass4 / 4
style-cssText-mutations.htmlPass4 / 4
style-element-inline-important.htmlPass1 / 1
style-element-insertion-removal-computed.htmlPass2 / 2
style-font-shorthand.htmlPass1 / 1
style-global-variable.htmlPass1 / 1
style-set-cssText.htmlPass3 / 3
style-set-custom-property-priority.htmlPass3 / 3
style-set-custom-property.htmlPass1 / 1
style-set-property.htmlPass21 / 21
style-sheet-interfaces-001.htmlPass7 / 7
style-sheet-interfaces-002.htmlPass2 / 2
style-width-calc-vh-vw.htmlPass1 / 1
stylesheet-cross-origin-redirect-quirks.sub.htmlPass4 / 4
stylesheet-same-origin.sub.htmlPass7 / 7
stylesheet-title.htmlPass2 / 2
stylesheets-in-non-rendered-document.htmlPass3 / 3
system-color-inherit.htmlPass2 / 2
system-color-lowercase.htmlPass4 / 4
ttwf-cssom-doc-ext-load-count.htmlPass3 / 3
ttwf-cssom-doc-ext-load-tree-order.htmlPass6 / 6
ttwf-cssom-document-extension.htmlPass1 / 1
variable-names.htmlPass6 / 6
xml-stylesheet-pi-in-doctype.xhtmlPass1 / 1

Tentative tests

TestResultSubtestsKindDescription
CSSContainerRule.tentative.htmlPass2 / 2
CSSStyleSheet-constructable-disallow-import.tentative.htmlPass4 / 4
caretRangeFromPoint-replace-document.tentative.htmlFail0 / 1NOT IMPLEMENTEDthe non-standard document.caretRangeFromPoint()
caretRangeFromPoint-textarea-transform.tentative.htmlFail0 / 2NOT IMPLEMENTEDthe non-standard document.caretRangeFromPoint()
caretRangeFromPoint.tentative.htmlFail0 / 8NOT IMPLEMENTEDthe non-standard document.caretRangeFromPoint()
cssstyledeclaration-cssfontrule.tentative.htmlPass1 / 1
getComputedStyle-getter-v-properties.tentative.htmlPass10 / 10
getComputedStyle-width-scroll.tentative.htmlPass1 / 1
style-attr-stray-braces.tentative.htmlPass16 / 16

Reftests

TestResultVariantsKindDescription
CSSStyleSheet-constructable-concat.htmlPass1 / 1
CSSStyleSheet-constructable-insertRule-base-uri.htmlPass1 / 1
HTMLLinkElement-disabled-alternate.htmlPass1 / 1
adoptedstylesheets-adopt-link.tentative.htmlFail0 / 1NOT IMPLEMENTEDadopting the style sheet of a style or link element in adoptedStyleSheets (a tentative proposal: the specification only allows constructed style sheets and throws NotAllowedError); fails in every browser
adoptedstylesheets-adopt-style-subresource.tentative.htmlFail0 / 1NOT IMPLEMENTEDadopting the style sheet of a style or link element in adoptedStyleSheets (a tentative proposal: the specification only allows constructed style sheets and throws NotAllowedError); fails in every browser
adoptedstylesheets-adopt-style.tentative.htmlFail0 / 1NOT IMPLEMENTEDadopting the style sheet of a style or link element in adoptedStyleSheets (a tentative proposal: the specification only allows constructed style sheets and throws NotAllowedError); fails in every browser
all-initial-csstext.htmlPass1 / 1
insertRule-from-script.htmlPass1 / 1
medialist-dynamic-001.htmlPass1 / 1
selectorText-modification-restyle-001.htmlPass1 / 1
style-attr-clone.htmlPass1 / 1
stylesheet-replacedata-dynamic.htmlPass1 / 1