W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2020

[csswg-drafts] [css-overflow] CSSOM scrollWidth/scrollHeight behaviour of "overflow: clip". (#5572)

From: Ian Kilpatrick via GitHub <sysbot+gh@w3.org>
Date: Thu, 01 Oct 2020 20:28:17 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-713161254-1601584096-sysbot+gh@w3.org>
bfgeek has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-overflow] CSSOM scrollWidth/scrollHeight behaviour of "overflow: clip". ==

<!DOCTYPE html>
<div id="target" style="width: 50px; height: 50px; overflow: clip;">
  <div style="width: 100px; height: 100px; background: lime;"></div>

What should the console log?

FF currently logs `100`, we Blink currently log `50` as we saw some additional performance opportunities (and it isn't "scrollable" like other overflow types), but happy if this should be `100`.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5572 using your GitHub account

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 1 October 2020 20:28:19 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:20 UTC