Open Bug 2014631 Opened 3 days ago Updated 2 days ago

[wpt-sync] Sync PR 57580 - Remove and migrate internal tests in fast/dom/elementsFromPoint/

Categories

(Core :: DOM: CSS Object Model, task, P4)

task

Tracking

()

People

(Reporter: wpt-sync, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 57580 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/57580
Details from upstream follow.

Hyowon Kim <hyowon@igalia.com> wrote:

Remove and migrate internal tests in fast/dom/elementsFromPoint/

Additional coverage added to WPT:

  • elementsFromPoint-shadowroot.html: Added argument validation checks
    for ShadowRoot.elementsFromPoint.
  • elementsFromPoint-svg.html: Added hit-testing cases including nested
    svg elements, pointer-events:bounding-box, and foreignObject.

Tests removed (fully covered by WPT):

  • elementsFromPoint-invalid-cases.html
  • elementsFromPoint-iframes.html
  • elementsFromPoint-simple.html

Change-Id: I310888d6ed9051e8156c199e7eadcf7bc214ce97
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7532739
Reviewed-by: Philip Rogers \<pdr@chromium.org>
Commit-Queue: Hyowon Kim \<hyowon@igalia.com>
Cr-Commit-Position: refs/heads/main@{#1579845}

Component: web-platform-tests → DOM: CSS Object Model
Product: Testing → Core

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, and Chrome on GitHub CI

Total 210 tests

Status Summary

Firefox

OK : 2[GitHub] 195[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 196[Gecko-linux2404-64-debug] 197[Gecko-linux2404-64-opt, Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt]
PASS: 2[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 5[GitHub] 2235[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 2272[Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt] 2282[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt]
FAIL: 4[GitHub] 84[Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt] 85[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt] 88[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview]

Chrome

OK : 2
PASS: 9

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /css/cssom-view/scroll-behavior-subframe-root.html [wpt.fyi]: OK [Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt], SKIP [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview]
  • /css/cssom-view/scrollIntoView-smooth.html [wpt.fyi]: OK [Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt], SKIP [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview]
  • /css/cssom-view/CaretPosition-001.html [wpt.fyi]
    • Element at (400, 900): FAIL [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt], PASS [Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt]
  • /css/cssom-view/background-change-during-smooth-scroll.html [wpt.fyi]: OK [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-opt, Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt], SKIP [Gecko-linux2404-64-debug]
  • /css/cssom-view/elementFromPoint.html [wpt.fyi]
    • Image Maps: FAIL
  • /css/cssom-view/elementFromPosition.html [wpt.fyi]
    • test some point of the element: top right corner: FAIL
    • test some point of the element: right line: FAIL
    • test some point of the element: bottom left corner: FAIL
    • test some point of the element: bottom line: FAIL
    • test some point of the element: bottom right corner: FAIL
  • /css/cssom-view/elementsFromPoint-svg-text.html [wpt.fyi]
    • elementsFromPoint for a point inside an overlapping <tspan> nested in a <text>: FAIL
  • /css/cssom-view/elementsFromPoint-svg.html [wpt.fyi]
    • elementsFromPoint for a point inside two rects that are inside an svg element with pointer-events: bounding-box: FAIL (Chrome: PASS)
    • elementsFromPoint for a point inside two rects that are inside a <g>: FAIL (Chrome: PASS)
    • elementsFromPoint for a point inside two images: FAIL (Chrome: PASS)
    • elementsFromPoint for a point inside transformed rects and <g>: FAIL (Chrome: PASS)
  • /css/cssom-view/getBoundingClientRect-newline.html [wpt.fyi]
    • Range.getBoundingClientRect() should return the first position of the next line when the collapsed range is a newline character: FAIL
  • /css/cssom-view/getBoundingClientRect-svg.html [wpt.fyi]
    • Element.getBoundingClientRect() and Range.getBoudingClientRect() should match for an SVG <text>: FAIL
    • Element.getBoundingClientRect() and Range.getBoudingClientRect() should match for an SVG <text> with a rotate: FAIL
  • /css/cssom-view/idlharness.html [wpt.fyi]
    • Screen interface: existence and properties of interface object: FAIL
    • Screen interface: existence and properties of interface prototype object: FAIL
    • VisualViewport interface: attribute onscrollend: FAIL
    • VisualViewport interface: self.visualViewport must inherit property "onscrollend" with the proper type: FAIL
    • CSSPseudoElement interface: operation getBoxQuads(optional BoxQuadOptions): FAIL
    • CSSPseudoElement interface: operation convertQuadFromNode(DOMQuadInit, GeometryNode, optional ConvertCoordinateOptions): FAIL
    • CSSPseudoElement interface: operation convertRectFromNode(DOMRectReadOnly, GeometryNode, optional ConvertCoordinateOptions): FAIL
    • CSSPseudoElement interface: operation convertPointFromNode(DOMPointInit, GeometryNode, optional ConvertCoordinateOptions): FAIL
    • HTMLElement interface: attribute scrollParent: FAIL
    • HTMLElement interface: document.createElement("div") must inherit property "scrollParent" with the proper type: FAIL
    • HTMLElement interface: document.createElement("img") must inherit property "scrollParent" with the proper type: FAIL
    • Window interface: operation scroll(optional ScrollToOptions): FAIL
    • Window interface: operation scroll(unrestricted double, unrestricted double): FAIL
    • Window interface: operation scrollTo(optional ScrollToOptions): FAIL
    • Window interface: operation scrollTo(unrestricted double, unrestricted double): FAIL
    • Window interface: operation scrollBy(optional ScrollToOptions): FAIL
    • Window interface: operation scrollBy(unrestricted double, unrestricted double): FAIL
    • Element interface: operation scrollIntoView(optional (boolean or ScrollIntoViewOptions)): FAIL
    • Element interface: operation scroll(optional ScrollToOptions): FAIL
    • Element interface: operation scroll(unrestricted double, unrestricted double): FAIL
    • Element interface: operation scrollTo(optional ScrollToOptions): FAIL
    • Element interface: operation scrollTo(unrestricted double, unrestricted double): FAIL
    • Element interface: operation scrollBy(optional ScrollToOptions): FAIL
    • Element interface: operation scrollBy(unrestricted double, unrestricted double): FAIL
  • /css/cssom-view/offsetTop-offsetLeft-nested-offsetParents.html [wpt.fyi]
    • Verifies that offsetTop and offsetLeft only go up one offsetParent when there are multiple nested offsetParents.: FAIL [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt], PASS [Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]
  • /css/cssom-view/range-client-rects-surrogate-indexing.html [wpt.fyi]
    • Range.getClientRects should correct indexing into trailing surrogates: FAIL
  • /css/cssom-view/scrollIntoView-container.html [wpt.fyi]
    • scrollIntoView({container: 'nearest'}) only scrolls nearest scroll container: FAIL
    • scrollIntoView({container: 'nearest'}) doesn't propagate to outer frames: FAIL
  • /css/cssom-view/scrollIntoView-fixed.html [wpt.fyi]
    • [Box D] scrollIntoView from scrollable position:fixed in iframe: FAIL
  • /css/cssom-view/scrollIntoView-iframes.html [wpt.fyi]
    • scrollIntoView in cross-origin iframe can't scroll in parent window: FAIL
  • /css/cssom-view/scrollIntoView-inline-image.html [wpt.fyi]
    • Scrolling an inline element with a large line height uses the bounding rect: FAIL
  • /css/cssom-view/scrollLeft-of-scroller-with-wider-scrollbar.html [wpt.fyi]
    • Test the maxmium value of scrollLeft: FAIL [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview], PASS [Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt]
  • /css/cssom-view/scrollParent-shadow-tree.html [wpt.fyi]
    • scrollParent skips intermediate closed shadow tree nodes: FAIL
    • scrollParent skips intermediate open shadow tree nodes: FAIL
    • scrollParent from inside closed shadow tree: FAIL
    • scrollParent from inside open shadow tree: FAIL
  • /css/cssom-view/scrollParent.html [wpt.fyi]
    • scrollParent returns the nearest scroll container.: FAIL
    • hidden element is a scroll container.: FAIL
    • Element with no box has null scrollParent.: FAIL
    • scrollParent follows absolute positioned containing block chain.: FAIL
    • scrollParent follows fixed positioned containing block chain.: FAIL
    • scrollParent of element fixed to root is null.: FAIL
    • scrollParent of child in root viewport returns document scrolling element.: FAIL
    • scrollParent of fixed element contained within root is document scrolling element.: FAIL
    • scrollParent of body is null.: FAIL
    • scrollParent of root is null.: FAIL
    • scrollParent skips ancestors with display: contents.: FAIL
  • /css/cssom-view/scrollWidthHeight-contain-layout.html [wpt.fyi]
    • scroll{Width,Height} should match with contain: layout for display: grid, overflow: hidden, padding: 2px, border: 0: FAIL
    • scroll{Width,Height} should match with contain: layout for display: grid, overflow: hidden, padding: 2px, border: 3px solid: FAIL
    • scroll{Width,Height} should match with contain: layout for display: grid, overflow: auto, padding: 2px, border: 0: FAIL
    • scroll{Width,Height} should match with contain: layout for display: grid, overflow: auto, padding: 2px, border: 3px solid: FAIL
    • scroll{Width,Height} should match with contain: layout for display: grid, overflow: scroll, padding: 2px, border: 0: FAIL
    • scroll{Width,Height} should match with contain: layout for display: grid, overflow: scroll, padding: 2px, border: 3px solid: FAIL
  • /css/cssom-view/scrollingElement.html [wpt.fyi]
    • scrollingElement in quirks mode: FAIL
    • scrollingElement in quirks mode (body table): FAIL
    • scrollingElement in quirks mode (root table): FAIL
    • scrollingElement in quirks mode (root table, body table): FAIL
  • /css/cssom-view/scrollintoview-zero-height-item.html [wpt.fyi]
    • scrollIntoView on zero height item: FAIL
  • /css/cssom-view/smooth-scrollIntoView-with-unrelated-gesture-scroll.html [wpt.fyi]
    • scrollIntoView is not interrupted by unrelated gesture scroll: FAIL [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview], PASS [Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt]
  • /css/cssom-view/subpixel-sizes-and-offsets.tentative.html [wpt.fyi]
    • clientLeft and clientTop don't round 44.9: FAIL
    • clientLeft and clientTop don't round 44.5: FAIL
    • clientLeft and clientTop don't round 44.1: FAIL
  • /css/cssom-view/table-offset-props.html [wpt.fyi]
    • Caption with margin: FAIL
  • /css/cssom-view/visual-scrollIntoView-001.html [wpt.fyi]
    • Element.scrollIntoView scrolls visually: FAIL
  • /css/cssom-view/visual-scrollIntoView-002.html [wpt.fyi]
    • Element.scrollIntoView scrolls visually to a position: fixed element with non-zero layout scroll offset: FAIL
  • /css/cssom-view/visual-scrollIntoView-003.html [wpt.fyi]
    • Element.scrollIntoView scrolls visually to an element in nested position: fixed elements: FAIL
  • /css/cssom-view/window-scroll-arguments.html [wpt.fyi]
    • scrollTo with 1 non-dictionary argument: FAIL
    • scrollTo with an invalid ScrollToOptions argument: FAIL
    • scroll with 1 non-dictionary argument: FAIL
    • scroll with an invalid ScrollToOptions argument: FAIL
    • scrollBy with 1 non-dictionary argument: FAIL
    • scrollBy with an invalid ScrollToOptions argument: FAIL
  • /css/cssom-view/long_scroll_composited.html [wpt.fyi]: FAIL

Tests Disabled in Gecko Infrastructure

  • /css/cssom-view/scroll-behavior-subframe-root.html [wpt.fyi]: OK [Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt], SKIP [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview]
  • /css/cssom-view/scrollIntoView-smooth.html [wpt.fyi]: OK [Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt], SKIP [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview]
  • /css/cssom-view/background-change-during-smooth-scroll.html [wpt.fyi]: OK [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-opt, Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt], SKIP [Gecko-linux2404-64-debug]
You need to log in before you can comment on or make changes to this bug.