- From: Anne van Kesteren <annevk@opera.com>
- Date: Fri, 13 Aug 2010 00:33:39 +0200
- To: "Robert O'Callahan" <robert@ocallahan.org>
- Cc: www-style <www-style@w3.org>
On Thu, 29 Oct 2009 04:31:12 +0100, Robert O'Callahan <robert@ocallahan.org> wrote: > See http://dev.w3.org/csswg/cssom-view/ > Currently it does not define any special handling for the root element > and HTML <body> element. However, all browsers implement some special > handling for these elements, to give access to the viewport scrollbar > state. > > [...] > > I suggest that the IE8/Firefox behaviour be written into the spec. I > think that scrollTop on the root element should work even for non <html> > roots and non-HTML documents, although we don't currently implement this. Fixed. (Also took in account the comments from February this year on this same thread.) > I'm not sure what to do about scrollWidth and scrollHeight; looking at > the code they will behave similarly to scrollTop in Firefox --- > returning values from the viewport, instead of the element --- but I > haven't tested them. Also fixed, based my testing on Firefox. Specification can be found at: http://dev.w3.org/csswg/cssom-view/#scroll-attributes Because of these changes the specification has now diverged from one of its original goals to get rid of quirks mode specifics for the legacy features defined in the specification. It now explicitly references the quirks mode concept for Document defined in HTML5 to define various aspects. I removed that goal. -- Anne van Kesteren http://annevankesteren.nl/
Received on Thursday, 12 August 2010 22:34:15 UTC