- From: Mitar <mmitar@gmail.com>
- Date: Sat, 18 Apr 2015 18:41:14 -0700
- To: www-style list <www-style@w3.org>
Hi! Currently, some browsers implement getBoundingClientRect and respect CSS transformations. Which is great, but it gives you really just a bounding rectangle, and not really the precise position of rendered element on the page including its rotation and other transforms. So I am proposing that there should be also a variation, which would return you the bounding rectangle of the element, but include information like rotation. So if one would like to create another div which would precisely cover the rendered element, one can do this. Currently, you get an oversized rectangle which is perpendicular to the page, instead of following the rotation (and other transforms) of the element. Mitar -- http://mitar.tnode.com/ https://twitter.com/mitar_m
Received on Sunday, 19 April 2015 01:41:45 UTC