aboutsummaryrefslogtreecommitdiff
path: root/test/html
diff options
context:
space:
mode:
Diffstat (limited to 'test/html')
-rw-r--r--test/html/Makefile.am1
-rw-r--r--test/html/render/max-width-div-clamp.html14
-rw-r--r--test/html/render/max-width-div-clamp.ref.html14
3 files changed, 29 insertions, 0 deletions
diff --git a/test/html/Makefile.am b/test/html/Makefile.am
index 833f1405..70ed33ee 100644
--- a/test/html/Makefile.am
+++ b/test/html/Makefile.am
@@ -14,6 +14,7 @@ TESTS = \
render/margin-auto.html \
render/max-width-body.html \
render/max-width-div.html \
+ render/max-width-div-clamp.html \
render/max-width-html.html \
render/max-width-nested-div.html \
render/min-width-body.html \
diff --git a/test/html/render/max-width-div-clamp.html b/test/html/render/max-width-div-clamp.html
new file mode 100644
index 00000000..b4f4bfe1
--- /dev/null
+++ b/test/html/render/max-width-div-clamp.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Test max-width CSS properties</title>
+ <style>
+ body {margin: 20px}
+ .test {max-width: 1000px; height: 100px; background: lightgreen}
+ </style>
+ </head>
+ <body>
+ <div class="test">
+ </div>
+ </body>
+</html>
diff --git a/test/html/render/max-width-div-clamp.ref.html b/test/html/render/max-width-div-clamp.ref.html
new file mode 100644
index 00000000..5887d522
--- /dev/null
+++ b/test/html/render/max-width-div-clamp.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>