summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/text-indent/text-indent-length-001.html
blob: 49fe68733a01543a82299ca407d21d70aec4f80d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text Test: text-indent length</title>
<link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#text-indent-property">
<link rel="match" href="reference/text-indent-length-001-ref.html">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
article {
  font: 10px/1 Ahem;
  width: 60px;
  margin-left: 20px;
  margin-bottom: 10px;
}
</style>
<article style="text-indent: -20px">XX XXX XX X XXX</article>
<article style="text-indent: -10px">XX XXX XX X XXX</article>
<article style="text-indent: 0px">XX XXX XX X XXX</article>
<article style="text-indent: 10px">XX XXX XX X XXX</article>
<article style="text-indent: 30px">XX XXX XX X XXX</article>
<article style="text-indent: 60px">XX XXX XX X XXX</article>