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

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>20721</bug_id>
          
          <creation_ts>2013-01-21 07:56:55 +0000</creation_ts>
          <short_desc>Why not using src attribute with dataURI instead srcdoc ?</short_desc>
          <delta_ts>2013-01-25 08:04:18 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/multipage/the-iframe-element.html#attr-iframe-srcdoc</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>cronier.jy</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>81621</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2013-01-21 07:56:55 +0000</bug_when>
    <thetext>Specification: 
Multipage: http://www.whatwg.org/C#the-iframe-element
Complete: http://www.whatwg.org/c#the-iframe-element

Comment:
Why not using src attribute with dataURI ? It&apos;s supported by all browsers  :
&lt;iframe
src=&quot;data:text/html;charset=utf-8,%3C%21DOCTYPE%20html%3E%3Chtml%20lang%3D%22e
n%22%3E%3Chead%3E%3Cmeta%20charset%3D%22utf-8%22%2F%3E%3Ctitle%3E%3C%2Ftitle%3
E%3C%2Fhead%3E%3Cbody%3E%3Cp%3Edid%20you%20get%20a%20cover%20picture%20yet%3F%
3C%2Fp%3E%3C%2Fbody%3E%3C%2Fhtml%3E&quot;&gt;&lt;/iframe&gt;

Posted from: 192.44.63.161
User agent: Mozilla/5.0 (Windows NT 5.1; rv:18.0) Gecko/20100101 Firefox/18.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81622</commentid>
    <comment_count>1</comment_count>
    <who name="JY Cronier">cronier.jy</who>
    <bug_when>2013-01-21 08:05:19 +0000</bug_when>
    <thetext>We can replace this:

&lt;iframe seamless sandbox srcdoc=&quot;&lt;p&gt;did you get a cover picture yet?&quot;&gt;&lt;/iframe&gt;

By:


&lt;iframe seamless sandbox src=&quot;data:text/html;charset=utf-8,%3C%21DOCTYPE%20html%3E%3Chtml%20lang%3D%22en%22%3E%3Chead%3E%3Cmeta%20charset%3D%22utf-8%22%2F%3E%3Ctitle%3E%3C%2Ftitle%3E%3C%2Fhead%3E%3Cbody%3E%3Cp%3Edid%20you%20get%20a%20cover%20picture%20yet%3F%3C%2Fp%3E%3C%2Fbody%3E%3C%2Fhtml%3E&quot;&gt;&lt;/iframe&gt;

And it&apos;s supported by all browsers :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82116</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-01-24 23:49:28 +0000</bug_when>
    <thetext>Does the second of those snippets in comment 1 really seem better to you than the first?

Yes, for now data: URLs are better because they work more. But in 20 years, I think life would be better if we&apos;re using the cleaner and easier-to-escape version rather than data: URLs.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>