<?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>130836</bug_id>
          
          <creation_ts>2014-03-27 06:28:44 -0700</creation_ts>
          <short_desc>typing on the virtual keyboard won&apos;t produce text in input field in an iframe</short_desc>
          <delta_ts>2014-03-27 06:29:08 -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>Frames</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 7.0</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>http://www.flyordie.com/bugs/ios-safari-input.html</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="Daniel Szabo">szdy12</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>994906</commentid>
    <comment_count>0</comment_count>
      <attachid>227944</attachid>
    <who name="Daniel Szabo">szdy12</who>
    <bug_when>2014-03-27 06:28:44 -0700</bug_when>
    <thetext>Created attachment 227944
outer frame

In the following scenario no text will appear in an input field:
- the input field is in an iframe
- the outer frame has an ontouchstart handler
- the inner frame has an ontouchstart handler that calls preventDefault

For testing, use the attached samples or the provided urls.

http://www.flyordie.com/bugs/ios-safari-input.html

Tap on the gray area. When the on-screen keyboard pops up, try to enter text =&gt; nothing will appear in the input field.

If you open the subframe directly, typing works:

http://www.flyordie.com/bugs/ios-safari-input-frame.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>994908</commentid>
    <comment_count>1</comment_count>
      <attachid>227945</attachid>
    <who name="Daniel Szabo">szdy12</who>
    <bug_when>2014-03-27 06:29:08 -0700</bug_when>
    <thetext>Created attachment 227945
inner frame</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>227944</attachid>
            <date>2014-03-27 06:28:44 -0700</date>
            <delta_ts>2014-03-27 06:28:44 -0700</delta_ts>
            <desc>outer frame</desc>
            <filename>ios-safari-input.html</filename>
            <type>text/html</type>
            <size>471</size>
            <attacher name="Daniel Szabo">szdy12</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+DQo8aHRtbD48aGVhZD4NCjxtZXRhIGNoYXJzZXQ9InV0Zi04IiAvPg0K
PHRpdGxlPmlPUyBidWc6IGNhbm5vdCB0eXBlIHRleHQ8L3RpdGxlPg0KPHN0eWxlPg0KCWJvZHkg
ew0KCQlmb250LXNpemU6IDMwcHg7DQoJfQ0KPC9zdHlsZT4NCjwvaGVhZD4NCjxib2R5Pg0KPGlm
cmFtZSBzcmM9Imlvcy1zYWZhcmktaW5wdXQtZnJhbWUuaHRtbCIgc3R5bGU9IndpZHRoOjk1JTsg
aGVpZ2h0OjYwJTsiPjwvaWZyYW1lPg0KPHNjcmlwdD4NCndpbmRvdy5vbnRvdWNoc3RhcnQ9ZnVu
Y3Rpb24oZSkge307DQo8L3NjcmlwdD4NCkNhbm5vdCB0eXBlIGludG8gaW5wdXQgZmllbGQgb24g
YSBzdWJmcmFtZSBpZiBvbnRvdWNoc3RhcnQgaGFuZGxlciBpcyBzZXQgaW4gdGhlIG91dGVyIGZy
YW1lIGFuZCBwcmV2ZW50RGVmYXVsdCgpIGlzIGNhbGxlZCBpbiB0aGUgaW5uZXIgZnJhbWUuDQo8
L2JvZHk+DQo8L2h0bWw+
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>227945</attachid>
            <date>2014-03-27 06:29:08 -0700</date>
            <delta_ts>2014-03-27 06:29:08 -0700</delta_ts>
            <desc>inner frame</desc>
            <filename>ios-safari-input-frame.html</filename>
            <type>text/html</type>
            <size>632</size>
            <attacher name="Daniel Szabo">szdy12</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+DQo8aHRtbD48aGVhZD4NCjxtZXRhIGNoYXJzZXQ9InV0Zi04IiAvPg0K
PHRpdGxlPmlPUyBidWc6IGNhbm5vdCB0eXBlIHRleHQ8L3RpdGxlPg0KPHN0eWxlPg0KYm9keSwg
aW5wdXQsIGRpdiB7DQoJZm9udC1zaXplOiAzMHB4Ow0KfQ0KPC9zdHlsZT4NCjwvaGVhZD4NCjxi
b2R5Pg0KPHNjcmlwdD4NCndpbmRvdy5hZGRFdmVudExpc3RlbmVyKCJ0b3VjaHN0YXJ0IiwgZnVu
Y3Rpb24oZSkgew0KCWUucHJldmVudERlZmF1bHQoKTsNCgllLnN0b3BQcm9wYWdhdGlvbigpOw0K
CWRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCdpbnAnKS5mb2N1cygpOw0KCXJldHVybiBmYWxzZTsN
Cn0sIHRydWUpOw0KPC9zY3JpcHQ+DQo8ZGl2IHN0eWxlPSd3aWR0aDogODAlOyBoZWlnaHQ6IDIw
MHB4OyBiYWNrZ3JvdW5kOiAjYzBjMGMwOyBjb2xvcjogd2hpdGUnPg0KCVRhcCBoZXJlIHRoZW4g
dHJ5IHRvIHR5cGUgc29tZSB0ZXh0IHVzaW5nIHRoZSB2aXJ0dWFsIGtleWJvYXJkLg0KCVRleHQg
c2hvdWxkIGFwcGVhciBpbiB0aGUgaW5wdXQgZmllbGQgYmVsb3cuDQo8L2Rpdj4NCjxpbnB1dCBp
ZD0naW5wJyBzdHlsZT0nd2lkdGg6IDIwMHB4OyBoZWlnaHQ6IDQwcHg7Jz4NCjwvYm9keT4NCjwv
aHRtbD4=
</data>

          </attachment>
      

    </bug>

</bugzilla>