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

Unified Diff: pkg/dev_compiler/tool/input_sdk/lib/html/dart2js/html_dart2js.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 2850783002: Dart SDK Spelling b, c, and d. (Closed)
Patch Set: Created 3 years, 7 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:
Download patch
Index: pkg/dev_compiler/tool/input_sdk/lib/html/dart2js/html_dart2js.dart
diff --git a/pkg/dev_compiler/tool/input_sdk/lib/html/dart2js/html_dart2js.dart b/pkg/dev_compiler/tool/input_sdk/lib/html/dart2js/html_dart2js.dart
index af2f51409adb943e4c7b4901c991edbc49d19320..71133b028af11987668ceb5e02f1a0007e58e8c0 100644
--- a/pkg/dev_compiler/tool/input_sdk/lib/html/dart2js/html_dart2js.dart
+++ b/pkg/dev_compiler/tool/input_sdk/lib/html/dart2js/html_dart2js.dart
@@ -11997,7 +11997,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.
@@ -12012,7 +12012,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
@@ -12027,7 +12027,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
@@ -12040,7 +12040,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
@@ -13916,7 +13916,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.
@@ -13932,7 +13932,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
@@ -13953,7 +13953,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
@@ -13972,7 +13972,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
@@ -20047,7 +20047,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')
@@ -20334,7 +20334,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
@@ -25944,7 +25944,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
*
@@ -25973,7 +25973,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
@@ -33837,7 +33837,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();
@@ -35399,7 +35399,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()
@@ -35411,7 +35411,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()
@@ -35423,7 +35423,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()
@@ -35435,7 +35435,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()
@@ -35447,7 +35447,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()
@@ -43131,7 +43131,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.
@@ -44524,7 +44524,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.
« no previous file with comments | « pkg/dev_compiler/test/codegen/BenchmarkBase.dart ('k') | pkg/dev_compiler/tool/input_sdk/lib/js/dart2js/js_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698