mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-27 03:10:01 +00:00
We were using the viewport's size as the viewport scrolling area, but those are completely different things.
16 lines
383 B
HTML
16 lines
383 B
HTML
<!DOCTYPE html>
|
|
<style>
|
|
#a {
|
|
background: red;
|
|
height: 1432px;
|
|
width: 1234px;
|
|
}
|
|
</style>
|
|
<div id="a"></div>
|
|
<script src="../include.js"></script>
|
|
<script>
|
|
test(() => {
|
|
println(`document.documentElement.scrollWidth: ${document.documentElement.scrollWidth}`);
|
|
println(`document.documentElement.scrollHeight: ${document.documentElement.scrollHeight}`);
|
|
});
|
|
</script>
|