<?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>9658</bug_id>
          
          <creation_ts>2010-05-05 04:04:25 +0000</creation_ts>
          <short_desc>Define (correctly) how object, ins, del, map, button affects outlines</short_desc>
          <delta_ts>2010-10-04 14:46:39 +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>WONTFIX</resolution>
          
          
          <bug_file_loc>http://dev.w3.org/html5/spec/text-level-semantics.html#the-object-element</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>LC</target_milestone>
          <dependson>9657</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Leif Halvard Silli">xn--mlform-iua</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</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>35442</commentid>
    <comment_count>0</comment_count>
    <who name="Leif Halvard Silli">xn--mlform-iua</who>
    <bug_when>2010-05-05 04:04:25 +0000</bug_when>
    <thetext>Neither &quot;object&quot;, &quot;ins&quot;, &quot;del&quot;, &quot;map&quot; nore &quot;button&quot;  are defined as &apos;sectioning root&apos; or &apos;sectioning content&apos; elements.

Instead, they are defined as having a transparent content model. My suspicion is that it is because they are defined as having a transparent content model, that it isn&apos;t defined how they take part in outlines. I&apos;l list the specific elements in question.

OBJECT
-----

If you for example have a document &lt;body&gt; like this:

&lt;body&gt;
&lt;h1&gt;Foo&lt;/h1&gt;
&lt;p&gt;&amp;#8230;&lt;/p&gt;
&lt;object type=image/gif  data=image&gt;
  &lt;section&gt;
     &lt;h2&gt;Bar&lt;/h2&gt;
     &lt;p&gt;&amp;#8230;&lt;/p&gt;
  &lt;/section&gt;
&lt;/object&gt;
&lt;h3&gt;Bas&lt;/h3&gt;
&lt;p&gt;&amp;#8230;&lt;/p&gt;
&lt;/body&gt;

then the outlining algorithm would, as I gather, see a document with 3 headings, where the &lt;h2&gt; would be the outline &quot;child&quot; of &lt;h1&gt;, despite that &lt;h2&gt; is child of &lt;object&gt;. And likewise, &lt;h3&gt; would be the child of &lt;h2&gt;, despite that one is inside and the other is outside &lt;object&gt;:

  |-H1:Foo
  |--H2:Bar
  |---H3:Bas

The logical thing is that the content of &lt;object&gt; creates its own outline, independent from the &quot;global&quot; outline of the document. Only those that read the fallback will perceive it. Also, if &lt;object&gt; is used like &lt;iframe&gt;, to embed an external HTML document, then the outline of the external document also creates its own outline. 

  |-H1:Foo
  |&lt;object&gt;&lt;!-- not part of outline: --&gt;
  |                 H2:Bar 
  |&lt;/object&gt;
  |-- H3:Bas

BUTTON
-------

The &lt;button&gt; element should be treated much like the mark-up fallback of &lt;object&gt; - it shoudl build its own independent outline.

MAP
---

Firstly, if &lt;map&gt; occurs inside &lt;object&gt;, then the outline problem must eventually &quot;happen&quot; inside &lt;object&gt;.
But, secondly, in general, it seems most logical to me to treat it the content of &lt;map&gt; as if it builds its own outline, also when it occurs outside &lt;object&gt;. Because &lt;map&gt; is kind of like the fallback text of an image also when it it is situated outside the &lt;object&gt;. So, for example, if a &lt;map&gt; contains a &lt;h2&gt; element, then this element should probably not take part in the over all outline of the document.

INS &amp; DEL
-------

INS
....
&lt;ins&gt; represents content which is part of the document. Thus it should no doubt  take part in the algorithm.

DEL
....
&lt;del&gt; represents content which has been removed from the document. Thus it does not seem logical that content inside &lt;del&gt; contribute to the over all outline of a document. 

OTOH, it could seem logical if one was able to switch between seeing the outline with &lt;ins&gt; and with &lt;del&gt;. (In other words: there are many possibilities when it comes to &lt;ins&gt; and &lt;del&gt;. One could also imagine outlines based on INS or DEL with the same date stamps in the datetime attirbute etcs. )

Reference: the A elemenet
--------------------

Just for reference, I mention &lt;a&gt;, which is also transparent. &lt;a&gt; should of course take part in the over all outline of the document. I mention it here to show how it is wrong to juxtapose &lt;object&gt; and &lt;a&gt; - they should have diffefent outline effects. (And thus also have different content models - bug 9657.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37523</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-08-16 22:26:55 +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: Your understanding of the algorithm is wrong. &lt;object&gt; works just like &lt;div&gt;.

Please file other issues in their own bugs.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>