Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / font-face-variant.html
blob3932466fd4d252061ea9ddbc9635500167cd82cc
1 <style>
2 @font-face {
3 font-family: family1;
4 src: local('Times'), local('Times New Roman');
5 /* font-variant property is not set. */
7 @font-face {
8 font-family: family1;
9 src: local(Ahem), url(../../resources/Ahem.ttf);
10 font-variant: normal;
12 p.test {
13 font-family: family1;
14 font-variant: small-caps;
16 </style>
17 <p>
18 Tests that if @font-face does not provide an explicit font-variant, normal is used.
19 </p>
20 <p>
21 The text below should be a series of black boxes.
22 </p>
23 <p class="test">failure</p>