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

[Bug 13475] Remove wrong example

From: <bugzilla@jessica.w3.org>
Date: Tue, 02 Aug 2011 16:00:32 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1QoHOS-0004Gk-1H@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13475

Aryeh Gregor <Simetrical+w3cbug@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |Simetrical+w3cbug@gmail.com
         Resolution|                            |WONTFIX

--- Comment #1 from Aryeh Gregor <Simetrical+w3cbug@gmail.com> 2011-08-02 16:00:31 UTC ---
EDITOR'S RESPONSE: This is an Editor'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:

The example is correct.  In the current HTML spec, any tag that's heading
content starts a new section:

"""
The first element of heading content in an element of sectioning content
represents the heading for that section. Subsequent headings of equal or higher
rank start new (implied) sections, headings of lower rank start implied
subsections that are part of the previous one. In both cases, the element
represents the heading of the implied section.
"""
http://www.whatwg.org/specs/web-apps/current-work/multipage/sections.html#headings-and-sections

Thus <h1>foo</h1><h2>bar</h2> marks up a rank-one section whose contents begin
with a rank-two subsection.  <hgroup><h1>foo</h1><h2>bar</h2></hgroup> marks up
the start of a rank-one section with no subsection (at least, it doesn't start
with one).  An example of a case where <h1>foo</h1><h2>bar</h2> would be
correct is something like
<http://en.wikipedia.org/w/index.php?title=Egyptian_temple&oldid=442681377>,
which has

  <h2>Functions</h2>
  <h3>Religious</h3> ...
  <h3>Economic and administrative</h3> ...

In this case, the lack of an <hgroup> indicates that the entire contents of the
"Functions" section consists of two subsections, "Religious" and "Economic and
administrative".

The example obviously will have to be fixed if <hgroup> is removed, but for now
it's correct.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Tuesday, 2 August 2011 16:00:36 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:15 UTC