<?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>258619</bug_id>
          
          <creation_ts>2023-06-28 05:59:51 -0700</creation_ts>
          <short_desc>“Make text bigger” does not update the value of em in media queries</short_desc>
          <delta_ts>2023-07-26 17:31:11 -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>CSS</component>
          <version>Safari 16</version>
          <rep_platform>Mac (Intel)</rep_platform>
          <op_sys>macOS 13</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=41063</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BrowserCompat, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Šime Vidas">sime.vidas</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>jcraig</cc>
    
    <cc>karlcow</cc>
    
    <cc>koivisto</cc>
    
    <cc>mmaxfield</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1964014</commentid>
    <comment_count>0</comment_count>
      <attachid>466843</attachid>
    <who name="Šime Vidas">sime.vidas</who>
    <bug_when>2023-06-28 05:59:51 -0700</bug_when>
    <thetext>Created attachment 466843
Test page

Steps to reproduce:

1. Open the attached test page in desktop Safari.
2. Resize the window down and observe how both media queries, (max-width: 1000px) and (max-width: 62.5em), start matching once the width of the window becomes smaller than the width of the black bars.
3. Resize the window to its original position (more than 1000px width).
4. Press [command] [option] [+] to “Make text bigger”.
5. Observe how the second black bar (“62.5em wide”) is now wider than the first black bar (“1000px wide”).
6. Repeat step 2 and observe that both media queries start matching at 1000px (the width of the first bar).

What should have happened:

The media query (max-width: 62.5em) should start matching at the width of the second black bar (“62.5em wide”), but instead it starts matching at the width of the first black bar (“1000px wide”).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1965103</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-07-05 06:00:17 -0700</bug_when>
    <thetext>&lt;rdar://problem/111781559&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>466843</attachid>
            <date>2023-06-28 05:59:51 -0700</date>
            <delta_ts>2023-06-28 05:59:51 -0700</delta_ts>
            <desc>Test page</desc>
            <filename>css-em-test.html</filename>
            <type>text/html</type>
            <size>1023</size>
            <attacher name="Šime Vidas">sime.vidas</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+Cgo8aHRtbD4KICA8aGVhZD4KICAgIDxtZXRhIGNoYXJzZXQ9InV0Zi04
IiAvPgogICAgPG1ldGEgbmFtZT0idmlld3BvcnQiIGNvbnRlbnQ9IndpZHRoPWRldmljZS13aWR0
aCIgLz4KICAgIDx0aXRsZT5DU1MgZW0gdGVzdDwvdGl0bGU+CiAgICA8c3R5bGU+CiAgICAgIC8q
IFNob3cgb24gcGFnZSB3aGVuIGVpdGhlciBvZiB0aGUgdHdvIG1lZGlhIHF1ZXJpZXMgbWF0Y2hl
cyAqLwoKICAgICAgYm9keTo6YmVmb3JlLAogICAgICBib2R5OjphZnRlciB7CiAgICAgICAgY29u
dGVudDogJyhubyBtYXRjaCknOwogICAgICAgIGJhY2tncm91bmQ6IHllbGxvdzsKICAgICAgfQoK
ICAgICAgQG1lZGlhIChtYXgtd2lkdGg6IDEwMDBweCkgewogICAgICAgIGJvZHk6OmJlZm9yZSB7
CiAgICAgICAgICBjb250ZW50OiAnKG1heC13aWR0aDogMTAwMHB4KSBtYXRjaGVzJzsKICAgICAg
ICB9CiAgICAgIH0KCiAgICAgIEBtZWRpYSAobWF4LXdpZHRoOiA2Mi41ZW0pIHsKICAgICAgICBi
b2R5OjphZnRlciB7CiAgICAgICAgICBjb250ZW50OiAnKG1heC13aWR0aDogNjIuNWVtKSBtYXRj
aGVzJzsKICAgICAgICB9CiAgICAgIH0KCiAgICAgIC8qIE90aGVyIHN0eWxlcyAqLwoKICAgICAg
Ym9keSB7CiAgICAgICAgbWFyZ2luOiAwOwogICAgICB9CgogICAgICBib2R5ID4gKiB7CiAgICAg
ICAgbWFyZ2luLWJsb2NrOiAzcHg7CiAgICAgIH0KCiAgICAgIGRpdiB7CiAgICAgICAgY29sb3I6
IHdoaXRlOwogICAgICAgIGJhY2tncm91bmQ6IGJsYWNrOwogICAgICB9CiAgICA8L3N0eWxlPgog
IDwvaGVhZD4KICA8Ym9keT4KICAgIDxkaXYgc3R5bGU9IndpZHRoOiAxMDAwcHgiPjEwMDBweCB3
aWRlPC9kaXY+CiAgICA8ZGl2IHN0eWxlPSJ3aWR0aDogNjIuNWVtIj42Mi41ZW0gd2lkZTwvZGl2
PgoKICAgIDxwIHN0eWxlPSJmb250LXNpemU6IDMycHgiPjMycHggbGFyZ2U8L3A+CiAgICA8cCBz
dHlsZT0iZm9udC1zaXplOiAyZW0iPjJlbSBsYXJnZTwvcD4KICA8L2JvZHk+CjwvaHRtbD4K
</data>

          </attachment>
      

    </bug>

</bugzilla>