<?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>9657</bug_id>
          
          <creation_ts>2010-05-05 02:58:56 +0000</creation_ts>
          <short_desc>Content model of object</short_desc>
          <delta_ts>2012-08-24 17:30:09 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>pre-LC1 HTML5 spec (editor: Ian Hickson)</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://dev.w3.org/html5/spec/text-level-semantics</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>a11y, WGDecision</keywords>
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>LC</target_milestone>
          
          <blocked>9658</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Leif Halvard Silli">xn--mlform-iua</reporter>
          <assigned_to name="Erika Doyle Navara">erika.doyle</assigned_to>
          <cc>cooper</cc>
    
    <cc>erika.doyle</cc>
    
    <cc>ian</cc>
    
    <cc>julian.reschke</cc>
    
    <cc>laura.lee.carlson</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>rubys</cc>
    
    <cc>xn--mlform-iua</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>35432</commentid>
    <comment_count>0</comment_count>
    <who name="Leif Halvard Silli">xn--mlform-iua</who>
    <bug_when>2010-05-05 02:58:56 +0000</bug_when>
    <thetext>The spec defines the content model of &lt;object&gt; as &quot;Zero or more param elements, then, transparent.&quot; Which means that only the content which the parent of &lt;object&gt; permits, is permitted inside &lt;object&gt;.

http://dev.w3.org/html5/spec/embedded-content-0.html#transparent

Compared with HTML4, then this is valid:

&lt;p&gt;
  &lt;span&gt;
     &lt;object type=&quot;image/gif&quot; data=&quot;image&quot;&gt;
        &lt;p&gt;Falback.&lt;/p&gt;
        &lt;p&gt;Backfall.&lt;/p&gt;
     &lt;/object&gt;
    &lt;/span&gt;
&lt;/p&gt;

Also, iif you try to validate as  HTML4/XHTML1.x a &lt;p&gt; inside a &lt;p&gt;:

&lt;p&gt;Outer &lt;p&gt;Inner&lt;/p&gt; Outer&lt;/p&gt;

then the validator.w3.org specifically tells us that this is an error, which can be corrected by wrapping it inside a object:

]]
document type does not allow element &quot;p&quot; here; missing one of &quot;object&quot;, &quot;ins&quot;, &quot;del&quot;, &quot;map&quot;, &quot;button&quot; start-tag
[[</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36433</commentid>
    <comment_count>1</comment_count>
    <who name="Leif Halvard Silli">xn--mlform-iua</who>
    <bug_when>2010-06-27 03:06:30 +0000</bug_when>
    <thetext>ISSUE-107 is related to this.  Lachlan&apos;s example breaks with the new content model of HTML5, as it - per HTML5&apos;s understanding - is nesting a &lt;p&gt; inside a &lt;p&gt;:

&lt;p&gt;
    &lt;object type=&quot;application/vnd.o3d.auto&quot;&gt;
     &lt;param name=&quot;o3d_features&quot; value=&quot;FloatingPointTextures&quot;&gt;
     &lt;img src=&quot;o3d-teapot.png&quot;
          title=&quot;3D Utah Teapot illustration rendered using O3D.&quot;
          alt=&quot;When O3D renders the Utah Teapot, it appears as a squat
          teapot with a shiny metallic finish on which the
          surroundings are reflected, with a faint shadow caused by
          the lighting.&quot;&gt;
     &lt;p&gt;To see the teapot actually rendered by O3D on your
     computer, please download and install the &lt;a
     href=&quot;http://code.google.com/apis/o3d/docs/gettingstarted.html#install&quot;&gt;O3D plugin&lt;/a&gt;.&lt;/p&gt;
    &lt;/object&gt;
    &lt;script src=&quot;o3d-teapot.js&quot;&gt;&lt;/script&gt;
&lt;/p&gt;

http://www.whatwg.org/specs/web-apps/current-work/multipage/the-iframe-element.html#the-param-element</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36437</commentid>
    <comment_count>2</comment_count>
    <who name="Leif Halvard Silli">xn--mlform-iua</who>
    <bug_when>2010-06-27 16:26:23 +0000</bug_when>
    <thetext>For the claim that HTML4 meant to align the content model of &lt;object&gt; and the content model of &lt;ins&gt; and &lt;del&gt;, then note that   the W3 HTML4 and XHTML1 validation service currently does not implement HTML4.01, but stamps the example which HTML4 lists as illegal, as legal. 

Example found here: http://lists.w3.org/Archives/Public/public-html/2010Jun/0641.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36438</commentid>
    <comment_count>3</comment_count>
    <who name="Leif Halvard Silli">xn--mlform-iua</who>
    <bug_when>2010-06-27 16:29:34 +0000</bug_when>
    <thetext>Related message w.r.t. &lt;ins&gt;,&lt;del&gt; and &lt;object&gt;: http://lists.w3.org/Archives/Public/public-html/2010Jun/0642.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36439</commentid>
    <comment_count>4</comment_count>
    <who name="Leif Halvard Silli">xn--mlform-iua</who>
    <bug_when>2010-06-27 16:47:38 +0000</bug_when>
    <thetext>This bug relates to A11Y as it impacts how to place fallback in obejct. See my reply to David: [1]

&gt;&gt; But why would you want to allow nested paragraphs only when there is
&gt;&gt; an object element between them?
&gt; 
&gt; Because, technically, it then isn&apos;t a paragraph inside a paragraph. It 
&gt; is a paragraph inside an object inside an a paragraph. From a practical 
&gt; point of view, because &lt;object&gt; is supposed to have fallback, including 
&gt; long fallbacks and transcripts. With the HTML5 limitation, you would 
&gt; have to to this:
&gt; 
&gt; &lt;p&gt;Paragraph 1.
&gt; &lt;div&gt;Paragraph 2: &lt;object data=&quot;image&quot;&gt;&lt;p&gt;Fallback.&lt;/object&gt;&lt;/div&gt;
&gt; &lt;p&gt;Paragraph 3.
&gt; 
&gt; Whereas the HTML4 model allows us to do the logical thing:
&gt; 
&gt; &lt;p&gt;Paragraph 1.
&gt; &lt;p&gt;Paragraph 2: &lt;object data=&quot;image&quot;&gt;&lt;p&gt;Fallback.&lt;/object&gt;
&gt; &lt;p&gt;Paragraph 3.


[1] http://lists.w3.org/Archives/Public/public-html/2010Jun/0637</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37524</commentid>
    <comment_count>5</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-08-16 22:27:22 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Did Not Understand Request
Change Description: no spec change
Rationale: I don&apos;t understand. Could you elaborate?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37532</commentid>
    <comment_count>6</comment_count>
    <who name="Leif Halvard Silli">xn--mlform-iua</who>
    <bug_when>2010-08-16 23:14:33 +0000</bug_when>
    <thetext>(In reply to comment #5)

&gt; Status: Did Not Understand Request
&gt; Change Description: no spec change
&gt; Rationale: I don&apos;t understand. Could you elaborate?

The request is to define a content model for the object element which is compatible with the HTML4 content model for the same elelement.

By defining the content model as transparent, HTML5 makes it forbidden to do the following (which is not forbiddenin HTML4 or XHTML1):

&lt;span&gt;
  &lt;object type=&quot;*&quot; data=&quot;*&quot;&gt;
     &lt;p&gt;
  &lt;/object&gt;
&lt;/span&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38304</commentid>
    <comment_count>7</comment_count>
    <who name="Michael Cooper">cooper</who>
    <bug_when>2010-08-31 13:37:16 +0000</bug_when>
    <thetext>http://lists.w3.org/Archives/Public/public-html-a11y/2010Aug/0013.html

The bug triage sub-team thinks the HTML A11Y TF does not need to formally follow this bug. Original submitters or other interested parties may choose to continue to push this issue on their own. Notes from the sub-team may follow in a separate comment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38315</commentid>
    <comment_count>8</comment_count>
    <who name="Michael Cooper">cooper</who>
    <bug_when>2010-08-31 13:37:51 +0000</bug_when>
    <thetext>Bug triage sub-team says as long as fallback can be provided, we&apos;re not persnickety about the form</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38355</commentid>
    <comment_count>9</comment_count>
    <who name="Leif Halvard Silli">xn--mlform-iua</who>
    <bug_when>2010-08-31 21:18:29 +0000</bug_when>
    <thetext>(In reply to comment #8)
&gt; Bug triage sub-team says as long as fallback can be provided, we&apos;re not
&gt; persnickety about the form

This bug is not about form.  But about content model.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38913</commentid>
    <comment_count>10</comment_count>
    <who name="Leif Halvard Silli">xn--mlform-iua</who>
    <bug_when>2010-09-12 13:21:49 +0000</bug_when>
    <thetext>New info has been provided.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39651</commentid>
    <comment_count>11</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-09-28 06:07:18 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale: I don&apos;t understand why we would want to duplicate the error from HTML4 here.  An &lt;object&gt; representing its fallback is essentially acting as if it wasn&apos;t there. Having a paragraph contain a paragraph is bogus.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44596</commentid>
    <comment_count>12</comment_count>
    <who name="Leif Halvard Silli">xn--mlform-iua</who>
    <bug_when>2011-01-22 02:38:10 +0000</bug_when>
    <thetext>Adding TrackerRequest.  This change TrackerRequest also relates to Bug 9428.

Suggested title and text for the issue tracker:

TITLE: HTML4&apos;s content-model for &lt;object&gt; should continue

TEXT: 

In XHTML1 and HTML4, the &lt;object&gt; element creates a new context, where the parent element is ignored when the content of object is validated.

This permits such constructs such as 
 
   &lt;p&gt;Paragraph 1 
         &lt;object&gt;&lt;p&gt;Seemingly nested paragraph&lt;/p&gt;&lt;/object&gt;
          Still paragraph 1&lt;/p&gt;

In fact, the solution text to ISSUE-107 resulted that the editor inserted exactly such an example into the specification. http://dev.w3.org/html5/spec/the-iframe-element.html#the-param-element 

http://www.w3.org/html/wg/tracker/issues/107

The change proposal for ISSUE-128 also identifies a compatibility-need for using &lt;object&gt; to avoid that &lt;p&gt; is autoclosed by &lt;figure&gt; in some parsers.

http://www.w3.org/html/wg/wiki/ChangeProposals/FigureInP</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44606</commentid>
    <comment_count>13</comment_count>
    <who name="Ms2ger">Ms2ger</who>
    <bug_when>2011-01-22 11:29:03 +0000</bug_when>
    <thetext>Please read the decision policy.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44608</commentid>
    <comment_count>14</comment_count>
    <who name="Julian Reschke">julian.reschke</who>
    <bug_when>2011-01-22 11:38:11 +0000</bug_when>
    <thetext>(In reply to comment #13)
&gt; Please read the decision policy.

Not sure what part you&apos;re referring to; is it about the bug being in the state &quot;open&quot;? That seems to be a mistake, as the Editor has set it to &quot;Resolved, Invalid&quot;.

Re-adding TrackerRequest.

W3C Team - if the state being &quot;open&quot; is a problem then please set it back to the latest state the Editor set, being &quot;Resolved Invalid&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44609</commentid>
    <comment_count>15</comment_count>
    <who name="Ms2ger">Ms2ger</who>
    <bug_when>2011-01-22 11:39:27 +0000</bug_when>
    <thetext>Open bug with TrackerRequest keyword is an invalid state.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44610</commentid>
    <comment_count>16</comment_count>
    <who name="Julian Reschke">julian.reschke</who>
    <bug_when>2011-01-22 11:43:24 +0000</bug_when>
    <thetext>(In reply to comment #15)
&gt; Open bug with TrackerRequest keyword is an invalid state.

So close the bug.

If you believe what by removing the TrackerRequest keyword you can prevent an Issue being raised, you are wrong.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44611</commentid>
    <comment_count>17</comment_count>
    <who name="Ms2ger">Ms2ger</who>
    <bug_when>2011-01-22 11:45:32 +0000</bug_when>
    <thetext>(In reply to comment #16)
&gt; (In reply to comment #15)
&gt; &gt; Open bug with TrackerRequest keyword is an invalid state.
&gt; 
&gt; So close the bug.

You&apos;re free to do that.

&gt; If you believe what by removing the TrackerRequest keyword you can prevent an
&gt; Issue being raised, you are wrong.

I don&apos;t. However, I think Leif should decide which action to take.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44612</commentid>
    <comment_count>18</comment_count>
    <who name="Sam Ruby">rubys</who>
    <bug_when>2011-01-22 12:19:28 +0000</bug_when>
    <thetext>http://www.w3.org/html/wg/tracker/issues/158</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71818</commentid>
    <comment_count>19</comment_count>
    <who name="Sam Ruby">rubys</who>
    <bug_when>2012-08-03 10:41:25 +0000</bug_when>
    <thetext>Decision:

  http://lists.w3.org/Archives/Public/public-html/2012Jul/0250.html

Change Proposal:

  http://www.w3.org/html/wg/wiki/FlowContentInObject</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72706</commentid>
    <comment_count>20</comment_count>
    <who name="Erika Doyle Navara">erika.doyle</who>
    <bug_when>2012-08-24 17:30:09 +0000</bug_when>
    <thetext>The Working Group decision for Issue 158 has been applied to the spec. Please
review the change:

https://github.com/w3c/html/commit/9e9d6bad81a383a7736b962d0ee3e80330db6d7c

To see the changes in context, please see:

http://dev.w3.org/html5/spec/the-object-element.html#the-object-element
http://dev.w3.org/html5/spec/content-models.html#transparent-content-models
http://dev.w3.org/html5/spec/content-models.html#paragraphs</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>