Closed Bug 1736051 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 31271 - Assert that color-scheme meta tag doesn't create a pres hint.

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Emilio Cobos Álvarez <emilio@crisal.io> wrote:

Assert that color-scheme meta tag doesn't create a pres hint.

This tests the spec change in https://github.com/whatwg/html/pull/7226.

PR 31271 applied with additional changes from upstream: 705c808e7a972bc3454f1842cd73f1e85ee31818
Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

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

Total 10 tests and 1 subtests

Status Summary

Firefox

OK : 10
FAIL: 22

Chrome

OK : 10
PASS: 10
FAIL: 12

Safari

OK : 10
FAIL: 22

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/html/semantics/document-metadata/the-meta-element/color-scheme/meta-color-scheme-attribute-changes.html
Meta color-scheme initially 'dark'.: FAIL (Chrome: FAIL, Safari: FAIL)
Removed name attribute from meta color-scheme.: FAIL (Chrome: PASS, Safari: FAIL)
Set meta name to color-scheme.: FAIL (Chrome: FAIL, Safari: FAIL)
Set content attribute of meta color-scheme to empty string.: FAIL (Chrome: PASS, Safari: FAIL)
Set content attribute of meta color-scheme to an invalid value.: FAIL (Chrome: PASS, Safari: FAIL)
Set content attribute of meta color-scheme to 'light'.: FAIL (Chrome: FAIL, Safari: FAIL)
Set content attribute of meta color-scheme to 'dark'.: FAIL (Chrome: FAIL, Safari: FAIL)
Removed the content attribute of meta color-scheme.: FAIL (Chrome: PASS, Safari: FAIL)
/html/semantics/document-metadata/the-meta-element/color-scheme/meta-color-scheme-empty-content-value.html
Meta color-scheme with empty content attribute has no effect.: FAIL (Chrome: PASS, Safari: FAIL)
/html/semantics/document-metadata/the-meta-element/color-scheme/meta-color-scheme-first-valid-applies.html
Tree order decides which meta color-scheme applies.: FAIL (Chrome: FAIL, Safari: FAIL)
/html/semantics/document-metadata/the-meta-element/color-scheme/meta-color-scheme-insert.html
Initial color-scheme: FAIL (Chrome: PASS, Safari: FAIL)
Inserted meta color-scheme applies: FAIL (Chrome: FAIL, Safari: FAIL)
Inserted meta color-scheme before existing in head applies: FAIL (Chrome: FAIL, Safari: FAIL)
/html/semantics/document-metadata/the-meta-element/color-scheme/meta-color-scheme-no-content-value.html
Meta color-scheme without content attribute has no effect.: FAIL (Chrome: PASS, Safari: FAIL)
/html/semantics/document-metadata/the-meta-element/color-scheme/meta-color-scheme-remove-head.html
Meta color-scheme applies.: FAIL (Chrome: FAIL, Safari: FAIL)
Initial value after removing head including meta color-scheme.: FAIL (Chrome: PASS, Safari: FAIL)
/html/semantics/document-metadata/the-meta-element/color-scheme/meta-color-scheme-remove.html
First meta applies.: FAIL (Chrome: FAIL, Safari: FAIL)
Second meta applies after first one is removed.: FAIL (Chrome: FAIL, Safari: FAIL)
Initial color-scheme with both meta elements removed.: FAIL (Chrome: PASS, Safari: FAIL)
/html/semantics/document-metadata/the-meta-element/color-scheme/meta-color-scheme-single-value-in-body.html
Meta color-scheme in body should apply.: FAIL (Chrome: FAIL, Safari: FAIL)
/html/semantics/document-metadata/the-meta-element/color-scheme/meta-color-scheme-single-value-in-head.html
Meta color-scheme in head applies.: FAIL (Chrome: FAIL, Safari: FAIL)
/html/semantics/document-metadata/the-meta-element/color-scheme/meta-color-scheme-single-value-in-shadow-tree.html
Meta color-scheme in shadow tree does not apply.: FAIL (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/93a5550f9a08
[wpt PR 31271] - Assert that color-scheme meta tag doesn't create a pres hint., a=testonly
https://hg.mozilla.org/integration/autoland/rev/d0f655ce8c9f
[wpt PR 31271] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
You need to log in before you can comment on or make changes to this bug.