css/cssom-view

edit

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

GroupPassingTestsDisabledPass rate
Stable221234094%
Tentative45080%
Reftests11110100%
Crash tests440100%
All240254094%

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: 8
  • NOT IMPLEMENTED: 6

Stable tests

TestResultSubtestsKindDescription
CaretPosition-001.htmlPass2 / 2
DOMRectList.htmlPass2 / 2
Element-currentCSSZoom.htmlPass2 / 2
GetBoundingRect.htmlPass1 / 1
HTMLBody-ScrollArea_quirksmode.htmlPass10 / 10
HTMLImageElement-x-and-y-ignore-transforms.htmlPass1 / 1
MediaQueryList-addListener-handleEvent.htmlFail4 / 6TEST BUGthe test (2020) expects the TypeError of a non-callable handleEvent in the realm of the media query list, but WebIDL creates it in the associated realm of the listener (https://webidl.spec.whatwg.org/#call-a-user-objects-operation, as dom/events/EventListener-handleEvent-cross-realm.html checks); Chrome and Safari fail it too
MediaQueryList-addListener-removeListener.htmlPass8 / 8
MediaQueryList-change-event-matches-value.htmlPass1 / 1
MediaQueryList-extends-EventTarget-interop.htmlPass8 / 8
MediaQueryList-extends-EventTarget.htmlPass7 / 7
MediaQueryListEvent.htmlPass6 / 6
Screen-pixelDepth-Screen-colorDepth001.htmlPass2 / 2
background-change-during-smooth-scroll.htmlPass1 / 1
checkVisibility.htmlPass21 / 21
client-props-inline-list-item.htmlPass1 / 1
client-props-input.htmlPass1 / 1
client-props-root.htmlPass1 / 1
client-props-zoom.htmlPass2 / 2
client-scroll-props-input.htmlPass2 / 2
cssom-geometryutils-connected-callback.htmlPass2 / 2
cssom-geometryutils-convertPointFromNode.htmlPass20 / 20
cssom-geometryutils-convertQuadFromNode.htmlPass18 / 18
cssom-geometryutils-convertRectFromNode.htmlPass18 / 18
cssom-geometryutils-cross-origin-path.https.htmlPass1 / 1
cssom-geometryutils-element-types.htmlPass41 / 41
cssom-geometryutils-fragmentation.htmlPass4 / 4
cssom-geometryutils-getBoxQuads-options.htmlPass17 / 17
cssom-geometryutils-lifecycle.htmlPass4 / 4
cssom-geometryutils-same-origin-iframe.htmlPass2 / 2
cssom-geometryutils-shadow-dom.htmlPass2 / 2
cssom-geometryutils-text.htmlPass2 / 2
cssom-geometryutils-transforms.htmlPass10 / 10
cssom-getBoundingClientRect-001.htmlPass2 / 2
cssom-getBoundingClientRect-002.htmlPass1 / 1
cssom-getBoundingClientRect-003.htmlPass2 / 2
cssom-getBoxQuads-001.htmlPass6 / 6
cssom-getBoxQuads-002.htmlPass1 / 1
cssom-getClientRects-002.htmlPass1 / 1
cssom-getClientRects.htmlPass1 / 1
cssom-view-img-attributes-001.htmlPass4 / 4
cssom-view-window-screen-interface.htmlPass6 / 6
detached-element-geometry.window.jsPass13 / 13
dom-element-scroll.htmlPass4 / 4
element-scroll-arguments.htmlPass12 / 12
element-scroll-promise-after-removal.htmlFail0 / 5NOT IMPLEMENTEDthe scroll promises resolve with a result object (interrupted) proposed in w3c/csswg-drafts#12495; the specification (and the library) resolve them with undefined
element-scroll-promise-interruption.htmlFail0 / 14NOT IMPLEMENTEDthe scroll promises resolve with a result object (interrupted) proposed in w3c/csswg-drafts#12495; the specification (and the library) resolve them with undefined
element-scroll-promises.htmlFail0 / 24NOT IMPLEMENTEDthe scroll promises resolve with a result object (interrupted) proposed in w3c/csswg-drafts#12495; the specification (and the library) resolve them with undefined
elementFromPoint-001.htmlPass1 / 1
elementFromPoint-002.htmlPass1 / 1
elementFromPoint-003.htmlPass1 / 1
elementFromPoint-dynamic-anon-box.htmlPass1 / 1
elementFromPoint-ellipsis-in-inline-box.htmlPass3 / 3
elementFromPoint-float-in-relative.htmlPass1 / 1
elementFromPoint-float-in-table.htmlPass2 / 2
elementFromPoint-list-001.htmlPass10 / 10
elementFromPoint-mixed-font-sizes.htmlPass1 / 1
elementFromPoint-negative-z-index-inline-overflow-clip.htmlPass1 / 1
elementFromPoint-negative-z-index-inline.htmlPass8 / 8
elementFromPoint-parameters.htmlPass4 / 4
elementFromPoint-subpixel.htmlPass4 / 4
elementFromPoint-visibility-hidden-resizer.htmlPass1 / 1
elementFromPoint.htmlPass11 / 11
elementFromPosition.htmlFail11 / 16TEST BUGthe points on the right and bottom edges of the box are not in the box: the subtests fail in every browser
elementScroll-002.htmlPass4 / 4
elementScroll.htmlPass8 / 8
elementsFromPoint-iframes.htmlPass2 / 2
elementsFromPoint-inline-htb-ltr.htmlPass1 / 1
elementsFromPoint-inline-htb-rtl.htmlPass1 / 1
elementsFromPoint-inline-nested.htmlPass1 / 1
elementsFromPoint-inline-self-painting.htmlPass4 / 4
elementsFromPoint-inline-vlr-ltr.htmlPass1 / 1
elementsFromPoint-inline-vlr-rtl.htmlPass1 / 1
elementsFromPoint-inline-vrl-ltr.htmlPass1 / 1
elementsFromPoint-inline-vrl-rtl.htmlPass1 / 1
elementsFromPoint-invalid-cases.htmlPass3 / 3
elementsFromPoint-shadowroot.htmlPass3 / 3
elementsFromPoint-simple.htmlPass6 / 6
elementsFromPoint-svg-text.htmlPass4 / 4
elementsFromPoint-svg.htmlPass6 / 6
elementsFromPoint-table.htmlPass4 / 4
elementsFromPoint.htmlPass9 / 9
getBoundingClientRect-content-visibility-hidden.htmlPass4 / 4
getBoundingClientRect-empty-inline-002.htmlPass4 / 4
getBoundingClientRect-empty-inline.htmlPass1 / 1
getBoundingClientRect-newline.htmlPass1 / 1
getBoundingClientRect-scroll.htmlPass6 / 6
getBoundingClientRect-shy.htmlPass12 / 12
getBoundingClientRect-svg.htmlPass3 / 3
getBoundingClientRect-zoom.htmlPass5 / 5
getClientRects-br-htb-ltr.htmlPass1 / 1
getClientRects-br-htb-rtl.htmlPass1 / 1
getClientRects-br-vlr-ltr.htmlPass1 / 1
getClientRects-br-vlr-rtl.htmlPass1 / 1
getClientRects-br-vrl-ltr.htmlPass1 / 1
getClientRects-br-vrl-rtl.htmlPass1 / 1
getClientRects-inline-atomic-child.htmlPass3 / 3
getClientRects-inline-inline-child.htmlPass1 / 1
getClientRects-inline-with-block-child.htmlPass1 / 1
getClientRects-zoom.htmlPass5 / 5
historical.htmlPass2 / 2
htmlelement-offset-width-001.htmlPass1 / 1
idlharness.htmlPass417 / 417
image-x-y-zoom.htmlPass2 / 2
inheritance.htmlPass2 / 2
interrupt-hidden-smooth-scroll.htmlPass2 / 2
matchMedia-display-none-iframe.htmlPass2 / 2
matchMedia.htmlPass10 / 10
mouseEvent-offsetXY-svg.htmlPass2 / 2
mouseEvent.htmlPass3 / 3
negativeMargins.htmlPass2 / 2
offsetParent-block-in-inline.htmlPass1 / 1
offsetParent-body-and-html.htmlPass6 / 6
offsetParent-fixed.htmlPass2 / 2
offsetParent_element_test.htmlPass2 / 2
offsetTop-offsetLeft-nested-offsetParents.htmlPass1 / 1
offsetTop-offsetLeft-with-zoom.htmlPass2 / 2
offsetTopLeft-border-box.htmlPass28 / 28
offsetTopLeft-empty-inline-offset.htmlPass6 / 6
offsetTopLeft-empty-inline.htmlPass3 / 3
offsetTopLeft-inline-offsetParent.htmlFail13 / 37TEST BUGexpects offsetLeft relative to the border edge of an inline offsetParent that has a border; https://drafts.csswg.org/cssom-view-1/#dom-htmlelement-offsetleft subtracts the padding edge of the first box of the offsetParent
offsetTopLeft-leading-space-inline.htmlPass3 / 3
offsetTopLeft-table-caption.htmlPass1 / 1
offsetTopLeft-trailing-space-inline.htmlPass3 / 3
offsetTopLeftInScrollableParent.htmlPass8 / 8
outer-svg.htmlPass2 / 2
parsing/scroll-behavior-computed.htmlPass2 / 2
parsing/scroll-behavior-invalid.htmlPass3 / 3
parsing/scroll-behavior-valid.htmlPass2 / 2
position-sticky-root-scroller-with-scroll-behavior.htmlPass1 / 1
pt-to-px-width.htmlPass1 / 1
range-bounding-client-rect-rtl-ligature-split.htmlPass1 / 1
range-bounding-client-rect-with-display-contents.htmlFail0 / 1TEST BUGexpects Range.getBoundingClientRect() to include the boxes of the children of the selected display: contents elements; CSSOM View (https://drafts.csswg.org/cssom-view-1/#dom-range-getclientrects) only includes the border areas of the selected elements whose parent is not selected (a display: contents element has none) and the font ascent and descent of the selected texts, so the range is as tall as the texts (47px), not as the 30px boxes (60px); Chrome and Safari fail it too
range-bounding-client-rect-with-nested-text.htmlPass1 / 1
range-bounding-client-rect-with-shadow-dom.htmlPass4 / 4
range-client-rects-surrogate-indexing.htmlPass1 / 1
resize-event-on-initial-layout-001.htmlPass1 / 1
resize-event-on-initial-layout-002.htmlPass1 / 1
resizeTo-negative.htmlPass1 / 1
screen-detached-frame.htmlPass1 / 1
screenLeftTop.htmlPass2 / 2
scroll-back-to-initial-position.htmlPass2 / 2
scroll-behavior-default-css.htmlPass3 / 3
scroll-behavior-element.htmlPass39 / 39
scroll-behavior-main-frame-root.htmlPass40 / 40
scroll-behavior-main-frame-window.htmlPass28 / 28
scroll-behavior-scrollintoview-nested.htmlPass2 / 2
scroll-behavior-smooth-after-hiding-iframe.htmlPass1 / 1
scroll-behavior-smooth-navigation.htmlPass3 / 3
scroll-behavior-smooth-positions.htmlPass23 / 23
scroll-behavior-smooth.htmlPass3 / 3
scroll-behavior-subframe-root.htmlPass40 / 40
scroll-behavior-subframe-window.htmlPass28 / 28
scroll-clamp-after-transform-shrinks-overflow.htmlPass1 / 1
scroll-no-layout-box.htmlPass1 / 1
scroll-offsets-fractional-zoom.htmlPass72 / 72
scroll-overflow-clip-quirks-001.htmlPass1 / 1
scroll-overflow-clip-quirks-002.htmlPass1 / 1
scroll-position-root-child-ib-split-insertion.htmlPass1 / 1
scroll-target-into-view-fragment-in-same-origin-subframe.htmlPass3 / 3
scroll-width-with-over-constrained-block-in-inline.htmlPass2 / 2
scroll-zoom.htmlPass3 / 3
scrollIntoView-align-scrollport-covering-child.htmlPass1 / 1
scrollIntoView-container.htmlPass5 / 5
scrollIntoView-fixed-outside-of-viewport.htmlPass1 / 1
scrollIntoView-fixed.htmlPass4 / 4
scrollIntoView-horizontal-partially-visible.htmlPass1 / 1
scrollIntoView-horizontal-tb-writing-mode-and-rtl-direction.htmlPass9 / 9
scrollIntoView-horizontal-tb-writing-mode.htmlPass9 / 9
scrollIntoView-iframes.htmlPass4 / 4
scrollIntoView-inline-image.htmlPass1 / 1
scrollIntoView-multiple-nested.htmlPass4 / 4
scrollIntoView-multiple.htmlPass4 / 4
scrollIntoView-nearest-oversized-element.htmlPass1 / 1
scrollIntoView-nearest-visible-element.htmlPass1 / 1
scrollIntoView-root-overflow-clip.htmlPass2 / 2
scrollIntoView-scrollMargin.htmlPass3 / 3
scrollIntoView-scrollPadding.htmlPass3 / 3
scrollIntoView-scrolling-box-with-large-border.htmlPass1 / 1
scrollIntoView-scrolling-container.htmlPass1 / 1
scrollIntoView-shadow.htmlPass1 / 1
scrollIntoView-sideways-lr-writing-mode-and-rtl-direction.htmlPass9 / 9
scrollIntoView-sideways-lr-writing-mode.htmlPass9 / 9
scrollIntoView-sideways-rl-writing-mode-and-rtl-direction.htmlPass9 / 9
scrollIntoView-sideways-rl-writing-mode.htmlPass9 / 9
scrollIntoView-smooth.htmlPass4 / 4
scrollIntoView-svg-container.htmlPass8 / 8
scrollIntoView-svg-shape.htmlPass3 / 3
scrollIntoView-then-scrollBy.htmlPass1 / 1
scrollIntoView-vertical-lr-writing-mode-and-rtl-direction.htmlPass9 / 9
scrollIntoView-vertical-lr-writing-mode.htmlPass9 / 9
scrollIntoView-vertical-rl-writing-mode.htmlPass9 / 9
scrollLeft-of-scroller-with-wider-scrollbar.htmlPass1 / 1
scrollLeftTop.htmlPass6 / 6
scrollParent-quirks-mode.htmlFail0 / 1TEST BUGthe tests call scrollParent() as a method, while the library (like the CSSOM View IDL used by idlharness) defines scrollParent as an attribute
scrollParent-shadow-tree.htmlFail0 / 4TEST BUGthe tests call scrollParent() as a method, while the library (like the CSSOM View IDL used by idlharness) defines scrollParent as an attribute
scrollParent.htmlFail0 / 12TEST BUGthe tests call scrollParent() as a method, while the library (like the CSSOM View IDL used by idlharness) defines scrollParent as an attribute
scrollWidthHeight-contain-layout.htmlPass128 / 128
scrollWidthHeight-flex-column-padding-001.htmlPass2 / 2
scrollWidthHeight-negative-margin-001.htmlPass4 / 4
scrollWidthHeight-negative-margin-002.htmlPass600 / 600
scrollWidthHeight-not-scrollable-fractional-zoom.htmlPass5 / 5
scrollWidthHeight-overflow-visible-margin-collapsing.htmlPass140 / 140
scrollWidthHeight-overflow-visible-negative-margins.htmlPass50 / 50
scrollWidthHeight.xhtPass12 / 12
scrollWidthHeightWhenNotScrollable.xhtPass12 / 12
scrolling-no-browsing-context.htmlPass1 / 1
scrolling-quirks-vs-nonquirks.htmlPass30 / 30
scrollingElement.htmlPass8 / 8
scrollintoview-containingblock-chain.htmlPass1 / 1
scrollintoview-zero-height-item.htmlFail0 / 1NOT IMPLEMENTEDthe non-standard Element.scrollIntoViewIfNeeded()
scrollintoview.htmlPass40 / 40
smooth-scroll-in-load-event.htmlPass1 / 1
smooth-scroll-nonstop.htmlPass2 / 2
smooth-scrollIntoView-with-smooth-fragment-scroll.htmlPass2 / 2
smooth-scrollIntoView-with-unrelated-gesture-scroll.htmlPass1 / 1
table-border-collapse-client-width-height.htmlPass1 / 1
table-border-separate-client-width-height.htmlPass1 / 1
table-client-props.htmlPass15 / 15
table-offset-props.htmlPass13 / 13
table-scroll-props.htmlPass13 / 13
table-with-border-client-width-height.htmlPass1 / 1
ttwf-js-cssomview-getclientrects-length.htmlPass3 / 3
user-scroll-interrupts-smooth-scroll.htmlPass3 / 3
visual-scrollIntoView-001.htmlPass1 / 1
visual-scrollIntoView-002.htmlPass1 / 1
visual-scrollIntoView-003.htmlPass1 / 1
window-screen-height-immutable.htmlPass1 / 1
window-screen-height.htmlPass3 / 3
window-screen-width-immutable.htmlPass1 / 1
window-screen-width.htmlPass3 / 3
window-scroll-arguments.htmlPass12 / 12
window-scroll-promise-interruption.htmlFail0 / 4NOT IMPLEMENTEDthe scroll promises resolve with a result object (interrupted) proposed in w3c/csswg-drafts#12495; the specification (and the library) resolve them with undefined
window-scroll-promises.htmlFail0 / 18NOT IMPLEMENTEDthe scroll promises resolve with a result object (interrupted) proposed in w3c/csswg-drafts#12495; the specification (and the library) resolve them with undefined

Tentative tests

TestResultSubtestsKindDescription
devicePixelRatio-undisplayed-iframe.tentative.htmlPass1 / 1
scrollIntoView-stuck.tentative.htmlPass1 / 1
scrollWidthHeight-child-border-within-padding.tentative.htmlPass5 / 5
scrollWidthHeight-subpixel-position.tentative.htmlPass36 / 36
subpixel-sizes-and-offsets.tentative.htmlFail12 / 15TEST BUGthe remaining subtests (fractional scrollTop) fail in every browser

Reftests

TestResultVariantsKindDescription
add-background-attachment-fixed-during-smooth-scroll.htmlPass1 / 1
cssom-getBoundingClientRect-vertical-rl.htmlPass1 / 1
getClientRects-inline.htmlPass1 / 1
long_scroll_composited.htmlPass1 / 1
offsetTopLeft-inline.htmlPass1 / 1
scrollIntoView-should-treat-slot-as-scroll-container.htmlPass1 / 1
scrollTo-zoom.htmlPass1 / 1
scrollTop-display-change.htmlPass1 / 1
scrollingElement-quirks-dynamic-001.htmlPass1 / 1
scrollingElement-quirks-dynamic-002.htmlPass1 / 1
window-scrollBy-display-change.htmlPass1 / 1

Crash tests

TestResultVariantsKindDescription
client-props-root-display-none-crash.htmlPass1 / 1
elementFromPoint-ua-shadowroot-crash.htmlPass1 / 1
overflow-hidden-smooth-scroll-crash.htmlPass1 / 1
scrollIntoView-iframe-self-insertion-crash.htmlPass1 / 1