Index: sdk/lib/html/dart2js/html_dart2js.dart |
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart |
index b730bcdd8284ace0f3c5362eff7eeaec5b69f58a..0c4080c4316debc3c99040f6669d0e08f477fbb3 100644 |
--- a/sdk/lib/html/dart2js/html_dart2js.dart |
+++ b/sdk/lib/html/dart2js/html_dart2js.dart |
@@ -12029,7 +12029,7 @@ abstract class ElementList<T extends Element> extends ListBase<T> { |
* |
* Setting the height or width properties will set the height or width |
* property for all elements in the list. This returns a rectangle with the |
- * dimenions actually available for content |
+ * dimensions actually available for content |
* in this element, in pixels, regardless of this element's box-sizing |
* property. Getting the height or width returns the height or width of the |
* first Element in this list. |
@@ -12044,7 +12044,7 @@ abstract class ElementList<T extends Element> extends ListBase<T> { |
* Access dimensions and position of the first Element's content + padding box |
* in this list. |
* |
- * This returns a rectangle with the dimenions actually available for content |
+ * This returns a rectangle with the dimensions actually available for content |
* in this element, in pixels, regardless of this element's box-sizing |
* property. Unlike [getBoundingClientRect], the dimensions of this rectangle |
* will return the same numerical height if the element is hidden or not. This |
@@ -12059,7 +12059,7 @@ abstract class ElementList<T extends Element> extends ListBase<T> { |
* Access dimensions and position of the first Element's content + padding + |
* border box in this list. |
* |
- * This returns a rectangle with the dimenions actually available for content |
+ * This returns a rectangle with the dimensions actually available for content |
* in this element, in pixels, regardless of this element's box-sizing |
* property. Unlike [getBoundingClientRect], the dimensions of this rectangle |
* will return the same numerical height if the element is hidden or not. This |
@@ -12072,7 +12072,7 @@ abstract class ElementList<T extends Element> extends ListBase<T> { |
* Access dimensions and position of the first Element's content + padding + |
* border + margin box in this list. |
* |
- * This returns a rectangle with the dimenions actually available for content |
+ * This returns a rectangle with the dimensions actually available for content |
* in this element, in pixels, regardless of this element's box-sizing |
* property. Unlike [getBoundingClientRect], the dimensions of this rectangle |
* will return the same numerical height if the element is hidden or not. This |
@@ -13953,7 +13953,7 @@ class Element extends Node |
/** |
* Access this element's content position. |
* |
- * This returns a rectangle with the dimenions actually available for content |
+ * This returns a rectangle with the dimensions actually available for content |
* in this element, in pixels, regardless of this element's box-sizing |
* property. Unlike [getBoundingClientRect], the dimensions of this rectangle |
* will return the same numerical height if the element is hidden or not. |
@@ -13969,7 +13969,7 @@ class Element extends Node |
/** |
* Access the dimensions and position of this element's content + padding box. |
* |
- * This returns a rectangle with the dimenions actually available for content |
+ * This returns a rectangle with the dimensions actually available for content |
* in this element, in pixels, regardless of this element's box-sizing |
* property. Unlike [getBoundingClientRect], the dimensions of this rectangle |
* will return the same numerical height if the element is hidden or not. This |
@@ -13990,7 +13990,7 @@ class Element extends Node |
* Access the dimensions and position of this element's content + padding + |
* border box. |
* |
- * This returns a rectangle with the dimenions actually available for content |
+ * This returns a rectangle with the dimensions actually available for content |
* in this element, in pixels, regardless of this element's box-sizing |
* property. Unlike [getBoundingClientRect], the dimensions of this rectangle |
* will return the same numerical height if the element is hidden or not. This |
@@ -14009,7 +14009,7 @@ class Element extends Node |
* Access the dimensions and position of this element's content + padding + |
* border + margin box. |
* |
- * This returns a rectangle with the dimenions actually available for content |
+ * This returns a rectangle with the dimensions actually available for content |
* in this element, in pixels, regardless of this element's box-sizing |
* property. Unlike [getBoundingClientRect], the dimensions of this rectangle |
* will return the same numerical height if the element is hidden or not. This |
@@ -20127,7 +20127,7 @@ class HttpRequest extends HttpRequestEventTarget { |
* |
* Note: Most simple HTTP requests can be accomplished using the [getString], |
* [request], [requestCrossOrigin], or [postFormData] methods. Use of this |
- * `open` method is intended only for more complext HTTP requests where |
+ * `open` method is intended only for more complex HTTP requests where |
* finer-grained control is needed. |
*/ |
@DomName('XMLHttpRequest.open') |
@@ -20414,7 +20414,7 @@ class HttpRequest extends HttpRequestEventTarget { |
* |
* Note: Most simple HTTP requests can be accomplished using the [getString], |
* [request], [requestCrossOrigin], or [postFormData] methods. Use of this |
- * `send` method is intended only for more complext HTTP requests where |
+ * `send` method is intended only for more complex HTTP requests where |
* finer-grained control is needed. |
* |
* ## Other resources |
@@ -26035,7 +26035,7 @@ class Node extends EventTarget { |
@JSName('textContent') |
/** |
- * All text within this node and its decendents. |
+ * All text within this node and its descendents. |
* |
* ## Other resources |
* |
@@ -26064,7 +26064,7 @@ class Node extends EventTarget { |
/** |
* Returns a copy of this node. |
* |
- * If [deep] is `true`, then all of this node's children and decendents are |
+ * If [deep] is `true`, then all of this node's children and descendents are |
* copied as well. If [deep] is `false`, then only this node is copied. |
* |
* ## Other resources |
@@ -33982,7 +33982,7 @@ class Touch extends Interceptor { |
final dynamic _get_target; |
// As of Chrome 37, these all changed from long to double. This code |
-// preserves backwards compatability for the time being. |
+// preserves backwards compatibility for the time being. |
int get __clientX => JS('num', '#.clientX', this).round(); |
int get __clientY => JS('num', '#.clientY', this).round(); |
int get __screenX => JS('num', '#.screenX', this).round(); |
@@ -35552,7 +35552,7 @@ class WebSocket extends EventTarget { |
* |
* This method accepts data of type [Blob], [ByteBuffer], [String], or |
* [TypedData]. Named variants [sendBlob], [sendByteBuffer], [sendString], |
- * or [sendTypedData], in constrast, only accept data of the specified type. |
+ * or [sendTypedData], in contrast, only accept data of the specified type. |
*/ |
@DomName('WebSocket.send') |
@DocsEditable() |
@@ -35564,7 +35564,7 @@ class WebSocket extends EventTarget { |
* |
* This method accepts data of type [Blob], [ByteBuffer], [String], or |
* [TypedData]. Named variants [sendBlob], [sendByteBuffer], [sendString], |
- * or [sendTypedData], in constrast, only accept data of the specified type. |
+ * or [sendTypedData], in contrast, only accept data of the specified type. |
*/ |
@DomName('WebSocket.send') |
@DocsEditable() |
@@ -35576,7 +35576,7 @@ class WebSocket extends EventTarget { |
* |
* This method accepts data of type [Blob], [ByteBuffer], [String], or |
* [TypedData]. Named variants [sendBlob], [sendByteBuffer], [sendString], |
- * or [sendTypedData], in constrast, only accept data of the specified type. |
+ * or [sendTypedData], in contrast, only accept data of the specified type. |
*/ |
@DomName('WebSocket.send') |
@DocsEditable() |
@@ -35588,7 +35588,7 @@ class WebSocket extends EventTarget { |
* |
* This method accepts data of type [Blob], [ByteBuffer], [String], or |
* [TypedData]. Named variants [sendBlob], [sendByteBuffer], [sendString], |
- * or [sendTypedData], in constrast, only accept data of the specified type. |
+ * or [sendTypedData], in contrast, only accept data of the specified type. |
*/ |
@DomName('WebSocket.send') |
@DocsEditable() |
@@ -35600,7 +35600,7 @@ class WebSocket extends EventTarget { |
* |
* This method accepts data of type [Blob], [ByteBuffer], [String], or |
* [TypedData]. Named variants [sendBlob], [sendByteBuffer], [sendString], |
- * or [sendTypedData], in constrast, only accept data of the specified type. |
+ * or [sendTypedData], in contrast, only accept data of the specified type. |
*/ |
@DomName('WebSocket.send') |
@DocsEditable() |
@@ -43303,7 +43303,7 @@ class _KeyboardEventHandler extends EventStreamProvider<KeyEvent> { |
} |
/** |
- * Given the charater code returned from a keyDown [event], try to ascertain |
+ * Given the character code returned from a keyDown [event], try to ascertain |
* and return the corresponding charCode for the character that was pressed. |
* This information is not shown to the user, but used to help polyfill |
* keypress events. |
@@ -44707,7 +44707,7 @@ class KeyEvent extends _WrappedEvent implements KeyboardEvent { |
// we set it with our specified values. Because we are doing custom setting |
// of certain values (charCode/keyCode, etc) only in this class (as opposed |
// to KeyboardEvent) and the way we set these custom values depends on the |
- // type of underlying JS object, we do all the contruction for the |
+ // type of underlying JS object, we do all the construction for the |
// underlying KeyboardEvent here. |
if (canUseDispatchEvent) { |
// Currently works in everything but Internet Explorer. |