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

Re: CSSOM getBoundingClientRect and device scaling

From: Řyvind Stenhaug <oyvinds@opera.com>
Date: Wed, 23 Sep 2009 13:43:53 +0200
To: www-style <www-style@w3.org>
Message-ID: <op.u0pj7f1oru61ud@oyvinds-desktop>
On Wed, 23 Sep 2009 00:41:10 +0200, Garrett Smith <dhtmlkitchen@gmail.com>  

> 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

Mobile view doesn't simply scale the page, it completely reformats it.  
Specifically, the non-breaking space is treated as a normal space and much  
of the author styling is ignored. Comparable results can be seen in other  
browsers when removing the &nbsp; and the position, margin and padding  

Řyvind Stenhaug
Core Norway, Opera Software ASA
Received on Wednesday, 23 September 2009 11:44:43 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:39 UTC