Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text / font-size-adjust.html
blob2817ace2c6777ce7e6735f0177ece0b07e1df786
1 <!DOCTYPE html>
2 <style type="text/css">
3 .container {
4 font-size: 200px;
5 line-height: 1;
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");
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");
21 .test {
22 font-family: testFont;
23 font-size-adjust: 0.440;
26 .testNone {
27 font-family: testFont;
28 font-size-adjust: none;
31 .reference {
32 font-family: referenceFont;
34 </style>
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>