<?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>248769</bug_id>
          
          <creation_ts>2022-12-05 11:30:54 -0800</creation_ts>
          <short_desc>[LegacySVG] Return vertical writing mode aware intrinsic information for SVG</short_desc>
          <delta_ts>2025-11-26 13:47:10 -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>SVG</component>
          <version>Safari Technology Preview</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=256962</see_also>
          <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="Ahmad Saleem">ahmad.saleem792</reporter>
          <assigned_to name="Ahmad Saleem">ahmad.saleem792</assigned_to>
          <cc>giosia</cc>
    
    <cc>sabouhallawa</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1916738</commentid>
    <comment_count>0</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-12-05 11:30:54 -0800</bug_when>
    <thetext>Hi Team,

While going through Blink&apos;s commit, I came across following commit:

Commit - https://chromium.googlesource.com/chromium/blink/+/60af46f13e39be1daacbcdab27c4e7212ae27886

Webkit GitHub Source - https://github.com/WebKit/WebKit/blob/ecaf5946d7a021d6e1d8bda4bb6e2c990a73d26a/Source/WebCore/rendering/svg/RenderSVGRoot.cpp#LL108 &amp; https://github.com/WebKit/WebKit/blob/ecaf5946d7a021d6e1d8bda4bb6e2c990a73d26a/Source/WebCore/rendering/svg/RenderSVGRoot.cpp#L118

Test Failing (Firefox Nightly 109 &amp; Chrome Canary 110 passes) - https://jsfiddle.net/28hwu6cy/show

Just wanted to raise bug before trying to merge this fix.

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1918553</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-12-12 11:31:17 -0800</bug_when>
    <thetext>&lt;rdar://problem/103262534&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1956166</commentid>
    <comment_count>2</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-05-18 07:48:44 -0700</bug_when>
    <thetext>
    if (!isHorizontalWritingMode())
        intrinsicSize = intrinsicSize.transposedSize();    

 if (!isHorizontalWritingMode())
                intrinsicRatioValue = 1 / intrinsicRatio

^ This make us pass another one of the test similar to Blink patch. I tried that in the past but didn&apos;t work. I might have done something silly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1956177</commentid>
    <comment_count>3</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-05-18 08:35:50 -0700</bug_when>
    <thetext>https://github.com/WebKit/WebKit/pull/14014 &lt;- at least fixing one test case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2161484</commentid>
    <comment_count>4</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2025-11-26 09:38:28 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/54490</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2161487</commentid>
    <comment_count>5</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2025-11-26 09:45:41 -0800</bug_when>
    <thetext>*** Bug 256962 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2161519</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-11-26 13:42:08 -0800</bug_when>
    <thetext>Committed 303578@main (0c4398970715): &lt;https://commits.webkit.org/303578@main&gt;

Reviewed commits have been landed. Closing PR #54490 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2161521</commentid>
    <comment_count>7</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2025-11-26 13:47:10 -0800</bug_when>
    <thetext>*** Bug 186595 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>