aboutsummaryrefslogtreecommitdiff
path: root/test/html/render
diff options
context:
space:
mode:
Diffstat (limited to 'test/html/render')
-rw-r--r--test/html/render/multiple-floats.html31
-rw-r--r--test/html/render/multiple-floats.ref.html31
2 files changed, 62 insertions, 0 deletions
diff --git a/test/html/render/multiple-floats.html b/test/html/render/multiple-floats.html
new file mode 100644
index 00000000..fe4066ca
--- /dev/null
+++ b/test/html/render/multiple-floats.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Test multiple floats</title>
+ <style type="text/css">
+ .container {
+ width: 200px;
+ }
+
+ .left, .right {
+ width: 100px;
+ height: 100px;
+ background-color: orchid;
+ }
+
+ .left {
+ float: left;
+ }
+
+ .right {
+ float: left;
+ }
+ </style>
+ </head>
+ <body>
+ <div class="container">
+ <div class="left"></div>
+ <div class="right"></div>
+ </div>
+ </body>
+</html>
diff --git a/test/html/render/multiple-floats.ref.html b/test/html/render/multiple-floats.ref.html
new file mode 100644
index 00000000..1e558f38
--- /dev/null
+++ b/test/html/render/multiple-floats.ref.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Test multiple floats</title>
+ <style type="text/css">
+ .container {
+ width: 200px;
+ }
+
+ .left, .right {
+ width: 100px;
+ height: 100px;
+ background-color: orchid;
+ }
+
+ .left {
+ float: left;
+ }
+
+ .right {
+ float: right;
+ }
+ </style>
+ </head>
+ <body>
+ <div class="container">
+ <div class="left"></div>
+ <div class="right"></div>
+ </div>
+ </body>
+</html>