summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/semantics/popovers/popover-anchor-change-display-ref.html
blob: 9530e7d3c4b98d7233a9ad22287d9f3d632b1ace (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
<!DOCTYPE html>
<meta charset="utf-8">

<p>There should be a green box attached to the right side of each orange box.</p>
<div class=ex><div class=anchor></div><div class=popover></div></div>
<div class=ex><div class=anchor></div><div class=popover></div></div>

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