summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/text-align/text-align-match-parent-root-rtl.html
blob: a2d8f229049b99b9ee150516709276268356ff4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<html dir="rtl">
  <head>
    <title>CSS Text: text-align: match-parent</title>
    <link rel="author" title="Simon Montagu" href="mailto:smontagu@mozilla.com">
    <link rel="help" href="http://www.w3.org/TR/css-text-3/#text-align-property">
    <meta name="assert" content="Text checks that
      text-align: match-parent on a root element with dir=rtl is
      equivalent to text-align: start">
    <link rel="match" href="text-align-match-parent-root-rtl-ref.html">
    <style type="text/css">
html { text-align: match-parent; }
    </style>
  </head>
  <body>
    <p>This line should be aligned right</p>
  </body>
</html>