summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-logical/logical-box-inset.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-logical/logical-box-inset.html')
-rw-r--r--testing/web-platform/tests/css/css-logical/logical-box-inset.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-logical/logical-box-inset.html b/testing/web-platform/tests/css/css-logical/logical-box-inset.html
new file mode 100644
index 0000000000..8587d79ed9
--- /dev/null
+++ b/testing/web-platform/tests/css/css-logical/logical-box-inset.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<meta charset="utf-8" />
+<title>CSS Logical Properties: Flow-Relative Offsets</title>
+<link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com" />
+<link rel="help" href="https://drafts.csswg.org/css-logical/#inset-properties">
+<meta name="assert" content="This test checks the interaction of the flow-relative inset-* 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("inset-*", {
+ type: "length",
+ prerequisites: {"position": "relative"},
+}));
+</script>