<?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>139810</bug_id>
          
          <creation_ts>2014-12-19 00:05:44 -0800</creation_ts>
          <short_desc>Multiple text-shadows on SVG text element renders incorrectly</short_desc>
          <delta_ts>2025-01-09 12:08:19 -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>iPhone / iPad</rep_platform>
          <op_sys>iOS 8.1</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=111216</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BrowserCompat, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Torstein Hønsi">torstein</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>itsme</cc>
    
    <cc>mmaxfield</cc>
    
    <cc>nishgau28</cc>
    
    <cc>prr</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>1057008</commentid>
    <comment_count>0</comment_count>
    <who name="Torstein Hønsi">torstein</who>
    <bug_when>2014-12-19 00:05:44 -0800</bug_when>
    <thetext>Live demo at http://jsfiddle.net/highcharts/fq4rxp31/, run http://jsfiddle.net/highcharts/fq4rxp31/show on iOS.

In Safari on iOS 8.1.1 (tested on iPhone 6), when a second text-shadow is applied on and SVG text element, a duplication of the text element is rendered below it. It does not happen in desktop Safari or Chrome. It does however happen in PhantomJS.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1057009</commentid>
    <comment_count>1</comment_count>
    <who name="Torstein Hønsi">torstein</who>
    <bug_when>2014-12-19 00:06:17 -0800</bug_when>
    <thetext>Probably related, but not identical to #111216</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1057166</commentid>
    <comment_count>2</comment_count>
    <who name="Myles C. Maxfield">mmaxfield</who>
    <bug_when>2014-12-19 13:46:15 -0800</bug_when>
    <thetext>&lt;rdar://problem/19106154&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1073268</commentid>
    <comment_count>3</comment_count>
    <who name="Torstein Hønsi">torstein</who>
    <bug_when>2015-03-02 00:36:08 -0800</bug_when>
    <thetext>Just found out it only applies to Retina displays. On my Mac, if I have an external monitor with 1:1 display, I can drag the browser to the Retina display and back to the external monitor and see the artefact appear and disappear.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1682112</commentid>
    <comment_count>5</comment_count>
    <who name="Tom Kiss">itsme</who>
    <bug_when>2020-08-22 02:25:00 -0700</bug_when>
    <thetext>Just here to say I&apos;m seeing this issue in Safari 13.1 on macOS (Catalina).

I noticed it when using a text-shadow array to simulate a stroke effect on text, with text on path which was noticable.

The bug is very noticeable with a large text-shadow.

Here&apos;s another demo, this time alongside a text-shadow on an h1. Move the browser between a retina and standard resolution monitor to see the issue obviously; otherwise on a retina screen, the bug will be visible as a difference the svg and the html.

http://jsfiddle.net/tomkiss/fqc8hzsg/17/show</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1968953</commentid>
    <comment_count>6</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-07-31 16:37:35 -0700</bug_when>
    <thetext>This is reproducible in WebKit ToT (LBSE &amp; non-LBSE both) using test case from Comment 05. Both Firefox Nightly 117 and Chrome Canary 117 works fine and match each other.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1969006</commentid>
    <comment_count>7</comment_count>
    <who name="Tom Kiss">itsme</who>
    <bug_when>2023-08-01 03:32:46 -0700</bug_when>
    <thetext>Thanks for verifying.

I&apos;ve updated my example to be clearer, along with an explanation of what&apos;s going on. I hope this is a bit more helpful.

https://jsfiddle.net/tomkiss/fqc8hzsg/show</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1969076</commentid>
    <comment_count>8</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2023-08-01 10:41:34 -0700</bug_when>
    <thetext>Is this only an issue when using font-relative units (em) as the offset?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1969083</commentid>
    <comment_count>9</comment_count>
    <who name="Tom Kiss">itsme</who>
    <bug_when>2023-08-01 10:51:16 -0700</bug_when>
    <thetext>No, this it happens irrespective of unit type.

I&apos;ve updated the example with px.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2086164</commentid>
    <comment_count>10</comment_count>
    <who name="Rene">prr</who>
    <bug_when>2025-01-09 12:08:19 -0800</bug_when>
    <thetext>Wanted to add that the behavior seems to depend on font size.
In my specific case I can experience more problems with smaller font sizes (larger fonts sometimes work).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>