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

Unified Diff: LayoutTests/fast/text/unicode-variation-selector-expected.html

Issue 1149693002: Add Unicode Variation Selector support to harfBuzzGetGlyph (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add -expected back that was accidentally removed during rebase Created 5 years, 6 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
Index: LayoutTests/fast/text/unicode-variation-selector-expected.html
diff --git a/LayoutTests/fast/text/unicode-variation-selector.html b/LayoutTests/fast/text/unicode-variation-selector-expected.html
similarity index 55%
copy from LayoutTests/fast/text/unicode-variation-selector.html
copy to LayoutTests/fast/text/unicode-variation-selector-expected.html
index 1d9e563d407a2989304a8fcfb9482fc413ec46ee..1495dbcc2e9b3d7932bf2294d3d17ea8e064b5d4 100644
--- a/LayoutTests/fast/text/unicode-variation-selector.html
+++ b/LayoutTests/fast/text/unicode-variation-selector-expected.html
@@ -1,20 +1,23 @@
<style>
-@font-face {
- font-family: ivsfont;
- src: url(resources/AhemIVS.ttf);
-}
-.ivs {
- font-family: ivsfont;
+.ahem {
+ font:20px/1 Ahem;
}
</style>
<p>
This page ensures that WebKit can render unicode variation selector correctly. On platforms which support UVSes, the glyph of U+0061 should be a 0.2em high, 1em wide rectangle. On platforms which don't support UVSes, it should be a square. In addition, any glyphs (including the last resort glyph) should not appear after the glyph on all platforms.
</p>
<div>
-Glyph for code point U+0061 without UVS:
-<span style="font-family: ivsfont;">&#x0061;</span>
+Without UVS:
+<span class="ahem">X</span>
+should look like <span class="ahem">X</span>
+</div>
+<div>
+With UVS:
+<span class="ahem">p</span>
+should look like <span class="ahem">p</span>
</div>
<div>
-Glyph for code point U+0061 with UVS:
-<span style="font-family: ivsfont;" id='ivs-holder'>&#x0061;&#xE0100;</span>
+UVS not in the font should fallback to base:
+<span class="ahem">X</span>
+should look like <span class="ahem">X</span>
</div>

Powered by Google App Engine
This is Rietveld 408576698