- From: Robert O'Callahan <robert@ocallahan.org>
- Date: Wed, 23 Sep 2009 17:47:15 +1200
- To: Garrett Smith <dhtmlkitchen@gmail.com>
- Cc: www-style <www-style@w3.org>
Received on Wednesday, 23 September 2009 05:47:55 UTC
On Wed, Sep 23, 2009 at 10:41 AM, Garrett Smith <dhtmlkitchen@gmail.com>wrote: > Has zoom/scaling been mentioned before? I am noticing that some > implementations will scale a page to a certain value. The method > getBoundingClientRect does not mention that the value returned should > be "de-scaled". > http://www.w3.org/TR/cssom-view/#dom-element-getboundingclientrect > > Opera mini, in "Mobile view," scales the page. Fine, but then > getBoundingClientRect returns the actual pixel values, not "de-scaled" > values. > > I did a brief write up on the problem I noticed with Opera Mini: > http://my.opera.com/dhtmlkitchen/blog/show.dml/4359747 > > Should the spec mention what should happen when the device rescales values? > The CSSOM spec says > All coordinates and dimensions for the APIs defined in this specification > are in CSS pixels. > This surely means that the UA must return "de-scaled" values. Rob -- "He was pierced for our transgressions, he was crushed for our iniquities; the punishment that brought us peace was upon him, and by his wounds we are healed. We all, like sheep, have gone astray, each of us has turned to his own way; and the LORD has laid on him the iniquity of us all." [Isaiah 53:5-6]
Received on Wednesday, 23 September 2009 05:47:55 UTC