<?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>24747</bug_id>
          
          <creation_ts>2014-02-20 19:08:58 +0000</creation_ts>
          <short_desc>3 questions: a) Why these many restrictions to iframe content if it ends up being treated as text? b) Why in XHTML there must be no content at all? c) Is it the same for palpable content of object ele [...]</short_desc>
          <delta_ts>2014-02-24 10:24:05 +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>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#iframe-content-model</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>anakin_rendine</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>100985</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2014-02-20 19:08:58 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-iframe-element.html
Multipage: http://www.whatwg.org/C#iframe-content-model
Complete: http://www.whatwg.org/c#iframe-content-model
Referrer: 

Comment:
3 questions: a) Why these many restrictions to iframe content if it ends up
being treated as text? b) Why in XHTML there must be no content at all? c) Is
it the same for palpable content of object elements in XHTML documents?

Posted from: 84.220.159.204
User agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.107 Safari/537.36</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100997</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-02-20 20:23:58 +0000</bug_when>
    <thetext>a) It ends up as text only in new UAs; in (really old) legacy UAs the &lt;iframe&gt; element isn&apos;t recognised and so the contents get parsed normally.

b) In XHTML, it all gets parsed normally, so if there were contents it would end up in the DOM as elements.

c) I don&apos;t understand the question.

Can you elaborate on c)?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101109</commentid>
    <comment_count>2</comment_count>
    <who name="">anakin_rendine</who>
    <bug_when>2014-02-21 14:59:44 +0000</bug_when>
    <thetext>(In reply to Ian &apos;Hixie&apos; Hickson from comment #1)
&gt; a) It ends up as text only in new UAs; in (really old) legacy UAs the
&gt; &lt;iframe&gt; element isn&apos;t recognised and so the contents get parsed normally.
&gt; 
&gt; b) In XHTML, it all gets parsed normally, so if there were contents it would
&gt; end up in the DOM as elements.
&gt; 
&gt; c) I don&apos;t understand the question.
&gt; 
&gt; Can you elaborate on c)?

Thanks for a) and b).
About c), my request was, if there is a need that the content of &lt;iframe&gt; is not parsed as markup (and in XHTML there must be no content at all), is it fine that in both HTML and XHTML &lt;object&gt; has elements inside it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101122</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-02-21 17:38:36 +0000</bug_when>
    <thetext>The difference is that &lt;object&gt; contents _are_ parsed in modern browsers, and even more importantly, the contents are _used_ when fallback is needed. So authors will be aware of its effects, and down-level users won&apos;t get unintended effects.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101126</commentid>
    <comment_count>4</comment_count>
    <who name="">anakin_rendine</who>
    <bug_when>2014-02-21 17:50:19 +0000</bug_when>
    <thetext>(In reply to Ian &apos;Hixie&apos; Hickson from comment #3)
I thought that the issue was the fact that XHTML-based parsers are uncapable of distinguishing where proper markup is to be hidden rather than shown normally (a bit of the idea behind the unusability of &lt;noscript&gt; in XHTML). Now I see, the problem is actually in the parsing. Thank you.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>