Closed Bug 1875804 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 44119 - CSS: correct highlight-pseudos-computed.html

Categories

(Core :: Layout: Generated Content, Lists, and Counters, task, P4)

task

Tracking

()

RESOLVED FIXED
124 Branch
Tracking Status
firefox124 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Anne van Kesteren <annevk@annevk.nl> wrote:

CSS: correct highlight-pseudos-computed.html

When the pseudo-element argument starts with a single colon and cannot be parsed the correct result is an empty CSSStyleDeclaration. Not the element's CSSStyleDeclaration.

Component: web-platform-tests → Layout: Generated Content, Lists, and Counters
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 1 tests and 41 subtests

Status Summary

Firefox

OK : 1
PASS: 32
FAIL: 9

Chrome

OK : 1
PASS: 6
FAIL: 35

Safari

OK : 1
PASS: 3
FAIL: 38

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

New Tests That Don't Pass

  • /css/css-pseudo/highlight-pseudos-computed.html [wpt.fyi]
    • getComputedStyle() for ::target-text: FAIL (Chrome: PASS, Safari: FAIL)
    • getComputedStyle() for ::spelling-error: FAIL (Chrome: PASS, Safari: PASS)
    • getComputedStyle() for ::grammar-error: FAIL (Chrome: PASS, Safari: PASS)
    • getComputedStyle() for ::highlight(foo): should return an empty CSSStyleDeclaration: FAIL (Chrome: FAIL, Safari: FAIL)
    • getComputedStyle() for ::highlight(foo)) should return an empty CSSStyleDeclaration: FAIL (Chrome: FAIL, Safari: FAIL)
    • getComputedStyle() for ::highlight(foo)( should return an empty CSSStyleDeclaration: FAIL (Chrome: FAIL, Safari: FAIL)
    • getComputedStyle() for ::highlight(foo)(foo) should return an empty CSSStyleDeclaration: FAIL (Chrome: FAIL, Safari: FAIL)
    • getComputedStyle() for ::highlight(foo)() should return an empty CSSStyleDeclaration: FAIL (Chrome: FAIL, Safari: FAIL)
    • getComputedStyle() for ::highlight(foo). should return an empty CSSStyleDeclaration: FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/867d476322c8 [wpt PR 44119] - CSS: correct highlight-pseudos-computed.html, a=testonly https://hg.mozilla.org/integration/autoland/rev/6b455f26b0fd [wpt PR 44119] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
You need to log in before you can comment on or make changes to this bug.