Add web platform tests for prefers-contrast
Categories
(Core :: CSS Parsing and Computation, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox81 | --- | fixed |
People
(Reporter: zekemedley, Assigned: zekemedley)
Details
Attachments
(2 files)
Now that we've implemented prefers-contrast behind the layout.css.prefers-contrast.enabled preference we should add some web platform tests for it. As we can't test OS level preferences these will likely test mostly parsing and syntax.
| Assignee | ||
Comment 1•5 years ago
|
||
Here's a screenshot of the web platform test passing on nightly with our prefers-contrast implementation enabled. To test this yourself, change the script tags in the wpt to be absolute paths and then open the file in Nightly with layout.css.prefers-contrast.enabled set to true in about:config.
| Assignee | ||
Comment 2•5 years ago
|
||
Because our prefers-contrast implementation is only enabled behind a
layout.css.prefers-contrast.enabled these don't pass out of the
box. Our implementation does pass these tests though when it is
enabled via about:config. See the bugzilla bug for more information.
Updated•5 years ago
|
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Updated•5 years ago
|
Comment 5•5 years ago
|
||
| bugherder | ||
Description
•