Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(153)

Unified Diff: LayoutTests/fast/text/unmatched-surrogate-pair-expected.html

Issue 1285633003: Change handling of unmatched surrogate pairs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressing reviewer comments Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/fast/text/unmatched-surrogate-pair.html ('k') | Source/platform/fonts/UTF16TextIterator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/text/unmatched-surrogate-pair-expected.html
diff --git a/LayoutTests/fast/text/unmatched-surrogate-pair-expected.html b/LayoutTests/fast/text/unmatched-surrogate-pair-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..61569ac445fac8226b006333ba953b9f85fa0960
--- /dev/null
+++ b/LayoutTests/fast/text/unmatched-surrogate-pair-expected.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Tests handling of unmatched surrogate pairs</title>
+ <meta charset="utf8">
+ </head>
+ <body>
+ <div>Full codepoint, "🌎". Prints a globe glyph.</div>
+ <div>First part of surrogate pair, "�". Should print replacement character and rest of run.</div>
+ <div>Second part of surrogate pair, "�". Should print replacement character and rest of run.</div>
+ <br>
+ <div>Spanning text nodes:</div>
+ <div>- First part "��" second part.</div>
+ <div>After element.normalize():</div>
+ <div>- First part "🌎" second part.</div>
+ </body>
+</html>
« no previous file with comments | « LayoutTests/fast/text/unmatched-surrogate-pair.html ('k') | Source/platform/fonts/UTF16TextIterator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698