<?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>25532</bug_id>
          
          <creation_ts>2014-05-02 06:47:34 +0000</creation_ts>
          <short_desc>3.2.4.1 missing discussion of &apos;empty&apos; content model</short_desc>
          <delta_ts>2014-07-29 20:38:09 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          <dependson>25501</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon Pieters">zcorpan</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>faulkner.steve</cc>
    
    <cc>ian</cc>
    
    <cc>kgroves</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>104946</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2014-05-02 06:47:34 +0000</bug_when>
    <thetext>+++ This bug was initially created as a clone of Bug #25501 +++

Some elements, such as AREA[1] are described as having an &apos;empty&apos; content model. However, the section (3.2.4.1) which discusses the types of content models does not include &apos;empty&apos; as one of the types. In fact, AREA is described under &apos;Flow&apos; content, as are other elements which are void.

It would be good if, under 3.2.4.1, there was a description of what the &apos;empty&apos; content model is and what, if any, relationship this has with being a void element.



1 - http://www.w3.org/TR/html5/embedded-content-0.html#the-area-element</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104947</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2014-05-02 06:49:41 +0000</bug_when>
    <thetext>The spec says

&quot;Inter-element whitespace, comment nodes, and processing instruction nodes must be ignored when establishing whether an element&apos;s contents match the element&apos;s content model or not&quot;

so a definition of &quot;empty&quot; that reminds the above exception might actually be good to have.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105122</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-05-05 22:43:55 +0000</bug_when>
    <thetext>Every time the word &quot;empty&quot; appears, it is next to the words &quot;Content model&quot;, which are a link to a part of the spec that is within a dozen paragraphs of the one that talks about intra-element whitespace and comments and so on. Are we sure this would actually help anyone?

The text in comment 0 seems to illustrate a rather more fundamental misunderstanding, confusing content models and categories, and suggesting that the material under &quot;Element definitions&quot; hasn&apos;t been read at all. It&apos;s not clear to me that an additional link would be helpful in that scenario.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105250</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2014-05-06 22:12:26 +0000</bug_when>
    <thetext>It might not have helped the original reporter, but at least I think it is confusing whether empty means really-empty or if inter-element whitespace/comments/PIs are allowed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105327</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-05-07 18:16:06 +0000</bug_when>
    <thetext>Are there any cases where it means really-empty?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109527</commentid>
    <comment_count>5</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-07-29 20:38:09 +0000</bug_when>
    <thetext>I made this clearer. Should be in the spec next time I regen it.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>