Closed Bug 1793068 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 36172 - Move a couple of hit-testing related SVG tests to WPT

Categories

(Core :: SVG, task, P4)

task

Tracking

()

RESOLVED FIXED
107 Branch
Tracking Status
firefox107 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Fredrik Söderquist <fs@opera.com> wrote:

Move a couple of hit-testing related SVG tests to WPT

Tidy up, convert to testharness where needed, and then move the
following tests to WPT:

svg/hittest/svg-pointer-events-bbox.html,
svg/hittest/svg-small-big-path.html,
svg/hittest/rect-hittest.html and
svg/hittest/ellipse-hittest.html

Bug: 1263121
Change-Id: I35b76fd0667e14b5ef8865f3eda01f5b137e49b1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3929138
Auto-Submit: Fredrik Söderquist \<fs@opera.com>
Reviewed-by: Xianzhu Wang \<wangxianzhu@chromium.org>
Commit-Queue: Xianzhu Wang \<wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1053091}

Component: web-platform-tests → SVG
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]

CI Results

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

Total 4 tests and 5 subtests

Status Summary

Firefox

OK : 4
PASS: 91
FAIL: 22

Chrome

OK : 4
PASS: 113

Safari

OK : 4
PASS: 97
FAIL: 16

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

  • /svg/interact/scripted/ellipse-hittest.html [wpt.fyi]
    • elementFromPoint(...) on <ellipse>s with continuous strokes, element at (245, 180): FAIL
    • elementFromPoint(...) on <ellipse>s with continuous strokes, element at (130, 295): FAIL
  • /svg/interact/scripted/rect-hittest.html [wpt.fyi]
    • elementFromPoint(...) on <rect>s with simple strokes, element at (180, 20): FAIL
    • elementFromPoint(...) on <rect>s with simple strokes, element at (180, 120): FAIL
    • elementFromPoint(...) on <rect>s with simple strokes, element at (60, 120): FAIL
    • elementFromPoint(...) on <rect>s with simple strokes, element at (290, 70): FAIL
    • elementFromPoint(...) on <rect>s with simple strokes, element at (330, 150): FAIL
  • /svg/interact/scripted/svg-pointer-events-bbox.html [wpt.fyi]
    • circle2 contains point at (400, 150): FAIL
    • circle2 contains point at (432, 182): FAIL
    • circle2 contains point at (361, 122): FAIL
    • bbox of circle2 contains point at (438, 103): FAIL
    • bbox of circle2 contains point at (450, 200): FAIL
    • bbox of text1 contains point at (115, 46): FAIL
    • bbox of text2 contains point at (295, 214): FAIL
    • image1 contains point at (19, 215): FAIL
    • image1 contains point at (45, 225): FAIL
  • /svg/interact/scripted/svg-small-big-path.html [wpt.fyi]
    • Hit-test on a path whose x/y ranges have different magnitude, path contains point at (5, 110): FAIL

New Tests That Don't Pass

  • /svg/interact/scripted/ellipse-hittest.html [wpt.fyi]
    • elementFromPoint(...) on <ellipse>s with continuous strokes, element at (245, 180): FAIL (Chrome: PASS, Safari: PASS)
    • elementFromPoint(...) on <ellipse>s with continuous strokes, element at (130, 295): FAIL (Chrome: PASS, Safari: PASS)
  • /svg/interact/scripted/rect-hittest.html [wpt.fyi]
    • elementFromPoint(...) on <rect>s with simple strokes, element at (180, 20): FAIL (Chrome: PASS, Safari: PASS)
    • elementFromPoint(...) on <rect>s with simple strokes, element at (180, 120): FAIL (Chrome: PASS, Safari: PASS)
    • elementFromPoint(...) on <rect>s with simple strokes, element at (60, 120): FAIL (Chrome: PASS, Safari: PASS)
    • elementFromPoint(...) on <rect>s with simple strokes, element at (290, 70): FAIL (Chrome: PASS, Safari: PASS)
    • elementFromPoint(...) on <rect>s with simple strokes, element at (330, 150): FAIL (Chrome: PASS, Safari: PASS)
  • /svg/interact/scripted/svg-pointer-events-bbox.html [wpt.fyi]
    • group1 contains point at (100, 100): FAIL (Chrome: PASS, Safari: FAIL)
    • group1 contains point at (137, 84): FAIL (Chrome: PASS, Safari: FAIL)
    • group1 contains point at (51, 156): FAIL (Chrome: PASS, Safari: FAIL)
    • group1 contains point at (70, 120): FAIL (Chrome: PASS, Safari: FAIL)
    • circle2 contains point at (400, 150): FAIL (Chrome: PASS, Safari: PASS)
    • circle2 contains point at (432, 182): FAIL (Chrome: PASS, Safari: PASS)
    • circle2 contains point at (361, 122): FAIL (Chrome: PASS, Safari: PASS)
    • bbox of circle2 contains point at (438, 103): FAIL (Chrome: PASS, Safari: PASS)
    • bbox of circle2 contains point at (450, 200): FAIL (Chrome: PASS, Safari: PASS)
    • bbox of text1 contains point at (435, 32): FAIL (Chrome: PASS, Safari: FAIL)
    • bbox of text1 contains point at (115, 46): FAIL (Chrome: PASS, Safari: PASS)
    • bbox of text2 contains point at (295, 214): FAIL (Chrome: PASS, Safari: PASS)
    • image1 contains point at (19, 215): FAIL (Chrome: PASS, Safari: PASS)
    • image1 contains point at (45, 225): FAIL (Chrome: PASS, Safari: PASS)
  • /svg/interact/scripted/svg-small-big-path.html [wpt.fyi]
    • Hit-test on a path whose x/y ranges have different magnitude, path contains point at (5, 110): FAIL (Chrome: PASS, Safari: PASS)
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f816d4018512 [wpt PR 36172] - Move a couple of hit-testing related SVG tests to WPT, a=testonly https://hg.mozilla.org/integration/autoland/rev/4a9b5a073a20 [wpt PR 36172] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch
You need to log in before you can comment on or make changes to this bug.