<?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>172855</bug_id>
          
          <creation_ts>2017-06-02 06:54:02 -0700</creation_ts>
          <short_desc>REGRESSION(Safari 10): rendering issues with U+20D7 when separated from preceding character by span</short_desc>
          <delta_ts>2017-08-21 11:52:25 -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>Text</component>
          <version>Safari 10</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>REOPENED</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="Peter Krautzberger">peter</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ddkilzer</cc>
    
    <cc>mmaxfield</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1315034</commentid>
    <comment_count>0</comment_count>
    <who name="Peter Krautzberger">peter</who>
    <bug_when>2017-06-02 06:54:02 -0700</bug_when>
    <thetext>When U+20D7 (and possibly other combining characters) is separated from the preceding character by a span element, the combination renders badly in Safari 10.

In particular, Safari 10 renders this differently from other browsers (see [2]). 

Safari 10 also renders more test cases badly than Safari 9 did. On the other hand, WebKitGTK+ 2.16.3 has no issues.

* minimal example [1]
* screenshots (archive) [2]
* original context [3]

[1] https://codepen.io/pkra/pen/yXBRxW
[2] https://github.com/mathjax/MathJax/files/1047779/cbt_2358181_2472234.zip
[3] https://github.com/mathjax/MathJax/issues/1709#issuecomment-305648698


Thanks in advance.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1315133</commentid>
    <comment_count>1</comment_count>
    <who name="Myles C. Maxfield">mmaxfield</who>
    <bug_when>2017-06-02 11:39:01 -0700</bug_when>
    <thetext>This is a duplicate of https://bugs.webkit.org/show_bug.cgi?id=6148.

*** This bug has been marked as a duplicate of bug 6148 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1315164</commentid>
    <comment_count>2</comment_count>
    <who name="Peter Krautzberger">peter</who>
    <bug_when>2017-06-02 12:47:19 -0700</bug_when>
    <thetext>Thanks, Myles.

I can see the connection but it seems this issue might be different enough since

a) there&apos;s a regression in Safari 10 compared to 9

b) WebKitGTK+ 2.16.3 does not have a problem

while #6148 is much older and marked as applying to WebKit in general.

Thanks again,
Peter.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1315174</commentid>
    <comment_count>3</comment_count>
    <who name="Myles C. Maxfield">mmaxfield</who>
    <bug_when>2017-06-02 12:57:28 -0700</bug_when>
    <thetext>Reopening due to regression</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1315365</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2017-06-02 21:00:10 -0700</bug_when>
    <thetext>&lt;rdar://problem/32551196&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1337282</commentid>
    <comment_count>5</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2017-08-09 19:19:00 -0700</bug_when>
    <thetext>See also:  &lt;https://github.com/mathjax/MathJax/issues/1709#issuecomment-305795001&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1340670</commentid>
    <comment_count>6</comment_count>
      <attachid>318653</attachid>
    <who name="Myles C. Maxfield">mmaxfield</who>
    <bug_when>2017-08-21 11:46:17 -0700</bug_when>
    <thetext>Created attachment 318653
Reproduction</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1340675</commentid>
    <comment_count>7</comment_count>
    <who name="Myles C. Maxfield">mmaxfield</who>
    <bug_when>2017-08-21 11:52:25 -0700</bug_when>
    <thetext>Until we can do cross-element shaping, if you start an element with a combining mark, you&apos;re gonna have a bad time. https://bugs.webkit.org/show_bug.cgi?id=6148 will fix this.

Between Safari 9 and Safari 10, I fixed some bugs about how we account for the initial advance. These fixes are progressions, and should not be reverted. The best bet for us to fix this problem is just to fix the root issue, and not try to figure out which progression caused this bug to occur.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>318653</attachid>
            <date>2017-08-21 11:46:17 -0700</date>
            <delta_ts>2017-08-21 11:46:17 -0700</delta_ts>
            <desc>Reproduction</desc>
            <filename>repro.html</filename>
            <type>text/html</type>
            <size>747</size>
            <attacher name="Myles C. Maxfield">mmaxfield</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgo8aGVhZD4KPHN0eWxlPgovKiAgRnJvbSBodHRwczovL2dp
dGh1Yi5jb20vbWF0aGpheC9NYXRoSmF4L2lzc3Vlcy8xNzA5I2lzc3VlY29tbWVudC0zMDU3NjE3
MzM6ICJsb2FkIGEgZm9udCBrbm93biB0byBoYXZlIHRoZSB2ZWN0b3IgYXJyb3cuIFsuLi5dICBt
b3JlIGltcG9ydGFudGx5LCBpdCB3b3VsZCBtYWtlIHN1cmUgeW91IGFyZSBnZXR0aW5nIGEgZm9u
dCB0aGF0IHVzZXMgdGhlIHplcm8td2lkdGggY2hhcmFjdGVyIGFwcHJvYWNoIGZvciB0aGUgYWNj
ZW50cy4iICAqLwpAZm9udC1mYWNlIHsKICBmb250LWZhbWlseTogVkVDOwogIHNyYzogdXJsKE1h
dGhKYXhfTWFpbi1SZWd1bGFyLm90ZikgZm9ybWF0KCJvcGVudHlwZSIpCn0KPC9zdHlsZT4KPC9o
ZWFkPgo8Ym9keT4KPGgxPlNhbXBsZTwvaDE+Cgo8ZGl2IHN0eWxlPSJmb250LWZhbWlseTpWRUMi
Pgp1JiN4MjBENzsKPHNwYW4+dTwvc3Bhbj4mI3gyMEQ3Owp1PHNwYW4+JiN4MjBENzs8L3NwYW4+
CjxzcGFuPnU8L3NwYW4+PHNwYW4+JiN4MjBENzs8L3NwYW4+CjwvZGl2PgoKPGgyPkNvbnRleHQ8
L2gyPgo8YSBocmVmPSJodHRwczovL2dpdGh1Yi5jb20vbWF0aGpheC9NYXRoSmF4L2lzc3Vlcy8x
NzA5I2lzc3VlY29tbWVudC0zMDU2NDg2OTgiPk1hdGhKYXgjMTcwOTwvYT4gKHlvdSBjYW4gZmlu
ZCBjcm9zcy1icm93c2VyIHNjcmVlZW5zaG90cyB0aGVyZSkuCjwvZm9vdGVyPgo8L2JvZHk+Cjwv
aHRtbD4K
</data>

          </attachment>
      

    </bug>

</bugzilla>