diff --git a/testing/web-platform/tests/css/css-text/boundary-shaping/boundary-shaping-001.html b/testing/web-platform/tests/css/css-text/boundary-shaping/boundary-shaping-001.html
new file mode 100644
index 000000000000..d6c8fa2b236f
--- /dev/null
+++ b/testing/web-platform/tests/css/css-text/boundary-shaping/boundary-shaping-001.html
@@ -0,0 +1,28 @@
+
+
+
+
+ال
سلام
+
+
diff --git a/testing/web-platform/tests/css/css-text/boundary-shaping/reference/boundary-shaping-001.ref.html b/testing/web-platform/tests/css/css-text/boundary-shaping/reference/boundary-shaping-001.ref.html
new file mode 100644
index 000000000000..23ae8824a81d
--- /dev/null
+++ b/testing/web-platform/tests/css/css-text/boundary-shaping/reference/boundary-shaping-001.ref.html
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+office
+
+
diff --git a/testing/web-platform/tests/css/css-text/boundary-shaping/reference/boundary-shaping-002.ref.html b/testing/web-platform/tests/css/css-text/boundary-shaping/reference/boundary-shaping-002.ref.html
new file mode 100644
index 000000000000..0541daef6c60
--- /dev/null
+++ b/testing/web-platform/tests/css/css-text/boundary-shaping/reference/boundary-shaping-002.ref.html
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+of
fice
+
+
diff --git a/testing/web-platform/tests/css/css-text/boundary-shaping/reference/boundary-shaping-003.ref.html b/testing/web-platform/tests/css/css-text/boundary-shaping/reference/boundary-shaping-003.ref.html
new file mode 100644
index 000000000000..b122551cb766
--- /dev/null
+++ b/testing/web-platform/tests/css/css-text/boundary-shaping/reference/boundary-shaping-003.ref.html
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+of
fice
+
+
diff --git a/testing/web-platform/tests/css/css-text/boundary-shaping/reference/boundary-shaping-004.ref.html b/testing/web-platform/tests/css/css-text/boundary-shaping/reference/boundary-shaping-004.ref.html
new file mode 100644
index 000000000000..b0da33d95459
--- /dev/null
+++ b/testing/web-platform/tests/css/css-text/boundary-shaping/reference/boundary-shaping-004.ref.html
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+off
ice
+
+
diff --git a/testing/web-platform/tests/css/css-text/boundary-shaping/reference/boundary-shaping-005.ref.html b/testing/web-platform/tests/css/css-text/boundary-shaping/reference/boundary-shaping-005.ref.html
new file mode 100644
index 000000000000..b0da33d95459
--- /dev/null
+++ b/testing/web-platform/tests/css/css-text/boundary-shaping/reference/boundary-shaping-005.ref.html
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+off
ice
+
+
diff --git a/testing/web-platform/tests/css/css-text/boundary-shaping/reference/boundary-shaping-006.ref.html b/testing/web-platform/tests/css/css-text/boundary-shaping/reference/boundary-shaping-006.ref.html
new file mode 100644
index 000000000000..6b647bab3128
--- /dev/null
+++ b/testing/web-platform/tests/css/css-text/boundary-shaping/reference/boundary-shaping-006.ref.html
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+of
fice
+
+
diff --git a/testing/web-platform/tests/css/css-text/boundary-shaping/reference/boundary-shaping-007.ref.html b/testing/web-platform/tests/css/css-text/boundary-shaping/reference/boundary-shaping-007.ref.html
new file mode 100644
index 000000000000..64733849947e
--- /dev/null
+++ b/testing/web-platform/tests/css/css-text/boundary-shaping/reference/boundary-shaping-007.ref.html
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+of
fice
+
+
diff --git a/testing/web-platform/tests/css/css-text/boundary-shaping/reference/boundary-shaping-008.ref.html b/testing/web-platform/tests/css/css-text/boundary-shaping/reference/boundary-shaping-008.ref.html
new file mode 100644
index 000000000000..0541daef6c60
--- /dev/null
+++ b/testing/web-platform/tests/css/css-text/boundary-shaping/reference/boundary-shaping-008.ref.html
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+of
fice
+
+
diff --git a/testing/web-platform/tests/css/css-text/boundary-shaping/reference/boundary-shaping-009.ref.html b/testing/web-platform/tests/css/css-text/boundary-shaping/reference/boundary-shaping-009.ref.html
new file mode 100644
index 000000000000..7a0fe835c10d
--- /dev/null
+++ b/testing/web-platform/tests/css/css-text/boundary-shaping/reference/boundary-shaping-009.ref.html
@@ -0,0 +1,56 @@
+
+
+
+
+
+
+
+
+السلام عليكم
+
+
+السلام عليكم
+
+
+السلام عليكم
+
+
+السلام عليكم
+
+
+السلامعليكم
+
+
+السلامعليكم
+
+
+السلامعليكم
+
+
+السلامعليكم
+
+
+
diff --git a/testing/web-platform/tests/css/css-text/boundary-shaping/reference/boundary-shaping-010.ref.html b/testing/web-platform/tests/css/css-text/boundary-shaping/reference/boundary-shaping-010.ref.html
new file mode 100644
index 000000000000..8a043267a038
--- /dev/null
+++ b/testing/web-platform/tests/css/css-text/boundary-shaping/reference/boundary-shaping-010.ref.html
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+السلام
+
+
diff --git a/testing/web-platform/tests/css/css-text/boundary-shaping/resources/LinLibertine_Re-4.7.5.woff b/testing/web-platform/tests/css/css-text/boundary-shaping/resources/LinLibertine_Re-4.7.5.woff
new file mode 100644
index 000000000000..c953a546f0a7
Binary files /dev/null and b/testing/web-platform/tests/css/css-text/boundary-shaping/resources/LinLibertine_Re-4.7.5.woff differ