<?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>159617</bug_id>
          
          <creation_ts>2016-07-11 02:17:41 -0700</creation_ts>
          <short_desc>font-size measured in ex or ch scales quadratically with page zoom</short_desc>
          <delta_ts>2022-08-29 14:24:50 -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>Layout and Rendering</component>
          <version>Safari 9</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <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="Peter Krautzberger">peter</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>mmaxfield</cc>
    
    <cc>rniwa</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1209611</commentid>
    <comment_count>0</comment_count>
    <who name="Peter Krautzberger">peter</who>
    <bug_when>2016-07-11 02:17:41 -0700</bug_when>
    <thetext>WebKit&apos;s behavior seems identical to https://bugs.chromium.org/p/chromium/issues/detail?id=408777. 

Copied from there:

&gt; Example URL:
&gt; http://web.mit.edu/andersk/Public/font-size-css-units.html
&gt; 
&gt; Steps to reproduce the problem:
&gt; 1. Visit http://web.mit.edu/andersk/Public/font-size-css-units.html
&gt; 2. At 100% page zoom, observe that all the lines are roughly the same size.
&gt; 3. Zoom in.
&gt; 
&gt; What is the expected behavior?
&gt; All lines should get bigger by the same ratio.
&gt; 
&gt; What went wrong?
&gt; The lines where font-size is measured in ex or ch get bigger much faster than the other lines.  At 500% page zoom, they are shown at 25 times their original size.
&gt; 
&gt; Does it occur on multiple sites: Yes
&gt; 
&gt; Does this work in other browsers? Yes

While Blink is also affected, Firefox and IE/Edge are not.

Thanks in advance for looking into it!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1564888</commentid>
    <comment_count>1</comment_count>
    <who name="Peter Krautzberger">peter</who>
    <bug_when>2019-08-26 00:43:02 -0700</bug_when>
    <thetext>The Blink bug has been fixed now, cf. https://bugs.chromium.org/p/chromium/issues/detail?id=408777.

Using WebKitGTK+ 2.24.2, it appears the problem has been partially fixed in WebKit as well, i.e., it seems ex units are ok but ch units are still scaling up too much.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1894468</commentid>
    <comment_count>2</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-08-29 03:38:40 -0700</bug_when>
    <thetext>I am able to reproduce this bug in Safari Technology Preview 152 on macOS 12.5.1 and while zooming into test case from Comment 0, both &quot;ch&quot; and &quot;ex&quot; font-size grow faster than others while in all other browsers (Chrome Canary 107 and Firefox Nightly 106), it is not the case. Just wanted to share updated testing results. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1894638</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-08-29 14:24:50 -0700</bug_when>
    <thetext>&lt;rdar://problem/99295934&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>