| 1 |
<!-- |
| 2 |
Copyright 2017 The Closure Library Authors. All Rights Reserved. |
| 3 |
|
| 4 |
Use of this source code is governed by the Apache License, Version 2.0. |
| 5 |
See the COPYING file for details. |
| 6 |
--> |
| 7 |
<style type="text/css"> |
| 8 |
.goog-tooltip { |
| 9 |
background: infobackground; |
| 10 |
color: infotext; |
| 11 |
border: 1px solid infotext; |
| 12 |
padding: 1px; |
| 13 |
font:menu; |
| 14 |
} |
| 15 |
</style> |
| 16 |
<p id="notpopup"> |
| 17 |
Content |
| 18 |
</p> |
| 19 |
<span email="[email protected]" id="john"> |
| 20 |
Span for John that can trigger a |
| 21 |
hovercard. |
| 22 |
</span> |
| 23 |
<br/> |
| 24 |
<span id="jane"> |
| 25 |
Span for Jane that doesn't trigger a hovercard (no email |
| 26 |
attribute) |
| 27 |
</span> |
| 28 |
<br/> |
| 29 |
<span email="[email protected]" id="james"> |
| 30 |
Span for James that can trigger a |
| 31 |
hovercard |
| 32 |
<span id="child"> |
| 33 |
Child of james |
| 34 |
</span> |
| 35 |
</span> |
| 36 |
<br/> |
| 37 |
<div email="[email protected]" id="bill"> |
| 38 |
Doesn't trigger for Bill because |
| 39 |
it's a div |
| 40 |
</div> |