summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/text-group-align/text-group-align-center-vlr.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-text/text-group-align/text-group-align-center-vlr.html')
-rw-r--r--testing/web-platform/tests/css/css-text/text-group-align/text-group-align-center-vlr.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-text/text-group-align/text-group-align-center-vlr.html b/testing/web-platform/tests/css/css-text/text-group-align/text-group-align-center-vlr.html
new file mode 100644
index 0000000000..e18cf34830
--- /dev/null
+++ b/testing/web-platform/tests/css/css-text/text-group-align/text-group-align-center-vlr.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<title>text-group-align: center</title>
+<link rel="author" title="Tim Nguyen" href="https://github.com/nt1m">
+<link rel="help" href="https://drafts.csswg.org/css-text-4/#text-group-align-property">
+<link rel="match" href="text-group-align-center-vlr-ref.html">
+<link rel="stylesheet" href="support/test-helpers.css">
+<body>
+<script src="support/test-helpers.js"></script>
+<script>
+for (let direction of ["ltr", "rtl"]) {
+ for (let textAlign of ["start", "end", "left", "right", "center"]) {
+ generateSimpleTest({ textGroupAlign: "center", writingMode: "vertical-lr", direction, textAlign });
+ }
+ document.body.append(document.createElement("br"));
+}
+</script>
+</body>