<?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>16067</bug_id>
          
          <creation_ts>2012-02-21 22:32:17 +0000</creation_ts>
          <short_desc>Consistent use of &apos;no value&apos; attributes. The &apos;no value&apos; attributes like &quot;selected&quot;, &quot;checked&quot; and &quot;required&quot; are being used inconsistently in the examples throughout the HTML5 specifications. Where &quot;required&quot; is always used with no value (&apos;required&apos; vs &apos;r</short_desc>
          <delta_ts>2012-09-06 18:34:28 +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>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/#top</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="Edward O&apos;Connor">eoconnor</assigned_to>
          <cc>age.bosma</cc>
    
    <cc>eoconnor</cc>
    
    <cc>jackalmage</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>64398</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-02-21 22:32:17 +0000</bug_when>
    <thetext>Specification: http://www.w3.org/TR/html5/Overview.html
Multipage: http://www.whatwg.org/C#top
Complete: http://www.whatwg.org/c#top

Comment:
Consistent use of &apos;no value&apos; attributes.

The &apos;no value&apos; attributes like &quot;selected&quot;, &quot;checked&quot; and &quot;required&quot; are being
used inconsistently in the examples throughout the HTML5 specifications.

Where &quot;required&quot; is always used with no value (&apos;required&apos; vs
&apos;required=&quot;required&quot;&apos;), the &quot;selected&quot; as well as the &quot;checked&quot; attribute use
both the style with and without value (&apos;selected=&quot;selected&quot;&apos; and &apos;selected&apos;).
There is also no mention about the possibility to use either of these styles,
let alone one style being recommended over the other.
Only one style should be used throughout the document, and one of the two
should preferably be recommended.

Personally I would even opt for a new attribute that takes one of the three
attributes above as values. This would get rid of these rather awkward
attributes all together. E.g.

&apos;state=&quot;selected&quot;&apos;, &apos;state=&quot;required&quot;&apos;

I, however, do not know how viable such a proposal will be if made by me if it
hasn&apos;t been by others already.

Posted from: 87.195.226.142
User agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:10.0.2) Gecko/20100101 Firefox/10.0.2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64441</commentid>
    <comment_count>1</comment_count>
    <who name="Tab Atkins Jr.">jackalmage</who>
    <bug_when>2012-02-22 18:29:13 +0000</bug_when>
    <thetext>The HTML spec deliberately uses a mix of styles in its examples precisely so it *doesn&apos;t* advocate one way or another.  That is for authoring guides, tutorials, and other types of advocacy to do.

It seems that merging @required, @selected, and @checked together would add more characters for no benefit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70297</commentid>
    <comment_count>2</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-07-18 07:16:52 +0000</bug_when>
    <thetext>This bug was cloned to create bug 17917 as part of operation convergence.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73348</commentid>
    <comment_count>3</comment_count>
    <who name="Edward O&apos;Connor">eoconnor</who>
    <bug_when>2012-09-06 18:34:28 +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 change.
Rationale: What Tab said.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>