Inactive CSS mistakenly shows warning for pseudo-element
Categories
(DevTools :: Inspector: Rules, defect, P3)
Tracking
(Not tracked)
People
(Reporter: julienw, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
STR:
- go to https://protocol.mozilla.org/demos/zap.html.
- inspect one of the words with the "zap" in the page.
- Look at the "rules" view for the selector
[class*="mzp-has-zap"] strong::after
=> the rules that work for display:block are greyed even though this pseudo element has display: block already.
One guess is that the base element is actually inline, and the code doesn't know how to deal with pseudo elements.
| Reporter | ||
Updated•5 years ago
|
Comment 1•5 years ago
|
||
Thanks for filing, Julien!
We call this the Inactive CSS pop-up, not "rule checker" :)
The issue you mentioned does indeed happen, but only when selecting the Node for which pseduo-element classes are shown. When selecting the pseudo-element directly in the Elements panel, the erroneous Inactive CSS warning no longer shows.
Leaving this nugget of info here and a video recording to help us debug.
Comment 2•5 years ago
|
||
Updated•2 years ago
|
Comment 3•3 months ago
|
||
Page was moved to https://protocol.mozilla.org/components/detail/zap--default
height is not seen as inactive anymore
Probably fixed by Bug 1583641
Description
•