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

Unified Diff: LayoutTests/fast/text/international/zerowidthjoiner.html

Issue 156893004: Handle zero width joiner in HarfBuzzShaper (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Exclude test on mac (as it does not yet use harfbuzz) Created 6 years, 10 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/NeverFixTests ('k') | LayoutTests/fast/text/international/zerowidthjoiner-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/text/international/zerowidthjoiner.html
diff --git a/LayoutTests/fast/text/international/zerowidthjoiner.html b/LayoutTests/fast/text/international/zerowidthjoiner.html
new file mode 100644
index 0000000000000000000000000000000000000000..209feb17137a368cfefe436d588a73d8de9bbe4b
--- /dev/null
+++ b/LayoutTests/fast/text/international/zerowidthjoiner.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <style>
+ h1 { font-size: 24px; }
+ td, div { font-size: 48px; }
+ </style>
+ </head>
+ <body>
+ <h1>
+ The last two rows below should be identical.
+ </h1>
+ <table dir="rtl">
+ <tr><th>isolated</th><th>initial</th><th>medial</th><th>final</th></tr>
+ <tr><td>&#x0639;</td><td>&#xFECB;</td><td>&#xFECC;</td><td>&#xFECA;</td></tr>
+ <tr><td>&#x0639;</td><td>&#x0639;&zwj;</td><td>&zwj;&#x0639;&zwj;</td><td>&zwj;&#x0639;</td></tr>
+ </table>
+
+ <h1>
+ The two lines below should be identical.
+ </h1>
+ <div dir="rtl">&#x0639;&#x0639;&#x0639;</div>
+ <div dir="rtl">&#x0639;&zwj;<span>&zwj;&#x0639;&zwj;</span>&zwj;&#x0639;</div>
+ </body>
+</html>
« no previous file with comments | « LayoutTests/NeverFixTests ('k') | LayoutTests/fast/text/international/zerowidthjoiner-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698