summaryrefslogtreecommitdiff
path: root/Tests/LibWeb/Layout/input/float-stress-2.html
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/LibWeb/Layout/input/float-stress-2.html')
-rw-r--r--Tests/LibWeb/Layout/input/float-stress-2.html46
1 files changed, 46 insertions, 0 deletions
diff --git a/Tests/LibWeb/Layout/input/float-stress-2.html b/Tests/LibWeb/Layout/input/float-stress-2.html
new file mode 100644
index 0000000000..7cb4548186
--- /dev/null
+++ b/Tests/LibWeb/Layout/input/float-stress-2.html
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<html class="js" lang="en-US">
+ <head>
+ <style>
+ * {
+ border: 0px solid black !important;
+ }
+
+ body {
+ font-family: 'SerenitySans';
+ }
+
+ html, body {
+ margin: 0;
+ }
+
+ #page {
+ background: cyan;
+ padding-left: 50px;
+ padding-top: 50px;
+ }
+
+ #content_box {
+ float: left;
+ background: lime;
+ width: 400px;
+ height: 150px;
+ }
+
+ .first {
+ background: pink;
+
+ width: 300px;
+ height: 100px;
+ float: left;
+ }
+
+ .second {
+ background: orange;
+
+ width: 200px;
+ height: 50px;
+ float: left;
+ }
+ </style>
+ </head><body><div id="page"><div id="content_box"><article class="first">first</article><article class="second">second</article> </div></div></body></html>