Closed
Description
Consider:
<!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
.