Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / borders / rtl-border-01.html
blob1eaf3435621b618f50b1509bff685697b461bb3b
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 </style>
32 </head>
33 <body>
34 <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,
35 and padding, an orange border, and a margin on the right.</p>
37 <h1>Left-to-Right</h1>
38 <div id="ltor">
39 <p>
40 Lorem ipsum dolor
41 <span>
42 sit amet, consectetur
43 </span>
44 adipisicing elit, sed do eiusmod tempor incididunt ut.
45 </p>
46 <p>
47 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut
48 labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco
49 <span>
50 laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in
51 voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat
52 non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor
53 </span>
54 sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore
55 </p>
56 </div>
58 <h1>Right-to-Left</h1>
59 <div id="rtol">
60 <p>
61 Lorem ipsum dolor
62 <span>
63 sit amet, consectetur
64 </span>
65 adipisicing elit, sed do eiusmod tempor incididunt ut.
66 </p>
67 <p>
68 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut
69 labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco
70 <span>
71 laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in
72 voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat
73 non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor
74 </span>
75 sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore
76 magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip.
77 </p>
78 </div>
79 </body>
80 </html>