<?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>150401</bug_id>
          
          <creation_ts>2015-10-21 11:30:22 -0700</creation_ts>
          <short_desc>Inner height behavior when the keyboard is shown should match on WKWebView and Safari</short_desc>
          <delta_ts>2015-10-29 12:47:53 -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>WebKit Misc.</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>150634</dup_id>
          
          <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="Wenson Hsieh">wenson_hsieh</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1135299</commentid>
    <comment_count>0</comment_count>
      <attachid>263706</attachid>
    <who name="Wenson Hsieh">wenson_hsieh</who>
    <bug_when>2015-10-21 11:30:22 -0700</bug_when>
    <thetext>Created attachment 263706
Check that window.innerHeight and onresize behavior matches for WKWebView and Safari

WKWebView and MobileSafari treat window.innerHeight differently when the software keyboard is shown. Namely, WKWebView subtracts the keyboard height when computing innerHeight, while MobileSafari does not.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1137617</commentid>
    <comment_count>1</comment_count>
    <who name="Wenson Hsieh">wenson_hsieh</who>
    <bug_when>2015-10-29 12:47:53 -0700</bug_when>
    <thetext>Whoops, forgot I already filed this bug :\

*** This bug has been marked as a duplicate of bug 150634 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>263706</attachid>
            <date>2015-10-21 11:30:22 -0700</date>
            <delta_ts>2015-10-21 11:30:22 -0700</delta_ts>
            <desc>Check that window.innerHeight and onresize behavior matches for WKWebView and Safari</desc>
            <filename>blur-on-resize.html</filename>
            <type>text/html</type>
            <size>1021</size>
            <attacher name="Wenson Hsieh">wenson_hsieh</attacher>
            
              <data encoding="base64">PGh0bWw+CjxoZWFkPgogICAgPG1ldGEgbmFtZT0idmlld3BvcnQiIGNvbnRlbnQ9IndpZHRoID0g
ZGV2aWNlLXdpZHRoLCB1c2VyLXNjYWxhYmxlID0gbm8iPgogICAgPHNjcmlwdD4KICAgICAgICB2
YXIgY291bnQgPSAwOwogICAgICAgIGZ1bmN0aW9uIHNldHVwKCkgewogICAgICAgICAgICB3aW5k
b3cub25yZXNpemUgPSBmdW5jdGlvbigpIHsKICAgICAgICAgICAgICAgIGRvY3VtZW50LmdldEVs
ZW1lbnRCeUlkKCJyZXNpemUtY291bnQiKS50ZXh0Q29udGVudCA9IFN0cmluZygrK2NvdW50KTsK
ICAgICAgICAgICAgICAgIGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCJ3aW5kb3ctaGVpZ2h0Iiku
dGV4dENvbnRlbnQgPSBTdHJpbmcod2luZG93LmlubmVySGVpZ2h0KTsKICAgICAgICAgICAgfQog
ICAgICAgICAgICBzZXRUaW1lb3V0KGZ1bmN0aW9uKCkgewogICAgICAgICAgICAgICAgZG9jdW1l
bnQuZ2V0RWxlbWVudEJ5SWQoIndpbmRvdy1oZWlnaHQiKS50ZXh0Q29udGVudCA9IFN0cmluZyh3
aW5kb3cuaW5uZXJIZWlnaHQpOwogICAgICAgICAgICB9LCA1MDApOwogICAgICAgIH0KICAgIDwv
c2NyaXB0PgoKICAgIDxzdHlsZT4KICAgICAgICBpbnB1dDpmb2N1cyB7CiAgICAgICAgICAgIG91
dGxpbmU6IG5vbmU7CiAgICAgICAgICAgIGJvcmRlcjogMXB4IHNvbGlkICM0RDkwRkU7CiAgICAg
ICAgfQoKICAgICAgICBpbnB1dCB7CiAgICAgICAgICAgIG1hcmdpbi10b3A6IDUwMHB4OwogICAg
ICAgIH0KCiAgICAgICAgYm9keSB7CiAgICAgICAgICAgIG1hcmdpbi10b3A6IDIwcHg7CiAgICAg
ICAgfQogICAgPC9zdHlsZT4KPC9oZWFkPgoKPGJvZHkgb25sb2FkPSJzZXR1cCgpIj4KICAgIDxp
bnB1dCAvPgogICAgPGRpdj5OdW1iZXIgb2YgcmVzaXplIGV2ZW50czogPHNwYW4gaWQ9InJlc2l6
ZS1jb3VudCI+MDwvc3Bhbj48L2Rpdj4KICAgIDxkaXY+d2luZG93LmlubmVySGVpZ2h0ID0gPHNw
YW4gaWQ9IndpbmRvdy1oZWlnaHQiPjwvc3Bhbj48L2Rpdj4KPC9ib2R5Pgo8L2h0bWw+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>