WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
77803
SVG Tiny: 'non-scaling-stroke' incorrectly implemented in 'path' element
https://bugs.webkit.org/show_bug.cgi?id=77803
Summary
SVG Tiny: 'non-scaling-stroke' incorrectly implemented in 'path' element
lotta.boogs
Reported
2012-02-03 20:42:18 PST
Setting 'vector-effect' property to 'non-scaling-stroke' in 'path' element does nothing unless 'stroke-width' is set to zero, this produces a 1 pixel wide stroke. No other width is available. This does not comply with the SVG standard, see-
http://www.w3.org/TR/SVGTiny12/painting.html#StrokeWidthProperty
and
http://www.w3.org/TR/SVGTiny12/painting.html#NonScalingStroke
The version affected is that installed in the latest releases of Chrome and Qt.
Attachments
svg file to test 'non-scaling-stroke' in rect and path elements
(1.26 KB, image/svg+xml)
2012-02-08 02:42 PST
,
lotta.boogs
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Dirk Schulze
Comment 1
2012-02-04 21:05:09 PST
(In reply to
comment #0
)
> Setting 'vector-effect' property to 'non-scaling-stroke' in 'path' element does nothing unless 'stroke-width' is set to zero, this produces a 1 pixel wide stroke. No other width is available.
We have test cases for non-scaling-stroke which don't fail. But IIRC they just use rects as shapes. Can you test it with rects again and check if your test is working for rects? Also it would be great if you can provide a minimal test case that demonstrates the problem. Thanks.
lotta.boogs
Comment 2
2012-02-08 02:42:35 PST
Created
attachment 126038
[details]
svg file to test 'non-scaling-stroke' in rect and path elements Further testing has revealed that the problem is restricted to the Qt implementation of WebKit, it does not recognise the 'non-scaling-stroke' value of vector-effects unless the stroke-width is set to zero. Chrome displays a 1 pixel line when the stroke-width is zero, which not what is recommended by the SVG standard. I have included a testcase.
Ahmad Saleem
Comment 3
2022-07-14 14:16:51 PDT
Comment 02
mentions that this bug was limited to Qt framework implementation of Webkit, which is no longer supported and all browser (Chrome Canary 105 and Firefox Nightly 104) matches with Safari 15.5 in attached test case. I think this can be marked as "RESOLVED INVALID" or "RESOLVED WONTFIX". In case, if I am testing incorrectly, please retest accordingly. Thanks!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug