<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>12104</bug_id>
          
          <creation_ts>2007-01-03 11:08:37 -0800</creation_ts>
          <short_desc>Native Slider: When the thumb&apos;s height is specified as a percentage, it is not centered properly</short_desc>
          <delta_ts>2009-05-08 13:37:02 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Forms</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</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>mitz</reporter>
          <assigned_to name="Darin Adler">darin</assigned_to>
          <cc>adele</cc>
    
    <cc>ddkilzer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>37278</commentid>
    <comment_count>0</comment_count>
    <who name="">mitz</who>
    <bug_when>2007-01-03 11:08:37 -0800</bug_when>
    <thetext>When the slider thumb&apos;s height (width if the slider is vertical) is specified as a percentage, it is not centered properly. For centering purposes, the percent value is treated as a pixel value. For example, this puts the green &quot;thumb&quot; way too high:

&lt;style&gt;
	input { -webkit-appearance: none; background: silver; height: 20px; width: 200px; }
	input::-webkit-slider-thumb { -webkit-appearance: none; background: green; width: 10px; height: 50%; }
&lt;/style&gt;
&lt;input type=&quot;range&quot;&gt;

Treating percentages as pixels is going to turn into an assertion failure once bug 5164 is fixed!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115141</commentid>
    <comment_count>1</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2009-03-25 07:35:29 -0700</bug_when>
    <thetext>This check-in http://trac.webkit.org/changeset/41972 fixes this bug. But we should probably turn the test case attached here into a regression test and land it before closing this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115729</commentid>
    <comment_count>2</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2009-03-29 08:17:55 -0700</bug_when>
    <thetext>http://trac.webkit.org/changeset/42080</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120459</commentid>
    <comment_count>3</comment_count>
      <attachid>30139</attachid>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2009-05-08 13:37:02 -0700</bug_when>
    <thetext>Created attachment 30139
Testcase</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>30139</attachid>
            <date>2009-05-08 13:37:02 -0700</date>
            <delta_ts>2009-05-08 13:37:02 -0700</delta_ts>
            <desc>Testcase</desc>
            <filename>test.html</filename>
            <type>text/html</type>
            <size>241</size>
            <attacher name="Simon Fraser (smfr)">simon.fraser</attacher>
            
              <data encoding="base64">PHN0eWxlPgogICAgICAgIGlucHV0IHsgLXdlYmtpdC1hcHBlYXJhbmNlOiBub25lOyBiYWNrZ3Jv
dW5kOiBzaWx2ZXI7IGhlaWdodDogMjBweDsKd2lkdGg6IDIwMHB4OyB9CiAgICAgICAgaW5wdXQ6
Oi13ZWJraXQtc2xpZGVyLXRodW1iIHsgLXdlYmtpdC1hcHBlYXJhbmNlOiBub25lOyBiYWNrZ3Jv
dW5kOgpncmVlbjsgd2lkdGg6IDEwcHg7IGhlaWdodDogNTAlOyB9Cjwvc3R5bGU+CjxpbnB1dCB0
eXBlPSJyYW5nZSI+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>