summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-lists/li-with-overflow-hidden-change-list-style-position-001-ref.html
blob: a3ea8b66ee0d3bf329f2b03caf8ff8cab745216e (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 Lists: test inside and outside switch</title>

<p>The test passes if the first li is inside and the second one is outside.</p>

<ul>
  <li style="list-style-position: inside;">
    <div style="overflow:hidden;">
      outside to inside
    </div>
  </li>
</ul>

<ul>
  <li style="list-style-position: outside;">
    <div style="overflow:hidden;">
      inside to outside
    </div>
  </li>
</ul>