W3C home > Mailing lists > Public > www-style@w3.org > September 2015

[css-transforms] 'transform-box' defaults in svg

From: Erik Dahlström <erik@xn--dahlstrm-t4a.net>
Date: Mon, 28 Sep 2015 21:27:35 +0200
Cc: public-fx@w3.org
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <op.x5otn9g7fwt8au@localhost.localdomain>
I was reviewing the 'transform-box' section in the css transforms spec,  

The initial value of 'transform-box' is 'border-box', which is fine.  
However, the spec continues to state that:
"For SVG elements without an associated CSS layout box, the used value for  
border-box is view-box."

It seems to me that a used value of 'fill-box' in this case would lead to  
more easily understood behavior than 'view-box'. So, I'd like to know what  
the rationale behind the current choice is.

An example, http://jsfiddle.net/fs6cLt38/1/.

Received on Monday, 28 September 2015 19:28:04 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:57 UTC