<?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>264184</bug_id>
          
          <creation_ts>2023-11-03 16:12:41 -0700</creation_ts>
          <short_desc>REGRESSION(264666@main): Layout of the &lt;tspan&gt; elements inside a &lt;textPath&gt; is incorrect</short_desc>
          <delta_ts>2023-12-13 11:41:29 -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>WebKit Nightly Build</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=257160</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="Said Abou-Hallawa">sabouhallawa</reporter>
          <assigned_to name="Nikolas Zimmermann">zimmermann</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>1989843</commentid>
    <comment_count>0</comment_count>
      <attachid>468478</attachid>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2023-11-03 16:12:41 -0700</bug_when>
    <thetext>Created attachment 468478
test case

Open the attached test case.

Result: The layout of the text inside the circle is incorrect.

This affects rendering of the MDN home page: https://developer.mozilla.org/en-US/. This is a regression of 264666@main which was the fix of bug 257160.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1989844</commentid>
    <comment_count>1</comment_count>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2023-11-03 16:13:16 -0700</bug_when>
    <thetext>rdar://117911214</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1989850</commentid>
    <comment_count>2</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2023-11-03 16:29:40 -0700</bug_when>
    <thetext>Thanks Said dir the reduction. I can have a look early next week…</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1996680</commentid>
    <comment_count>3</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2023-12-04 02:43:35 -0800</bug_when>
    <thetext>Working on it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1996694</commentid>
    <comment_count>4</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2023-12-04 04:44:12 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/21271</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1996695</commentid>
    <comment_count>5</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2023-12-04 04:46:00 -0800</bug_when>
    <thetext>Got a fix, and incorporated Saids testcase as new test in the PR. However I failed to make a proper reftest for this, as HTML/CSS is missing the primitives to layout text on path, and it&apos;s hard to simulate it in a cross-platform way, unless resorting to e.g. Ahem font etc. -- I didn&apos;t have the time to investigate, and also don&apos;t want to hold back the regression fix any longer.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1999346</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-12-13 11:41:26 -0800</bug_when>
    <thetext>Committed 271996@main (79238bc8e2d6): &lt;https://commits.webkit.org/271996@main&gt;

Reviewed commits have been landed. Closing PR #21271 and removing active labels.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>468478</attachid>
            <date>2023-11-03 16:12:41 -0700</date>
            <delta_ts>2023-11-03 16:12:41 -0700</delta_ts>
            <desc>test case</desc>
            <filename>mdn-home-page-modified.html</filename>
            <type>text/html</type>
            <size>778</size>
            <attacher name="Said Abou-Hallawa">sabouhallawa</attacher>
            
              <data encoding="base64">PHN0eWxlPgogICAgdGV4dFBhdGggewogICAgICAgIGZvbnQtc2l6ZTogMS41cmVtOwogICAgICAg
IGZvbnQtd2VpZ2h0OiAzMDA7CiAgICB9Cjwvc3R5bGU+Cjxib2R5PgogICAgPHN2ZyB3aWR0aD0i
Njc1IiBoZWlnaHQ9IjY3NSI+CiAgICAgICAgPHBhdGggZD0iTTMzNy41LDMzNy41IG0tMzIwLDAg
YTMyMCwzMjAgMCAxLDEgNjQwLDAgYTMyMCwzMjAgMCAxLDEgLTY0MCwwIiBmaWxsPSJub25lIiBz
dHJva2U9ImdyZWVuIiBpZD0iY2lyY2xlIj48L3BhdGg+CiAgICAgICAgPHRleHQgZHk9IjcwIiB0
ZXh0TGVuZ3RoPSIyMDEwIj4KICAgICAgICAgICAgPHRleHRQYXRoIHRleHRMZW5ndGg9IjIwMTAi
IGhyZWY9IiNjaXJjbGUiPgogICAgICAgICAgICAgICAgJm5ic3A7Jm5ic3A7QQogICAgICAgICAg
ICAgICAgPHRzcGFuPkI8L3RzcGFuPgogICAgICAgICAgICAgICAgPHRzcGFuPkM8L3RzcGFuPgog
ICAgICAgICAgICAgICAgPHRzcGFuPkQ8L3RzcGFuPgogICAgICAgICAgICAgICAgPHRzcGFuPkU8
L3RzcGFuPgogICAgICAgICAgICAgICAgPHRzcGFuPkY8L3RzcGFuPgogICAgICAgICAgICAgICAg
PHRzcGFuPkc8L3RzcGFuPgogICAgICAgICAgICAgICAgPHRzcGFuPkg8L3RzcGFuPgogICAgICAg
ICAgICAgICAgPHRzcGFuPkk8L3RzcGFuPgogICAgICAgICAgICAgICAgPHRzcGFuPko8L3RzcGFu
PgogICAgICAgICAgICAgICAgPHRzcGFuPks8L3RzcGFuPgogICAgICAgICAgICA8L3RleHRQYXRo
PgogICAgICAgIDwvdGV4dD4KICAgIDwvc3ZnPgo8L2JvZHk+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>