<?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>20382</bug_id>
          
          <creation_ts>2008-08-14 06:42:04 -0700</creation_ts>
          <short_desc>Support svg elements inside plain HTML content</short_desc>
          <delta_ts>2011-03-21 11:20:34 -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>SVG</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac (Intel)</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc>http://livedom.validator.nu/?%3Ch1%3Efoo%3C%2Fh1%3E%0A%3Csvg%20%20viewBox%3D&apos;0%200%20100%20100&apos;%3E%0A%20%20%20%20%3Ccircle%20fill%3D&apos;green&apos;%20cx%3D&apos;0&apos;%20cy%3D&apos;0&apos;%20r%3D&apos;20&apos;%2F%3E%0A%3C%2Fsvg%3E</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Henri Sivonen">hsivonen</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>cmarcelo</cc>
    
    <cc>dvpdiner2</cc>
    
    <cc>hyatt</cc>
    
    <cc>joel.parks</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>88476</commentid>
    <comment_count>0</comment_count>
    <who name="Henri Sivonen">hsivonen</who>
    <bug_when>2008-08-14 06:42:04 -0700</bug_when>
    <thetext>Build: WebKit-SVN-r35752

Steps to reproduce:
 1) Load http://livedom.validator.nu/?%3Ch1%3Efoo%3C%2Fh1%3E%0A%3Csvg%20%20viewBox%3D&apos;0%200%20100%20100&apos;%3E%0A%20%20%20%20%3Ccircle%20fill%3D&apos;green&apos;%20cx%3D&apos;0&apos;%20cy%3D&apos;0&apos;%20r%3D&apos;20&apos;%2F%3E%0A%3C%2Fsvg%3E

Actual results:
Expected to see the lower right quarter of a green circle in the Rendered View after the heading &quot;foo&quot;.

Actual results:
The &lt;h1&gt; element renders but &lt;svg&gt; not.

Additional info:
The document object in the iframe is an HTML DOM. The elements (both HTML and SVG) are created with createElementNS. It works in Firefox 3 and Opera 9.5.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94465</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-10-07 16:38:26 -0700</bug_when>
    <thetext>Really?  This is effectively flattening the svg namespace into HTML.  Opera and FF really do this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94558</commentid>
    <comment_count>2</comment_count>
    <who name="Henri Sivonen">hsivonen</who>
    <bug_when>2008-10-08 10:19:28 -0700</bug_when>
    <thetext>It&apos;s not supposed to flatten the namespace. It&apos;s supposed to insert the SVG stuff in the SVG namespace. Firebug in Firefox shows that the SVG nodes end up in the SVG namespace. Web Inspector in WebKit shows that the SVG nodes implmement SVG-specific interfaces.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96118</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-10-21 15:40:25 -0700</bug_when>
    <thetext>We just have to decide if we want to do this or not.  This content is not valid SVG, certainly not valid XHTML but obviously FireFox has chosen to add this support (which I don&apos;t blame them, it sure makes things easier for authors).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97453</commentid>
    <comment_count>4</comment_count>
    <who name="Henri Sivonen">hsivonen</who>
    <bug_when>2008-11-03 05:15:45 -0800</bug_when>
    <thetext>Note that SVG-in-text/html support will mean that SVG subtrees (nodes in the SVG namespace with a subtree root whose local name is svg) need to be painted when inserted in an HTML-mode DOM.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>364715</commentid>
    <comment_count>5</comment_count>
    <who name="Joel Parks">joel.parks</who>
    <bug_when>2011-03-09 12:53:48 -0800</bug_when>
    <thetext>see BR-6699</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>366887</commentid>
    <comment_count>6</comment_count>
    <who name="Henri Sivonen">hsivonen</who>
    <bug_when>2011-03-14 01:22:50 -0700</bug_when>
    <thetext>This has been fixed at some point.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>