<?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>252490</bug_id>
          
          <creation_ts>2023-02-17 10:09:15 -0800</creation_ts>
          <short_desc>ch unit is not resolved properly when writing direction is vertical</short_desc>
          <delta_ts>2023-03-01 14:06:37 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Text</component>
          <version>WebKit Nightly Build</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>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="alan">zalan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>bfulgham</cc>
    
    <cc>karlcow</cc>
    
    <cc>mmaxfield</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1934652</commentid>
    <comment_count>0</comment_count>
      <attachid>465057</attachid>
    <who name="alan">zalan</who>
    <bug_when>2023-02-17 10:09:15 -0800</bug_when>
    <thetext>Created attachment 465057
test case

need to flip glyph height -&gt; glyph width</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1934657</commentid>
    <comment_count>1</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-02-17 10:14:59 -0800</bug_when>
    <thetext>For some strange reason - this test case on iOS 16.3.1 using iPhone 13 Pro Max works differently compared to macOS and does not show &quot;Red&quot; or &quot;Green&quot; but &quot;Blue&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1934663</commentid>
    <comment_count>2</comment_count>
      <attachid>465058</attachid>
    <who name="alan">zalan</who>
    <bug_when>2023-02-17 10:28:37 -0800</bug_when>
    <thetext>Created attachment 465058
(similar) test case</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1934664</commentid>
    <comment_count>3</comment_count>
    <who name="alan">zalan</who>
    <bug_when>2023-02-17 10:29:09 -0800</bug_when>
    <thetext>(In reply to Ahmad Saleem from comment #1)
&gt; For some strange reason - this test case on iOS 16.3.1 using iPhone 13 Pro
&gt; Max works differently compared to macOS and does not show &quot;Red&quot; or &quot;Green&quot;
&gt; but &quot;Blue&quot;.
that&apos;s certainly odd. what do you see with the second test case?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1934665</commentid>
    <comment_count>4</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-02-17 10:30:35 -0800</bug_when>
    <thetext>(In reply to zalan from comment #3)
&gt; (In reply to Ahmad Saleem from comment #1)
&gt; &gt; For some strange reason - this test case on iOS 16.3.1 using iPhone 13 Pro
&gt; &gt; Max works differently compared to macOS and does not show &quot;Red&quot; or &quot;Green&quot;
&gt; &gt; but &quot;Blue&quot;.
&gt; that&apos;s certainly odd. what do you see with the second test case?

Same blue text and I am using it in Private Mode (tab). :-(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1934671</commentid>
    <comment_count>5</comment_count>
    <who name="alan">zalan</who>
    <bug_when>2023-02-17 10:35:48 -0800</bug_when>
    <thetext>(In reply to Ahmad Saleem from comment #4)
&gt; (In reply to zalan from comment #3)
&gt; &gt; (In reply to Ahmad Saleem from comment #1)
&gt; &gt; &gt; For some strange reason - this test case on iOS 16.3.1 using iPhone 13 Pro
&gt; &gt; &gt; Max works differently compared to macOS and does not show &quot;Red&quot; or &quot;Green&quot;
&gt; &gt; &gt; but &quot;Blue&quot;.
&gt; &gt; that&apos;s certainly odd. what do you see with the second test case?
&gt; 
&gt; Same blue text and I am using it in Private Mode (tab). :-(
do you see only 0s or 1s too?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1934673</commentid>
    <comment_count>6</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-02-17 10:36:58 -0800</bug_when>
    <thetext>(In reply to zalan from comment #5)
&gt; (In reply to Ahmad Saleem from comment #4)
&gt; &gt; (In reply to zalan from comment #3)
&gt; &gt; &gt; (In reply to Ahmad Saleem from comment #1)
&gt; &gt; &gt; &gt; For some strange reason - this test case on iOS 16.3.1 using iPhone 13 Pro
&gt; &gt; &gt; &gt; Max works differently compared to macOS and does not show &quot;Red&quot; or &quot;Green&quot;
&gt; &gt; &gt; &gt; but &quot;Blue&quot;.
&gt; &gt; &gt; that&apos;s certainly odd. what do you see with the second test case?
&gt; &gt; 
&gt; &gt; Same blue text and I am using it in Private Mode (tab). :-(
&gt; do you see only 0s or 1s too?

Yes - I see them 000111 in blue text.

I see them in both cases but in blue compared to macOS, where it is green / red.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1934771</commentid>
    <comment_count>7</comment_count>
    <who name="alan">zalan</who>
    <bug_when>2023-02-17 16:56:08 -0800</bug_when>
    <thetext>apparently widthForGlyph(zeroGlyph) always returns 16px when platformData().orientation() != FontOrientation::Horizontal
(and we size the block incorrectly)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1936573</commentid>
    <comment_count>8</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-02-24 10:10:21 -0800</bug_when>
    <thetext>&lt;rdar://problem/105889789&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>465057</attachid>
            <date>2023-02-17 10:09:15 -0800</date>
            <delta_ts>2023-02-17 10:09:15 -0800</delta_ts>
            <desc>test case</desc>
            <filename>vertical-ch.html</filename>
            <type>text/html</type>
            <size>203</size>
            <attacher name="alan">zalan</attacher>
            
              <data encoding="base64">PHN0eWxlPgpkaXYgewogIHdyaXRpbmctbW9kZTogdmVydGljYWwtcmw7CiAgb3ZlcmZsb3c6IGhp
ZGRlbjsKICBoZWlnaHQ6IDEwY2g7CiAgY29sb3I6IGdyZWVuOwp9Cjwvc3R5bGU+CjxkaXY+MDAw
MDAwMDAwMDxzcGFuIHN0eWxlPSJjb2xvcjogcmVkIj4wMDAwMDAwMDAwPC9zcGFuPjwvZGl2Pgo8
cHJlPlBBU1MgaWYgbm8gcmVkIHNob3dzLjwvcHJlPgo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>465058</attachid>
            <date>2023-02-17 10:28:37 -0800</date>
            <delta_ts>2023-02-17 10:28:37 -0800</delta_ts>
            <desc>(similar) test case</desc>
            <filename>vertical-ch.html</filename>
            <type>text/html</type>
            <size>201</size>
            <attacher name="alan">zalan</attacher>
            
              <data encoding="base64">PHN0eWxlPgpkaXYgewogIHdyaXRpbmctbW9kZTogdmVydGljYWwtcmw7CiAgb3ZlcmZsb3c6IGhp
ZGRlbjsKICBoZWlnaHQ6IDEwY2g7CiAgY29sb3I6IGdyZWVuOwp9Cjwvc3R5bGU+CjxkaXY+MDAw
MDAwMDAwMDxzcGFuIHN0eWxlPSJjb2xvcjogcmVkIj4xMTExMTExMTExPC9zcGFuPjwvZGl2Pgo8
cHJlPlBBU1MgaWYgbm8gMSBzaG93cy48L3ByZT4K
</data>

          </attachment>
      

    </bug>

</bugzilla>