Index: LayoutTests/css1/pseudo/firstletter-surrogate.html |
diff --git a/LayoutTests/css1/pseudo/firstletter-surrogate.html b/LayoutTests/css1/pseudo/firstletter-surrogate.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8b34233dbefae60148d153291607338dd1eb28f3 |
--- /dev/null |
+++ b/LayoutTests/css1/pseudo/firstletter-surrogate.html |
@@ -0,0 +1,8 @@ |
+<style> |
+p::first-letter { |
+ background: red; |
+} |
+</style> |
+This test makes sure that the ::first-letter pseudoclass works with first |
+letters that require surrogates when written in UTF-16. |
+<p>𝌆Lorem ipsum (1)</p> |