aboutsummaryrefslogtreecommitdiffstats
path: root/test/render/flex/-flexbox-writing-mode-015.htm
diff options
context:
space:
mode:
authorYuri Kobets <[email protected]>2024-01-31 03:48:44 +0300
committerGitHub <[email protected]>2024-01-31 03:48:44 +0300
commit6ca1ab0419e770e6d35a1ef690238773a1dafcee (patch)
tree16df635edd594dc1d1b9d0044993e2ae4d0e0200 /test/render/flex/-flexbox-writing-mode-015.htm
parent8c320007878795fe629de7fe1eaef9328ac9c719 (diff)
parentd85ebec101e77825e5708e58df0e2508ec4fd389 (diff)
Merge pull request #285 from litehtml/flex_layoutHEADv0.9dev
Flex layout
Diffstat (limited to 'test/render/flex/-flexbox-writing-mode-015.htm')
-rw-r--r--test/render/flex/-flexbox-writing-mode-015.htm88
1 files changed, 88 insertions, 0 deletions
diff --git a/test/render/flex/-flexbox-writing-mode-015.htm b/test/render/flex/-flexbox-writing-mode-015.htm
new file mode 100644
index 00000000..a01975a7
--- /dev/null
+++ b/test/render/flex/-flexbox-writing-mode-015.htm
@@ -0,0 +1,88 @@
+<!DOCTYPE html>
+<!--
+ Any copyright is dedicated to the Public Domain.
+ http://creativecommons.org/publicdomain/zero/1.0/
+--><html>
+<!-- Mirrored from test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/flexbox-writing-mode-015.htm by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 23 Dec 2023 16:15:11 GMT -->
+<head>
+ <title>
+ CSS Test: Testing a mix of flex items with various values for
+ 'writing-mode' / 'direction' in a vertical column-oriented flex container
+ with 'direction' flipped.
+ </title>
+ <meta charset="utf-8">
+ <link href="mailto:[email protected]" rel="author" title="Daniel Holbert">
+ <link href="https://www.w3.org/TR/css-flexbox-1/#flex-direction-property" rel="help">
+ <link href="https://www.w3.org/TR/css-writing-modes-3/#propdef-writing-mode" rel="help">
+ <link href="http://test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/reference/flexbox-writing-mode-015-ref.htm" rel="match">
+ <link href="fonts/ahem.css" type="text/css" rel="stylesheet">
+ <style>
+ .container {
+ display: flex;
+ flex-direction: column;
+ border: 2px solid purple;
+ padding: 2px;
+ margin-bottom: 2em;
+ height: 150px;
+ width: 500px;
+ }
+
+ 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 vl_rtl">
+ <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 vl_rtl">
+ <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 vr_rtl">
+ <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 vr_rtl">
+ <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>
+<!-- Mirrored from test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/flexbox-writing-mode-015.htm by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 23 Dec 2023 16:15:11 GMT -->
+</html> \ No newline at end of file