<?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>139119</bug_id>
          
          <creation_ts>2014-11-30 20:38:55 -0800</creation_ts>
          <short_desc>SVG text mid-points should not reorder BiDi text runs</short_desc>
          <delta_ts>2024-12-12 12:03:30 -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>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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="Said Abou-Hallawa">sabouhallawa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1051395</commentid>
    <comment_count>0</comment_count>
      <attachid>242302</attachid>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2014-11-30 20:38:55 -0800</bug_when>
    <thetext>Created attachment 242302
Test mid-points with BiDi text

When specifying multiple x-positions in the text tag of an SVG, they should be treated as strong directional points.  In other words, reordering the text runs should stop at any mid-point.

Open the attached test file and compare it with the expected file.

NOTE: The attached file is a Mozilla imported svg text file.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1051396</commentid>
    <comment_count>1</comment_count>
      <attachid>242303</attachid>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2014-11-30 20:41:08 -0800</bug_when>
    <thetext>Created attachment 242303
Expected file</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1051477</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2014-12-01 10:38:57 -0800</bug_when>
    <thetext>&lt;rdar://problem/19103207&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1922433</commentid>
    <comment_count>3</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-01-01 05:58:23 -0800</bug_when>
    <thetext>It is still broken in Safari 16.2 &amp; Safari Technology Preview 160 while Chrome Canary 111 and Firefox Nightly 110 is rendering similar to Expected file.

Just wanted to share updated testing result. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2081276</commentid>
    <comment_count>4</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-12-12 12:03:30 -0800</bug_when>
    <thetext>Just to note, it is fixed with SVG Text refactoring to use IFC.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>242302</attachid>
            <date>2014-11-30 20:38:55 -0800</date>
            <delta_ts>2014-11-30 20:38:55 -0800</delta_ts>
            <desc>Test mid-points with BiDi text</desc>
            <filename>multiple-x-rtl.svg</filename>
            <type>image/svg+xml</type>
            <size>343</size>
            <attacher name="Said Abou-Hallawa">sabouhallawa</attacher>
            
              <data encoding="base64">PCEtLQogICAgIEFueSBjb3B5cmlnaHQgaXMgZGVkaWNhdGVkIHRvIHRoZSBQdWJsaWMgRG9tYWlu
LgogICAgIGh0dHA6Ly9jcmVhdGl2ZWNvbW1vbnMub3JnL3B1YmxpY2RvbWFpbi96ZXJvLzEuMC8K
LS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNzAwIiBo
ZWlnaHQ9IjIwMCIgdmlld0JveD0iMCAwIDcwMCAyMDAiPgogIDxnIHRyYW5zZm9ybT0idHJhbnNs
YXRlKDEwMCwxMDApIiBzdHlsZT0iZm9udDogMTZweCBzYW5zLXNlcmlmIj4KICAgIDx0ZXh0IGRp
cmVjdGlvbj0ncnRsJyB4PSczMDAgMjAwJz7XkNeR15LXk9eUPC90ZXh0PgogIDwvZz4KPC9zdmc+
Cg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>242303</attachid>
            <date>2014-11-30 20:41:08 -0800</date>
            <delta_ts>2014-11-30 20:41:08 -0800</delta_ts>
            <desc>Expected file</desc>
            <filename>multiple-x-rtl-expected.svg</filename>
            <type>image/svg+xml</type>
            <size>381</size>
            <attacher name="Said Abou-Hallawa">sabouhallawa</attacher>
            
              <data encoding="base64">PCEtLQogICAgIEFueSBjb3B5cmlnaHQgaXMgZGVkaWNhdGVkIHRvIHRoZSBQdWJsaWMgRG9tYWlu
LgogICAgIGh0dHA6Ly9jcmVhdGl2ZWNvbW1vbnMub3JnL3B1YmxpY2RvbWFpbi96ZXJvLzEuMC8K
LS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNzAwIiBo
ZWlnaHQ9IjIwMCIgdmlld0JveD0iMCAwIDcwMCAyMDAiPgogIDxnIHRyYW5zZm9ybT0idHJhbnNs
YXRlKDEwMCwxMDApIiBzdHlsZT0iZm9udDogMTZweCBzYW5zLXNlcmlmIj4KICAgIDx0ZXh0IHg9
JzMwMCcgZGlyZWN0aW9uPSdydGwnPteQPC90ZXh0PgogICAgPHRleHQgeD0nMjAwJyBkaXJlY3Rp
b249J3J0bCc+15HXkteT15Q8L3RleHQ+CiAgPC9nPgo8L3N2Zz4K
</data>

          </attachment>
      

    </bug>

</bugzilla>