[csswg-drafts] [css-sizing] ComputedStyle should contain the final dimension of object-fit elements

fserb has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-sizing] ComputedStyle should contain the final dimension of object-fit elements ==
As it is now, there is no way to detect the final position and dimension of a object-fit element.

This is particularly problematic for things like canvas, where sometimes mapping mouse coordinates is needed.

Would it be possible for GetComputedStyle to return the top,right,bottom,left of the fit?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1779 using your GitHub account

Received on Tuesday, 5 September 2017 18:32:33 UTC