[wpt-sync] Sync PR 31271 - Assert that color-scheme meta tag doesn't create a pres hint.
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox95 | --- | fixed |
People
(Reporter: wpt-sync, 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.
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
Assignee | ||
Comment 3•3 years ago
|
||
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)
Comment 5•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/93a5550f9a08
https://hg.mozilla.org/mozilla-central/rev/d0f655ce8c9f
Description
•