Closed Bug 1654918 Opened 4 years ago Closed 4 years ago

Improve prefers-contrast reftests with the `ui.useAccessibilityTheme` preference

Categories

(Core :: Layout, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
Tracking Status
firefox81 --- fixed

People

(Reporter: zekemedley, Assigned: zekemedley)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

When the reftests were originally written for prefers-contrast we didn't realize that you could toggle the value of LookAndFeel::IntID::UseAccessibilityTheme from a reftest. As heycam mentioned in bug 1648807 it turns out you can.

There is an example of doing the same thing for prefers-reduced-motion here.

Pushed by mreschenberg@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8bc06d2fb2e1
Improve prefers-contrast reftests with the `ui.useAccessibilityTheme` preference r=morgan
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: