mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:48:11 +00:00
Tests/LibWeb: Add ref-tests for "overflow: hidden"
Adds ref-tests from pages used in the following PRs: https://github.com/SerenityOS/serenity/pull/16035 https://github.com/SerenityOS/serenity/pull/17591
This commit is contained in:
parent
56658b5354
commit
25e9d2ccf0
4 changed files with 140 additions and 0 deletions
26
Tests/LibWeb/Ref/overflow-hidden.html
Normal file
26
Tests/LibWeb/Ref/overflow-hidden.html
Normal file
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<link rel="match" href="reference/overflow-hidden-ref.html" />
|
||||
<style>
|
||||
.outer-box {
|
||||
width: 300px;
|
||||
height: 300px;
|
||||
background-color: darkblue;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.inner-box {
|
||||
width: 600px;
|
||||
height: 600px;
|
||||
background-color: orangered;
|
||||
transform: translate(100px, 100px);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="outer-box">
|
||||
<div><div class="inner-box"></div></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue