<?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>18616</bug_id>
          
          <creation_ts>2012-08-18 08:21:07 +0000</creation_ts>
          <short_desc>Content model of &lt;datalist&gt; element caused contradiction. This &lt;datalist&gt; element&apos;s content model says ----Quote---- &gt; Either: phrasing content. &gt; Or: Zero or more option elements. ---- So if I read it correctly, the element cannot contain BOTH phrasing c</short_desc>
          <delta_ts>2012-10-19 21:18:43 +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>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#top</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>72406</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-08-18 08:21:07 +0000</bug_when>
    <thetext>Specification: 
Multipage: http://www.whatwg.org/C#top
Complete: http://www.whatwg.org/c#top

Comment:
Content model of &lt;datalist&gt; element caused contradiction.

This &lt;datalist&gt; element&apos;s content model says
----Quote----
&gt; Either: phrasing content.
&gt; Or: Zero or more option elements.
----
So if I read it correctly, the element cannot contain BOTH phrasing content 
and &lt;option&gt; elements.

And this will contradict the statement saying that it can be intermixed.
----Quote----
&gt; The contents of the element represents fallback content for legacy user 
&gt; agents, intermixed with option elements that represent the predefined 
&gt; options.
----

Maybe the content model should be changed to something like this:

  Either: phrasing content.
  Or: Zero or more option elements.
  Or both.


Posted from: 114.42.19.97
User agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.79 Safari/537.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76757</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-10-19 21:18:43 +0000</bug_when>
    <thetext>It can be mixed if there is a descendant element that allows &lt;option&gt;, which is what &lt;select&gt; does.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>