Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-text/text-indent/text-indent-length-001.html - WPT Dashboard Interop Dashboard
<!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="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>