chromium/third_party/google-closure-library/closure/goog/ui/hovercard_test.html

<!DOCTYPE html><!-- DO NOT EDIT. This file auto-generated by generate_closure_unit_tests.js --><!--
Copyright 2017 The Closure Library Authors. All Rights Reserved.

Use of this source code is governed by the Apache License, Version 2.0.
See the COPYING file for details.
--><html><head><meta charset="UTF-8">

<script src="../base.js"></script>

<script>goog.require('goog.ui.HoverCardTest');</script>
<title>Closure Unit Tests - goog.ui.HoverCardTest</title><!--
Copyright 2017 The Closure Library Authors. All Rights Reserved.

Use of this source code is governed by the Apache License, Version 2.0.
See the COPYING file for details.
-->
<style type="text/css">
 .goog-tooltip {
    background: infobackground;
    color: infotext;
    border: 1px solid infotext;
    padding: 1px;
    font:menu;
  }
</style>
</head><body><p id="notpopup">
 Content
</p>
<span email="[email protected]" id="john">
 Span for John that can trigger a
    hovercard.
</span>
<br>
<span id="jane">
 Span for Jane that doesn't trigger a hovercard (no email
    attribute)
</span>
<br>
<span email="[email protected]" id="james">
 Span for James that can trigger a
    hovercard
 <span id="child">
  Child of james
 </span>
</span>
<br>
<div email="[email protected]" id="bill">
 Doesn't trigger for Bill because
    it's a div
</div></body></html>