Chromium Code Reviews| Index: LayoutTests/fast/text/font-size-adjust.html |
| diff --git a/LayoutTests/fast/text/font-size-adjust.html b/LayoutTests/fast/text/font-size-adjust.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..35c6621eec9e71ec7e6b548e05c622502d0e9b35 |
| --- /dev/null |
| +++ b/LayoutTests/fast/text/font-size-adjust.html |
| @@ -0,0 +1,46 @@ |
| +<!DOCTYPE html> |
| +<html> |
|
rune
2015/03/02 09:08:36
Skip html, head, and body tags.
changseok
2015/03/02 15:57:49
Done.
|
| + <head> |
| + <style type="text/css"> |
| + 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.
|
| + font-size: 200px; |
| + line-height: 1; |
| + } |
| + |
| + @font-face { |
| + /* LinLibertine_R's aspect value = 0.440918 on mac */ |
| + font-family : 'referenceFont'; |
| + src : url('../../third_party/Libertine/LinLibertine_R.woff') format("woff"); |
| + } |
| + |
| + @font-face { |
| + /* OpenSans-Regular's aspect = 0.544922 on mac */ |
| + /* OpenSans-Regular's aspect = 0.535156 on linux */ |
| + font-family : 'testFont'; |
| + src : url('../../resources/opensans/OpenSans-Regular.woff') format("woff"); |
| + } |
| + |
| + span.test { |
| + font-family: testFont; |
| + font-size-adjust: 0.440; |
| + } |
| + |
| + span.testNone { |
| + font-family: testFont; |
| + font-size-adjust: none; |
| + } |
| + |
| + span.reference { |
| + font-family: referenceFont; |
| + } |
| + </style> |
| + </head> |
| + <body> |
| + <div class="container"> |
| + <span class="test">x</span><span class="reference">x</span> |
| + </div> |
| + <div class="container"> |
| + <span class="testNone">z</span><span class="reference">z</span> |
| + </div> |
| + </body> |
| +</html> |