<?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>14520</bug_id>
          
          <creation_ts>2011-10-20 09:54:51 +0000</creation_ts>
          <short_desc>consider to add element &lt;outside&gt; to de-section some text</short_desc>
          <delta_ts>2011-10-25 02:32:03 +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>HTML5 spec</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></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Giorgio">giorgio.liscio</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>jackalmage</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>58526</commentid>
    <comment_count>0</comment_count>
    <who name="Giorgio">giorgio.liscio</who>
    <bug_when>2011-10-20 09:54:51 +0000</bug_when>
    <thetext>hello

Sections are a tree-structure that need an exception for CSS styling

&lt;h1&gt;Site Title&lt;/h1&gt;
&lt;article&gt;
   &lt;h1&gt;Article XXX Title&lt;/h1&gt;
   &lt;section&gt;
      &lt;h1&gt;Site Sidebar&lt;/h1&gt;
      ...
   &lt;/section&gt;
   &lt;p&gt;Article XXX text&lt;/p&gt;
   &lt;p&gt;Article XXX text&lt;/p&gt;
   &lt;p&gt;Article XXX text&lt;/p&gt;
&lt;/article&gt;

If I write a structure like this, because these are the &quot;CSS&apos; needs&quot; to design my layout, I will obtain an horribly wrong outline, so why don&apos;t introduce some tag to de-section something from its context?

this snippet:

&lt;h1&gt;Site Title&lt;/h1&gt;
&lt;article&gt;
   &lt;h1&gt;Article XXX Title&lt;/h1&gt;
   &lt;outside&gt;
       &lt;section&gt;
           &lt;h1&gt;Site Sidebar&lt;/h1&gt;
           ...
       &lt;/section&gt;
   &lt;/outside&gt;
   &lt;p&gt;Article XXX text&lt;/p&gt;
   &lt;p&gt;Article XXX text&lt;/p&gt;
   &lt;p&gt;Article XXX text&lt;/p&gt;
&lt;/article&gt;

should be equivalent to:

&lt;h1&gt;Site Title&lt;/h1&gt;
&lt;article&gt;
   &lt;h1&gt;Article XXX Title&lt;/h1&gt;
   &lt;p&gt;Article XXX text&lt;/p&gt;
   &lt;p&gt;Article XXX text&lt;/p&gt;
   &lt;p&gt;Article XXX text&lt;/p&gt;
&lt;/article&gt;
&lt;section&gt;
   &lt;h1&gt;Site Sidebar&lt;/h1&gt;
   ...
&lt;/section&gt;

every &lt;outside&gt; should mean &quot;up one level&quot;

I hope that this can be discussed

thank you!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58536</commentid>
    <comment_count>1</comment_count>
    <who name="Tab Atkins Jr.">jackalmage</who>
    <bug_when>2011-10-20 11:34:37 +0000</bug_when>
    <thetext>This isn&apos;t an HTML problem; it&apos;s either a problem with your code (you can probably get the same layout with better structure) or a problem with CSS (if you can&apos;t get the right layout with the correct structure, CSS may need to be expanded to fit your needs).

Regardless, your suggested markup is badly organized and we shouldn&apos;t encourage it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58537</commentid>
    <comment_count>2</comment_count>
    <who name="Giorgio">giorgio.liscio</who>
    <bug_when>2011-10-20 11:49:08 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; This isn&apos;t an HTML problem; it&apos;s either a problem with your code (you can
&gt; probably get the same layout with better structure) or a problem with CSS (if
&gt; you can&apos;t get the right layout with the correct structure, CSS may need to be
&gt; expanded to fit your needs).
&gt; 
&gt; Regardless, your suggested markup is badly organized and we shouldn&apos;t encourage
&gt; it.

I&apos;m not a random html/css coder, I know what I&apos;m asking

at the moment css is not strong enough to make content indpendent from presentation, one day maybe (with some model different from &quot;float&quot;, flexbox for instance)

but today, a good html structure is sometimes needed to style what you want.

html5, differently from xhtml 2 should allow and standardize real practices and common needs

surely I can change my layout to match the html5 outline, but html5 should not limit other so much related technologies</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58538</commentid>
    <comment_count>3</comment_count>
    <who name="Tab Atkins Jr.">jackalmage</who>
    <bug_when>2011-10-20 12:05:18 +0000</bug_when>
    <thetext>I&apos;m a webdev too.  I know the limitations of current CSS layout.  That doesn&apos;t mean you should sacrifice good content organization.  It also doesn&apos;t mean there&apos;s not another way to do it (there usually is).

However, CSS is already developing the tools you need.  Flexbox Layout (an older version is available in most browsers, and the newer version is currently being developed) and Grid Layout (should be experimentally available in IE10, and is being worked on in other browsers) *do* let you do document-order-independent layout.

Better to wait for those to come in and make your life infinitely easier than try and bless your current hacks that are bad for both you and your users.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58559</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-10-20 20:11:05 +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: If there&apos;s a limitation in CSS, we should fix it by fixing CSS, not by adding a feature to HTML.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58686</commentid>
    <comment_count>5</comment_count>
    <who name="Giorgio">giorgio.liscio</who>
    <bug_when>2011-10-22 02:50:23 +0000</bug_when>
    <thetext>ok. and what about this issue:

the document is the main section, ok?

the document talks about &quot;cars motorsport&quot; and I want to insert some banners not related at all with &quot;cars motorsport&quot;, for instance &quot;greenpeace&quot;

with my idea there will be:


&lt;body&gt;
    &lt;h1&gt;Good news everyone: the Ferrari F1 is back at the top of the podium!&lt;/h1&gt;
    &lt;p&gt;some text some text some text some text some text some text &lt;/p&gt;
    &lt;outside&gt;
        &lt;h1&gt;Greenpeace sponsor&lt;/h1&gt;
        &lt;p&gt;We hate cars! WORRY ABOUT GLOBAL WARMING!&lt;/p&gt;
    &lt;/outside&gt;
&lt;/body&gt;


&lt;aside&gt; is a standalone, but related prose
&lt;outside&gt; is a standalone, not related prose</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58696</commentid>
    <comment_count>6</comment_count>
    <who name="Tab Atkins Jr.">jackalmage</who>
    <bug_when>2011-10-22 04:24:33 +0000</bug_when>
    <thetext>No, that use-case is precisely what &lt;aside&gt; is meant for.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58698</commentid>
    <comment_count>7</comment_count>
    <who name="Giorgio">giorgio.liscio</who>
    <bug_when>2011-10-22 05:18:15 +0000</bug_when>
    <thetext>(In reply to comment #6)
&gt; No, that use-case is precisely what &lt;aside&gt; is meant for.

quoting the spec:

&gt;The aside element represents a section of a page that consists of content that is tangentially related
&gt;to the content around the aside element, and which could be considered separate from that content.
&gt;Such sections are often represented as sidebars in printed typography.

it is not tangentially related, it is a totally different context.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58725</commentid>
    <comment_count>8</comment_count>
    <who name="Tab Atkins Jr.">jackalmage</who>
    <bug_when>2011-10-24 02:06:09 +0000</bug_when>
    <thetext>(In reply to comment #7)
&gt; it is not tangentially related, it is a totally different context.

I assure you that &lt;aside&gt; is meant for this use-case.  During the development of the element, it was going to be named &lt;sidebar&gt; precisely because it was to be used for website sidebars, which contain mostly-unrelated information.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58728</commentid>
    <comment_count>9</comment_count>
    <who name="Giorgio">giorgio.liscio</who>
    <bug_when>2011-10-24 02:48:22 +0000</bug_when>
    <thetext>(In reply to comment #8)
&gt; (In reply to comment #7)
&gt; &gt; it is not tangentially related, it is a totally different context.
&gt; 
&gt; I assure you that &lt;aside&gt; is meant for this use-case.  During the development
&gt; of the element, it was going to be named &lt;sidebar&gt; precisely because it was to
&gt; be used for website sidebars, which contain mostly-unrelated information.

Hi, I&apos;ve read the spec dozens of times, I think that something is not clear, or something is missing.

you say that aside is meant for this use-case, but why it isn&apos;t a sectioning root?

in my use case it should be</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58730</commentid>
    <comment_count>10</comment_count>
    <who name="Tab Atkins Jr.">jackalmage</who>
    <bug_when>2011-10-24 06:30:37 +0000</bug_when>
    <thetext>(In reply to comment #9)
&gt; (In reply to comment #8)
&gt; &gt; (In reply to comment #7)
&gt; &gt; &gt; it is not tangentially related, it is a totally different context.
&gt; &gt; 
&gt; &gt; I assure you that &lt;aside&gt; is meant for this use-case.  During the development
&gt; &gt; of the element, it was going to be named &lt;sidebar&gt; precisely because it was to
&gt; &gt; be used for website sidebars, which contain mostly-unrelated information.
&gt; 
&gt; Hi, I&apos;ve read the spec dozens of times, I think that something is not clear, or
&gt; something is missing.

You haven&apos;t read it enough.  From the spec:
&quot;The element can be used for typographical effects like pull quotes or sidebars, for advertising, for groups of nav elements, and for other content that is considered separate from the main content of the page.&quot;

The second item in the list, advertising, is exactly what you&apos;re asking about in your examples.


&gt; you say that aside is meant for this use-case, but why it isn&apos;t a sectioning
&gt; root?
&gt; 
&gt; in my use case it should be

Again, you haven&apos;t read the spec enough.  &lt;aside&gt; is listed as &quot;sectioning content&quot;, which means that it&apos;s a sectioning root (follow the link to the definition to see that).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58827</commentid>
    <comment_count>11</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-10-25 02:32:03 +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: In your example, the banner about greenpeace is tangentially related to the motorsport topic, if only by the fact that the author wants to talk about both of them. For a relevant example, look at the 3rd example in the &lt;aside&gt; section.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>