<?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>22496</bug_id>
          
          <creation_ts>2008-11-25 14:06:22 -0800</creation_ts>
          <short_desc>[Transforms] Input type=text rendering problems and iphone hang</short_desc>
          <delta_ts>2008-12-09 16:21:00 -0800</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>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>15670</blocked>
          <everconfirmed>0</everconfirmed>
          <reporter name="Jack Schmidt">macosforge</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>100283</commentid>
    <comment_count>0</comment_count>
    <who name="Jack Schmidt">macosforge</who>
    <bug_when>2008-11-25 14:06:22 -0800</bug_when>
    <thetext>-webkit-transform and input type=text do not work together.  Transforms mangle the rendering of the inputs (bug1 and bug2), but also typing into the inputs mangles the transform (bug3 and bug4).  I also include the expected behavior (bug0).

This has been tested on Safari 3.2.1 (5525.27.1) and WebKit-SVN-r38707.dmg on Mac OS X 10.5.5 (intel macbook).

Similar but more severe problems occur in Mobile Safari on iPhone OS 2.1, but I suspect that is outside the scope of this bugzilla.  In case not:  There bug3 and bug4 causes the iPhone to hang (the keyboard shows the letter being selected, but hangs there.  Home key and sleep key are unresponsive; holding sleep then tapping home wakes it up).  This depends on the keybaord being visible.  If the keyboard is hidden (javascript is used to select the input), then bug3 and bug4 on Mobile Safari behave approximately like bug3 on Webkit SVN.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100285</commentid>
    <comment_count>1</comment_count>
      <attachid>25499</attachid>
    <who name="Jack Schmidt">macosforge</who>
    <bug_when>2008-11-25 14:07:32 -0800</bug_when>
    <thetext>Created attachment 25499
Testcase: Expected behavior (bug0)

This is just a simple form.  You should be able to type into the text box without problems.  No transforms have been applied.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100286</commentid>
    <comment_count>2</comment_count>
      <attachid>25500</attachid>
    <who name="Jack Schmidt">macosforge</who>
    <bug_when>2008-11-25 14:08:31 -0800</bug_when>
    <thetext>Created attachment 25500
Testcase: mild rendering anomaly (bug1)

This includes -webkit-transform: translate(0,0) and now there are mild rendering problems with the caret.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100289</commentid>
    <comment_count>3</comment_count>
      <attachid>25502</attachid>
    <who name="Jack Schmidt">macosforge</who>
    <bug_when>2008-11-25 14:09:51 -0800</bug_when>
    <thetext>Created attachment 25502
Testcase: Severe rendering anomaly (bug2)

Now -webkit-transform: translate(-320px,0) causes severe rendering anomalies.  The typed text does not appear after the first letter until the input control is blurred.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100290</commentid>
    <comment_count>4</comment_count>
      <attachid>25503</attachid>
    <who name="Jack Schmidt">macosforge</who>
    <bug_when>2008-11-25 14:11:05 -0800</bug_when>
    <thetext>Created attachment 25503
Testcase: Transform damaged (bug3)

Another severe rendering anomaly.  Now the transformed element is inside a div of fixed with with overflow: hidden.  Once the first letter is typed into the input control, the entire fieldset vanishes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100292</commentid>
    <comment_count>5</comment_count>
      <attachid>25504</attachid>
    <who name="Jack Schmidt">macosforge</who>
    <bug_when>2008-11-25 14:13:39 -0800</bug_when>
    <thetext>Created attachment 25504
Testcase: Interesting variant, walking input (bug4)

This is an interesting variant where the width of the div is larger than the fieldset.  Now the input &quot;walks&quot; slowly off the screen to the left as text is typed.  One can use javascript to reset the transform to &quot;translate(0,0)&quot;, but the result is still a severely translated element (though not at any particularly explainable position).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102028</commentid>
    <comment_count>6</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2008-12-09 15:22:17 -0800</bug_when>
    <thetext>Fixed via bug 15671, bug 21906 and others.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102035</commentid>
    <comment_count>7</comment_count>
    <who name="Jack Schmidt">macosforge</who>
    <bug_when>2008-12-09 16:21:00 -0800</bug_when>
    <thetext>I confirm the bug is fixed in the WebKit r39090 nightly.  Thanks very much!</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>25499</attachid>
            <date>2008-11-25 14:07:32 -0800</date>
            <delta_ts>2008-11-25 14:17:17 -0800</delta_ts>
            <desc>Testcase: Expected behavior (bug0)</desc>
            <filename>bug0.html</filename>
            <type>application/xhtml+xml</type>
            <size>528</size>
            <attacher name="Jack Schmidt">macosforge</attacher>
            
              <data encoding="base64">PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPCFET0NUWVBFIGh0bWwgUFVC
TElDICItLy9XM0MvL0RURCBYSFRNTCAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvVFIveGh0
bWwxMS9EVEQveGh0bWwxMS5kdGQiPgo8aHRtbCB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMTk5
OS94aHRtbCI+CiAgPGhlYWQ+CiAgICA8bWV0YSBodHRwLWVxdWl2PSJDb250ZW50LVR5cGUiIGNv
bnRlbnQ9InRleHQvaHRtbDtjaGFyc2V0PVVURi04IiAvPgogICAgPHRpdGxlPklucHV0Ly13ZWJr
aXQtdHJhbnNmb3JtIGJ1ZzwvdGl0bGU+CiAgPC9oZWFkPgogIDxib2R5PgogICAgPGZvcm0gYWN0
aW9uPSJidWcuY2dpIj4KICAgICAgPGZpZWxkc2V0PgoJPGxlZ2VuZD5UeXBlIGFueXRoaW5nPC9s
ZWdlbmQ+Cgk8aW5wdXQgdHlwZT0idGV4dCIgbmFtZT0iYnVnIGlucHV0Ii8+CiAgICAgIDwvZmll
bGRzZXQ+CiAgICA8L2Zvcm0+CiAgICA8cD5FdmVyeXRoaW5nIG5vcm1hbCBoZXJlLjwvcD4KICA8
L2JvZHk+CjwvaHRtbD4K
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>25500</attachid>
            <date>2008-11-25 14:08:31 -0800</date>
            <delta_ts>2008-11-25 14:17:02 -0800</delta_ts>
            <desc>Testcase: mild rendering anomaly (bug1)</desc>
            <filename>bug1.html</filename>
            <type>application/xhtml+xml</type>
            <size>683</size>
            <attacher name="Jack Schmidt">macosforge</attacher>
            
              <data encoding="base64">PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPCFET0NUWVBFIGh0bWwgUFVC
TElDICItLy9XM0MvL0RURCBYSFRNTCAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvVFIveGh0
bWwxMS9EVEQveGh0bWwxMS5kdGQiPgo8aHRtbCB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMTk5
OS94aHRtbCI+CiAgPGhlYWQ+CiAgICA8bWV0YSBodHRwLWVxdWl2PSJDb250ZW50LVR5cGUiIGNv
bnRlbnQ9InRleHQvaHRtbDtjaGFyc2V0PVVURi04IiAvPgogICAgPHRpdGxlPklucHV0Ly13ZWJr
aXQtdHJhbnNmb3JtIGJ1ZzwvdGl0bGU+CiAgICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgogICAg
ICBmb3JtIHsKCS13ZWJraXQtdHJhbnNmb3JtOiB0cmFuc2xhdGUoMCwwKTsKICAgICAgfQogICAg
PC9zdHlsZT4KICA8L2hlYWQ+CiAgPGJvZHk+CiAgICA8Zm9ybSBhY3Rpb249ImJ1Zy5jZ2kiPgog
ICAgICA8ZmllbGRzZXQ+Cgk8bGVnZW5kPlR5cGUgYW55dGhpbmc8L2xlZ2VuZD4KCTxpbnB1dCB0
eXBlPSJ0ZXh0IiBuYW1lPSJidWcgaW5wdXQiLz4KICAgICAgPC9maWVsZHNldD4KICAgIDwvZm9y
bT4KICAgIDxwPkxldHRlcnMgdmlzaWJpbGUsIGJ1dCBjYXJldCBtaXNwbGFjZWQuIFJlbmRlcmlu
ZyBwcm9ibGVtcyBhbG9uZyBib3JkZXIgb2YgaW5wdXQuPC9wPgogIDwvYm9keT4KPC9odG1sPgo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>25502</attachid>
            <date>2008-11-25 14:09:51 -0800</date>
            <delta_ts>2008-11-25 14:09:51 -0800</delta_ts>
            <desc>Testcase: Severe rendering anomaly (bug2)</desc>
            <filename>bug2.html</filename>
            <type>application/xhtml+xml</type>
            <size>756</size>
            <attacher name="Jack Schmidt">macosforge</attacher>
            
              <data encoding="base64">PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPCFET0NUWVBFIGh0bWwgUFVC
TElDICItLy9XM0MvL0RURCBYSFRNTCAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvVFIveGh0
bWwxMS9EVEQveGh0bWwxMS5kdGQiPgo8aHRtbCB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMTk5
OS94aHRtbCI+CiAgPGhlYWQ+CiAgICA8bWV0YSBodHRwLWVxdWl2PSJDb250ZW50LVR5cGUiIGNv
bnRlbnQ9InRleHQvaHRtbDtjaGFyc2V0PVVURi04IiAvPgogICAgPHRpdGxlPklucHV0Ly13ZWJr
aXQtdHJhbnNmb3JtIGJ1ZzwvdGl0bGU+CiAgICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgogICAg
ICBmb3JtIHsKCS13ZWJraXQtdHJhbnNmb3JtOiB0cmFuc2xhdGUoLTY0MHB4LDApOwogICAgICB9
CiAgICAgIGZpZWxkc2V0IHsKICAgICAgICBtYXJnaW4tbGVmdDogNjQwcHg7CiAgICAgIH0KICAg
IDwvc3R5bGU+CiAgPC9oZWFkPgogIDxib2R5PgogICAgPGZvcm0gYWN0aW9uPSJidWcuY2dpIj4K
ICAgICAgPGZpZWxkc2V0PgoJPGxlZ2VuZD5UeXBlIGFueXRoaW5nPC9sZWdlbmQ+Cgk8aW5wdXQg
dHlwZT0idGV4dCIgbmFtZT0iYnVnIGlucHV0Ii8+CiAgICAgIDwvZmllbGRzZXQ+CiAgICA8L2Zv
cm0+CiAgICA8cD5GaXJzdCBsZXR0ZXIgdmlzaWJsZSwgYnV0IGNhcmV0IG1pc3BsYWNlZC4gIEZv
bGxvd2luZyBsZXR0ZXJzIGludmlzaWJsZSB1bnRpbCBpbnB1dCBpcyBibHVycmVkLjwvcD4KICA8
L2JvZHk+CjwvaHRtbD4K
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>25503</attachid>
            <date>2008-11-25 14:11:05 -0800</date>
            <delta_ts>2008-11-25 14:11:05 -0800</delta_ts>
            <desc>Testcase: Transform damaged (bug3)</desc>
            <filename>bug3.html</filename>
            <type>application/xhtml+xml</type>
            <size>883</size>
            <attacher name="Jack Schmidt">macosforge</attacher>
            
              <data encoding="base64">PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPCFET0NUWVBFIGh0bWwgUFVC
TElDICItLy9XM0MvL0RURCBYSFRNTCAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvVFIveGh0
bWwxMS9EVEQveGh0bWwxMS5kdGQiPgo8aHRtbCB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMTk5
OS94aHRtbCI+CiAgPGhlYWQ+CiAgICA8bWV0YSBodHRwLWVxdWl2PSJDb250ZW50LVR5cGUiIGNv
bnRlbnQ9InRleHQvaHRtbDtjaGFyc2V0PVVURi04IiAvPgogICAgPHRpdGxlPklucHV0Ly13ZWJr
aXQtdHJhbnNmb3JtIGJ1ZzwvdGl0bGU+CiAgICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgogICAg
ICBmb3JtIHsKCS13ZWJraXQtdHJhbnNmb3JtOiB0cmFuc2xhdGUoLTY0MHB4LDApOwogICAgICB9
CiAgICAgIGZpZWxkc2V0IHsKICAgICAgICBtYXJnaW4tbGVmdDogNjQwcHg7CiAgICAgIH0KICAg
ICAgZGl2IHsKICAgICAgICB3aWR0aDogMzIwcHg7CiAgICAgICAgb3ZlcmZsb3c6IGhpZGRlbjsK
ICAgICAgfQogICAgPC9zdHlsZT4KICA8L2hlYWQ+CiAgPGJvZHk+CiAgICA8ZGl2PgogICAgICA8
Zm9ybSBhY3Rpb249ImJ1Zy5jZ2kiPgogICAgICAgIDxmaWVsZHNldD4KCSAgPGxlZ2VuZD5UeXBl
IGFueXRoaW5nPC9sZWdlbmQ+CgkgIDxpbnB1dCB0eXBlPSJ0ZXh0IiBuYW1lPSJidWcgaW5wdXQi
Lz4KICAgICAgICA8L2ZpZWxkc2V0PgogICAgICA8L2Zvcm0+CiAgICA8L2Rpdj4KICAgIDxwPk9u
Y2UgZmlyc3QgbGV0dGVyIGlzIHR5cGVkLCBmaWVsZHNldCBjb21wbGV0ZWx5IGRpc2FwcGVhcnMu
IE5vdGUgdGhpcyB0aW1lIHRoZSBmb3JtIGlzIGluc2lkZSBhIGRpdiB3aXRoIG92ZXJmbG93IGhp
ZGRlbi48L3A+CiAgPC9ib2R5Pgo8L2h0bWw+Cg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>25504</attachid>
            <date>2008-11-25 14:13:39 -0800</date>
            <delta_ts>2008-11-25 14:13:39 -0800</delta_ts>
            <desc>Testcase: Interesting variant, walking input (bug4)</desc>
            <filename>bug4.html</filename>
            <type>application/xhtml+xml</type>
            <size>866</size>
            <attacher name="Jack Schmidt">macosforge</attacher>
            
              <data encoding="base64">PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPCFET0NUWVBFIGh0bWwgUFVC
TElDICItLy9XM0MvL0RURCBYSFRNTCAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvVFIveGh0
bWwxMS9EVEQveGh0bWwxMS5kdGQiPgo8aHRtbCB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMTk5
OS94aHRtbCI+CiAgPGhlYWQ+CiAgICA8bWV0YSBodHRwLWVxdWl2PSJDb250ZW50LVR5cGUiIGNv
bnRlbnQ9InRleHQvaHRtbDtjaGFyc2V0PVVURi04IiAvPgogICAgPHRpdGxlPklucHV0Ly13ZWJr
aXQtdHJhbnNmb3JtIGJ1ZzwvdGl0bGU+CiAgICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgogICAg
ICBmb3JtIHsKCS13ZWJraXQtdHJhbnNmb3JtOiB0cmFuc2xhdGUoLTY0MHB4LDApOwogICAgICB9
CiAgICAgIGZpZWxkc2V0IHsKICAgICAgICBtYXJnaW4tbGVmdDogNjQwcHg7CiAgICAgIH0KICAg
ICAgZGl2IHsKICAgICAgICB3aWR0aDogNjQwcHg7CiAgICAgICAgb3ZlcmZsb3c6IGhpZGRlbjsK
ICAgICAgfQogICAgPC9zdHlsZT4KICA8L2hlYWQ+CiAgPGJvZHk+CiAgICA8ZGl2PgogICAgICA8
Zm9ybSBhY3Rpb249ImJ1Zy5jZ2kiPgogICAgICAgIDxmaWVsZHNldD4KCSAgPGxlZ2VuZD5UeXBl
IGFueXRoaW5nPC9sZWdlbmQ+CgkgIDxpbnB1dCB0eXBlPSJ0ZXh0IiBuYW1lPSJidWcgaW5wdXQi
Lz4KICAgICAgICA8L2ZpZWxkc2V0PgogICAgICA8L2Zvcm0+CiAgICA8L2Rpdj4KICAgIDxwPkVh
Y2ggbGV0dGVyIHR5cGVkIHdhbGtzIHRoZSBmaWVsZHNldCBmdXJ0aGVyIG9mZiB0aGUgc2NyZWVu
LiBOb3RlIHRoZSB3aWR0aCBvZiB0aGUgZGl2IGhhcyBiZWVuIGRvdWJsZWQuPC9wPgogIDwvYm9k
eT4KPC9odG1sPgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>