summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-writing-modes/available-size-011.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-writing-modes/available-size-011.html')
-rw-r--r--testing/web-platform/tests/css/css-writing-modes/available-size-011.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-writing-modes/available-size-011.html b/testing/web-platform/tests/css/css-writing-modes/available-size-011.html
new file mode 100644
index 0000000000..048fb985b8
--- /dev/null
+++ b/testing/web-platform/tests/css/css-writing-modes/available-size-011.html
@@ -0,0 +1,19 @@
+<!doctype html>
+<title>orthogonal flow parent with max-height</title>
+<meta charset=utf-8>
+<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
+<link rel="help" href="https://www.w3.org/TR/css-writing-modes-3/#orthogonal-auto">
+<meta name="assert" content="If an orthogonal flow's parent doesn't have a definite block size but does have a max block size, use that as the available size">
+<link rel="match" href="reference/available-size-011-ref.html">
+<style>
+main {
+ max-height: 1em;
+ line-height: 1em;
+}
+div {
+ writing-mode: vertical-rl;
+}
+</style>
+
+<p>This test passes if the word “PASS” (without the quotation marks) appears below, written horizontally from left to right.
+<main><div>S S A P</div></main>