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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
content / test / data / accessibility / html / popover-hint.html [blame]
<!--
@MAC-ALLOW:AXExpanded
@WIN-ALLOW:details-roles*
@WIN-ALLOW:EXPANDED*
@WIN-ALLOW:HASPOPUP*
@WIN-ALLOW:haspopup*
@BLINK-ALLOW:haspopup*
@BLINK-ALLOW:expanded*
@BLINK-ALLOW:nameFrom*
@BLINK-ALLOW:descriptionFrom*
@AURALINUX-ALLOW:details-roles*
@AURALINUX-ALLOW:expanded*
@AURALINUX-ALLOW:haspopup:*
-->
<div popover="hint" id="popover1">
Test popover!
</div>
<button popovertarget="popover1">popover1</button>
<div popover="hint" id="popover2">
<div>
Test popover with image!
<img title="test 123">
</div>
</div>
<button popovertarget="popover2">popover2</button>
<button popovertarget="popover3">popover3</button>
<div popover="hint" id="popover3">
Test popover with rich content like a datatable.
<table>
<tr>
<td>1</td>
<td>2</td>
</tr>
<tr>
<td>3</td>
<td>4</td>
</tr>
</table>
</div>
<div popover="hint" id="popover4">
Test popover with a textinput!
<div>
<span>
<input type="text" value="test">
</span>
</div>
</div>
<button popovertarget="popover4">popover4</button>
<div popover="hint" id="popover5">
Test popover with title in button to test description.
</div>
<button title="the title" popovertarget="popover5">popover5</button>
<div popover="hint" id="popover6">Test popover, open</div>
<button popovertarget="popover6">popover6</button>
<script>
popover6.showPopover();
</script>