SVG line length does not scale smoothly with zoom
Reported by
neil.ger...@cba.mit.edu,
Jun 1 2018
|
||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36 Steps to reproduce the problem: 1. Attached test case svgtest.html draws an SVG overflow line to an absolute div location. 2. Line correctly ends at div if SVG width=height=2 3. Line ends incorrectly if SVG width=height=1 What is the expected behavior? Line should end at the div. What went wrong? Chrome in Windows 10 draws the SVG line incorrectly if the SVG width=height=1, but draws it correctly if width=height=2. Chrome in Ubuntu 16.04, and Firefox in Windows 10 and Ubuntu 16.04, draw the line correctly for width=height=1 or 2. Did this work before? N/A Does this work in other browsers? Yes Chrome version: 66.0.3359.181 Channel: stable OS Version: 10 Flash Version: ⛆ |
|
|
,
Jun 1 2018
I will test Windows DPI settings. Note that this example is with SVG and browser zoom at defaults, so there should not be any scaling. In testing, this behavior has been seen only in Chrome on Windows. And note that the test case sets svg.style.overflow = 'visible'; disabling clipping to the viewBox is a choice. In this case it's because the use case this is from has an SVG layer that's dynamically sized and not known in advance.
,
Jun 1 2018
,
Jun 1 2018
Can I bump this to P1? I'm sure there are many high priority bugs, but this one affects the entire user interface for MIT's in-browser CAD and fabrication system, http://mods.cba.mit.edu (see http://cba.mit.edu/about/index.html for some background on the group). See the attached working/broken screenshots, the latter from Windows.
,
Jun 1 2018
Talking with the submitter, it sounds like they've already worked around this problem on their site using the workaround in the description. Since there's a workaround, downgrading to P2 again.
,
Jun 4 2018
I guess this is the same underlying issue as issue 807788 (and issue 757196.)
,
Jun 8 2018
malaykeshav@ please triage
,
Jun 8 2018
This is related to scaling in blink. I dont know who the right person is for this issue.
,
Jun 8 2018
Can anyone from the Paint team provide advice so this doesn't slip through the cracks?
,
Jun 8 2018
Why raise the priority if there is a workaround that does not harm, the content and the bug has existed for a very long time? The only way to keep it at the top of the agenda is to make it P1, but we have a lot of more important things without workarounds that we need to fix.
,
Jun 8 2018
I downgraded it back to P2 after realizing that there was a workaround.
,
Jun 11 2018
,
Jun 22 2018
malay, please triage.
,
Jun 22 2018
,
Jun 22 2018
I dont know who works on SVG in blink. This is related to scaling in the web content.
,
Jun 22 2018
,
Jul 20
|
|||||||||||||
►
Sign in to add a comment |
||||||||||||||||
Comment 1 by schenney@chromium.org
, Jun 1 2018Labels: OS-Android OS-Chrome OS-Linux OS-Mac
Status: Available (was: Unconfirmed)
Summary: SVG line length does not scale smoothly with zoom (was: Windows error in rendering SVG)