summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/text/text-align-bidi-011.xht
blob: 32d8e819633c4392a03653387ea799d8cf27845c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>CSS Test: text-align and bidi (basic test)</title>
  <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
  <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-28 -->
  <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/text/align/001.html" type="text/html"/>
  <link rel="help" href="http://www.w3.org/TR/CSS21/text.html#alignment-prop" />
  <link rel="help" href="https://drafts.csswg.org/css-text-3/#text-align-property"/>
  <link rel="match" href="text-align-bidi-011-ref.xht" />

  <meta name="flags" content="ahem" />

  <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
  <style type="text/css">
   .test { margin: 1em; width: 29em; font: 0.625em/1 Ahem; }
   .left { text-align: left; }
   .right { text-align: right; }
   .justify { text-align: justify; }
  </style>
 </head>
 <body>
  <p>There should be a perfect 6&times;6 grid of squares below. (Force bidi: &#x05D0;) </p>
  <div class="test left">xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx abcd</div>
  <div class="test right">xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx abcd</div>
  <div class="test justify">xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx abcd</div>
  <div class="test left">&#x202E;xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx abcd</div>
  <div class="test right">&#x202E;xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx abcd</div>
  <div class="test justify">&#x202E;xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx abcd</div>
 </body>
</html>