<?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>12925</bug_id>
          
          <creation_ts>2011-06-09 15:04:31 +0000</creation_ts>
          <short_desc>in the 1st example 3 &apos;hr&apos; are used like an anonymous &apos;h#&apos; =&gt; &apos;hr&apos; should move to 4.4. The final &apos;hr&apos; is of a different kind and wouldn&apos;t be there if we had lists (&apos;dl&apos; here) nested inside &apos;p&apos;. The second example is mostly like the first three &apos;hr&apos;, i.e. a</short_desc>
          <delta_ts>2011-09-04 01:26:27 +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>LC1 HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#the-hr-element</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>bugzilla</cc>
    
    <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>49386</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-06-09 15:04:31 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html
Section: http://www.whatwg.org/specs/web-apps/current-work/#the-hr-element

Comment:
in the 1st example 3 &apos;hr&apos; are used like an anonymous &apos;h#&apos; =&gt; &apos;hr&apos; should move
to 4.4. The final &apos;hr&apos; is of a different kind and wouldn&apos;t be there if we had
lists (&apos;dl&apos; here) nested inside &apos;p&apos;. The second example is mostly like the
first three &apos;hr&apos;, i.e. an anonymous heading. Furthermore multiple consecutive
&apos;hr&apos; should be folded into one instance, just like &apos;br&apos;.

Posted from: 90.136.73.175
User agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_7; de-de) AppleWebKit/533.21.1 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52937</commentid>
    <comment_count>1</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-08-04 05:05:29 +0000</bug_when>
    <thetext>mass-moved component to LC1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54781</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-08-12 19:41:08 +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>55255</commentid>
    <comment_count>3</comment_count>
    <who name="Christoph P">bugzilla</who>
    <bug_when>2011-08-17 00:35:55 +0000</bug_when>
    <thetext>4.5.2 Example 1

  &lt;section&gt;
    &lt;h1&gt;Communication&lt;/h1&gt;
      &lt;p&gt;There are various methods of communication. &lt;/p&gt;
    &lt;hr&gt;
      &lt;p&gt;Communication stones &lt;/p&gt;
      &lt;ul&gt;&lt;/ul&gt;
    &lt;hr&gt;
      &lt;p&gt;Radios &lt;/p&gt;
    &lt;hr&gt;
      &lt;p&gt;Signal flares &lt;/p&gt;
  &lt;/section&gt;

In this part the 3 &lt;hr&gt; could be replaced by 3 &lt;h2&gt;, because they divide the section Communication into subsections Stones, Radios and Flares, hence they are anonymous headings and therefore belong into section 4.4.

  &lt;section&gt;
    &lt;h1&gt;Food&lt;/h1&gt;
      &lt;p&gt;All food at the project is rationed:&lt;/p&gt;
      &lt;dl&gt;&lt;/dl&gt;
      &lt;hr&gt;
      &lt;p&gt;Cooking is done by the chefs on a set rotation.&lt;/p&gt;
  &lt;/section&gt;

Here the sequence &lt;p/&gt;&lt;dl/&gt;&lt;hr/&gt; is used, because &lt;p&gt;&lt;dl/&gt;&lt;/p&gt; is not possible in HTML. This is a different use of hr: it works at the paragraph level, not on the heading level, as above.

4.5.2 Example 2 (Pandora&apos;s Star by Peter F. Hamilton)

  The scene change, represented in the printed book by a gap
  containing a solitary centered star between the second and third paragraphs,
  is here represented using the hr element.

In this case, again, hr works like an anonymous subheading. Instead of &lt;h1/&gt;&lt;p/&gt;&lt;hr/&gt;&lt;p/&gt;&lt;h1/&gt; one could have written &lt;h1/&gt;&lt;h2/&gt;&lt;p/&gt;&lt;h2/&gt;&lt;p/&gt;&lt;h1/&gt; just as well. The difference to the first part of the first example is that here all text belongs to a scene (h2) and no text to the chapter (h1) directly, whereas there the chapter had an introduction before the first sub-heading.

In conclusion, hr works either as an anonymous, implicit heading, usually one level lower than the last explicit one, or as a delayed paragraph end mark, which is below the lowest heading level. If we stripped it of the first function, it would fit where it is now, if we stripped it of its second function it would fit nicely with h1 through h6, but if it is left as is it fits neither place really.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55654</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-08-23 05:06:48 +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 disagree. It&apos;s more like a paragraph than a heading. It&apos;s just a thematic break, it&apos;s not a whole new section.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55674</commentid>
    <comment_count>5</comment_count>
    <who name="Christoph P">bugzilla</who>
    <bug_when>2011-08-23 08:37:08 +0000</bug_when>
    <thetext>&gt; It&apos;s more like a paragraph than a heading.

Only in the second case. Leave this, i.e. the sequence (p, (list | address | block)+, hr) making hr end an extended paragraph, as the only valid use case for hr and Im satisfied.

&gt; It&apos;s just a thematic break, it&apos;s not a whole new section.

The first and third examples dont make that clear. Remove them or move them to 4.4 (heading elements) and change &quot;&lt;hr&gt;&quot; to &quot;&lt;h2&gt;&lt;/h2&gt;&quot; as an example for when an empty heading is useful.

Tracker issue title: Clear semantics for hr
Tracker issue text: Current examples suggest hr could be used as kind of an empty or anonymous heading. If that is a valid use case, hr should be grouped with other heading elements, if it is not, the examples should be changed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55677</commentid>
    <comment_count>6</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2011-08-23 09:08:12 +0000</bug_when>
    <thetext>Don&apos;t both reopen and add TrackerRequest. If you want to escalate, set status to RESOLVED WONTFIX and add TrackerRequest.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56258</commentid>
    <comment_count>7</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-09-04 01:26:27 +0000</bug_when>
    <thetext>(In reply to comment #5)
&gt; &gt; It&apos;s more like a paragraph than a heading.
&gt; 
&gt; Only in the second case.

In all cases.


&gt; &gt; It&apos;s just a thematic break, it&apos;s not a whole new section.
&gt; 
&gt; The first and third examples dont make that clear.

The definition of the element is &quot;The hr element represents a paragraph-level thematic break&quot;. How can one get more clear than that? The examples are not normative.

The first example seems pretty clear on the matter though. Each &lt;hr&gt; separates themes within the section on communication: the first theme is related to stones, the second to radios, the third to flares.

I don&apos;t know which example you mean by &quot;third example&quot;. If you mean the second one in the &lt;hr&gt; section, then it is not hypothetical; it comes straight from a real book, where there&apos;s a real thematic break in the form of extra whitespace and a star, which is exactly what &lt;hr&gt; is for.


&gt; Remove them or move them to
&gt; 4.4 (heading elements) and change &quot;&lt;hr&gt;&quot; to &quot;&lt;h2&gt;&lt;/h2&gt;&quot; as an example for when
&gt; an empty heading is useful.

An empty heading doesn&apos;t make the slightest bit of sense, IMHO. A heading is by definition not something that&apos;s empty. The star between two paragraphs in a novel is not a heading, nor a new section. It&apos;s just a thematic break.


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: &lt;hr&gt; is, exactly as defined, a thematic break, which doesn&apos;t affect sectioning.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>