Closed Bug 1730229 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 30552 - Add tests for empty URLs, fragment URLs and url resolution parts of css-values-4

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
94 Branch
Tracking Status
firefox94 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Simon Fraser <simon.fraser@apple.com>' wrote:

Add tests for empty URLs, fragment URLs and url resolution parts of css-values-4

Add tests that empty urls serialize to url("") https://github.com/w3c/csswg-drafts/issues/6447, fragment URLs serialize as a fragment, and that urls are resolved relative to the stylesheet and the document base URI as appropriate, including when specified through variables.

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

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

Total 4 tests and 3 subtests

Status Summary

Firefox

OK : 3
PASS : 3
CRASH: 1
FAIL : 9

Chrome

OK : 4
PASS : 5
FAIL : 9

Safari

OK : 4
PASS : 3
FAIL : 11

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Crashes

/css/css-values/urls/resolve-relative-to-base.html: CRASH

Firefox-only Failures

/css/css-values/urls/resolve-relative-to-base.html: CRASH

New Tests That Don't Pass

/css/css-values/urls/empty.html
empty URL: inline-unquoted: FAIL (Chrome: FAIL, Safari: FAIL)
empty URL: inline-quoted: FAIL (Chrome: FAIL, Safari: FAIL)
empty URL: external-unquoted: FAIL (Chrome: FAIL, Safari: FAIL)
empty URL: external-quoted: FAIL (Chrome: FAIL, Safari: FAIL)
/css/css-values/urls/fragment-only.html
empty URL: inline-unquoted: FAIL (Chrome: FAIL, Safari: FAIL)
empty URL: inline-quoted: FAIL (Chrome: FAIL, Safari: FAIL)
empty URL: external-unquoted: FAIL (Chrome: FAIL, Safari: FAIL)
empty URL: external-quoted: FAIL (Chrome: FAIL, Safari: FAIL)
empty URL: external-variable: FAIL (Chrome: FAIL, Safari: FAIL)
/css/css-values/urls/resolve-relative-to-base.html: CRASH (Chrome: OK, Safari: OK)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f6bc96ea47b1 [wpt PR 30552] - Add tests for empty URLs, fragment URLs and url resolution parts of css-values-4, a=testonly https://hg.mozilla.org/integration/autoland/rev/7003b2455e65 [wpt PR 30552] - Update wpt metadata, a=testonly
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/714fa22bea01 [wpt PR 30552] - Add tests for empty URLs, fragment URLs and url resolution parts of css-values-4, a=testonly https://hg.mozilla.org/integration/autoland/rev/2dba1d5797ba [wpt PR 30552] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch
You need to log in before you can comment on or make changes to this bug.