mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 15:57:34 +00:00
Tests/LibWeb: Move block & inline layout tests into own directory
This commit is contained in:
parent
332bb8a299
commit
68459d43e0
40 changed files with 0 additions and 0 deletions
28
Tests/LibWeb/Layout/input/block-and-inline/float-3.html
Normal file
28
Tests/LibWeb/Layout/input/block-and-inline/float-3.html
Normal file
|
@ -0,0 +1,28 @@
|
|||
<style>
|
||||
body {
|
||||
width: 780px;
|
||||
text-align: center;
|
||||
font-family: 'SerenitySans';
|
||||
}
|
||||
.box {
|
||||
height: 100px;
|
||||
width: 300px;
|
||||
background: red;
|
||||
}
|
||||
#top {
|
||||
overflow: hidden;
|
||||
}
|
||||
#bottom {
|
||||
border: 1px solid black;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<div id="top">
|
||||
<div id="top-left" class="box" style="float: left"></div>
|
||||
<div id="top-right" class="box" style="float: right"></div>
|
||||
</div>
|
||||
<div id="bottom">
|
||||
<!-- Due to the overflow property of the top div, this div should be laid beneath the top, rather than inline -->
|
||||
<div id="text">foobar</div>
|
||||
</div>
|
||||
</body>
|
Loading…
Add table
Add a link
Reference in a new issue