W3C home > Mailing lists > Public > www-style@w3.org > April 2015

Re: [cssom-view] Easing the transition to spec-compatible body scrollTop behavior

From: Simon Pieters <simonp@opera.com>
Date: Thu, 09 Apr 2015 13:48:47 +0200
To: "Robert O'Callahan" <robert@ocallahan.org>
Cc: "www-style@w3.org" <www-style@w3.org>, "Rick Byers" <rbyers@chromium.org>
Message-ID: <op.xwtprl1zidj3kv@simons-mbp>
On Thu, 09 Apr 2015 13:14:27 +0200, Robert O'Callahan  
<robert@ocallahan.org> wrote:

> In most ways, the root element acts as the viewport element. So I think
> scrollingElement would make more sense here.

OK. I'm fine with either name. Anyone else have opinions about the name?  
If not I'll change to scrollingElement.

* overflow/background use body->viewport if html has the initial values.  
Using either root or body works in any mode.

* direction/writing-mode uses body->viewport (mostly, in implementations,  
but this is an open issue). Since they inherit, using either root or body  
works in any mode.

-- 
Simon Pieters
Opera Software
Received on Thursday, 9 April 2015 11:49:19 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:50 UTC