- From: Dirk Schulze <dschulze@adobe.com>
- Date: Fri, 17 Jan 2014 17:53:56 +0000
- To: Tab Atkins Jr. <jackalmage@gmail.com>
- CC: public-fx <public-fx@w3.org>, "<www-style@w3.org>" <www-style@w3.org>, www-svg <www-svg@w3.org>, Tavmjong Bah <tavmjong@free.fr>
On Jan 17, 2014, at 4:49 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote: > On Fri, Jan 17, 2014 at 2:00 AM, Dirk Schulze <dschulze@adobe.com> wrote: >> Hi, >> >> In the following I am referencing the clip-path property[1]. What ever we do, it affects the mask-* properties[2] as well. >> >> Currently clip-path uses the <shape-box> reference boxes (CSS backgrounds <box> + margin-box) which includes the keywords: >> >> content-box >> padding-box >> border-box >> margin-box >> >> Tav objected to redefine the meaning of the keywords to element in an SVG context and added that the viewport (often used as reference box for SVG resources) can not be addressed. >> >> Tav suggested adding two more keywords: >> >> 1) A keyword that represents the tight reference box including the stroke area + (styled) markers which some call 'stroke-bounding-box' > > I'm okay with this. Perhaps we can treat it as a synonym for > border-box when used in a CSS context? > >> 2) A keyword that represents the viewport as reference box with the name ‘viewport’. > > Hmm, it would be confusing that SVG's notion of "viewport" is > different than CSS's here. In SVG it's something more like the ICB. >From CSS2.1: “For continuous media, it has the dimensions of the viewport and is anchored at the canvas origin” Since the position is independent of the canvas top left and the dimension does not depend on the dimension of the window size, I don’t think that I can agree. Anyway, it still means that there is a difference between what UAs do for HTML and what they do for SVG. Greetings, Dirk [1] http://www.w3.org/TR/CSS2/visudet.html#containing-block-details > > ~TJ
Received on Friday, 17 January 2014 17:54:37 UTC