summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-logical/logical-box-margin.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-logical/logical-box-margin.html')
-rw-r--r--testing/web-platform/tests/css/css-logical/logical-box-margin.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-logical/logical-box-margin.html b/testing/web-platform/tests/css/css-logical/logical-box-margin.html
new file mode 100644
index 0000000000..86240f96a6
--- /dev/null
+++ b/testing/web-platform/tests/css/css-logical/logical-box-margin.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<meta charset="utf-8" />
+<title>CSS Logical Properties: Flow-Relative Margins</title>
+<link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com" />
+<link rel="help" href="https://drafts.csswg.org/css-logical/#margin-properties">
+<meta name="assert" content="This test checks the interaction of the flow-relative margin-* properties with the physical ones in different writing modes." />
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+
+<div id="log"></div>
+
+<script type="module">
+import {runTests, createBoxPropertyGroup} from "./resources/test-box-properties.js";
+runTests(createBoxPropertyGroup("margin-*", {type: "length"}));
+</script>