New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 796153 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jan 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

SVG Path draws outside the specs

Reported by jasonbio...@gmail.com, Dec 19 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36

Steps to reproduce the problem:
Open the file

What is the expected behavior?
There should be a red pixel on the left of the line.

What went wrong?
The path draws OUTSIDE the svg tag, despite what we specify in the "d" attribute. Firefox and IE/Edge both show the red pixel even without "overflow: hidden", yet Chrome draws to the very edge of the div even with "overflow: hidden".

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 63.0.3239.84  Channel: stable
OS Version: 10.0
Flash Version: 

I seem to remember this used to work (back when I was at version 58?), but I can't confirm. From what I recall, the initial display was correct, but this same issue appeared once we toggled visibility via display:none. For this reason I also included a "toggle" button.
 
svg_path.html
838 bytes View Download
I've added some more test cases; now trying to find out why #svgContainerRight (in the new file) is displaying incorrectly in my web application but correctly here.
svg_path.html
1.9 KB View Download
Components: Blink>SVG

Comment 3 by f...@opera.com, Dec 20 2017

I can't reproduce this, but I'm not on Windows, so this could be platform specific. Is there anything else that you can share about your environment - any scalefactors/HiDPI? Is GPU rasterization enabled? (And does disabling it fix the issue?)
My current settings:
Resolution: 1680 x 1050
GPU: NVIDIA Quadro K620
GPU Driver: 354.56
Direct3D 12 (level 11_0)
Chrome GPU settings: attached
gpu.htm
163 KB View Download
I've just restarted Chrome after disabling GPU rasterization --it solves the problem.

Comment 6 by f...@opera.com, Dec 20 2017

Components: -Blink>SVG Internals>GPU>Rasterization

Comment 7 by bsalo...@google.com, Dec 20 2017

Cc: egdaniel@chromium.org
Owner: bsalo...@google.com
Status: Started (was: Unconfirmed)
Status: Fixed (was: Started)

Sign in to add a comment