Closed Bug 1730495 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 30692 - [css-pseudo] add tests for highlight inheritedness and custom properties

Categories

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

task

Tracking

()

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Delan Azabani <delan@azabani.com>' wrote:

[css-pseudo] add tests for highlight inheritedness and custom properties

This patch adds four reftests that assert how highlight pseudos interact with custom properties and/or the concept of “inherited properties”, reflecting recent consensus in w3c/csswg-drafts#6264 and w3c/csswg-drafts#6386 (question 7):

  • highlight-cascade-001: unset is treated like inherit regardless of whether property is inherited
  • highlight-cascade-002: custom properties are inherited regardless of inherits flag or inheritedness of referencing property
  • highlight-styling-001: custom properties are applicable properties in highlight pseudos
  • highlight-styling-002: originating custom property values do not affect highlight pseudos
Component: web-platform-tests → Layout: Generated Content, Lists, and Counters
Product: Testing → Core

CI Results

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

Total 4 tests

Status Summary

Firefox

PASS: 1
FAIL: 3

Chrome

PASS: 1
FAIL: 3

Safari

PASS: 1
FAIL: 3

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/css/css-pseudo/highlight-cascade-001.html: FAIL (Chrome: FAIL, Safari: FAIL)
/css/css-pseudo/highlight-cascade-002.html: FAIL (Chrome: FAIL, Safari: FAIL)
/css/css-pseudo/highlight-styling-002.html: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b5f7794c707d
[wpt PR 30692] - [css-pseudo] add highlight tests for custom properties and/or inheritedness, a=testonly
https://hg.mozilla.org/integration/autoland/rev/f7a41f0b432a
[wpt PR 30692] - Update wpt metadata, a=testonly
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c65e9ce7820a
[wpt PR 30692] - [css-pseudo] add highlight tests for custom properties and/or inheritedness, a=testonly
https://hg.mozilla.org/integration/autoland/rev/db81b860f33a
[wpt PR 30692] - 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.