<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>17126</bug_id>
          
          <creation_ts>2008-01-31 17:06:57 -0800</creation_ts>
          <short_desc>Web Inspector: selectors in the Styles pane should trigger a search for that selector when clicked</short_desc>
          <delta_ts>2016-07-01 13:35:09 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Inspector</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Adam Roben (:aroben)">aroben</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bburg</cc>
    
    <cc>chrisjshull</cc>
    
    <cc>graouts</cc>
    
    <cc>joepeck</cc>
    
    <cc>nvasilyev</cc>
    
    <cc>timothy</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>68986</commentid>
    <comment_count>0</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2008-01-31 17:06:57 -0800</bug_when>
    <thetext>Now that we&apos;ve fixed bug 16234 we should linkify selectors in the Styles pane so that when you click them the selector is placed in the Inspector&apos;s search field and a search is performed. This will make it easy to see all the nodes that match a particular selector and therefore have those styles applied.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68990</commentid>
    <comment_count>1</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2008-01-31 17:12:22 -0800</bug_when>
    <thetext>&lt;rdar://problem/5718859&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>156408</commentid>
    <comment_count>2</comment_count>
      <attachid>41549</attachid>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2009-10-20 23:08:37 -0700</bug_when>
    <thetext>Created attachment 41549
[PATCH] Perform Search when Single Clicking a Selector

This turns out to be really awesome!  Great job whoever implemented searching!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>156409</commentid>
    <comment_count>3</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2009-10-20 23:13:15 -0700</bug_when>
    <thetext>Video Showing What this feels like: (although my commentary is horrible!)
http://screencast.com/t/rFBUL7vy2d</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>156414</commentid>
    <comment_count>4</comment_count>
      <attachid>41550</attachid>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2009-10-20 23:25:50 -0700</bug_when>
    <thetext>Created attachment 41550
[PATCH] Perform Search when Single Clicking a Selector

Piggy backing a little fix for editing attributes at the same time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>156470</commentid>
    <comment_count>5</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2009-10-21 06:45:54 -0700</bug_when>
    <thetext>Landed in http://trac.webkit.org/changeset/49904
r49904 = 0b3e4bd8da685736976258b07c4234273878c9f9</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>156480</commentid>
    <comment_count>6</comment_count>
    <who name="Pavel Feldman">pfeldman</who>
    <bug_when>2009-10-21 07:20:26 -0700</bug_when>
    <thetext>A small follow-up comment.

As of today, search is implemented somewhat inefficient. It is going to search through the entire document and push the results into the frontend, no matter whether nodes are reached there or not. So it&apos;ll be slow for large documents.

We can optimize it either in general case (for search to respond with ids of found elements and asynchronously query for the next ones), or for this case only where we make search return results the nodes that are already in frontend (i.e. superset of the visible ones).

One usability nit: there is no notion of the current search result and hence using the search field and highlight is a bit confusing. I am also not a fan of the approach where selecting a non-selectable element is populating the search field and is not cleaning it up on losing selection.

Due to the reasons above, Eclipse has a feature called &quot;Mark occurrences&quot;. It is a toggle toolbar button that enables a mode where whatever you touch (move cursor to) is searched over the document and is being highlighted. When you move caret to another location it&apos;ll wait a bit and select occurrences of the new thing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>156495</commentid>
    <comment_count>7</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2009-10-21 08:38:30 -0700</bug_when>
    <thetext>(In reply to comment #6)
&gt; One usability nit: there is no notion of the current search result and hence
&gt; using the search field and highlight is a bit confusing.

This is true. Maybe add some kind of pointer like how the Scripts Debugger indicates the current statement.  Or adding a style class.  On problem I had is if the current node is selected and highlighted. This is easily solvable with CSS.  A quick example:
http://grab.by/b0A

  :focus .outline-disclosure li.selected.highlighted .selection {
      background-color: rgb(255, 153, 0);
  }


&gt; I am also not a fan of
&gt; the approach where selecting a non-selectable element is populating the search
&gt; field and is not cleaning it up on losing selection.

I don&apos;t follow this.&quot;Selecting a non-selectable element&quot;?  I could see how not cleaning up the search field could be annoying.


&gt; Due to the reasons above, Eclipse has a feature called &quot;Mark occurrences&quot;. It
&gt; is a toggle toolbar button that enables a mode where whatever you touch (move
&gt; cursor to) is searched over the document and is being highlighted. When you
&gt; move caret to another location it&apos;ll wait a bit and select occurrences of the
&gt; new thing.

This sounds good to me.  Hover over (instead of clicking) a selector to highlight the nodes it affects. Also, its worth noting that WebInspector.panels.elements.performSearch(selector) works without populating the search field, but it doesn&apos;t show the # of results found.  We could probably clean all of this up when improving searching like Pavel mentioned in his comment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>157383</commentid>
    <comment_count>8</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2009-10-23 17:20:00 -0700</bug_when>
    <thetext>&gt; &gt; Due to the reasons above, Eclipse has a feature called &quot;Mark occurrences&quot;. It
&gt; &gt; is a toggle toolbar button that enables a mode where whatever you touch (move
&gt; &gt; cursor to) is searched over the document and is being highlighted. When you
&gt; &gt; move caret to another location it&apos;ll wait a bit and select occurrences of the
&gt; &gt; new thing.
&gt; 
&gt; This sounds good to me.  Hover over (instead of clicking) a selector to
&gt; highlight the nodes it affects. Also, its worth noting that
&gt; WebInspector.panels.elements.performSearch(selector) works without populating
&gt; the search field, but it doesn&apos;t show the # of results found.  We could
&gt; probably clean all of this up when improving searching like Pavel mentioned in
&gt; his comment.

Here is the experiment:
http://screencast.com/t/JeuRXu2UaBb

Improvements:
- Perform a search only on selectors, not a full text search. This means that you only get the Nodes that the selector affects, not the full-text-search that searching &quot;a&quot; or &quot;p&quot; would do.

Usability issues:
- What if the user already has a search performed?  I am attempting to stash their search and restore their search state when I would normally clear.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>157397</commentid>
    <comment_count>9</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2009-10-23 18:03:28 -0700</bug_when>
    <thetext>Comments from pfeldman in IRC:

- it is more than discoverable, that is a bit annoying.
- what is the user story for this feature?
- it is rarely required to navigate from selector to a node, this should be a popup menu-level feature... you need it rarely.
- if only you highlighted them in the inspected page, i would buy it. highlighting in inspector is not useful. i mean i will see it in the mess of other tags, so what... whereas on the page it makes perfect sense
- ideally, i would like it to highlight in yellow and dim as the navigation to resource does with the line. that way it will not have the &quot;marked&quot; state and will be ideal!
- while editing style, we could keep the highlight until change is committed

I am not sold that it is not useful in the inspector.  I agree it would be useful to highlight them on the inspected page (would require adding support for highlighting multiple nodes in inspector clients).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>157412</commentid>
    <comment_count>10</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2009-10-23 19:59:12 -0700</bug_when>
    <thetext>The use case I see for it is to know what other elements you mgith be affectign with this style rule. So if you edit, you know what other things you are affecting.

A pop-up menu item seems fine, it would be the first one on style rules.

Maybe we don&apos;t inject the selector in the search field if it clears when you move the mouse out. Just do the search behind the scenes and highlight the nodes in the tree (and/or page). If they had a search this would temporality replace the highlighted nodes until the mouse left, then it would restore.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>163163</commentid>
    <comment_count>11</comment_count>
      <attachid>41550</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2009-11-12 18:51:24 -0800</bug_when>
    <thetext>Comment on attachment 41550
[PATCH] Perform Search when Single Clicking a Selector

joepeck is a committer.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>163186</commentid>
    <comment_count>12</comment_count>
      <attachid>41550</attachid>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2009-11-12 19:37:53 -0800</bug_when>
    <thetext>Comment on attachment 41550
[PATCH] Perform Search when Single Clicking a Selector

clearing flags on already committed patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>972295</commentid>
    <comment_count>13</comment_count>
    <who name="Blaze Burg">bburg</who>
    <bug_when>2014-01-26 18:40:51 -0800</bug_when>
    <thetext>The UI for this feature needs to be rethought.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1063996</commentid>
    <comment_count>14</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2015-01-25 07:59:10 -0800</bug_when>
    <thetext>We could show a magnifying glass next to the selector that triggers it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1203353</commentid>
    <comment_count>15</comment_count>
    <who name="Nikita Vasilyev">nvasilyev</who>
    <bug_when>2016-06-17 11:31:16 -0700</bug_when>
    <thetext>A year ago, we started to highlight DOM nodes on the web page when hovering on selectors.

Bug 145658: Web Inspector: Hovering over CSS selectors in Styles panel show highlight matching elements on the web page

In addition to that, perhaps we should highlight DOM tree outline nodes when hovering over selectors.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1207240</commentid>
    <comment_count>16</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2016-07-01 13:35:09 -0700</bug_when>
    <thetext>Nikita is right. I think we can close this at this point.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>41549</attachid>
            <date>2009-10-20 23:08:37 -0700</date>
            <delta_ts>2009-10-20 23:25:50 -0700</delta_ts>
            <desc>[PATCH] Perform Search when Single Clicking a Selector</desc>
            <filename>search.patch</filename>
            <type>text/plain</type>
            <size>3134</size>
            <attacher name="Joseph Pecoraro">joepeck</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYkNvcmUvQ2hhbmdlTG9nIGIvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXgg
MTZlZDllNy4uNmM2OTY5NiAxMDA2NDQKLS0tIGEvV2ViQ29yZS9DaGFuZ2VMb2cKKysrIGIvV2Vi
Q29yZS9DaGFuZ2VMb2cKQEAgLTEsMyArMSwxNSBAQAorMjAwOS0xMC0yMCAgSm9zZXBoIFBlY29y
YXJvICA8am9lcGVja0B3ZWJraXQub3JnPgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAo
T09QUyEpLgorCisgICAgICAgIFdlYiBJbnNwZWN0b3I6IFNlbGVjdG9ycyBpbiB0aGUgU3R5bGVz
IHBhbmUgc2hvdWxkIHRyaWdnZXIgYSBzZWFyY2ggZm9yIHRoYXQgc2VsZWN0b3Igd2hlbiBjbGlj
a2VkCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD0xNzEy
NgorCisgICAgICAgICogaW5zcGVjdG9yL2Zyb250LWVuZC9FbGVtZW50c1BhbmVsLmpzOgorICAg
ICAgICAoV2ViSW5zcGVjdG9yLkVsZW1lbnRzUGFuZWwucHJvdG90eXBlLmFkZE5vZGVzVG9TZWFy
Y2hSZXN1bHQpOiBvbmx5IGNoYW5nZSBmb2N1c2VkRE9NTm9kZSBvbiBhI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ZVJ1bGUuc2VsZWN0b3JUZXh0OworICAgICAgICBXZWJJbnNwZWN0b3IucGVyZm9ybVNlYXJj
aCh7IHRhcmdldDogc2VhcmNoRWxlbWVudCB9KTsKKyAgICB9LAorCiAgICAgX2RibGNsaWNrRW1w
dHlTcGFjZTogZnVuY3Rpb24oZXZlbnQpCiAgICAgewogICAgICAgICB0aGlzLmV4cGFuZCgpOwo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>41550</attachid>
            <date>2009-10-20 23:25:50 -0700</date>
            <delta_ts>2010-06-10 19:36:41 -0700</delta_ts>
            <desc>[PATCH] Perform Search when Single Clicking a Selector</desc>
            <filename>search.patch</filename>
            <type>text/plain</type>
            <size>4141</size>
            <attacher name="Joseph Pecoraro">joepeck</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYkNvcmUvQ2hhbmdlTG9nIGIvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXgg
MTZlZDllNy4uMTg1YjIzNyAxMDA2NDQKLS0tIGEvV2ViQ29yZS9DaGFuZ2VMb2cKKysrIGIvV2Vi
Q29yZS9DaGFuZ2VMb2cKQEAgLTEsMyArMSwxNyBAQAorMjAwOS0xMC0yMCAgSm9zZXBoIFBlY29y
YXJvICA8am9lcGVja0B3ZWJraXQub3JnPgorCisgICAgICAgIFJldmlld2VkIGJ5IFRpbW90aHkg
SGF0Y2hlci4KKworICAgICAgICBXZWIgSW5zcGVjdG9yOiBTZWxlY3RvcnMgaW4gdGhlIFN0eWxl
cyBwYW5lIHNob3VsZCB0cmlnZ2VyIGEgc2VhcmNoIGZvciB0aGF0IHNlbGVjdG9yIHdoZW4gY2xp
Y2tlZAorICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9MTcx
MjYKKworICAgICAgICAqIGluc3BlY3Rvci9mcm9udC1lbmQvRWxlbWVudHNQYW5lbC5qczoKKyAg
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Zl
bnQpCisgICAgeworICAgICAgICBldmVudC5zdG9wUHJvcGFnYXRpb24oKTsKKworICAgICAgICAv
LyBEb24ndCBzZWFyY2ggIkNvbXB1dGVkIFN0eWxlcyIsICJTdHlsZSBBdHRyaWJ1dGUiLCBvciBN
YXBwZWQgQXR0cmlidXRlcy4KKyAgICAgICAgaWYgKHRoaXMuY29tcHV0ZWRTdHlsZSB8fCAhdGhp
cy5ydWxlIHx8IHRoaXMucnVsZS5pc1VzZXIpCisgICAgICAgICAgICByZXR1cm47CisKKyAgICAg
ICAgdmFyIHNlYXJjaEVsZW1lbnQgPSBkb2N1bWVudC5nZXRFbGVtZW50QnlJZCgic2VhcmNoIik7
CisgICAgICAgIHNlYXJjaEVsZW1lbnQudmFsdWUgPSB0aGlzLnN0eWxlUnVsZS5zZWxlY3RvclRl
eHQ7CisgICAgICAgIFdlYkluc3BlY3Rvci5wZXJmb3JtU2VhcmNoKHsgdGFyZ2V0OiBzZWFyY2hF
bGVtZW50IH0pOworICAgIH0sCisKICAgICBfZGJsY2xpY2tFbXB0eVNwYWNlOiBmdW5jdGlvbihl
dmVudCkKICAgICB7CiAgICAgICAgIHRoaXMuZXhwYW5kKCk7Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>