W3C home > Mailing lists > Public > public-html@w3.org > October 2011

[Bug 14520] New: consider to add element <outside> to de-section some text

From: <bugzilla@jessica.w3.org>
Date: Thu, 20 Oct 2011 09:54:51 +0000
To: public-html@w3.org
Message-ID: <bug-14520-2495@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=14520

           Summary: consider to add element <outside> to de-section some
                    text
           Product: HTML WG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: giorgio.liscio@email.it
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


hello

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

<h1>Site Title</h1>
<article>
   <h1>Article XXX Title</h1>
   <section>
      <h1>Site Sidebar</h1>
      ...
   </section>
   <p>Article XXX text</p>
   <p>Article XXX text</p>
   <p>Article XXX text</p>
</article>

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

this snippet:

<h1>Site Title</h1>
<article>
   <h1>Article XXX Title</h1>
   <outside>
       <section>
           <h1>Site Sidebar</h1>
           ...
       </section>
   </outside>
   <p>Article XXX text</p>
   <p>Article XXX text</p>
   <p>Article XXX text</p>
</article>

should be equivalent to:

<h1>Site Title</h1>
<article>
   <h1>Article XXX Title</h1>
   <p>Article XXX text</p>
   <p>Article XXX text</p>
   <p>Article XXX text</p>
</article>
<section>
   <h1>Site Sidebar</h1>
   ...
</section>

every <outside> should mean "up one level"

I hope that this can be discussed

thank you!

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Thursday, 20 October 2011 09:54:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:17:40 GMT