Chromium Code Reviews

Unified Diff: LayoutTests/css1/pseudo/firstletter-surrogate-expected.html

Issue 1133853006: Elements whose contents start with an astral Unicode symbol disappear when CSS `::first-letter` is … Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Working in process patch Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: LayoutTests/css1/pseudo/firstletter-surrogate-expected.html
diff --git a/LayoutTests/css1/pseudo/firstletter-surrogate-expected.html b/LayoutTests/css1/pseudo/firstletter-surrogate-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..22a91545455b51ae4e06f14a111cc2e02041fae4
--- /dev/null
+++ b/LayoutTests/css1/pseudo/firstletter-surrogate-expected.html
@@ -0,0 +1,3 @@
+This test makes sure that the ::first-letter pseudoclass works with first
+letters that require surrogates when written in UTF-16.
+<p><span style="background: red;">&#x1D306;</span>Lorem ipsum (1)</p>

Powered by Google App Engine