<?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>266260</bug_id>
          
          <creation_ts>2023-12-11 16:35:41 -0800</creation_ts>
          <short_desc>Inline SVGTextLayoutAttributes::emptyValue</short_desc>
          <delta_ts>2024-09-15 10:57:00 -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>SVG</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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="Ahmad Saleem">ahmad.saleem792</reporter>
          <assigned_to name="Ahmad Saleem">ahmad.saleem792</assigned_to>
          <cc>rbuis</cc>
    
    <cc>sabouhallawa</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1998829</commentid>
    <comment_count>0</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-12-11 16:35:41 -0800</bug_when>
    <thetext>Hi Team,

While looking into Blink&apos;s commit, I came across another potential merge:

Blink Commit: https://src.chromium.org/viewvc/blink?view=revision&amp;revision=195555

&quot;This function just returns a simple float - inlining it allows the
compiler to generate more efficient code (and smaller - ~.5k) code
since the relatively high overhead call can be eliminated.
Take the opportunity to change the &quot;empty value&quot; into NaN (instead of
&quot;max() - 1&quot;), with corresponding semantic changes required by that.&quot;

Just wanted to raise to get input, if it is worthwhile change to merge.

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2000578</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-12-18 16:36:16 -0800</bug_when>
    <thetext>&lt;rdar://problem/119839011&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2000746</commentid>
    <comment_count>2</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-12-19 09:51:18 -0800</bug_when>
    <thetext>NOTE - It leads to regress following test case:

https://web.archive.org/web/20150712020900/http://output.jsbin.com/imajow/1/quiet

^ It start showing nothing. Tested on local build.

It is via following changes only:

Source/WebCore/rendering/svg/SVGTextLayoutAttributes.cpp &lt;-
Source/WebCore/rendering/svg/SVGTextLayoutAttributes.h &lt;-

PR Attempt: https://github.com/WebKit/WebKit/pull/22031</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2002384</commentid>
    <comment_count>3</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-12-31 22:03:19 -0800</bug_when>
    <thetext>It needs some tinkering here in rotation code:

https://searchfox.org/wubkat/rev/af9971e796398c1d012ef5df9a09ed580d19bd17/Source/WebCore/rendering/svg/SVGTextLayoutAttributesBuilder.cpp#195

To make the below failing test fixed.

NOTE - I closed my PR because again my Git setup screwed-up rebase.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2053567</commentid>
    <comment_count>4</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-08-18 06:17:05 -0700</bug_when>
    <thetext>SVN link is gone, so this is link - https://github.com/chromium/chromium/commit/d501a4d0cecb30041be93e549c909f8b3517a3fc</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2060305</commentid>
    <comment_count>5</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-09-15 06:31:14 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/33674</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2060322</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-09-15 10:56:58 -0700</bug_when>
    <thetext>Committed 283684@main (5f8c05ccb28f): &lt;https://commits.webkit.org/283684@main&gt;

Reviewed commits have been landed. Closing PR #33674 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>