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)

15 Branch
x86
Windows 7
defect
Not set
normal

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: duncan.loveday, Unassigned)

References

Details

(Keywords: regression)

Attachments

(2 files)

Attached image BPTMDiagram.svg
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.
Same behaviour in Fx 17.0.1 and a recent nightly. Displayed as expected in IE9 and earlier versions of Firefox.
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
Also looks correct in chrome and opera. Yes I'll try to get the range.
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
Attached image screenshot FF21 Win 7
Anyway I got various results with HWA/Azure on/off, see my screenshot.
Bottom left matches what I see in IE9, opera, chrome
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.
Bottom left of that screenshot is what I see on Mac, fwiw.
Can I work around this in any way by changing my web app code ?
Can you still reproduce the issue with latest version with clean new fresh profile without any addons and plugins?
Flags: needinfo?(duncan.loveday)
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)
Chrome, Opera, IE10, Safari and Firefox all show the "bottom left" version. Happy days.
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
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: