Open
Bug 1327740
Opened 8 years ago
Updated 1 day ago
Inspector "Search HTML" finds ::before pseudoelements as text, but not by selector
Categories
(DevTools :: Inspector, defect, P3)
DevTools
Inspector
Tracking
(Not tracked)
UNCONFIRMED
People
(Reporter: arni2033, Unassigned)
References
(Blocks 2 open bugs)
Details
>>> My Info: Win7_64, Nightly 49, 32bit, ID 20160526082509
STR_1:
1. Open url data:text/html,<style>body:before{content:"z"}
2. Open devtools -> inspector
3. Type "::before" in search field "Search HTML", press Enter
AR: Inspector finds ::before pseudoelement. "There's no "::before" in HTML, so it must be selector"
STR_2:
1. Open url data:text/html,<style>body:before{content:"z"}
2. Open devtools -> inspector
3. Type "body::before" in search field "Search HTML", press Enter
AR: Inspector doesn't find anything
ER: Either X or Y. X is better
X) Inspector should search for "body::before" as selector
Y) Inspector shouldn't find "::before" to avoid confusion, just like GoogleChrome does
Component: Developer Tools: Animation Inspector → Developer Tools: Inspector
Updated•7 years ago
|
Product: Firefox → DevTools
Updated•2 years ago
|
Severity: normal → S3
Updated•1 years ago
|
Blocks: devtools-pseudo
Comment 2•1 day ago
|
||
Note that this would require dedicated work, as the markup search will use querySelectorAll(query)
to get matching nodes, and pseudo elements can be retrieved that way
Updated•1 day ago
|
Blocks: meta-inspector-search
You need to log in
before you can comment on or make changes to this bug.
Description
•