[wpt-sync] Sync PR 28283 - Highlight API: Add support to the CSSParser for the ::highlight(...) syntax
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox89 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 28283 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/28283
Details from upstream follow.
b'Fernando Fiori <ffiori@microsoft.com>' wrote:
Highlight API: Add support to the CSSParser for the ::highlight(...) syntax
Bug: 1166727
Change-Id: I1acb7df619144bf4a5ff2fcfb4dc3ee752a76230
Reviewed-on: https://chromium-review.googlesource.com/2753338
WPT-Export-Revision: 140c095b22f6c1c4cb50745c1c419df758853e7c
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
CI Results
Ran 15 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 3 tests and 32 subtests
Status Summary
Firefox
OK : 3
PASS: 6
FAIL: 47
Chrome
OK : 3
PASS: 43
FAIL: 10
Safari
OK : 3
PASS: 43
FAIL: 10
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
/css/css-highlight-api/highlight-pseudo-computed.html
getComputedStyle() for ::highlight(foo): should be element's default: FAIL
getComputedStyle() for ::highlight(foo)) should be element's default: FAIL
getComputedStyle() for ::highlight(foo)( should be element's default: FAIL
getComputedStyle() for ::highlight should be element's default: FAIL
getComputedStyle() for ::highlight(foo)(foo) should be element's default: FAIL
getComputedStyle() for ::highlight(foo)() should be element's default: FAIL
getComputedStyle() for :::highlight(foo) should be element's default: FAIL
getComputedStyle() for ::highlight(foo). should be element's default: FAIL
getComputedStyle() for ::highlight(foo,bar) should be element's default: FAIL
/css/css-pseudo/highlight-pseudos-computed.html
getComputedStyle() for ::selection: should be element's default: FAIL
getComputedStyle() for ::selection) should be element's default: FAIL
getComputedStyle() for ::selection( should be element's default: FAIL
getComputedStyle() for ::selection(foo) should be element's default: FAIL
getComputedStyle() for ::selection() should be element's default: FAIL
getComputedStyle() for :::selection should be element's default: FAIL
getComputedStyle() for ::selection. should be element's default: FAIL
getComputedStyle() for ::target-text: should be element's default: FAIL
getComputedStyle() for ::target-text) should be element's default: FAIL
getComputedStyle() for ::target-text( should be element's default: FAIL
getComputedStyle() for ::target-text(foo) should be element's default: FAIL
getComputedStyle() for ::target-text() should be element's default: FAIL
getComputedStyle() for :::target-text should be element's default: FAIL
getComputedStyle() for ::target-text. should be element's default: FAIL
getComputedStyle() for ::spelling-error: should be element's default: FAIL
getComputedStyle() for ::spelling-error) should be element's default: FAIL
getComputedStyle() for ::spelling-error( should be element's default: FAIL
getComputedStyle() for ::spelling-error(foo) should be element's default: FAIL
getComputedStyle() for ::spelling-error() should be element's default: FAIL
getComputedStyle() for :::spelling-error should be element's default: FAIL
getComputedStyle() for ::spelling-error. should be element's default: FAIL
getComputedStyle() for ::grammar-error: should be element's default: FAIL
getComputedStyle() for ::grammar-error) should be element's default: FAIL
getComputedStyle() for ::grammar-error( should be element's default: FAIL
getComputedStyle() for ::grammar-error(foo) should be element's default: FAIL
getComputedStyle() for ::grammar-error() should be element's default: FAIL
getComputedStyle() for :::grammar-error should be element's default: FAIL
getComputedStyle() for ::grammar-error. should be element's default: FAIL
New Tests That Don't Pass
/css/css-highlight-api/highlight-pseudo-computed.html
getComputedStyle() for ::highlight(foo): FAIL (Chrome: FAIL, Safari: FAIL)
Different getComputedStyle() for ::highlight(bar) and same element: FAIL (Chrome: FAIL, Safari: FAIL)
getComputedStyle() for ::highlight(foo): should be element's default: FAIL (Chrome: PASS, Safari: PASS)
getComputedStyle() for ::highlight(foo)) should be element's default: FAIL (Chrome: PASS, Safari: PASS)
getComputedStyle() for ::highlight(foo)( should be element's default: FAIL (Chrome: PASS, Safari: PASS)
getComputedStyle() for ::highlight should be element's default: FAIL (Chrome: PASS, Safari: PASS)
getComputedStyle() for ::highlight(foo)(foo) should be element's default: FAIL (Chrome: PASS, Safari: PASS)
getComputedStyle() for ::highlight(foo)() should be element's default: FAIL (Chrome: PASS, Safari: PASS)
getComputedStyle() for :::highlight(foo) should be element's default: FAIL (Chrome: PASS, Safari: PASS)
getComputedStyle() for ::highlight(foo). should be element's default: FAIL (Chrome: PASS, Safari: PASS)
getComputedStyle() for ::highlight(foo,bar) should be element's default: FAIL (Chrome: PASS, Safari: PASS)
/css/css-highlight-api/highlight-pseudo-parsing.html
"::highlight(foo)" should be a valid selector: FAIL (Chrome: FAIL, Safari: FAIL)
".a::highlight(foo)" should be a valid selector: FAIL (Chrome: FAIL, Safari: FAIL)
"div ::highlight(foo)" should be a valid selector: FAIL (Chrome: FAIL, Safari: FAIL)
"::part(my-part)::highlight(foo)" should be a valid selector: FAIL (Chrome: FAIL, Safari: FAIL)
/css/css-pseudo/highlight-pseudos-computed.html
getComputedStyle() for ::selection: FAIL (Chrome: FAIL, Safari: FAIL)
getComputedStyle() for ::selection: should be element's default: FAIL (Chrome: PASS, Safari: PASS)
getComputedStyle() for ::selection) should be element's default: FAIL (Chrome: PASS, Safari: PASS)
getComputedStyle() for ::selection( should be element's default: FAIL (Chrome: PASS, Safari: PASS)
getComputedStyle() for ::selection(foo) should be element's default: FAIL (Chrome: PASS, Safari: PASS)
getComputedStyle() for ::selection() should be element's default: FAIL (Chrome: PASS, Safari: PASS)
getComputedStyle() for :::selection should be element's default: FAIL (Chrome: PASS, Safari: PASS)
getComputedStyle() for ::selection. should be element's default: FAIL (Chrome: PASS, Safari: PASS)
getComputedStyle() for ::target-text: FAIL (Chrome: FAIL, Safari: FAIL)
getComputedStyle() for ::target-text: should be element's default: FAIL (Chrome: PASS, Safari: PASS)
getComputedStyle() for ::target-text) should be element's default: FAIL (Chrome: PASS, Safari: PASS)
getComputedStyle() for ::target-text( should be element's default: FAIL (Chrome: PASS, Safari: PASS)
getComputedStyle() for ::target-text(foo) should be element's default: FAIL (Chrome: PASS, Safari: PASS)
getComputedStyle() for ::target-text() should be element's default: FAIL (Chrome: PASS, Safari: PASS)
getComputedStyle() for :::target-text should be element's default: FAIL (Chrome: PASS, Safari: PASS)
getComputedStyle() for ::target-text. should be element's default: FAIL (Chrome: PASS, Safari: PASS)
getComputedStyle() for ::spelling-error: FAIL (Chrome: FAIL, Safari: FAIL)
getComputedStyle() for ::spelling-error: should be element's default: FAIL (Chrome: PASS, Safari: PASS)
getComputedStyle() for ::spelling-error) should be element's default: FAIL (Chrome: PASS, Safari: PASS)
getComputedStyle() for ::spelling-error( should be element's default: FAIL (Chrome: PASS, Safari: PASS)
getComputedStyle() for ::spelling-error(foo) should be element's default: FAIL (Chrome: PASS, Safari: PASS)
getComputedStyle() for ::spelling-error() should be element's default: FAIL (Chrome: PASS, Safari: PASS)
getComputedStyle() for :::spelling-error should be element's default: FAIL (Chrome: PASS, Safari: PASS)
getComputedStyle() for ::spelling-error. should be element's default: FAIL (Chrome: PASS, Safari: PASS)
getComputedStyle() for ::grammar-error: FAIL (Chrome: FAIL, Safari: FAIL)
getComputedStyle() for ::grammar-error: should be element's default: FAIL (Chrome: PASS, Safari: PASS)
getComputedStyle() for ::grammar-error) should be element's default: FAIL (Chrome: PASS, Safari: PASS)
getComputedStyle() for ::grammar-error( should be element's default: FAIL (Chrome: PASS, Safari: PASS)
getComputedStyle() for ::grammar-error(foo) should be element's default: FAIL (Chrome: PASS, Safari: PASS)
getComputedStyle() for ::grammar-error() should be element's default: FAIL (Chrome: PASS, Safari: PASS)
getComputedStyle() for :::grammar-error should be element's default: FAIL (Chrome: PASS, Safari: PASS)
getComputedStyle() for ::grammar-error. should be element's default: FAIL (Chrome: PASS, Safari: PASS)
Comment 4•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/03325e4bdc2d
https://hg.mozilla.org/mozilla-central/rev/df0a0e0864d7
Description
•