Issue metadata
Sign in to add a comment
|
CSS clip-path cannot reference id of svg element inside the same shadow-root
Reported by
dan...@bowlhat.net,
Oct 19 2016
|
||||||||||||||||||||||
Issue descriptionChrome Version : 54.0.2840.59 OS Version: Ubuntu 16.10 URLs (if applicable) : http://codepen.io/diddledan/pen/ZpqPzo?editors=1000#0 Other browsers tested: Add OK or FAIL after other browsers where you have tested this issue: Unable to test other browsers due to webcomponents v1 polyfill currently broken upstream (ref: https://github.com/webcomponents/webcomponentsjs/issues/621) What steps will reproduce the problem? 1. create a webcomponent with svg+clipPath inside the shadow-root 2. apply clipPath from svg to child element of webcomponent via css clip-path property referencing the ID of the clipPath inside the svg 3. load in browser and note that the clip-path hasn't been applied. 4. move the svg outside all shadow-roots (place into the main document) and retry 5. note the clip-path now works as expected. What is the expected result? The css clip-path should correctly use the svg clipPath via ID reference to the element inside the shadow root. What happens instead of that? The css clip-path is not applied at all. Please provide any additional information below. Attach a screenshot if possible. UserAgentString: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.59 Safari/537.36
,
Jan 23 2017
Unduping this, because it appears to have a different cause after all...
,
Jan 25 2017
hayato, could you weigh in on this? I guess most importantly, what's the TreeScope supposed to be for the "slotted element" (<img>) in this case?
,
May 26 2017
yuzus@, do you have a chance to take a look? kochi@, help yuzus@ if necessary.
,
Jul 11 2017
|
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by f...@opera.com
, Oct 19 2016Status: Duplicate (was: Unconfirmed)