<?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>210714</bug_id>
          
          <creation_ts>2020-04-18 23:21:23 -0700</creation_ts>
          <short_desc>Using vmax for select &lt;option&gt; font-size adds a noticeable delay to all future interactive events</short_desc>
          <delta_ts>2020-04-25 21:02: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>UI Events</component>
          <version>Safari 13</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 13</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jamie Nguyen">j</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>dino</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>thorton</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1643168</commentid>
    <comment_count>0</comment_count>
      <attachid>396894</attachid>
    <who name="Jamie Nguyen">j</who>
    <bug_when>2020-04-18 23:21:23 -0700</bug_when>
    <thetext>Created attachment 396894
Test case reduction

I&apos;ve attached a one-file test case reduction. Interactive elements (a button in this case) are responsive to begin with. Click into the &lt;select&gt; dropdown and out again, and now all future button presses take a few hundred milliseconds to respond. This persists even after a page refresh; only a force refresh seems to fix it.

The delay happens to all interactive touch/click events (ie, links, buttons etc). In the test case, the button (toggling the background color) just makes it easier to appreciate the delay, but the delay also applies to opening the &lt;select&gt; dropdown itself.

I&apos;ve put the same test case here: https://jamielinux.github.io/webkit-select-font-size-bug/

Steps to reproduce:
1. Create a &lt;select&gt; dropdown.
2. Style &lt;option&gt; font-size to any vmax value.
3. Load website. 
4. Touch events (eg, a button) are responsive.
5. Open the &lt;select&gt; dropdown and close it.
6. All future touch events have a delay of a few hundred milliseconds.
7. Refresh page and problem still persists.
8. Force refresh page and problem resets.

Hardware/software details:
- iPhone XS Max
- iOS 13.4.1
- Both iOS Safari &amp; iOS Firefox</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1644533</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2020-04-22 15:23:59 -0700</bug_when>
    <thetext>I could reproduce this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1644534</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-04-22 15:24:12 -0700</bug_when>
    <thetext>&lt;rdar://problem/62214347&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1645744</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2020-04-25 21:02:49 -0700</bug_when>
    <thetext>Do we lose fast click somehow?</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>396894</attachid>
            <date>2020-04-18 23:21:23 -0700</date>
            <delta_ts>2020-04-18 23:21:23 -0700</delta_ts>
            <desc>Test case reduction</desc>
            <filename>index.html</filename>
            <type>text/html</type>
            <size>877</size>
            <attacher name="Jamie Nguyen">j</attacher>
            
              <data encoding="base64">PGh0bWw+CiAgPGhlYWQ+CiAgICA8bWV0YSBjaGFyc2V0PSJ1dGYtOCIgLz4KICAgIDxtZXRhIG5h
bWU9InZpZXdwb3J0IiBjb250ZW50PSJ3aWR0aD1kZXZpY2Utd2lkdGgiIC8+CiAgICA8dGl0bGU+
aU9TIFdlYktpdCBCdWc8L3RpdGxlPgogICAgPHN0eWxlPgogICAgICAuYm9keS0tcmVkIHsKICAg
ICAgICBiYWNrZ3JvdW5kLWNvbG9yOiBibGFjazsKICAgICAgfQogICAgICAuc2VsZWN0X19vcHRp
b24gewogICAgICAgIGZvbnQtc2l6ZTogMXZtYXg7CiAgICAgIH0KICAgIDwvc3R5bGU+CiAgICA8
c2NyaXB0PgogICAgICBmdW5jdGlvbiBiZ1RvZ2dsZSgpIHsKICAgICAgICBjb25zdCBib2R5ID0g
ZG9jdW1lbnQuYm9keTsKICAgICAgICBpZiAoYm9keS5jbGFzc0xpc3QuY29udGFpbnMoImJvZHkt
LXJlZCIpKSB7CiAgICAgICAgICBib2R5LmNsYXNzTGlzdC5yZW1vdmUoImJvZHktLXJlZCIpOwog
ICAgICAgIH0gZWxzZSB7CiAgICAgICAgICBib2R5LmNsYXNzTGlzdC5hZGQoImJvZHktLXJlZCIp
OwogICAgICAgIH0KICAgICAgfQogICAgPC9zY3JpcHQ+CiAgPC9oZWFkPgogIDxib2R5PgogICAg
PGJ1dHRvbiB0eXBlPSJidXR0b24iIGNsYXNzPSJzZWxlY3RfX2J1dHRvbiIgb25jbGljaz0iYmdU
b2dnbGUoKSI+CiAgICAgIENsaWNrIG1lIQogICAgPC9idXR0b24+CiAgICA8c2VsZWN0IG5hbWU9
InNlbGVjdCIgY2xhc3M9InNlbGVjdCIgdmFsdWU9Im9uZSI+CiAgICAgIDxvcHRpb24gdmFsdWU9
Im9uZSIgY2xhc3M9InNlbGVjdF9fb3B0aW9uIj5vbmU8L29wdGlvbj4KICAgICAgPG9wdGlvbiB2
YWx1ZT0idHdvIiBjbGFzcz0ic2VsZWN0X19vcHRpb24iPnR3bzwvb3B0aW9uPgogICAgPC9zZWxl
Y3Q+CiAgPC9ib2R5Pgo8L2h0bWw+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>