<?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>259286</bug_id>
          
          <creation_ts>2023-07-17 12:11:00 -0700</creation_ts>
          <short_desc>REGRESSION(265525@main): wpt /svg/text/scripted/getstartpositionofchar-dominant-baseline.html</short_desc>
          <delta_ts>2023-07-19 07:07:16 -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>CONFIGURATION CHANGED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=139258</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="Sam Sneddon [:gsnedders]">gsnedders</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>heycam</cc>
    
    <cc>ntim</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>1967085</commentid>
    <comment_count>0</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2023-07-17 12:11:00 -0700</bug_when>
    <thetext>c.f. https://wpt.fyi/results/svg/text/scripted/getstartpositionofchar-dominant-baseline.html?run_id=5186421294366720&amp;run_id=5159272738979840&amp;run_id=5100859438923776&amp;run_id=5131751863615488&amp;run_id=5163365977030656 which regressed in STP 174

bisecting this points at 265525@main, from bug 139258

The test seems to be specifically testing that certain things don&apos;t depend on dominant-baseline; it may just be that this a bad test (previously bogusly passing because it relied on dominant-baseline being inherited), but it is nevertheless a test regression.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1967086</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-07-17 12:11:11 -0700</bug_when>
    <thetext>&lt;rdar://problem/112420119&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1967116</commentid>
    <comment_count>2</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-07-17 14:32:47 -0700</bug_when>
    <thetext>Thanks @Sam, let me explore what is causing this failure, might not be immediate solution from my side but still will look into it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1967309</commentid>
    <comment_count>3</comment_count>
    <who name="Cameron McCormack (:heycam)">heycam</who>
    <bug_when>2023-07-18 21:28:15 -0700</bug_when>
    <thetext>So while this is indeed a test new failure due to making dominant-baseline inherited, it doesn’t reveal a new bug in our SVG text layout code. Manually inheriting the property shows the same issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1967310</commentid>
    <comment_count>4</comment_count>
      <attachid>467071</attachid>
    <who name="Cameron McCormack (:heycam)">heycam</who>
    <bug_when>2023-07-18 21:28:28 -0700</bug_when>
    <thetext>Created attachment 467071
test</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1967311</commentid>
    <comment_count>5</comment_count>
    <who name="Cameron McCormack (:heycam)">heycam</who>
    <bug_when>2023-07-18 21:31:00 -0700</bug_when>
    <thetext>Using these baseline properties with SVG text isn&apos;t super common, but I have seen people use it.  There is a small risk of breaking content, without fixing the underlying SVG text layout problem.

I think we should revert bug 139258 until we can fix the SVG text issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1967335</commentid>
    <comment_count>6</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-07-19 03:31:47 -0700</bug_when>
    <thetext>I am OK to revert this but at the same time, this change progressed two WPT tests (if I am not wrong) and helped us close three ancient bugs, we had.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1967350</commentid>
    <comment_count>7</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2023-07-19 07:07:16 -0700</bug_when>
    <thetext>Fixed by revert: https://webkit.org/b/259335

&gt; I am OK to revert this but at the same time, this change progressed two WPT tests (if I am not wrong) and helped us close three ancient bugs, we had.

I think we do want to try to fix this test if we were to reland this.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>467071</attachid>
            <date>2023-07-18 21:28:28 -0700</date>
            <delta_ts>2023-07-18 21:28:28 -0700</delta_ts>
            <desc>test</desc>
            <filename>dominant-baseline.svg</filename>
            <type>image/svg+xml</type>
            <size>399</size>
            <attacher name="Cameron McCormack (:heycam)">heycam</attacher>
            
              <data encoding="base64">PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHN0eWxlPSJmb250OiA2MHB4
IEFyaWFsOyI+CiAgPHBhdGggaWQ9InBhdGgiIHN0cm9rZT0icmVkIiBzdHJva2Utd2lkdGg9IjEi
IGQ9Ik0wIDEwMGg1MDAiLz4KICA8dGV4dCB4PSIwIiB5PSIxMDAiIGRvbWluYW50LWJhc2VsaW5l
PSJtaWRkbGUiPlRlc3Q8L3RleHQ+CiAgPHRleHQgZG9taW5hbnQtYmFzZWxpbmU9Im1pZGRsZSI+
CiAgICA8dHNwYW4geD0iMTUwIiB5PSIxMDAiPlRlc3Q8L3RzcGFuPgogIDwvdGV4dD4KICA8dGV4
dCB4PSIzMDAiIHk9IjEwMCIgZG9taW5hbnQtYmFzZWxpbmU9Im1pZGRsZSI+CiAgICA8dHNwYW4g
ZG9taW5hbnQtYmFzZWxpbmU9Im1pZGRsZSI+VGVzdDwvdHNwYW4+CiAgPC90ZXh0Pgo8L3N2Zz4K
</data>

          </attachment>
      

    </bug>

</bugzilla>