| Index: dart/tools/dom/docs/docs.json
|
| ===================================================================
|
| --- dart/tools/dom/docs/docs.json (revision 30098)
|
| +++ dart/tools/dom/docs/docs.json (working copy)
|
| @@ -199,6 +199,44 @@
|
| ]
|
| }
|
| },
|
| + "CanvasRenderingContext2D": {
|
| + "members": {
|
| + "currentPath": [
|
| + "/**",
|
| + " * The current default path of this canvas context, if there is one.",
|
| + " *",
|
| + " * ## Other resources",
|
| + " *",
|
| + " * * [Current default path]",
|
| + " * (http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#current-default-path)",
|
| + " * from WHATWG.",
|
| + " */"
|
| + ],
|
| + "imageSmoothingEnabled": [
|
| + "/**",
|
| + " * Whether images and patterns on this canvas will be smoothed when this",
|
| + " * canvas is scaled.",
|
| + " *",
|
| + " * ## Other resources",
|
| + " *",
|
| + " * * [Image smoothing]",
|
| + " * (http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#image-smoothing)",
|
| + " * from WHATWG.",
|
| + " */"
|
| + ],
|
| + "webkitBackingStorePixelRatio": [
|
| + "/**",
|
| + " * The ratio between this canvas' backing store dimensions and the canvas'",
|
| + " * logical dimensions.",
|
| + " *",
|
| + " * ## Other resources",
|
| + " *",
|
| + " * * [High DPI Canvas tutorial]",
|
| + " * (http://www.html5rocks.com/en/tutorials/canvas/hidpi/) from HTML5Rocks.",
|
| + " */"
|
| + ]
|
| + }
|
| + },
|
| "Clipboard": {
|
| "members": {
|
| "getData": [
|
| @@ -416,6 +454,7 @@
|
| " * save typing a few characters.",
|
| " *",
|
| " * [selectors] should be a string using CSS selector syntax.",
|
| + " *",
|
| " * var element1 = document.querySelector('.className');",
|
| " * var element2 = document.querySelector('#id');",
|
| " *",
|
| @@ -465,6 +504,24 @@
|
| ]
|
| }
|
| },
|
| + "DocumentFragment": {
|
| + "members": {
|
| + "querySelector": [
|
| + "/**",
|
| + " * Finds the first descendant element of this document fragment that matches",
|
| + " * the specified group of selectors.",
|
| + " *",
|
| + " * [selectors] should be a string using CSS selector syntax.",
|
| + " *",
|
| + " * var element1 = fragment.querySelector('.className');",
|
| + " * var element2 = fragment.querySelector('#id');",
|
| + " *",
|
| + " * For details about CSS selector syntax, see the",
|
| + " * [CSS selector specification](http://www.w3.org/TR/css3-selectors/).",
|
| + " */"
|
| + ]
|
| + }
|
| + },
|
| "Element": {
|
| "comment": [
|
| "/**",
|
| @@ -1166,9 +1223,8 @@
|
| " * // Gets the first descendant [ImageElement]",
|
| " * var img = element.querySelector('img');",
|
| " *",
|
| - " * See also:",
|
| - " *",
|
| - " * * [CSS Selectors](http://docs.webplatform.org/wiki/css/selectors)",
|
| + " * For details about CSS selector syntax, see the",
|
| + " * [CSS selector specification](http://www.w3.org/TR/css3-selectors/).",
|
| " */"
|
| ],
|
| "resetEvent": [
|
|
|