summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-writing-modes/astral-bidi
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/tests/css/css-writing-modes/astral-bidi
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-writing-modes/astral-bidi')
-rw-r--r--testing/web-platform/tests/css/css-writing-modes/astral-bidi/adlam-anti-ref.html13
-rw-r--r--testing/web-platform/tests/css/css-writing-modes/astral-bidi/adlam-ref.html12
-rw-r--r--testing/web-platform/tests/css/css-writing-modes/astral-bidi/adlam.html16
-rw-r--r--testing/web-platform/tests/css/css-writing-modes/astral-bidi/cypriot-anti-ref.html13
-rw-r--r--testing/web-platform/tests/css/css-writing-modes/astral-bidi/cypriot-ref.html12
-rw-r--r--testing/web-platform/tests/css/css-writing-modes/astral-bidi/cypriot.html16
-rw-r--r--testing/web-platform/tests/css/css-writing-modes/astral-bidi/support/adlam.css9
-rw-r--r--testing/web-platform/tests/css/css-writing-modes/astral-bidi/support/cypriot.css9
8 files changed, 100 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-writing-modes/astral-bidi/adlam-anti-ref.html b/testing/web-platform/tests/css/css-writing-modes/astral-bidi/adlam-anti-ref.html
new file mode 100644
index 0000000000..db4c2fdfea
--- /dev/null
+++ b/testing/web-platform/tests/css/css-writing-modes/astral-bidi/adlam-anti-ref.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="utf-8">
+ <title>Adlam</title>
+ <link href="support/adlam.css" rel="stylesheet">
+ <link href="adlam.html" rel="mismatch">
+</head>
+<body>
+<p><bdo dir="ltr">𞤀𞤁𞤂𞤁𞤄</bdo></p>
+<p>U+1E900 U+1E901 U+1E902 U+1E901 U+1E904</p>
+</body>
+</html>
diff --git a/testing/web-platform/tests/css/css-writing-modes/astral-bidi/adlam-ref.html b/testing/web-platform/tests/css/css-writing-modes/astral-bidi/adlam-ref.html
new file mode 100644
index 0000000000..d039127044
--- /dev/null
+++ b/testing/web-platform/tests/css/css-writing-modes/astral-bidi/adlam-ref.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="utf-8">
+ <title>Adlam</title>
+ <link href="support/adlam.css" rel="stylesheet">
+</head>
+<body>
+<p><bdo dir="rtl">𞤀𞤁𞤂𞤁𞤄</bdo></p>
+<p>U+1E900 U+1E901 U+1E902 U+1E901 U+1E904</p>
+</body>
+</html>
diff --git a/testing/web-platform/tests/css/css-writing-modes/astral-bidi/adlam.html b/testing/web-platform/tests/css/css-writing-modes/astral-bidi/adlam.html
new file mode 100644
index 0000000000..8b3ba71c25
--- /dev/null
+++ b/testing/web-platform/tests/css/css-writing-modes/astral-bidi/adlam.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="utf-8">
+ <title>Adlam</title>
+ <link href="support/adlam.css" rel="stylesheet">
+ <link href="adlam-ref.html" rel="match">
+ <link href="https://www.unicode.org/roadmaps/smp/" rel="help">
+ <link href="https://www.w3.org/TR/css-writing-modes/#bidi-algo" rel="help">
+ <meta name="assert" content="Upper astral RTL range is treated as RTL.">
+</head>
+<body>
+<p>𞤀𞤁𞤂𞤁𞤄</p>
+<p>U+1E900 U+1E901 U+1E902 U+1E901 U+1E904</p>
+</body>
+</html>
diff --git a/testing/web-platform/tests/css/css-writing-modes/astral-bidi/cypriot-anti-ref.html b/testing/web-platform/tests/css/css-writing-modes/astral-bidi/cypriot-anti-ref.html
new file mode 100644
index 0000000000..66ffc08275
--- /dev/null
+++ b/testing/web-platform/tests/css/css-writing-modes/astral-bidi/cypriot-anti-ref.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="utf-8">
+ <title>Cypriot</title>
+ <link href="support/cypriot.css" rel="stylesheet">
+ <link href="cypriot.html" rel="mismatch">
+</head>
+<body>
+<p><bdo dir="ltr">𐠀𐠰𐠦𐠡𐠩</bdo></p>
+<p>U+10800 U+10830 U+10826 U+10821 U+10829</p>
+</body>
+</html>
diff --git a/testing/web-platform/tests/css/css-writing-modes/astral-bidi/cypriot-ref.html b/testing/web-platform/tests/css/css-writing-modes/astral-bidi/cypriot-ref.html
new file mode 100644
index 0000000000..ad8accd3a0
--- /dev/null
+++ b/testing/web-platform/tests/css/css-writing-modes/astral-bidi/cypriot-ref.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="utf-8">
+ <title>Cypriot</title>
+ <link href="support/cypriot.css" rel="stylesheet">
+</head>
+<body>
+<p><bdo dir="rtl">𐠀𐠰𐠦𐠡𐠩</bdo></p>
+<p>U+10800 U+10830 U+10826 U+10821 U+10829</p>
+</body>
+</html>
diff --git a/testing/web-platform/tests/css/css-writing-modes/astral-bidi/cypriot.html b/testing/web-platform/tests/css/css-writing-modes/astral-bidi/cypriot.html
new file mode 100644
index 0000000000..0967eec576
--- /dev/null
+++ b/testing/web-platform/tests/css/css-writing-modes/astral-bidi/cypriot.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="utf-8">
+ <title>Cypriot</title>
+ <link href="support/cypriot.css" rel="stylesheet">
+ <link href="cypriot-ref.html" rel="match">
+ <link href="https://www.unicode.org/roadmaps/smp/" rel="help">
+ <link href="https://www.w3.org/TR/css-writing-modes/#bidi-algo" rel="help">
+ <meta name="assert" content="Lower astral RTL range is treated as RTL.">
+</head>
+<body>
+<p>𐠀𐠰𐠦𐠡𐠩</p>
+<p>U+10800 U+10830 U+10826 U+10821 U+10829</p>
+</body>
+</html>
diff --git a/testing/web-platform/tests/css/css-writing-modes/astral-bidi/support/adlam.css b/testing/web-platform/tests/css/css-writing-modes/astral-bidi/support/adlam.css
new file mode 100644
index 0000000000..89e0db1949
--- /dev/null
+++ b/testing/web-platform/tests/css/css-writing-modes/astral-bidi/support/adlam.css
@@ -0,0 +1,9 @@
+@font-face {
+ font-family: "Noto Sans Adlam";
+ font-weight: normal;
+ font-style: normal;
+ src: url("/fonts/noto/NotoSansAdlam-hinted/NotoSansAdlam-Regular.ttf") format("truetype");
+}
+p {
+ font-family: "Noto Sans Adlam";
+}
diff --git a/testing/web-platform/tests/css/css-writing-modes/astral-bidi/support/cypriot.css b/testing/web-platform/tests/css/css-writing-modes/astral-bidi/support/cypriot.css
new file mode 100644
index 0000000000..d739821b1c
--- /dev/null
+++ b/testing/web-platform/tests/css/css-writing-modes/astral-bidi/support/cypriot.css
@@ -0,0 +1,9 @@
+@font-face {
+ font-family: "Noto Sans Cypriot";
+ font-weight: normal;
+ font-style: normal;
+ src: url("/fonts/noto/NotoSansCypriot-hinted/NotoSansCypriot-Regular.ttf") format("truetype");
+}
+p {
+ font-family: "Noto Sans Cypriot";
+}