diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/tests/css/css-flexbox/flexbox-writing-mode-013.html | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-flexbox/flexbox-writing-mode-013.html')
-rw-r--r-- | testing/web-platform/tests/css/css-flexbox/flexbox-writing-mode-013.html | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-flexbox/flexbox-writing-mode-013.html b/testing/web-platform/tests/css/css-flexbox/flexbox-writing-mode-013.html new file mode 100644 index 0000000000..3d90e71202 --- /dev/null +++ b/testing/web-platform/tests/css/css-flexbox/flexbox-writing-mode-013.html @@ -0,0 +1,85 @@ +<!DOCTYPE html> +<!-- + Any copyright is dedicated to the Public Domain. + http://creativecommons.org/publicdomain/zero/1.0/ +--> +<html> +<head> + <title> + CSS Test: Testing a mix of flex items with various values for + 'writing-mode' / 'direction' in a horizontal column-oriented flex container. + </title> + <meta charset="utf-8"> + <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com"> + <link rel="help" href="https://www.w3.org/TR/css-flexbox-1/#flex-direction-property"> + <link rel="help" href="https://www.w3.org/TR/css-writing-modes-3/#propdef-writing-mode"> + <link rel="match" href="flexbox-writing-mode-013-ref.html"> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css"> + <style> + .container { + display: flex; + flex-direction: column; + float: left; + border: 2px solid purple; + padding: 2px; + margin-bottom: 2em; + height: 500px; + width: 150px; + } + + span { + display: block; + background: lightgrey; + border: 2px solid black; + margin: 11px 13px 17px 7px; + inline-size: 6px; + } + + .small { font: 12px Ahem; } + .big { font: 20px Ahem; } + + .hl { writing-mode: horizontal-tb; direction: ltr; } + .hr { writing-mode: horizontal-tb; direction: rtl; } + .vl { writing-mode: vertical-lr; direction: ltr; } + .vr { writing-mode: vertical-rl; direction: ltr; } + .vl_rtl { writing-mode: vertical-lr; direction: rtl; } + .vr_rtl { writing-mode: vertical-rl; direction: rtl; } + </style> +</head> +<body> + +<div class="container hl"> + <span class="hl small">p b c</span> + <span class="hl big">p e</span> + <span class="hr small">p b c</span> + <span class="hr big">p e</span> + <span class="vl small">p b c</span> + <span class="vl big">p e</span> +</div> +<div class="container hl"> + <span class="vr small">p b c</span> + <span class="vr big">p e</span> + <span class="vl_rtl small">p b c</span> + <span class="vl_rtl big">p e</span> + <span class="vr_rtl small">p b c</span> + <span class="vr_rtl big">p e</span> +</div> +<div class="container hr"> + <span class="hl small">p b c</span> + <span class="hl big">p e</span> + <span class="hr small">p b c</span> + <span class="hr big">p e</span> + <span class="vl small">p b c</span> + <span class="vl big">p e</span> +</div> +<div class="container hr"> + <span class="vr small">p b c</span> + <span class="vr big">p e</span> + <span class="vl_rtl small">p b c</span> + <span class="vl_rtl big">p e</span> + <span class="vr_rtl small">p b c</span> + <span class="vr_rtl big">p e</span> +</div> + +</body> +</html> |