Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / writing-mode / vertical-font-fallback.html
blobb526fd3ecce98d0a337b6bc90f31ee5d76bc0578
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <title>Vertical Font Fallback</title>
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7 <style type="text/css">
9 body {
10 margin: 50px;
11 font-size: 20px;
12 font-family: Times;
15 .lrblock {
16 writing-mode: tb-lr; /* IE */
17 -webkit-writing-mode: vertical-lr;
18 height: 275px;
19 margin-bottom: 50px;
20 padding: 1px;
21 background-color: #eee;
24 .basic {
25 width: 275px;
26 margin: 0;
27 padding: 1px;
28 writing-mode: lr-tb; /* IE */
29 -webkit-writing-mode: horizontal-tb;
32 div.d0 {
33 background-color: #fee;
36 div.d1 {
37 background-color: #ffe;
40 p {
41 margin: 10% 5% 10% 5%;
42 background-color: #faa;
43 border-left: 20px solid #f88;
44 border-right: 20px solid #f88;
45 line-height: 1em;
46 padding: 1px;
49 .vert {
50 writing-mode: tb-rl; /* IE */
51 -webkit-writing-mode: vertical-rl;
54 </style>
55 </head>
56 <body>
58 <div class="lrblock">
59 <div class="basic d0"><p>第一段落 paragraph 1</p><p>第二段落 paragraph 2</p></div>
60 <div class="basic d1 vert"><p>第一段落 paragraph 1</p><p>第二段落 paragraph 2</p></div>
61 </div>
63 </body>
64 </html>