<?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>136965</bug_id>
          
          <creation_ts>2014-09-19 15:40:09 -0700</creation_ts>
          <short_desc>Web Inspector: Option+Click on CSS url(...) should jump to resource view</short_desc>
          <delta_ts>2014-09-20 08:34:18 -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>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joseph Pecoraro">joepeck</reporter>
          <assigned_to name="Joseph Pecoraro">joepeck</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>graouts</cc>
    
    <cc>joepeck</cc>
    
    <cc>jonowells</cc>
    
    <cc>timothy</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1036231</commentid>
    <comment_count>0</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2014-09-19 15:40:09 -0700</bug_when>
    <thetext>Option+Click on CSS url(...) should jump to resource view.

* TEST (test with an x.png)
&lt;style&gt;body { background: url(x.png) }&lt;/style&gt;
&lt;body&gt;Test&lt;/body&gt;

* STEPS TO REPRODUCE
1. Inspect test page
2. Select &lt;body&gt;
3. Show Styles sidebar
4. Option+Click &quot;x.png&quot;
  =&gt; should go to x.png resource view
5. Open html source code
6. Option+Click &quot;x.png&quot; in the &lt;style&gt;
  =&gt; should go to x.png resource view</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1036232</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2014-09-19 15:40:48 -0700</bug_when>
    <thetext>&lt;rdar://problem/18400129&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1036233</commentid>
    <comment_count>2</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2014-09-19 15:43:08 -0700</bug_when>
    <thetext>Tools/PrettyPrinting CSS test:
Source/WebInspectorUI/Tools/PrettyPrinting/index.html?mode=text%2Fcss&amp;content=body%20%7B%0A%20%20background%3A%20url(x.png)%3B%0A%20%20background%3A%20url(%22x.png%22)%3B%0A%7D

The contents inside url(...) are &quot;string&quot; token types not &quot;atom&quot;.

---

    body {
        background: url(x.png);
        background: url(&quot;x.png&quot;);
    }

---

    Token: &apos;tag&apos;         Position: &apos;0&apos;       Current: &apos;body&apos;
    Token: null          Position: &apos;4&apos;       Current: &apos; &apos;
    Token: null          Position: &apos;5&apos;       Current: &apos;{&apos;
    Token: null          Position: &apos;0&apos;       Current: &apos;  &apos;
    Token: &apos;property&apos;    Position: &apos;2&apos;       Current: &apos;background&apos;
    Token: null          Position: &apos;12&apos;      Current: &apos;:&apos;
    Token: null          Position: &apos;13&apos;      Current: &apos; &apos;
&gt;   Token: &apos;atom&apos;        Position: &apos;14&apos;      Current: &apos;url&apos;
    Token: null          Position: &apos;17&apos;      Current: &apos;(&apos;
&gt;   Token: &apos;string&apos;      Position: &apos;18&apos;      Current: &apos;x.png&apos;
    Token: null          Position: &apos;23&apos;      Current: &apos;)&apos;
    Token: null          Position: &apos;24&apos;      Current: &apos;;&apos;
    Token: null          Position: &apos;0&apos;       Current: &apos;  &apos;
    Token: &apos;property&apos;    Position: &apos;2&apos;       Current: &apos;background&apos;
    Token: null          Position: &apos;12&apos;      Current: &apos;:&apos;
    Token: null          Position: &apos;13&apos;      Current: &apos; &apos;
&gt;   Token: &apos;atom&apos;        Position: &apos;14&apos;      Current: &apos;url&apos;
    Token: null          Position: &apos;17&apos;      Current: &apos;(&apos;
&gt;   Token: &apos;string&apos;      Position: &apos;18&apos;      Current: &apos;&quot;x.png&quot;&apos;
    Token: null          Position: &apos;25&apos;      Current: &apos;)&apos;
    Token: null          Position: &apos;26&apos;      Current: &apos;;&apos;
    Token: null          Position: &apos;0&apos;       Current: &apos;}&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1036234</commentid>
    <comment_count>3</comment_count>
      <attachid>238395</attachid>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2014-09-19 15:56:44 -0700</bug_when>
    <thetext>Created attachment 238395
[PATCH] Proposed Fix</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1036304</commentid>
    <comment_count>4</comment_count>
      <attachid>238395</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2014-09-20 08:34:16 -0700</bug_when>
    <thetext>Comment on attachment 238395
[PATCH] Proposed Fix

Clearing flags on attachment: 238395

Committed r173792: &lt;http://trac.webkit.org/changeset/173792&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1036305</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2014-09-20 08:34:18 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>238395</attachid>
            <date>2014-09-19 15:56:44 -0700</date>
            <delta_ts>2014-09-20 08:34:15 -0700</delta_ts>
            <desc>[PATCH] Proposed Fix</desc>
            <filename>link-fix.patch</filename>
            <type>text/plain</type>
            <size>3252</size>
            <attacher name="Joseph Pecoraro">joepeck</attacher>
            
              <data encoding="base64">ZGlmZ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JpbmcgPSBz
dGF0ZS5fdXJsUXVvdGVDaGFyYWN0ZXIgPT09ICIpIjsKIAotICAgICAgICAgICAgICAgICAgICAv
LyBSZXdpbmQgdGhlIHN0ZWFtIHRvIHRoZSBzdGFydCBvZiB0aGlzIHRva2VuLgorICAgICAgICAg
ICAgICAgICAgICAvLyBSZXdpbmQgdGhlIHN0cmVhbSB0byB0aGUgc3RhcnQgb2YgdGhpcyB0b2tl
bi4KICAgICAgICAgICAgICAgICAgICAgc3RyZWFtLnBvcyA9IHN0YXJ0UG9zaXRpb247CiAKICAg
ICAgICAgICAgICAgICAgICAgLy8gRWF0IHRoZSBvcGVuIHF1b3RlIG9mIHRoZSBzdHJpbmcgc28g
dGhlIHN0cmluZyBzdHlsZQogICAgICAgICAgICAgICAgICAgICAvLyB3aWxsIGJlIHVzZWQgZm9y
IHRoZSBxdW90ZSBjaGFyYWN0ZXIuCiAgICAgICAgICAgICAgICAgICAgIGlmICghc3RhdGUuX3Vu
cXVvdGVkVVJMU3RyaW5nKQogICAgICAgICAgICAgICAgICAgICAgICAgc3RyZWFtLmVhdChzdGF0
ZS5fdXJsUXVvdGVDaGFyYWN0ZXIpOwotICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoaGV4Q29s
b3JSZWdleC50ZXN0KHN0cmVhbS5jdXJyZW50KCkpKQotICAgICAgICAgICAgICAgICAgICBzdHls
ZSA9IHN0eWxlICsgIiBoZXgtY29sb3IiOwotICAgICAgICAgICAgfSBlbHNlIGlmIChzdGF0ZS5f
ZXhwZWN0TGluaykgewotICAgICAgICAgICAgICAgIC8vIFdlIGV4cGVjdGVkIGEgc3RyaW5nIGFu
ZCBkaWRuJ3QgZ2V0IG9uZS4gQ2xlYW51cC4KLSAgICAgICAgICAgICAgICBkZWxldGUgc3RhdGUu
X2V4cGVjdExpbms7CisgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgfQogICAgICAgICB9
CiAK
</data>

          </attachment>
      

    </bug>

</bugzilla>