Re: clip-path: basic shapes and borders

Thanks Dirk :) Will probably figure a way to do this with generated content
or some hack...

On Fri, Dec 12, 2014 at 5:59 PM, Dirk Schulze <dschulze@adobe.com> wrote:
>
>
> On Dec 12, 2014, at 7:25 AM, Karen Menezes <karen.menezes@gmail.com>
> wrote:
>
> > Hi!
> >
> > In my current experiments with clip-path using basic shapes in CSS (not
> SVG), borders and outlines are also cut off, as mentioned here:
> http://www.w3.org/TR/css-masking-1/#clipping-paths
>
> Yes, all drawing operations belonging to the element get clipped, this
> includes outlines and borders.
>
> > Would there be any way to maintain a border on an element that is
> clipped, or set a border on a clipped element?
>
> So you want to clip the content of the element but it's outline and border
> should not be affected? This is not possible with the clip-path or mask
> property. At least not when all of these apply to the same element.
>
> Greetings,
> Dirk
>
> >
> > Karen
>
>

Received on Friday, 12 December 2014 13:09:29 UTC