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

Side by Side Diff: LayoutTests/fast/text/unicode-variation-selector.html

Issue 1192473003: Revert "Add Unicode Variation Selector support to harfBuzzGetGlyph" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 unified diff | Download patch
OLDNEW
1 <style> 1 <style>
2 .ahem {
3 font:20px/1 Ahem;
4 }
5 @font-face { 2 @font-face {
6 font-family: ivsfont; 3 font-family: ivsfont;
7 src: url(resources/AhemIVS.ttf); 4 src: url(resources/AhemIVS.ttf);
8 } 5 }
9 .ivs { 6 .ivs {
10 font:20px/1 ivsfont; 7 font-family: ivsfont;
11 } 8 }
12 </style> 9 </style>
13 <p> 10 <p>
14 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, 1e m 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 af ter the glyph on all platforms. 11 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, 1e m 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 af ter the glyph on all platforms.
15 </p> 12 </p>
16 <div> 13 <div>
17 Without UVS: 14 Glyph for code point U+0061 without UVS:
18 <span class="ivs">&#x0061;</span> 15 <span style="font-family: ivsfont;">&#x0061;</span>
19 should look like <span class="ahem">X</span>
20 </div> 16 </div>
21 <div> 17 <div>
22 With UVS: 18 Glyph for code point U+0061 with UVS:
23 <span class="ivs">&#x0061;&#xE0100;</span> 19 <span style="font-family: ivsfont;" id='ivs-holder'>&#x0061;&#xE0100;</span>
24 should look like <span class="ahem">p</span>
25 </div> 20 </div>
26 <div>
27 UVS not in the font should fallback to base:
28 <span class="ivs">&#x0061;&#xE0101;</span> should look like <span class="ahem">X </span>
29 </div>
30 <script>
31 if (window.testRunner) {
32 testRunner.waitUntilDone();
33 document.fonts.ready.then(function () {
34 testRunner.notifyDone();
35 });
36 }
37 </script>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/text/unicode-variation-selector-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698