summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/text-indent/reference/anonymous-flex-grid-item-001-ref.html
blob: 517f9e65fde0f2951fb8175b77a13eaf3514a62d (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
<!DOCTYPE html>
<title>text-indent in anonymous flex and grid items</title>
<meta name="flags" content="ahem">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
main {
  font: 10px/1 Ahem;
  color: orange;
}
</style>

<p>
Pass conditions:
<ul>
  <li>The top left quadrant of the black-bordered rectangle is white.
  <li>Only the top left quadrant of the black-bordered rectangle is white.
  <li>The rest of the black-bordered rectangle is orange.
  <li>No orange is outside the black-bordered rectangle.
</ul>
</p>

<main>
<div style="text-indent: 50px; border: 3px solid black; width: 100px;">
  ABCDE ABCDEABCDE
</div>
</main>