W3C home > Mailing lists > Public > public-fxtf-archive@w3.org > June 2017

Re: [fxtf-drafts] [css-masking] Define "raw geometry" for `<clipPath>` clipping

From: Dirk Schulze via GitHub <sysbot+gh@w3.org>
Date: Sat, 10 Jun 2017 07:25:09 +0000
To: public-fxtf-archive@w3.org
Message-ID: <issue_comment.created-307548652-1497079508-sysbot+gh@w3.org>
There are roughly 3 not further specified categories of properties that are interesting for us. Properties
1. which affect the geometry of the shape,
2. which affect the paint (in the spec: rendering) behavior of the shape/element,
3. all others, including meta properties or accessibility properties.

The spec says:
> The raw geometry of each child element exclusive of rendering properties [...]

Ideally we could reuse one of the [Media Groups](https://www.w3.org/TR/CSS21/media.html#media-groups) of CSS 2.1 to specify a set of allowed properties. Sadly, many properties like `transform`, `font-family`, `font-size` are part of the `visual` group beside `fill`, `stroke` and `clip-path`. The former properties must be taken into account the later must not.

We could add a list of CSS properties that are affecting the geometry into CSS Masking. I wonder if we can add another, more specific Media Group for geometry properties instead. All specs that define geometry affecting properties would need to get updated. But otherwise the Masking spec might get outdated quickly when new properties arrive.

Also, at least at the moment, just properties that affect the visuals of SVG elements are of interest. CC @fantasai @tabatkins 

GitHub Notification of comment by dirkschulze
Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/170#issuecomment-307548652 using your GitHub account
Received on Saturday, 10 June 2017 07:25:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:50:21 UTC