[Ozone-Drm] Add support for async content protection
[chromium-blink-merge.git] / third_party / polymer / components / core-label / demo.html
blobaea9c8b7414f7c607f8344c4fb2bbcbb31873a82
1 <!DOCTYPE html>
2 <!--
3 @license
4 Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
5 This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
6 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
7 The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
8 Code distributed by Google as part of the polymer project is also
9 subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
10 -->
12 <html lang="en">
13 <head>
14 <meta charset="UTF-8">
15 <title>Core Label</title>
16 <script src="../webcomponentsjs/webcomponents.js"></script>
17 <link rel="import" href="core-label.html">
18 <link rel="import" href="../paper-checkbox/paper-checkbox.html">
19 <link rel="import" href="../paper-slider/paper-slider.html">
20 <link rel="import" href="../paper-button/paper-button.html">
21 </head>
22 <body>
24 <label>regular label<input type="checkbox"></label>
26 <br>
28 <label>regular label 2<input></label>
30 <br>
32 <label>
34 <input>
36 </label>
38 <br>
40 <label for="native">
42 </label>
44 <button id="native">hello</button>
46 <br>
48 <label>
50 <button>b</button>
52 </label>
54 <hr>
56 <core-label>
57 label next to checkbox
58 <input for type="checkbox">
59 something
60 </core-label>
62 <br>
64 <core-label for="#quux">
65 label for checkbox
66 </core-label>
67 <input id="quux" type="checkbox">
69 <br>
71 <core-label for="#foo">
72 <img src="http://placehold.it/200x200" alt="200x200 placeholder image">
73 image (with alt attribute) label
74 </core-label>
76 <input id="foo" type="checkbox">
78 <br>
80 <core-label for=".bar">
81 label for a class .bar
82 </core-label>
83 <input class="bar" type="checkbox">
85 <br>
87 <core-label>
88 input label
89 <input for>
90 </core-label>
92 <br>
94 <core-label>
95 paper checkbox
96 <paper-checkbox for></paper-checkbox>
97 </core-label>
99 <br>
101 <core-label>
102 paper slider
103 <paper-slider min="0" max="100" value="50" for></paper-slider>
104 </core-label>
106 <br>
108 <core-label>
109 input type range
110 <input type="range" for>
111 </core-label>
113 <br>
115 <core-label>
117 <input type="text" for>
119 </core-label>
121 <br>
123 <core-label>
125 <button for>hi</button>
127 </core-label>
130 <br>
132 <core-label>
133 label this button
134 <paper-button for>labelled by parent</paper-button>
135 </core-label>
137 <br>
139 <core-label for=".two">
141 </core-label>
143 <button class="one">sup</button>
144 <button class="two">whazzup</button>
146 </body>
147 </html>