summaryrefslogtreecommitdiff
path: root/test/html/render/max-width-div-clamp.ref.html
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2024-03-17 11:52:10 +0100
committerRodrigo Arias Mallo <rodarima@gmail.com>2024-03-17 20:37:33 +0100
commit34e1df638f604f601d17938a1a7d12ca47f03134 (patch)
tree18eb8c969ec770ac9cd7a7c0a163ee50758afafc /test/html/render/max-width-div-clamp.ref.html
parent227f1bbaf094b2affd921a3bd11333ec153b479c (diff)
Add clamped max-width test
The max-width size of the widget is larger than the viewport, so it should be clamped by it.
Diffstat (limited to 'test/html/render/max-width-div-clamp.ref.html')
-rw-r--r--test/html/render/max-width-div-clamp.ref.html14
1 files changed, 14 insertions, 0 deletions
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>