Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / borders / rtl-border-03.html
blob76496bbd428fa757c572f852d04a6fe50b7d8177
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd">
3 <html>
4 <head>
5 <style>
6 h1 {
7 font-weight: bold;
8 font-size: 1em;
10 div {
11 border: 1px solid black;
12 padding: 5px;
14 div p {
15 line-height: 2em;
17 #ltor p {
18 direction: ltr;
20 #rtol p {
21 direction: rtl;
23 span {
24 display: inline;
25 margin: 0 10px 0 25px;
26 padding: 0 25px 0 10px;
27 border: 1px solid blue;
28 border-left: 10px solid green;
29 border-right: 10px solid orange;
31 #ltor span {
32 direction: rtl;
34 #rtol span {
35 direction: ltr;
37 </style>
38 </head>
39 <body>
40 <p>There should be a SPAN in the middle of all four paragraphs that has padding, a green border, and a margin on the left,
41 and padding, an orange border, and a margin on the right.</p>
43 <h1>Left-to-Right</h1>
44 <div id="ltor">
45 <p>
46 Lorem ipsum dolor
47 <span>
48 sit amet, consectetur
49 </span>
50 adipisicing elit, sed do eiusmod tempor incididunt ut.
51 </p>
52 <p>
53 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut
54 labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco
55 <span>
56 laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in
57 voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat
58 non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor
59 </span>
60 sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore
61 </p>
62 </div>
64 <h1>Right-to-Left</h1>
65 <div id="rtol">
66 <p>
67 Lorem ipsum dolor
68 <span>
69 sit amet, consectetur
70 </span>
71 adipisicing elit, sed do eiusmod tempor incididunt ut.
72 </p>
73 <p>
74 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut
75 labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco
76 <span >
77 laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in
78 voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat
79 non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor
80 </span>
81 sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore
82 magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip.
83 </p>
84 </div>
85 </body>
86 </html>