Open
Bug 1542277
Opened 6 years ago
Updated 1 day ago
Inspector search discards pseudo selector nth-of-type
Categories
(DevTools :: Inspector, defect, P3)
Tracking
(Not tracked)
UNCONFIRMED
People
(Reporter: progonkpa, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
383.34 KB,
video/mp4
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0
Steps to reproduce:
- Open developer mode F12
- Navigate to Inspector tab
- In the search field enter: h4:nth-of-type(2)
Actual results:
The element was not found.
The search field discarded the pseudo selector colon included. The search field is then H4.
Expected results:
The element should be found, it was found in Chrome.
The search field should not manipulate the user input.
Updated•6 years ago
|
Component: Untriaged → Inspector
Product: Firefox → DevTools
Comment 1•6 years ago
|
||
Typing or pasting in the selector won't do a selector match, but a text match instead. Same issue as in Bug 1327740.
To reproduce this issue, make sure to type the selector, and select the first option from the auto-suggest dropdown (note the selector is cut-off there).
After pressing enter to use the suggestion option, notice the selector is trimmed to drop the pseudo-class part.
Updated•2 years ago
|
Severity: normal → S3
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
•