mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
20 lines
521 B
HTML
20 lines
521 B
HTML
|
<!DOCTYPE html>
|
||
|
<style>
|
||
|
.box {
|
||
|
overflow-y: hidden;
|
||
|
overflow-x: visible;
|
||
|
width: 200px;
|
||
|
height: 200px;
|
||
|
background-color: darkblue;
|
||
|
}
|
||
|
</style>
|
||
|
<body><div class="box"></div></body>
|
||
|
<script src="include.js"></script>
|
||
|
<script>
|
||
|
test(() => {
|
||
|
const box = window.getComputedStyle(document.querySelector(".box"));
|
||
|
println(`overflow-x: ${box.getPropertyValue("overflow-x")}`);
|
||
|
println(`overflow-y: ${box.getPropertyValue("overflow-y")}`);
|
||
|
});
|
||
|
</script>
|