summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/normal-flow/unresolvable-max-height.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/CSS2/normal-flow/unresolvable-max-height.html')
-rw-r--r--testing/web-platform/tests/css/CSS2/normal-flow/unresolvable-max-height.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/CSS2/normal-flow/unresolvable-max-height.html b/testing/web-platform/tests/css/CSS2/normal-flow/unresolvable-max-height.html
new file mode 100644
index 0000000000..8a2fbb28ac
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/normal-flow/unresolvable-max-height.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<title>Unresolvable percentage min-height</title>
+<link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org">
+<link rel="help" href="https://www.w3.org/TR/CSS22/visudet.html#min-max-heights" title="10.7 Minimum and maximum heights: 'min-height' and 'max-height'">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script src="/resources/check-layout-th.js"></script>
+<div id="container" style="width:100px; height:30000px; max-height:100%;" data-expected-height="30000">
+ <div style="height:12345px;"></div>
+</div>
+<script>
+ checkLayout("#container");
+</script>