Searching HTML elements for <attribute>= does not return the correct results
Reported by
dave...@gmail.com,
Apr 21 2016
|
||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36 Steps to reproduce the problem: 1. Navigate to http://www.cnet.com 2. Open DevTools to Elements tab 3. cmd+f or ctrl+f to search elements 4. Type in class= or content= 5. Observe low amount of results matching a string that should definitely be found in the source What is the expected behavior? Searching a string of text should find all strings that match what was typed. What went wrong? I assume what is going wrong is that typing in the equals sign (=) is causing the find engine to search as a selector or XPath and not as a string search. Essentially nothing is being found when typing in class= Did this work before? N/A Chrome version: 49.0.2623.112 Channel: n/a OS Version: OS X 10.10.5 Flash Version: Shockwave Flash 21.0 r0 I have confirmed with several other devs in my office. Note that the find on "View Page Source" works as intended.
,
Apr 25 2016
,
Jul 29 2016
,
Dec 5 2017
Comment #1 gave a good explanation for the behavior.
,
Dec 7 2017
It still seems busted to me that I can be looking at the raw html and see something like data-item="trigger" and then type that exact string into the search bar and turn up zero results. Could there be some kind of fallback behavior if no results are found? |
||||
►
Sign in to add a comment |
||||
Comment 1 by l446240525@gmail.com
, Apr 22 2016