Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / repaint / repaint-across-writing-mode-boundary.html
blobd5a758d771bf7d5b50c6011f0934e2e094b398ad
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <script src="resources/text-based-repaint.js"></script>
5 <script>
6 function repaintTest() {
7 if (eventSender) {
8 eventSender.mouseMoveTo(569, 189);
9 eventSender.mouseDown();
10 eventSender.mouseMoveTo(569, 189);
11 eventSender.mouseMoveTo(569, 229);
12 eventSender.mouseUp();
15 </script>
17 <title>Repaint Test Across Writing Mode Boundaries</title>
18 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
20 <style type="text/css">
22 body {
23 margin: 50px;
24 font-size: 20px;
25 font-family: Times;
28 .lrblock {
29 writing-mode: tb-lr; /* IE */
30 -webkit-writing-mode: vertical-lr;
31 height: 275px;
32 margin-bottom: 50px;
33 padding: 1px;
34 background-color: #eee;
37 .basic {
38 width: 275px;
39 margin: 0;
40 padding: 1px;
41 writing-mode: lr-tb; /* IE */
42 -webkit-writing-mode: horizontal-tb;
45 div.d0 {
46 background-color: #fee;
49 div.d1 {
50 background-color: #ffe;
53 p {
54 margin: 10% 5% 10% 5%;
55 background-color: #faa;
56 border-left: 20px solid #f88;
57 border-right: 20px solid #f88;
58 line-height: 1em;
59 padding: 1px;
62 .vert {
63 writing-mode: tb-rl; /* IE */
64 -webkit-writing-mode: vertical-rl;
67 </style>
68 </head>
69 <body onload="runRepaintTest()">
71 <div class="lrblock">
72 <div class="basic d0"><p>第一段落 paragraph 1</p><p>第二段落 paragraph 2</p></div>
73 <div class="basic d1 vert"><p>第一段落 paragraph 1</p><p>第二段落 paragraph 2</p></div>
74 </div>
76 </body>
77 </html>