W3C home > Mailing lists > Public > public-fx@w3.org > October to December 2011

CSS Shaders 'filter-margin'

From: Dirk Schulze <vbs85@gmx.de>
Date: Mon, 31 Oct 2011 09:08:47 +0100
Message-Id: <2A5651B1-5CE5-46D1-AC6A-8BE2A0A5E20E@gmx.de>
To: public-fx@w3.org
Hi,

The CSS Shader specification introduces the CSS properties filter-margin(-left, -top, -right, -bottom) and tries to describe how they match into the filter regions concept from SVG Filters. SVG and CSS still have different supported unit types for SVGLength and CSS lengths. I see problems in merging both values, if XML attributes and CSS properties are defined together for the <filter> element like 'x' attribute and the 'filter-margin-right' property. How are these values calculated? How the unit types transformed? What if both, 'x' attribute and 'filter-margin-left' are specified? Does the CSS property replace the XML attribute?

In general I don't think that 'filter-margin' is really needed at all for shorthand filters. We don't have primitive boundaries either for them. If someone wants to specify a clipping region for Filter Effects, he/she should use the XML element <filter> and can't use shorthand filters.

Greetings
Dirk
Received on Monday, 31 October 2011 08:09:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 31 October 2011 08:09:25 GMT