Closed
Bug 1689094
Opened 4 years ago
Closed 4 years ago
We can't trigger the "focus" style using devtools with widget.disable-native-theme-for-content=true
Categories
(Core :: Widget, defect)
Core
Widget
Tracking
()
RESOLVED
INVALID
People
(Reporter: julienw, Unassigned)
References
Details
STR:
- Open
data:text/html,<input>
- open the devtools inspector.
- Inspect the input from the inspector
- Right click on the
<input>
DOM node, select the pseudo class "focus"
=> notice that the input style doesn't change. => KO
Click inside the input now => notice the focus style. => OK
Reporter | ||
Updated•4 years ago
|
Blocks: remove-native-theming
Comment 1•4 years ago
|
||
You need to toggle :focus-visible
, which is what we use (and should use) to show focus rings.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
Reporter | ||
Comment 2•4 years ago
|
||
Thanks, looks like I've been confused.
I'll follow-up with the devtools folks, I believe that toggling :focus-visible
should also toggle :focus
automatically.
Comment 3•4 years ago
|
||
Why should it? They're two different things.
Comment 4•4 years ago
|
||
Oh, sorry, I read that backwards, yeah. :focus-visible
implies :focus
, so agreed.
You need to log in
before you can comment on or make changes to this bug.
Description
•