iamvdo / css-graphics

There are several CSS graphics-related properties that provide the bulk of support for Clipping, Masking, Filters and whatnot. The purpose of this repo is to hopefully provide some insight into what the current state of affairs is with various browsers.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

css-graphics

There are several CSS graphics-related properties that provide the bulk of support for Clipping, Masking, Filters and whatnot. The purpose of this repo is to hopefully provide some insight into what the current state of affairs is with various browser implementations.

The 'Apply To' column below distinguishes whether we're talking about applying the feature to HTML or SVG graphic components. If you apply a feature to an entire embedded SVG graph, that falls under the HTML category. If however, you're talking about applying the feature to a subgraph within the SVG, that falls into the SVG category.

For each browser column, a 'No' indicates the feature is currently unsupported. Otherwise, I indicate whether the feature is currently vendor-prefixed or not.

I don't have much information at this point on Opera, so have decided to leave it out for now. If you want, go ahead and fill it out and do a pull request.

In fact, if any of this information is out of date or incomplete, please update and do a pull request.

FeatureApply ToSafariChromeFirefoxIEComments
clip-path with basic shapesHTMLNo-webkit-clip-pathNoNo
SVGNo-webkit-clip-pathNoNo
clip-path with SVG pathHTMLNo-webkit-clip-pathNoNo
SVGclip-pathclip-pathclip-pathclip-path
mask-imageHTML-webkit-mask-image-webkit-mask-imageNoNoUses alpha masking
SVGNoNoNoNo
mask-box-imageHTML-webkit-box-image-webkit-box-imageNoNo
SVGNoNoNoNo
maskHTMLNoNomaskNo
SVGmaskmaskmaskmaskUses luminance masking
SVG FilterHTMLNo-webkit-filterfilterNo
SVGfilterfilterfilterfilter

About

There are several CSS graphics-related properties that provide the bulk of support for Clipping, Masking, Filters and whatnot. The purpose of this repo is to hopefully provide some insight into what the current state of affairs is with various browsers.