mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Cargoify servo
This commit is contained in:
parent
db2f642c32
commit
c6ab60dbfc
1761 changed files with 8423 additions and 2294 deletions
43
tests/html/test_clear_float.html
Normal file
43
tests/html/test_clear_float.html
Normal file
|
@ -0,0 +1,43 @@
|
|||
<html>
|
||||
<head>
|
||||
<style>
|
||||
#container {
|
||||
width: 300px;
|
||||
}
|
||||
#left {
|
||||
float: left;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background: red;
|
||||
}
|
||||
#right {
|
||||
float: right;
|
||||
width: 100px;
|
||||
height: 150px;
|
||||
background: blue;
|
||||
}
|
||||
#clear1 {
|
||||
float: left;
|
||||
clear: left;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
background: green;
|
||||
}
|
||||
#clear2 {
|
||||
float: right;
|
||||
clear: right;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
background: green;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="container">
|
||||
<div id="left"></div>
|
||||
<div id="right"></div>
|
||||
<div id="clear1"></div>
|
||||
<div id="clear2"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue