summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-ui/reference/outline-auto-width-001-b-ref.html
blob: 8bc904e934655820a5232db55897182aa2b206ec (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
27
28
<!doctype html>
<html lang=en>
<meta charset=utf-8>
<title>CSS-UI test reference</title>
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
<style>
div {
    outline-style: solid;
    outline-width: 1em;
    width: 100px;
    height: 100px;
    margin: 2em;
}
div + div {
    outline-style: none;
}
</style>

<p>Test passes if either:
<ul>
    <li>there are three boxes below, two above the horizontal line and one below, and the two boxes above the line are identical
    <li>there are two identical boxes below, one above the horizontal line and one below
</ul>

<div></div>
<div></div>
<hr>
<div></div>