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

Side by Side Diff: LayoutTests/fast/text/font-size-adjust.html

Issue 943463002: Initial implementation of font-size-adjust (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add some tests which need a rebaseline to TestExpectation Created 5 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style type="text/css">
3 .container {
4 font-size: 200px;
5 line-height: 1;
6 }
7
8 @font-face {
9 /* LinLibertine_R's aspect value = 0.440918 on mac */
10 font-family : 'referenceFont';
11 src : url('../../third_party/Libertine/LinLibertine_R.woff') format("woff");
12 }
13
14 @font-face {
15 /* OpenSans-Regular's aspect = 0.544922 on mac */
16 /* OpenSans-Regular's aspect = 0.535156 on linux */
17 font-family : 'testFont';
18 src : url('../../resources/opensans/OpenSans-Regular.woff') format("woff");
19 }
20
21 .test {
22 font-family: testFont;
23 font-size-adjust: 0.440;
24 }
25
26 .testNone {
27 font-family: testFont;
28 font-size-adjust: none;
29 }
30
31 .reference {
32 font-family: referenceFont;
33 }
34 </style>
35
36 <div class="container">
37 <span class="test">x</span><span class="reference">x</span>
38 </div>
39 <div class="container">
40 <span class="testNone">z</span><span class="reference">z</span>
41 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698