Closed Bug 1673016 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 26259 - Revised test to match behaviour in spec, as revised in issue #245

Categories

(Core :: SVG, task, P4)

task

Tracking

()

RESOLVED FIXED
84 Branch
Tracking Status
firefox84 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Mike <mike@qtunes.org>' wrote:

Revised test to match behaviour in spec, as revised in issue #245

These tests originated at https://bugzilla.mozilla.org/show_bug.cgi?id=1624532

I can see they were to fix a regression in FF, but the tested behaviour doesn't match the specification:

  • Masks that are missing or invaild are treated as transparent black (ie. nothing is drawn)
  • Masks that are display:none are treated as if no mask was specified (note this is not as specified, but matches the resolution in https://github.com/w3c/fxtf-drafts/issues/245)

Also revised so no red is visible if the tests pass.

@tnikkel

Component: web-platform-tests → SVG
Product: Testing → Core

CI Results

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

Total 1 tests

Status Summary

Firefox

FAIL: 1

Chrome

FAIL: 1

Safari

FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/svg/painting/reftests/display-none-mask.html: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7b0107ffd447
[wpt PR 26259] - Revised test to match behaviour in spec, as revised in issue #245, a=testonly
https://hg.mozilla.org/integration/autoland/rev/0a9227cd8518
[wpt PR 26259] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch
You need to log in before you can comment on or make changes to this bug.