Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(831)

Side by Side Diff: tools/dom/docs/docs.json

Issue 12715003: Cleaning up document.query (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | tools/dom/scripts/htmlrenamer.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "dart.dom.html": { 2 "dart.dom.html": {
3 "CanvasGradient": { 3 "CanvasGradient": {
4 "comment": [ 4 "comment": [
5 "/**", 5 "/**",
6 " * An opaque canvas object representing a gradient.", 6 " * An opaque canvas object representing a gradient.",
7 " *", 7 " *",
8 " * Created by calling [createLinearGradient] or [createRadialGradient] on a", 8 " * Created by calling [createLinearGradient] or [createRadialGradient] on a",
9 " * [CanvasRenderingContext2D] object.", 9 " * [CanvasRenderingContext2D] object.",
10 " *", 10 " *",
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 ], 102 ],
103 "createElement": [ 103 "createElement": [
104 "/// Deprecated: use new Element.tag(tagName) instead." 104 "/// Deprecated: use new Element.tag(tagName) instead."
105 ], 105 ],
106 "createTouchList": [ 106 "createTouchList": [
107 "/// Use the [TouchList] constructor instead." 107 "/// Use the [TouchList] constructor instead."
108 ], 108 ],
109 "getCSSCanvasContext": [ 109 "getCSSCanvasContext": [
110 "/// Moved to [HtmlDocument]." 110 "/// Moved to [HtmlDocument]."
111 ], 111 ],
112 "getElementById": [
113 "/// Deprecated: use query(\"#$elementId\") instead."
114 ],
115 "head": [ 112 "head": [
116 "/// Moved to [HtmlDocument]." 113 "/// Moved to [HtmlDocument]."
117 ], 114 ],
118 "lastModified": [ 115 "lastModified": [
119 "/// Moved to [HtmlDocument]." 116 "/// Moved to [HtmlDocument]."
120 ], 117 ],
121 "querySelector": [ 118 "querySelector": [
122 "/// Deprecated: renamed to the shorter name [query]." 119 "/**",
120 " * Finds the first descendant element of this document that matches t he",
121 " * specified group of selectors.",
122 " *",
123 " * Unless your webpage contains multiple documents, the top-level que ry",
124 " * method behaves the same as this method, so you should use it inste ad to",
125 " * save typing a few characters.",
126 " *",
127 " * [selectors] should be a string using CSS selector syntax.",
128 " * var element1 = document.query('.className');",
129 " * var element2 = document.query('#id');",
130 " *",
131 " * For details about CSS selector syntax, see the",
132 " * [CSS selector specification](http://www.w3.org/TR/css3-selectors/) .",
133 " */"
123 ], 134 ],
124 "querySelectorAll": [ 135 "querySelectorAll": [
125 "/// Deprecated: use query(\"#$elementId\") instead." 136 "/// Deprecated: use query(\"#$elementId\") instead."
126 ], 137 ],
127 "referrer": [ 138 "referrer": [
128 "/// Moved to [HtmlDocument]." 139 "/// Moved to [HtmlDocument]."
129 ], 140 ],
130 "styleSheets": [ 141 "styleSheets": [
131 "/// Moved to [HtmlDocument]" 142 "/// Moved to [HtmlDocument]"
132 ], 143 ],
(...skipping 19 matching lines...) Expand all
152 "/// Moved to [HtmlDocument]." 163 "/// Moved to [HtmlDocument]."
153 ], 164 ],
154 "webkitIsFullScreen": [ 165 "webkitIsFullScreen": [
155 "/// Moved to [HtmlDocument]." 166 "/// Moved to [HtmlDocument]."
156 ], 167 ],
157 "webkitPointerLockElement": [ 168 "webkitPointerLockElement": [
158 "/// Moved to [HtmlDocument]." 169 "/// Moved to [HtmlDocument]."
159 ] 170 ]
160 } 171 }
161 }, 172 },
173 "Element": {
174 "members": {
175 "querySelector": [
176 "/**",
177 " * Finds the first descendant element of this element that matches th e",
178 " * specified group of selectors.",
179 " *",
180 " * [selectors] should be a string using CSS selector syntax.",
181 " *",
182 " * // Gets the first descendant with the class 'classname'",
183 " * var element = element.query('.className');",
184 " * // Gets the element with id 'id'",
185 " * var element = element.query('#id');",
186 " * // Gets the first descendant [ImageElement]",
187 " * var img = element.query('img');",
188 " *",
189 " * See also:",
190 " *",
191 " * * [CSS Selectors](http://docs.webplatform.org/wiki/css/selectors)" ,
192 " */"
193 ]
194 }
195 },
162 "HTMLAreaElement": { 196 "HTMLAreaElement": {
163 "comment": [ 197 "comment": [
164 "/**", 198 "/**",
165 " * DOM Area Element, which links regions of an image map with a hyperli nk.", 199 " * DOM Area Element, which links regions of an image map with a hyperli nk.",
166 " *", 200 " *",
167 " * The element can also define an uninteractive region of the map.", 201 " * The element can also define an uninteractive region of the map.",
168 " *", 202 " *",
169 " * See also:", 203 " * See also:",
170 " *", 204 " *",
171 " * * [<area>](https://developer.mozilla.org/en-US/docs/HTML/Element/are a)", 205 " * * [<area>](https://developer.mozilla.org/en-US/docs/HTML/Element/are a)",
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 " * Otherwise, [errorCallback] is called.", 576 " * Otherwise, [errorCallback] is called.",
543 " *", 577 " *",
544 " * [oldVersion] should match the database's current [version] exact ly.", 578 " * [oldVersion] should match the database's current [version] exact ly.",
545 " *", 579 " *",
546 " * * [Database.changeVersion](http://www.w3.org/TR/webdatabase/#dom -database-changeversion) from W3C.", 580 " * * [Database.changeVersion](http://www.w3.org/TR/webdatabase/#dom -database-changeversion) from W3C.",
547 " */" 581 " */"
548 ] 582 ]
549 } 583 }
550 } 584 }
551 } 585 }
552 } 586 }
OLDNEW
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | tools/dom/scripts/htmlrenamer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698