aboutsummaryrefslogtreecommitdiff
path: root/test/html/render
diff options
context:
space:
mode:
authorCameron Paul <cpaul37@gmail.com>2025-06-02 14:30:16 -0500
committerRodrigo Arias Mallo <rodarima@gmail.com>2025-06-16 19:31:33 +0200
commit3b0fbaaa03c55b0a0a97f041e1e7d7dfe9f3e0e2 (patch)
tree830a5fa76baf005cbc4f03a4b2c4ab6c10fb774f /test/html/render
parent7901b52fa94f6e990808b0d6e9318f59f0e0434f (diff)
Add multiple floats HTML test
See: https://github.com/dillo-browser/dillo/issues/406
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>