New issue
Advanced search Search tips

Issue 621600 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 391604
Owner: ----
Closed: Jun 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug



Sign in to add a comment

Modified SVG clippath is not reflected with -webkit-clip-path in css

Reported by sen...@gmail.com, Jun 20 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.84 Safari/537.36

Example URL:
https://codepen.io/anon/pen/xOVjZM

Steps to reproduce the problem:
1. Open Chrome
2. Navigate to https://codepen.io/anon/pen/xOVjZM
3. On the rendered iframe, hover your mouse over the SVG shape

What is the expected behavior?
The clipping path in the SVG is modified, and should be reflected in the CSS styling that uses -webkit-clip-path/clip-path.

What went wrong?
CSS shows the old clipping path and does not update with the new clipping path shape.

The first attachment shows Chromes rendering. The second attachment shows Firefox's rendering.

Does it occur on multiple sites: Yes

Is it a problem with a plugin? No 

Did this work before? N/A 

Does this work in other browsers? Yes 

Chrome version: 51.0.2704.84  Channel: stable
OS Version: OS X 10.11.5
Flash Version: Shockwave Flash 22.0 r0

http://stackoverflow.com/questions/37802374/svg-css-position-absolute-breaks-clip-path
 
Screen Shot 2016-06-14 at 8.36.23 AM.png
178 KB View Download
Screen Shot 2016-06-14 at 8.36.35 AM.png
180 KB View Download

Comment 1 by pdr@chromium.org, Jun 24 2016

Components: -Blink Blink>SVG
Labels: -OS-Mac OS-All
Status: Available (was: Unconfirmed)
Thanks for creating a nice and small testcase. Pretty cool effect too.

I minimized this further (see attached). We aren't invalidating the html content when the clip path changes (this affects webkit too). I thought we had a mapping from LayoutObjects to the SVG resource they reference but I only see SVG->SVG mappings.
clipbug.html
644 bytes View Download

Comment 2 by f...@opera.com, Jun 24 2016

Sounds a lot like  issue 391604  then.

Comment 3 by pdr@chromium.org, Jun 24 2016

Mergedinto: 391604
Status: Duplicate (was: Available)
Yeah, I think that's the bug.

Sign in to add a comment