W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2007

[whatwg] clientWidth and innerWidth

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 19 Dec 2007 22:06:28 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0712192206070.22033@hixie.dreamhostps.com>
On Wed, 19 Dec 2007, ddailey wrote:
>
> I was revisiting some old scripts I had written for determining the size 
> of the browser window (or things inside it) -- using clientWidth for IE 
> and innerWidth for Netscape / other. Like many scripts written for the 
> good old days, measuring seems to have changed as well.
> 
> Mark Wilton-Jones provides this rather frightening analysis 
> http://www.howtocreate.co.uk/tutorials/javascript/browserwindow of the 
> behavior of Opera, IE, and FF (various versions of each) in and out of 
> quirks mode. A quick text scan of the "editor's draft" of HTML5 at 
> http://www.w3.org/html/wg/html5/ reveals no mention of either 
> clientWidth or innerWidth, so I'm wondering where this might be handled 
> if not in HTML itself?

We moved all that stuff to the CSSOM draft that Anne is working on.

Anne, care to elaborate?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 19 December 2007 14:06:28 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:38 UTC