summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2024-03-17 12:18:47 +0100
committerRodrigo Arias Mallo <rodarima@gmail.com>2024-03-17 20:37:33 +0100
commitfc762938d3459cf91dacf4ff08d6888c59a909e9 (patch)
tree2da8a5c12d6a42ac1707b0fc1d568f2b62be7cf1 /test
parent34e1df638f604f601d17938a1a7d12ca47f03134 (diff)
Add min-width-div-extend HTML render test
Diffstat (limited to 'test')
-rw-r--r--test/html/Makefile.am1
-rw-r--r--test/html/render/min-width-div-extend.html14
-rw-r--r--test/html/render/min-width-div-extend.ref.html14
3 files changed, 29 insertions, 0 deletions
diff --git a/test/html/Makefile.am b/test/html/Makefile.am
index 70ed33ee..39931d2f 100644
--- a/test/html/Makefile.am
+++ b/test/html/Makefile.am
@@ -18,6 +18,7 @@ TESTS = \
render/max-width-html.html \
render/max-width-nested-div.html \
render/min-width-body.html \
+ render/min-width-div-extend.html \
render/min-width-div.html \
render/min-width-html.html \
render/min-width-nested-div.html \
diff --git a/test/html/render/min-width-div-extend.html b/test/html/render/min-width-div-extend.html
new file mode 100644
index 00000000..792de5b4
--- /dev/null
+++ b/test/html/render/min-width-div-extend.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Test max-width CSS properties</title>
+ <style>
+ body {margin: 20px}
+ .test {min-width: 100px; height: 100px; background: lightgreen}
+ </style>
+ </head>
+ <body>
+ <div class="test">
+ </div>
+ </body>
+</html>
diff --git a/test/html/render/min-width-div-extend.ref.html b/test/html/render/min-width-div-extend.ref.html
new file mode 100644
index 00000000..5887d522
--- /dev/null
+++ b/test/html/render/min-width-div-extend.ref.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Test max-width CSS properties</title>
+ <style>
+ body {margin: 20px}
+ .test {width: 100%; height: 100px; background: lightgreen}
+ </style>
+ </head>
+ <body>
+ <div class="test">
+ </div>
+ </body>
+</html>