mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-25 02:12:39 +00:00
Now each test type has the same directories: - input - expected - data Also, tests can be in subdirectories within ./input.
36 lines
926 B
HTML
36 lines
926 B
HTML
<!DOCTYPE html>
|
|
<link rel="match" href="../expected/svg-inside-scroll-container-ref.html" />
|
|
<style>
|
|
* {
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
#scrollable {
|
|
height: 300px;
|
|
overflow: scroll;
|
|
}
|
|
svg {
|
|
display: block;
|
|
}
|
|
</style>
|
|
<div id="scrollable">
|
|
<svg width="100" height="100">
|
|
<rect width="100" height="100" fill="green" />
|
|
</svg>
|
|
<svg width="100" height="100">
|
|
<rect width="100" height="100" fill="green" />
|
|
</svg>
|
|
<svg width="100" height="100">
|
|
<rect width="100" height="100" fill="green" />
|
|
</svg>
|
|
<svg width="100" height="100">
|
|
<rect width="100" height="100" fill="green" />
|
|
</svg>
|
|
<svg width="100" height="100">
|
|
<rect width="100" height="100" fill="green" />
|
|
</svg>
|
|
</div>
|
|
<script>
|
|
const scrollContainer = document.getElementById("scrollable");
|
|
scrollContainer.scrollTop = 100;
|
|
</script>
|