summaryrefslogtreecommitdiff
path: root/Tests/LibWeb/Layout/input/float-stress-3.html
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/LibWeb/Layout/input/float-stress-3.html')
-rw-r--r--Tests/LibWeb/Layout/input/float-stress-3.html52
1 files changed, 52 insertions, 0 deletions
diff --git a/Tests/LibWeb/Layout/input/float-stress-3.html b/Tests/LibWeb/Layout/input/float-stress-3.html
new file mode 100644
index 0000000000..35ac293ecb
--- /dev/null
+++ b/Tests/LibWeb/Layout/input/float-stress-3.html
@@ -0,0 +1,52 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>float horror show</title>
+ <style type="text/css">
+ html {
+ font: 16px/1 'SerenitySans';
+ }
+ .outer {
+ border: 1px solid black;
+ width: 300px;
+ height: 250px;
+ }
+
+ .one {
+ float: left;
+ height: 50px;
+ width: 200px;
+ margin: 0;
+ border: 1px solid black;
+ background-color: #fc0;
+ }
+ .two {
+ float: right;
+ height: 50px;
+ width: 200px;
+ margin: 0;
+ border: 1px solid black;
+ background-color: pink;
+ }
+ .lefty {
+ float: left;
+ height: 50px;
+ width: 50px;
+ margin: 0;
+ border: 1px solid black;
+ background-color: lime;
+ }
+ .righty {
+ float: right;
+ height: 30px;
+ width: 30px;
+ margin: 0;
+ border: 1px solid black;
+ background-color: magenta;
+ }
+</style></head><body>
+ <div class=outer>
+ foo bar baz foo bar baz
+ <div class=lefty></div>
+ <div class=one></div>
+ <div class=two></div>