<?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>126890</bug_id>
          
          <creation_ts>2014-01-13 07:18:40 -0800</creation_ts>
          <short_desc>Subpixel Layout: &lt;input type=&quot;number&quot;&gt; reports wrong offsetWidth.</short_desc>
          <delta_ts>2014-09-30 14:11:49 -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>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>REOPENED</bug_status>
          <resolution></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="alan">zalan</reporter>
          <assigned_to name="alan">zalan</assigned_to>
          <cc>webkit</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>967291</commentid>
    <comment_count>0</comment_count>
    <who name="alan">zalan</who>
    <bug_when>2014-01-13 07:18:40 -0800</bug_when>
    <thetext>unless the input value is reset (set to 1) in-between 2 queries.

shouldBe(&apos;numberWidth(0, 1000000, 1)&apos;, &apos;textWidthPlusSpinButtonWidth(7)&apos;);
shouldBe(&apos;numberWidth(0, 10000000, 1)&apos;, &apos;textWidthPlusSpinButtonWidth(8)&apos;);

fails at value &apos;8&apos; while

shouldBe(&apos;numberWidth(0, 1000000, 1)&apos;, &apos;textWidthPlusSpinButtonWidth(7)&apos;);

shouldBe(&apos;numberWidth(0, 1, 1)&apos;, &apos;textWidthPlusSpinButtonWidth(1)&apos;);

shouldBe(&apos;numberWidth(0, 10000000, 1)&apos;, &apos;textWidthPlusSpinButtonWidth(8)&apos;);

works ok.

LayoutTests/fast/forms/number/number-size.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>967649</commentid>
    <comment_count>1</comment_count>
    <who name="alan">zalan</who>
    <bug_when>2014-01-13 21:30:30 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 126889 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>967869</commentid>
    <comment_count>2</comment_count>
    <who name="alan">zalan</who>
    <bug_when>2014-01-14 09:37:09 -0800</bug_when>
    <thetext>Committed r161977: &lt;http://trac.webkit.org/changeset/161977&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>967870</commentid>
    <comment_count>3</comment_count>
    <who name="alan">zalan</who>
    <bug_when>2014-01-14 09:38:19 -0800</bug_when>
    <thetext>Bot closed it accidentally. Reopening.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>