summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/semantics/popovers/popover-anchor-display-ref.html
blob: f701810da2d1b32d9506d9aa49a2827a2ba51055 (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
29
<!DOCTYPE html>
<meta charset="utf-8">
<link rel=author href="mailto:masonf@chromium.org">

<p>There should be a green box attached to the right side of each orange box.</p>
<div class=ex id=ex1><div class=anchor></div><div class=popover></div></div>
<div class=ex id=ex2><div class=anchor></div><div class=popover></div></div>
<div class=ex id=ex3><div class=anchor></div><div class=popover></div></div>
<div class=ex id=ex4><div class=anchor></div><div class=popover></div></div>
<div class=ex id=ex5><div class=anchor></div><div class=popover></div></div>
<div class=ex id=ex6><div class=anchor></div><div class=popover></div></div>

<style>
  .ex {
    margin: 15px;
    font-size: 0;
  }
  .ex div {
    display:inline-block;
    width: 50px;
    height: 50px;
  }
  .anchor {
    background: orange;
  }
  .popover {
    background: lime;
  }
</style>