<?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>21901</bug_id>
          
          <creation_ts>2013-05-02 11:46:20 +0000</creation_ts>
          <short_desc>&lt;input type=&apos;color&apos;&gt; is said to not support readonly but implementations do it</short_desc>
          <delta_ts>2013-06-13 22:31:24 +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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mounir Lamouri">mounir</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>87162</commentid>
    <comment_count>0</comment_count>
    <who name="Mounir Lamouri">mounir</who>
    <bug_when>2013-05-02 11:46:20 +0000</bug_when>
    <thetext>We have someone implementing &lt;input type=&apos;color&apos;&gt; for Gecko and readonly attribute is being ignored in the patch he wrote. However, Webkit and Presto are both implementing &lt;input type=&apos;color&apos;&gt; with readonly applying.

I am not sure what are the reasons why those implementations are taking into account readonly and I&apos;m not sure why the specification says that we shouldn&apos;t allow the element to be readonly. Basically I have no strong opinion for or against. It seems that readonly would be pretty useless given that disabled would apply and we also apply disabled but not readonly for &lt;input type=&apos;file&apos;&gt;.

Anyway, I believe that Gecko could probably implement &lt;input type=&apos;color&apos;&gt; with readonly not applying but I would like to make sure the specification wants to keep that position.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88864</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-06-06 21:13:58 +0000</bug_when>
    <thetext>What&apos;s the difference between how &quot;readonly&quot; is being implemented, and how &quot;disabled&quot; is being implemented? If this is a control where a distinct &quot;readonly&quot; operating mode makes sense (e.g. it lets you drop down the color picker and view all the color information, but without changing it, much like a radonly text field lets you scroll through the text without changing it), then it makes sense to add it. If it&apos;s just a synonym for disabled (which doesn&apos;t let you interact with the control at all) then I don&apos;t see any value in it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89282</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-06-13 22:31:24 +0000</bug_when>
    <thetext>I could only find Chrome which supported this, and its UI is very confused. Seems like a bug in Chrome.

https://code.google.com/p/chromium/issues/detail?id=249515</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>