Closed Bug 1532358 Opened 2 years ago Closed 2 years ago

Add tests for interaction media features that use the widget codepath.

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(1 file)

Right now interaction media features have tests using the ui.* prefs. That means that widget codepath doesn't run in those tests.

This backfired heavily in bug 827976. We should probably add some tests that use the widget codepath and test the invariants (for example, that you don't match both hover: none and hover: <something-else>.

Presumably these tests could even go to WPT.

Flags: needinfo?(emilio)
Assignee: nobody → emilio
Flags: needinfo?(emilio)
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/96c2336e72c0
Add some sanity WPTs for interaction media features. r=hiro
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/15752 for changes under testing/web-platform/tests
You need to log in before you can comment on or make changes to this bug.