<?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>257107</bug_id>
          
          <creation_ts>2023-05-21 14:03:54 -0700</creation_ts>
          <short_desc>[LBSE] Resolve percentage in &lt;use&gt; against the instance&apos;s viewport element</short_desc>
          <delta_ts>2025-04-13 05:27:07 -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>Safari Technology Preview</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=256702</see_also>
          <bug_file_loc>https://jsfiddle.net/v9qkt4rf/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, LayerBasedSVGEngine</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="Nobody">webkit-unassigned</assigned_to>
          <cc>maggotfish</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>1956815</commentid>
    <comment_count>0</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-05-21 14:03:54 -0700</bug_when>
    <thetext>Hi Team,

While going through Blink&apos;s commit, I came across another potential merge to fix another failing test (in the URL field).

Blink Commit - https://chromium.googlesource.com/chromium/src/+/b34ff6fe2d5842a63e2c66f68f050f0cf9163010

WebKit Source - https://searchfox.org/wubkat/source/Source/WebCore/rendering/svg/LegacyRenderSVGTransformableContainer.cpp#61

I don&apos;t know how to fix LBSE so I think till we don&apos;t have LBSE enabled, we can still fix it in Legacy.

Just wanted to raise so we can fix it. (It might not be single merge, because we have &apos;bool&apos; function while it is different in Blink).

Thanks!

________

LBSE Source - https://searchfox.org/wubkat/source/Source/WebCore/rendering/svg/RenderSVGTransformableContainer.cpp#69

_______

I will fix it in non-lbse in bug 256702.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1958541</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-05-28 14:04:16 -0700</bug_when>
    <thetext>&lt;rdar://problem/109952707&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2110713</commentid>
    <comment_count>2</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2025-04-13 05:27:07 -0700</bug_when>
    <thetext>N/A - I just turned on LBSE in WebKit ToT (293642@main) and test this case - https://jsfiddle.net/v9qkt4rf/, it seems to match LegacySVG behavior. So nothing to do in LBSE.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>