mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
24 lines
459 B
HTML
24 lines
459 B
HTML
<!DOCTYPE HTML>
|
|
<title>Test that overflowing margins and padding on scrollable element add</title>
|
|
<style>
|
|
#scroll {
|
|
overflow: scroll; background: yellow;
|
|
height: 111px; width: 116px;
|
|
}
|
|
|
|
#content {
|
|
height: 223px;
|
|
margin-right: 5px;
|
|
margin-left: 11px;
|
|
background: aqua;
|
|
}
|
|
#gap {
|
|
height: 35px;
|
|
}
|
|
|
|
</style>
|
|
<div id="scroll"><div id="content"></div><div id="gap"></div></div>
|
|
<script>
|
|
document.getElementById("scroll").scrollTop = "1000";
|
|
</script>
|