Chromium Code Reviews| OLD | NEW |
|---|---|
| (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> | |
| OLD | NEW |