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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css/font-face-unicode-range-ligatures.html

Issue 1806653002: Shape unicode-range: font faces in only one iteration (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update UnicodeRangeSetTests to RefPtrtr, rm copy constructor and test Created 4 years, 9 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css/font-face-unicode-range-ligatures-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <style type="text/css">
6 @font-face {
7 font-family: libertinerangesplit;
8 src: url("../../third_party/Libertine/LinLibertine_R.woff");
9 unicode-range: U+0066, U+0069;
10 }
11
12 @font-face {
13 font-family: libertinefull;
14 src: url("../../third_party/Libertine/LinLibertine_R.woff");
15 }
16
17 .test {
18 font-size: 200px;
19 }
20
21 #libertinerangesplit {
22 font-family: libertinerangesplit;
23 }
24
25 #libertinefull {
26 font-family: libertinefull;
27 }
28 </style>
29
30 <script src="../../resources/testharness.js"></script>
31 <script src="../../resources/testharnessreport.js"></script>
32
33 <script type="text/javascript">
34
35 async_test(function(testHandle) {
36 document.fonts.ready.then( function() {
37 testHandle.step( function() {
38 rangesplitwidth = document.querySelector("#libertinerangesplit").get BoundingClientRect().width;
39 fullwidth = document.querySelector("#libertinefull").getBoundingClie ntRect().width;
40 assert_equals(rangesplitwidth, fullwidth);
41 });
42 testHandle.done();
43 });
44 }, "Ligature for fi formed for full font and subsetted font.");
45
46 </script>
47 </head>
48 <body>
49 <div class="test">
50 <span id="libertinerangesplit">fi</span>
51 <span id="libertinefull">fi</span>
52 </div>
53 </body>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css/font-face-unicode-range-ligatures-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698