| Index: ui/file_manager/file_manager/foreground/js/tooltip_controller_unittest.html
|
| diff --git a/ui/file_manager/file_manager/foreground/js/tooltip_controller_unittest.html b/ui/file_manager/file_manager/foreground/js/tooltip_controller_unittest.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..bb2e208039a87386fab933f19c65f220b40ab5ba
|
| --- /dev/null
|
| +++ b/ui/file_manager/file_manager/foreground/js/tooltip_controller_unittest.html
|
| @@ -0,0 +1,44 @@
|
| +<!DOCTYPE html>
|
| +<!-- Copyright 2015 The Chromium Authors. All rights reserved.
|
| + -- Use of this source code is governed by a BSD-style license that can be
|
| + -- found in the LICENSE file.
|
| + -->
|
| +
|
| +<style type="text/css">
|
| + button {
|
| + display: flex;
|
| + height: 32px;
|
| + margin: 30px;
|
| + width: 32px;
|
| + }
|
| +
|
| + #container {
|
| + display: flex;
|
| + justify-content: space-between;
|
| + }
|
| +
|
| + #tooltip {
|
| + background: yellow;
|
| + position: absolute;
|
| + text-align: center;
|
| + width: 100px;
|
| + }
|
| +</style>
|
| +
|
| +<div id="container">
|
| + <button id="chocolate" aria-label="Chocolate!"></button>
|
| + <button id="cherries" aria-label="Cherries!"></button>
|
| +</div>
|
| +
|
| +<!-- Button without a tooltip. -->
|
| +<button id="other"></button>
|
| +
|
| +<div id="tooltip">
|
| + <div id="tooltip-label"></div>
|
| +</div>
|
| +
|
| +<script src="../../../../webui/resources/js/assert.js"></script>
|
| +<script src="../../../../webui/resources/js/util.js"></script>
|
| +<script src="../../common/js/unittest_util.js"></script>
|
| +<script src="tooltip_controller.js"></script>
|
| +<script src="tooltip_controller_unittest.js"></script>
|
|
|