Bug 1796551 [wpt PR 36570] - WebKit export of https://bugs.webkit.org/show_bug.cgi...
[gecko.git] / toolkit / content / timepicker.xhtml
blob5e6d8044e6fd4b68cd09da01a6ddacd9c6946c17
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
3 - License, v. 2.0. If a copy of the MPL was not distributed with this file,
4 - You can obtain one at http://mozilla.org/MPL/2.0/. -->
6 <!DOCTYPE html [
7 <!ENTITY % htmlDTD PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
8 %htmlDTD;
9 ]>
10 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
11 <head>
12 <title>Time Picker</title>
13 <link rel="stylesheet" href="chrome://global/skin/datetimeinputpickers.css"/>
14 <script src="chrome://global/content/bindings/timekeeper.js"></script>
15 <script src="chrome://global/content/bindings/spinner.js"></script>
16 <script src="chrome://global/content/bindings/timepicker.js"></script>
17 </head>
18 <body>
19 <div id="time-picker"></div>
20 <template id="spinner-template">
21 <div class="spinner-container">
22 <button class="up"/>
23 <div class="spinner"></div>
24 <button class="down"/>
25 </div>
26 </template>
27 <script>
28 /* import-globals-from widgets/timepicker.js */
29 // Create a TimePicker instance and prepare to be
30 // initialized by the "TimePickerInit" event from timepicker.xml
31 new TimePicker(document.getElementById("time-picker"));
32 </script>
33 </body>
34 </html>