Mechanical rename of base::debug -> base::trace_event [final pass]
[chromium-blink-merge.git] / third_party / polymer / components-chromium / core-input / core-input.html
blob793104359057499b78dd08fdcf06e37a4083f5e7
1 <!--
2 Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
3 This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE
4 The complete set of authors may be found at http://polymer.github.io/AUTHORS
5 The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS
6 Code distributed by Google as part of the polymer project is also
7 subject to an additional IP rights grant found at http://polymer.github.io/PATENTS
8 --><!--
10 `core-input` is an unstyled single-line input field. It extends the native
11 `input` element.
13 Example:
15 <input is="core-input">
17 The input's value is considered "committed" if the user hits the "enter" key
18 or blurs the input after changing the value. The committed value is stored in
19 the `committedValue` property.
21 If the input has `type = number`, this element will also prevent non-numeric characters
22 from being typed into the text field.
24 Accessibility
25 -------------
27 The following ARIA attributes are set automatically:
29 - `aria-label`: set to the `placeholder` attribute
30 - `aria-disabled`: set if `disabled` is true
32 @group Polymer Core Elements
33 @element core-input
34 @extends input
35 @homepage github.io
36 --><html><head><link href="../polymer/polymer.html" rel="import">
38 <style shim-shadowdom="">
39 /* FIXME consider theming */
41 html /deep/ input[is=core-input] {
42 width: 20em;
43 font: inherit;
44 margin: 0;
45 padding: 0;
46 background-color: transparent;
47 border: 0;
48 outline: none;
50 </style>
52 </head><body><polymer-element name="core-input" extends="input" assetpath="">
56 </polymer-element>
57 <script src="core-input-extracted.js"></script></body></html>