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

bfgeek has just created a new issue for https://github.com/w3c/csswg-drafts:

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

```html
<!DOCTYPE html>
<div id="target" style="width: 50px; height: 50px; overflow: clip;">
  <div style="width: 100px; height: 100px; background: lime;"></div>
</div>
<script>
console.log(target.scrollWidth);
console.log(target.scrollHeight);
</script>
```

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