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

Unified Diff: tools/dom/docs/docs.json

Issue 56533002: Added even more documentation to Element. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: A few more things. Created 7 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | tools/dom/templates/html/impl/impl_Element.darttemplate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/docs/docs.json
diff --git a/tools/dom/docs/docs.json b/tools/dom/docs/docs.json
index afa0d81bf79954c296e8864d8755d12b70704e8d..00cf4d133463612a046e97426cbeb18e2edfa584 100644
--- a/tools/dom/docs/docs.json
+++ b/tools/dom/docs/docs.json
@@ -705,6 +705,44 @@
" * See [EventStreamProvider] for usage information.",
" */"
],
+ "getBoundingClientRect": [
+ "/**",
+ " * The smallest bounding rectangle that encompasses this element's padding,",
+ " * scrollbar, and border.",
+ " *",
+ " * ## Other resources",
+ " *",
+ " * * [Element.getBoundingClientRect]",
+ " * (https://developer.mozilla.org/en-US/docs/Web/API/Element.getBoundingClientRect)",
+ " * from MDN.",
+ " * * [The getBoundingClientRect() method]",
+ " * (http://www.w3.org/TR/cssom-view/#the-getclientrects-and-getboundingclientrect-methods) from W3C.",
+ " */"
+ ],
+ "getClientRects": [
+ "/**",
+ " * A list of bounding rectangles for each box associated with this element.",
+ " *",
+ " * ## Other resources",
+ " *",
+ " * * [Element.getClientRects]",
+ " * (https://developer.mozilla.org/en-US/docs/Web/API/Element.getClientRects)",
+ " * from MDN.",
+ " * * [The getClientRects() method]",
+ " * (http://www.w3.org/TR/cssom-view/#the-getclientrects-and-getboundingclientrect-methods) from W3C.",
+ " */"
+ ],
+ "hidden": [
+ "/**",
+ " * Indicates whether the element is not relevant to the page's current state.",
+ " *",
+ " * ## Other resources",
+ " *",
+ " * * [Hidden attribute specification]",
+ " * (http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#the-hidden-attribute)",
+ " * from WHATWG.",
+ " */"
+ ],
"inputEvent": [
"/**",
" * Static factory designed to expose `input` events to event",
@@ -713,6 +751,16 @@
" * See [EventStreamProvider] for usage information.",
" */"
],
+ "inputMethodContext": [
+ "/**",
+ " * The current state of IME composition.",
+ " *",
+ " * ## Other resources",
+ " *",
+ " * * [Input method editor specification]",
+ " * (http://www.w3.org/TR/ime-api/) from W3C.",
+ " */"
+ ],
"invalidEvent": [
"/**",
" * Static factory designed to expose `invalid` events to event",
@@ -1061,6 +1109,21 @@
" * See [EventStreamProvider] for usage information.",
" */"
],
+ "pseudo": [
+ "/**",
+ " * The name of this element's custom pseudo-element.",
+ " *",
+ " * This value must begin with an x and a hyphen, `x-`, to be considered valid.",
+ " *",
+ " * ## Other resources",
+ " *",
+ " * * [Using custom pseudo elements]",
+ " * (http://www.html5rocks.com/en/tutorials/webcomponents/shadowdom-201/#toc-custom-pseduo)",
+ " * from HTML5Rocks.",
+ " * * [Custom pseudo-elements]",
+ " * (http://www.w3.org/TR/shadow-dom/#custom-pseudo-elements) from W3C.",
+ " */"
+ ],
"querySelector": [
"/**",
" * Finds the first descendant element of this element that matches the",
@@ -1176,6 +1239,34 @@
" * See [EventStreamProvider] for usage information.",
" */"
],
+ "translate": [
+ "/**",
+ " * Specifies whether this element's text content changes when the page is",
+ " * localized.",
+ " *",
+ " * ## Other resources",
+ " *",
+ " * * [The translate attribute]",
+ " * (http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#the-translate-attribute)",
+ " * from WHATWG.",
+ " */"
+ ],
+ "webkitdropzone": [
+ "/**",
+ " * A set of space-separated keywords that specify what kind of data this",
+ " * Element accepts on drop and what to do with that data.",
+ " *",
+ " * ## Other resources",
+ " *",
+ " * * [Drag and drop sample]",
+ " * (https://github.com/dart-lang/dart-samples/tree/master/web/html5/dnd/basics)",
+ " * based on [the tutorial](http://www.html5rocks.com/en/tutorials/dnd/basics/)",
+ " * from HTML5Rocks.",
+ " * * [Drag and drop specification]",
+ " * (http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#dnd)",
+ " * from WHATWG.",
+ " */"
+ ],
"webkitfullscreenchangeEvent": [
"/**",
" * Static factory designed to expose `fullscreenchange` events to event",
@@ -1191,6 +1282,24 @@
" *",
" * See [EventStreamProvider] for usage information.",
" */"
+ ],
+ "webkitRegionOverset": [
+ "/**",
+ " * The current state of this region.",
+ " *",
+ " * If `\"empty\"`, then there is no content in this region.",
+ " * If `\"fit\"`, then content fits into this region, and more content can be",
+ " * added. If `\"overset\"`, then there is more content than can be fit into this",
+ " * region.",
+ " *",
+ " * ## Other resources",
+ " *",
+ " * * [CSS regions and exclusions tutorial]",
+ " * (http://www.html5rocks.com/en/tutorials/regions/adobe/) from HTML5Rocks.",
+ " * * [Regions](http://html.adobe.com/webplatform/layout/regions/) from Adobe.",
+ " * * [CSS regions specification]",
+ " * (http://www.w3.org/TR/css3-regions/) from W3C.",
+ " */"
]
}
},
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | tools/dom/templates/html/impl/impl_Element.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698