<?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>23672</bug_id>
          
          <creation_ts>2013-10-29 20:08:46 +0000</creation_ts>
          <short_desc>The datalist element content model needs clarification</short_desc>
          <delta_ts>2014-03-14 11:35:24 +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>HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>CR</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jukka K. Korpela">jukka.k.korpela</reporter>
          <assigned_to name="Robin Berjon">robin</assigned_to>
          <cc>mike</cc>
    
    <cc>pcotton</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>95522</commentid>
    <comment_count>0</comment_count>
    <who name="Jukka K. Korpela">jukka.k.korpela</who>
    <bug_when>2013-10-29 20:08:46 +0000</bug_when>
    <thetext>At 4.10.10 (The datalist element), the content model is given as phrasing content or zero or more option elements. However, the prose then says that the element can be used in two ways. The first way uses just option elements, whereas in the second one, apparently with phrasing content, “the option elements are provided inside a select element inside the datalist element”.

If this is meant to be restrictive, please clarify it in the content model, requiring that the phrasing content must have at least one select element descendant.

If not, please modify the prose e.g. so that it says “In this case, the option elements can, for example, be provided...”. It would be even better to add another example that uses another technique, such as text that just mentions (some of) the values as examples, implying that the user is expected to enter he value in the text control.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102369</commentid>
    <comment_count>1</comment_count>
    <who name="Robin Berjon">robin</who>
    <bug_when>2014-03-14 11:07:25 +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: Accepted
Change Description: Small clarification to the content model description.
Rationale: There is no requirement that there be any &lt;option&gt; descendant since there can be zero suggestions. I have clarified the content model to indicate that in the case of phrasing content there can be zero or more &lt;option&gt; descendants.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>