mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-05 16:14:38 +00:00
Implements following rule from CSS Overflow Module Level 3: "The visible/clip values of overflow compute to auto/hidden (respectively) if one of overflow-x or overflow-y is neither visible nor clip."
20 lines
373 B
HTML
20 lines
373 B
HTML
<!DOCTYPE html>
|
|
<link rel="match" href="reference/overflow-hidden-7-ref.html" />
|
|
<style>
|
|
.box {
|
|
overflow-y: hidden;
|
|
overflow-x: visible;
|
|
width: 200px;
|
|
height: 200px;
|
|
}
|
|
|
|
.inner {
|
|
width: 300px;
|
|
height: 300px;
|
|
background-color: darkblue;
|
|
}
|
|
</style>
|
|
<div class="box">
|
|
<div class="inner"></div>
|
|
</div>
|