summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-sizing/div-min-content-orthogonal-auto-margin-left.tentative.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-sizing/div-min-content-orthogonal-auto-margin-left.tentative.html')
-rw-r--r--testing/web-platform/tests/css/css-sizing/div-min-content-orthogonal-auto-margin-left.tentative.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-sizing/div-min-content-orthogonal-auto-margin-left.tentative.html b/testing/web-platform/tests/css/css-sizing/div-min-content-orthogonal-auto-margin-left.tentative.html
new file mode 100644
index 0000000000..25d7a143c3
--- /dev/null
+++ b/testing/web-platform/tests/css/css-sizing/div-min-content-orthogonal-auto-margin-left.tentative.html
@@ -0,0 +1,18 @@
+<!DOCTYPE HTML>
+<title> Ensure left takes effect after element is centered for orthogonal writing mode </title>
+<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/3973">
+<link rel="match" href="div-orthogonal-auto-margin-left-ref.html">
+<style>
+ #outer {
+ inset: 0;
+ background-color: black;
+ writing-mode: vertical-rl;
+ margin: auto;
+ left: 10px;
+ position: absolute;
+ block-size: min-content;
+ inline-size: 100px;
+ border: 5px solid red;
+ }
+</style>
+<div id="outer"><div style="block-size: 200px;"></div></div>