Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / borders / rtl-border-02.html
blobaae89222e3c4c75dc86669a3e16591761831afac
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;
19 unicode-bidi: normal;
21 #rtol p {
22 direction: rtl;
23 unicode-bidi: bidi-override;
25 span {
26 display: inline;
27 margin: 0 10px 0 25px;
28 padding: 0 25px 0 10px;
29 border: 1px solid blue;
30 border-left: 10px solid green;
31 border-right: 10px solid orange;
33 #ltor span {
34 direction: rtl;
35 unicode-bidi: bidi-override;
37 #rtol span {
38 direction: ltr;
39 unicode-bidi: normal;
41 </style>
42 </head>
43 <body>
44 <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,
45 and padding, an orange border, and a margin on the right.</p>
47 <h1>Left-to-Right</h1>
48 <div id="ltor">
49 <p>
50 Lorem ipsum dolor
51 <span>
52 sit amet, consectetur
53 </span>
54 adipisicing elit, sed do eiusmod tempor incididunt ut.
55 </p>
56 <p>
57 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut
58 labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco
59 <span>
60 laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in
61 voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat
62 non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor
63 </span>
64 sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore
65 </p>
66 </div>
68 <h1>Right-to-Left</h1>
69 <div id="rtol">
70 <p>
71 Lorem ipsum dolor
72 <span>
73 sit amet, consectetur
74 </span>
75 adipisicing elit, sed do eiusmod tempor incididunt ut.
76 </p>
77 <p>
78 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut
79 labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco
80 <span >
81 laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in
82 voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat
83 non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor
84 </span>
85 sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore
86 magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip.
87 </p>
88 </div>
89 </body>
90 </html>