summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/semantics/popovers/popover-and-svg.html
blob: c5e8bb42a876ee57982f21fd968c261eb108f37e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<meta charset="utf-8" />
<title>Popover is only effective on HTMLElement, not on svg element</title>
<link rel="author" href="mailto:cathiechen@igalia.com">
<link rel=help href="https://html.spec.whatwg.org/#the-popover-attribute">
<link rel="match" href="popover-and-svg-ref.html">
<style>
svg {
  width: 100px;
  height: 100px;
  background-color:green;
}
[popover] {
  top: 100px;
  bottom: auto;
}
</style>
<svg popover></svg>