[css-d] Fwd: clip-path in safari

2018-04-10 Thread Tom Livingston
Upon further investigation, a simpler page works in Safari. So now my question is what's the difference? https://tomliv.com/css-d/svg-clip/index.html https://tomliv.com/css-d/svg-clip/test.html Thanks! -- Forwarded message -- From: Tom Livingston Date: Tue,

Re: [css-d] Fwd: clip-path in safari

2018-04-10 Thread Larry Martell
Just curious, why max-width instead of width since its 100% it seems unnecessary. Also the svg has width height set to 0 - any particular reason for that? On Tue, Apr 10, 2018 at 6:26 PM, Tom Livingston wrote: > Thanks Larry. I am using the -webkit prefix. After further poking

Re: [css-d] Fwd: clip-path in safari

2018-04-10 Thread Larry Martell
Hey Tom- Could this be your issue: https://stackoverflow.com/questions/41860477/why-doesnt-css-clip-path-with-svg-work-in-safari On Tue, Apr 10, 2018 at 3:51 PM, Tom Livingston wrote: > Upon further investigation, a simpler page works in Safari. So now my > question is what's

Re: [css-d] Fwd: clip-path in safari

2018-04-10 Thread Tom Livingston
Thanks Larry. I am using the -webkit prefix. After further poking around I found that if I make the images parent or parent’s parent position fixed, it shows correctly but in an odd place ( not that fixed is gonna work for me anyway) and if I take the width off the image parent I see the image and

Re: [css-d] clip-path in safari

2018-04-10 Thread Tom Livingston
On Tue, Apr 10, 2018 at 8:13 PM Philippe Wittenbergh wrote: > > > > On Apr 11, 2018, at 4:10, Tom Livingston wrote: > > > > Can anyone tell me why the following isn't working in Safari but works in > > FF and Chrome (all 3 are current versions)? > > I’ve no

Re: [css-d] clip-path in safari

2018-04-10 Thread Philippe Wittenbergh
> On Apr 11, 2018, at 4:10, Tom Livingston wrote: > > Can anyone tell me why the following isn't working in Safari but works in > FF and Chrome (all 3 are current versions)? I’ve no idea why it does not work (while it seemingly works in your simplified example). But I’m

Re: [css-d] Fwd: clip-path in safari

2018-04-10 Thread Tom Livingston
Both width and max-width of 100% is unnecessary, you are right. I think it’s a left over from grabbing at straws. The dimensions on the svg was something I saw on an example by Sara Soueidan. It also keeps it from taking up space in the layout. Keep in mind the svg is for a clippath, not an image

Re: [css-d] Fwd: clip-path in safari

2018-04-10 Thread Tom Livingston
Also, adding dimensions to the svg didn’t help. On Tue, Apr 10, 2018 at 7:59 PM Tom Livingston wrote: > Both width and max-width of 100% is unnecessary, you are right. I think > it’s a left over from grabbing at straws. The dimensions on the svg was > something I saw on an