Bug 192539 - stroke-dasharray applied to markers and cannot be overriden by ="0"
Summary: stroke-dasharray applied to markers and cannot be overriden by ="0"
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified All
: P2 Normal
Assignee: Nobody
URL:
Keywords: BrowserCompat, InRadar
Depends on:
Blocks:
 
Reported: 2018-12-09 04:01 PST by Peter Holbein Kapoun
Modified: 2022-08-13 05:15 PDT (History)
7 users (show)

See Also:


Attachments
Testcase (513 bytes, image/svg+xml)
2018-12-09 04:01 PST, Peter Holbein Kapoun
no flags Details
Rendering in Firefox and Chrome (6.17 KB, image/png)
2018-12-09 04:02 PST, Peter Holbein Kapoun
no flags Details
Rendering in Safari (5.44 KB, image/png)
2018-12-09 04:02 PST, Peter Holbein Kapoun
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Holbein Kapoun 2018-12-09 04:01:38 PST
Created attachment 356916 [details]
Testcase

Unlike in other browser engines the stroke-dasharray of an element gets applied onto the markers referenced by it and additionally the marker cannot be made to not be dashed by explicitly setting stroke-dasharray of the marker to "0".

Compare the rendering of the attached testcase in different rendering engines.
Comment 1 Peter Holbein Kapoun 2018-12-09 04:02:19 PST
Created attachment 356917 [details]
Rendering in Firefox and Chrome
Comment 2 Peter Holbein Kapoun 2018-12-09 04:02:42 PST
Created attachment 356918 [details]
Rendering in Safari
Comment 3 Radar WebKit Bug Importer 2018-12-10 14:04:52 PST
<rdar://problem/46607685>
Comment 4 Ahmad Saleem 2022-08-13 05:14:59 PDT
I am able to reproduce this bug in Safari 15.6 and Safari Technology Preview 151 using attached test case and triangle is stroke dash-array and not solid like other browsers (Chrome Canary 106 and Firefox Nightly 105). Thanks!