Add emulation for prefers-contrast media feature to inspector.
Categories
(DevTools :: Inspector, enhancement)
Tracking
(Not tracked)
People
(Reporter: aja, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Keywords: access, dev-doc-needed)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:80.0) Gecko/20100101 Firefox/80.0
Expected results:
Add emulation for prefers-contrast media feature to inspector.
Updated•5 years ago
|
Updated•5 years ago
|
Comment 2•6 months ago
|
||
Hello Eitan, in Dublin we talked about a plan to turn on high contrast mode / forced colors for a specific tab/page. I can't remember if there are already a (meta) Bugzilla bug or a Jira ticket for it? Or maybe some rough document that lays out a plan?
If there are none, I'd like to file bug for the "internal" work, e.g. have a flag on BrowsingContext so we can do something similar to what we have for color-scheme simulation https://searchfox.org/mozilla-central/rev/cb5faf5dd5176494302068c553da97b4d08aa339/dom/chrome-webidl/BrowsingContext.webidl#210
[SetterThrows] attribute PrefersColorSchemeOverride prefersColorSchemeOverride;
Comment 3•6 months ago
|
||
There is no bug or written plan for this as far as I am aware. An addition to BrowsingContext is a good place to start indeed.
Comment 4•6 months ago
|
||
(In reply to Eitan Isaacson [:eeejay] from comment #3)
There is no bug or written plan for this as far as I am aware. An addition to BrowsingContext is a good place to start indeed.
Alright, I filed Bug 1916591 (and Bug 1916589) for the flags
Description
•