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

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

From: Fernando Serboncini via GitHub <sysbot+gh@w3.org>
Date: Tue, 05 Sep 2017 18:32:34 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-255368251-1504636345-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:37 UTC