W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2017

[csswg-drafts] [css-transform] the used value for border-box

From: CJ Ku via GitHub <sysbot+gh@w3.org>
Date: Thu, 02 Feb 2017 07:24:35 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-204800666-1486020273-sysbot+gh@w3.org>
CJKu has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [css-transform] the used value for border-box ==
The css-transforms spec[1] said:
> For SVG elements without an associated CSS layout box, the used 
value for border-box is view-box

Compare to clip-path geometry box[2], the used value for border-box is
 fill-box. Is there any special reason that we want them fallback to 
different value?

[1] transform box
https://drafts.csswg.org/css-transforms/#transform-box
> For SVG elements without an associated CSS layout box, the used 
value for border-box is view-box.
For elements with an associated CSS layout box, the used value for 
fill-box and view-box is border-box.

[2] clip-path geometry box
https://drafts.fxtf.org/css-masking-1/#the-clip-path
> For SVG elements without associated CSS layout box, the used value 
for content-box, padding-box, border-box and margin-box is fill-box.
For elements with associated CSS layout box, the used value for 
fill-box, stroke-box and view-box is border-box.


Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/999 using your GitHub 
account
Received on Thursday, 2 February 2017 07:24:48 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 9 October 2019 08:16:30 UTC