<?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>28362</bug_id>
          
          <creation_ts>2015-03-28 22:03:31 +0000</creation_ts>
          <short_desc>Input Type &quot;email&quot; with attribute &quot;placeholder&quot; comes up as error. Incorrect W3C HTML5 Standards.</short_desc>
          <delta_ts>2016-03-10 09:17:58 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML Checker</product>
          <component>General</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</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>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryan Wickland">rwickland</reporter>
          <assigned_to name="Michael[tm] Smith">mike+validator</assigned_to>
          <cc>cpigat242</cc>
    
    <cc>mbb448</cc>
    
    <cc>mike</cc>
    
    <cc>phil</cc>
    
    <cc>wendt.withers</cc>
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>119012</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Wickland">rwickland</who>
    <bug_when>2015-03-28 22:03:31 +0000</bug_when>
    <thetext>W3C Bug Description:

validator.w3.org error is described as: &quot;Attribute placeholder is only allowed when the input type is e-mail, number, password, search, tel, text, or url.&quot;

According to World Wide Web Consortium (W3C) HTML5 Standards: Attribute &quot;placeholder&quot; can be used with input type &quot;email&quot; (not &quot;e-mail&quot; as the W3C validator suggests). However, this page does validate at validator.nu

Here is our test URL: http://www.unisquare.com/w3c-validation-error.php</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119034</commentid>
    <comment_count>1</comment_count>
    <who name="">wendt.withers</who>
    <bug_when>2015-03-29 22:45:36 +0000</bug_when>
    <thetext>The following attributes are also flagged incorrectly:
required
maxlength

Example:
&lt;input placeholder=&quot;test@example.com&quot; required=&quot;required&quot; name=&quot;email&quot; type=&quot;email&quot; value=&quot;&quot; maxlength=&quot;75&quot; id=&quot;email&quot;&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119037</commentid>
    <comment_count>2</comment_count>
    <who name="">wendt.withers</who>
    <bug_when>2015-03-29 23:56:01 +0000</bug_when>
    <thetext>*** Bug 28354 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119039</commentid>
    <comment_count>3</comment_count>
    <who name="">wendt.withers</who>
    <bug_when>2015-03-29 23:57:27 +0000</bug_when>
    <thetext>*** Bug 28363 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119051</commentid>
    <comment_count>4</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2015-03-30 08:30:21 +0000</bug_when>
    <thetext>Thanks for reporting this. It was caused by a regression I made with a recent code change. But it should be fixed now. If not, please reopen this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119052</commentid>
    <comment_count>5</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2015-03-30 08:31:54 +0000</bug_when>
    <thetext>(In reply to wendt.withers from comment #1)
&gt; The following attributes are also flagged incorrectly:
&gt; required
&gt; maxlength
&gt; 
&gt; Example:
&gt; &lt;input placeholder=&quot;test@example.com&quot; required=&quot;required&quot; name=&quot;email&quot;
&gt; type=&quot;email&quot; value=&quot;&quot; maxlength=&quot;75&quot; id=&quot;email&quot;&gt;

Yeah, the root cause there was the same regression, fixed now.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>