Closed
Bug 829325
Opened 12 years ago
Closed 10 years ago
Common points in SVG polygon and polyline do not coincide
Categories
(Core :: Graphics, defect)
Tracking
()
VERIFIED
WORKSFORME
People
(Reporter: duncan.loveday, Unassigned)
References
Details
(Keywords: regression)
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:20.0) Gecko/20130105 Firefox/20.0
Build ID: 20130105030839
Steps to reproduce:
Load this test SVG. note the point (300,200) in present in both the polygon and polyline.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg">
<polygon points="200,200 300,200" fill="none" stroke="#00ff00" stroke-width="20px"/>
<polyline points="300,100 300,200" fill="none" stroke="#ff0000" stroke-width="20px"/>
</svg>
Actual results:
In the resulting image the polygon and polyline do not meet in the corner.
Expected results:
In the resulting image the polygon and polyline should meet in the corner.
Reporter | ||
Comment 1•12 years ago
|
||
Same behaviour in Fx 17.0.1 and a recent nightly.
Displayed as expected in IE9 and earlier versions of Firefox.
Comment 2•12 years ago
|
||
Could you get a regression range please Duncan?
https://quality.mozilla.org/docs/bugzilla/guide-to-triaging-bugs-for-firefox/finding-a-regression-window/
type about:buildconfig in the address bar in the last good and subsequent first bad build and post the Built from link please.
or alternatively and perhaps more simply:
http://mozilla.github.com/mozregression/ is a handy tool that automates the regression-finding process (and prints out a link at the end, with the last-good and first-bad changesets built in).
Component: General → SVG
Reporter | ||
Comment 3•12 years ago
|
||
Also looks correct in chrome and opera.
Yes I'll try to get the range.
Reporter | ||
Comment 4•12 years ago
|
||
Last good build (downloaded from http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2012/05/2012-05-22-14-50-33-mozilla-central/firefox-15.0a1.en-US.win32.zip)
=> Built from http://hg.mozilla.org/mozilla-central/rev/b038090f07c2
First bad build (downloaded from http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2012/05/2012-05-23-14-33-59-mozilla-central/firefox-15.0a1.en-US.win32.zip)
=> Built from http://hg.mozilla.org/mozilla-central/rev/e912c25c141f
Likely Azure-Thebes bug, not SVG. Disabling HWA fixes the issue.
m-c
good=2012-05-23
bad=2012-05-24
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=36e938e51481&tochange=f43e8d300f21
Suspected bug:
Bas Schouten — Bug 715768: Enable Azure-Thebes wrapper by default for D2D. r=jrmuizel
Blocks: 715768
Status: UNCONFIRMED → NEW
Component: SVG → Graphics
Ever confirmed: true
Keywords: regression
Version: 17 Branch → 15 Branch
Anyway I got various results with HWA/Azure on/off, see my screenshot.
Reporter | ||
Comment 7•12 years ago
|
||
Bottom left matches what I see in IE9, opera, chrome
Reporter | ||
Comment 8•12 years ago
|
||
Possibly worth mentioning that it is the polygon that looks wrong. It seems to overshoot at *both ends*. Two polylines look right; two polygons cross; a polygon and a polyline make a T shape.
Comment 9•12 years ago
|
||
Bottom left of that screenshot is what I see on Mac, fwiw.
Reporter | ||
Comment 10•12 years ago
|
||
Can I work around this in any way by changing my web app code ?
Comment 11•10 years ago
|
||
Can you still reproduce the issue with latest version with clean new fresh profile without any addons and plugins?
Flags: needinfo?(duncan.loveday)
Reporter | ||
Comment 12•10 years ago
|
||
I'm seeing "bottom left" of the second attachment now using a nightly for 38.0a1 (2015-01-17) (Built from https://hg.mozilla.org/mozilla-central/rev/369a8f14ccf8). That's probably correct as the mid points of the two lines coincide.
Flags: needinfo?(duncan.loveday)
Reporter | ||
Comment 13•10 years ago
|
||
Chrome, Opera, IE10, Safari and Firefox all show the "bottom left" version. Happy days.
Comment 14•10 years ago
|
||
Thank you very much for checking.
If it's fixed or it looks so, I'm closing this bug as WORKSFORME.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Updated•10 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•