<?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>121319</bug_id>
          
          <creation_ts>2013-09-13 13:30:44 -0700</creation_ts>
          <short_desc>Web Inspector: DOM content of externally loaded SVG files should be available in the Web Inspector through an iframe-like view.</short_desc>
          <delta_ts>2016-12-13 15:36:50 -0800</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>NEW</bug_status>
          <resolution></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="James Craig">jcraig</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>inspector-bugzilla-changes</cc>
    
    <cc>jcraig</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>928984</commentid>
    <comment_count>0</comment_count>
    <who name="James Craig">jcraig</who>
    <bug_when>2013-09-13 13:30:44 -0700</bug_when>
    <thetext>Web Inspector: DOM content of externally loaded SVG files should be available in the Web Inspector through an iframe-like view. You can load SVG markup directly in the HTML, or reference an external .svg file from an &lt;img&gt; tag. WebKit has the ability to see both, but the Web Inspector only displays the content of the inline markup.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>928985</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2013-09-13 13:31:21 -0700</bug_when>
    <thetext>&lt;rdar://problem/14988123&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>928986</commentid>
    <comment_count>2</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2013-09-13 13:35:09 -0700</bug_when>
    <thetext>Do you mean DOM or source?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>931814</commentid>
    <comment_count>3</comment_count>
    <who name="James Craig">jcraig</who>
    <bug_when>2013-09-21 13:19:02 -0700</bug_when>
    <thetext>DOM I guess. For example, The source HTML document referencing an iframe only has the HREF to the frame source, but the Web Inspector displays the DOM of the iframe. I think it should do the same for SVG images, since they also have a DOM that is loaded and displayed by WebKit within the current page&apos;s view.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>931816</commentid>
    <comment_count>4</comment_count>
    <who name="James Craig">jcraig</who>
    <bug_when>2013-09-21 13:21:23 -0700</bug_when>
    <thetext>&lt;rdar://problem/12611265&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1161221</commentid>
    <comment_count>5</comment_count>
    <who name="James Craig">jcraig</who>
    <bug_when>2016-02-02 00:56:52 -0800</bug_when>
    <thetext>In another thread, Joseph Scheuhammer noticed:

&gt; ...the HTML spec for the &lt;img&gt; elements states that it has an empty content model [1], making &lt;img&gt; a leaf node.
&gt; 
&gt; [1]https://www.w3.org/html/wg/drafts/html/master/semantics.html#the-img-element

I believe the HTML spec should be updated to call some images a &quot;nested browsing context&quot; like an iframe, which may allow for an IDL change related to this dev tools enhancement.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1162012</commentid>
    <comment_count>6</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2016-02-04 09:44:59 -0800</bug_when>
    <thetext>(In reply to comment #5)
&gt; In another thread, Joseph Scheuhammer noticed:
&gt; 
&gt; &gt; ...the HTML spec for the &lt;img&gt; elements states that it has an empty content model [1], making &lt;img&gt; a leaf node.
&gt; &gt; 
&gt; &gt; [1]https://www.w3.org/html/wg/drafts/html/master/semantics.html#the-img-element
&gt; 
&gt; I believe the HTML spec should be updated to call some images a &quot;nested
&gt; browsing context&quot; like an iframe, which may allow for an IDL change related
&gt; to this dev tools enhancement.

Even if the HTML spec does not change, we could still do this for &lt;img&gt; in the Elements tab.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>