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

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: ExpectedResultForLinuxIsUpdated Created 5 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
rune 2015/03/02 09:08:36 Skip html, head, and body tags.
changseok 2015/03/02 15:57:49 Done.
3 <head>
4 <style type="text/css">
5 div.container {
rune 2015/03/02 09:08:36 Nit: no need to add the tag name in any of the sel
changseok 2015/03/02 15:57:48 Done.
6 font-size: 200px;
7 line-height: 1;
8 }
9
10 @font-face {
11 /* LinLibertine_R's aspect value = 0.440918 on mac */
12 font-family : 'referenceFont';
13 src : url('../../third_party/Libertine/LinLibertine_R.woff') format("wof f");
14 }
15
16 @font-face {
17 /* OpenSans-Regular's aspect = 0.544922 on mac */
18 /* OpenSans-Regular's aspect = 0.535156 on linux */
19 font-family : 'testFont';
20 src : url('../../resources/opensans/OpenSans-Regular.woff') format("woff ");
21 }
22
23 span.test {
24 font-family: testFont;
25 font-size-adjust: 0.440;
26 }
27
28 span.testNone {
29 font-family: testFont;
30 font-size-adjust: none;
31 }
32
33 span.reference {
34 font-family: referenceFont;
35 }
36 </style>
37 </head>
38 <body>
39 <div class="container">
40 <span class="test">x</span><span class="reference">x</span>
41 </div>
42 <div class="container">
43 <span class="testNone">z</span><span class="reference">z</span>
44 </div>
45 </body>
46 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698