| 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 e7ca906d9c48153ccf9b955b08a833f2211520af..b9debdcd54c6e7c1320959227ffe7fbfe7e9f4ca 100644
|
| --- a/sdk/lib/html/dart2js/html_dart2js.dart
|
| +++ b/sdk/lib/html/dart2js/html_dart2js.dart
|
| @@ -268,6 +268,74 @@ class AppletElement extends Element implements Element native "*HTMLAppletElemen
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| +/// @domName DOMApplicationCache; @docsEditable true
|
| +class ApplicationCache extends EventTarget native "*DOMApplicationCache" {
|
| +
|
| + /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
|
| + ApplicationCacheEvents get on =>
|
| + new ApplicationCacheEvents(this);
|
| +
|
| + static const int CHECKING = 2;
|
| +
|
| + static const int DOWNLOADING = 3;
|
| +
|
| + static const int IDLE = 1;
|
| +
|
| + static const int OBSOLETE = 5;
|
| +
|
| + static const int UNCACHED = 0;
|
| +
|
| + static const int UPDATEREADY = 4;
|
| +
|
| + /// @domName DOMApplicationCache.status; @docsEditable true
|
| + final int status;
|
| +
|
| + /// @domName DOMApplicationCache.abort; @docsEditable true
|
| + void abort() native;
|
| +
|
| + /// @domName DOMApplicationCache.addEventListener; @docsEditable true
|
| + @JSName('addEventListener')
|
| + void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native;
|
| +
|
| + /// @domName DOMApplicationCache.dispatchEvent; @docsEditable true
|
| + @JSName('dispatchEvent')
|
| + bool $dom_dispatchEvent(Event evt) native;
|
| +
|
| + /// @domName DOMApplicationCache.removeEventListener; @docsEditable true
|
| + @JSName('removeEventListener')
|
| + void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native;
|
| +
|
| + /// @domName DOMApplicationCache.swapCache; @docsEditable true
|
| + void swapCache() native;
|
| +
|
| + /// @domName DOMApplicationCache.update; @docsEditable true
|
| + void update() native;
|
| +}
|
| +
|
| +class ApplicationCacheEvents extends Events {
|
| + ApplicationCacheEvents(EventTarget _ptr) : super(_ptr);
|
| +
|
| + EventListenerList get cached => this['cached'];
|
| +
|
| + EventListenerList get checking => this['checking'];
|
| +
|
| + EventListenerList get downloading => this['downloading'];
|
| +
|
| + EventListenerList get error => this['error'];
|
| +
|
| + EventListenerList get noUpdate => this['noupdate'];
|
| +
|
| + EventListenerList get obsolete => this['obsolete'];
|
| +
|
| + EventListenerList get progress => this['progress'];
|
| +
|
| + EventListenerList get updateReady => this['updateready'];
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +
|
| /// @domName HTMLAreaElement; @docsEditable true
|
| class AreaElement extends Element implements Element native "*HTMLAreaElement" {
|
|
|
| @@ -656,4358 +724,4358 @@ class ButtonElement extends Element implements Element native "*HTMLButtonElemen
|
|
|
|
|
| /// @domName CDATASection; @docsEditable true
|
| -class CDATASection extends Text native "*CDATASection" {
|
| +class CDataSection extends Text native "*CDATASection" {
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -/// @domName CSSCharsetRule; @docsEditable true
|
| -class CSSCharsetRule extends CSSRule native "*CSSCharsetRule" {
|
| +/// @domName HTMLCanvasElement
|
| +class CanvasElement extends Element implements Element native "*HTMLCanvasElement" {
|
|
|
| - /// @domName CSSCharsetRule.encoding; @docsEditable true
|
| - String encoding;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| + factory CanvasElement({int width, int height}) {
|
| + var e = document.$dom_createElement("canvas");
|
| + if (width != null) e.width = width;
|
| + if (height != null) e.height = height;
|
| + return e;
|
| + }
|
| +
|
| + /// @domName HTMLCanvasElement.height; @docsEditable true
|
| + int height;
|
|
|
| + /// @domName HTMLCanvasElement.width; @docsEditable true
|
| + int width;
|
|
|
| -/// @domName CSSFontFaceRule; @docsEditable true
|
| -class CSSFontFaceRule extends CSSRule native "*CSSFontFaceRule" {
|
| + /// @domName HTMLCanvasElement.toDataURL; @docsEditable true
|
| + @JSName('toDataURL')
|
| + String toDataUrl(String type, [num quality]) native;
|
|
|
| - /// @domName CSSFontFaceRule.style; @docsEditable true
|
| - final CSSStyleDeclaration style;
|
| +
|
| + CanvasRenderingContext getContext(String contextId) native;
|
| + CanvasRenderingContext2D get context2d => getContext('2d');
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -/// @domName CSSImportRule; @docsEditable true
|
| -class CSSImportRule extends CSSRule native "*CSSImportRule" {
|
| -
|
| - /// @domName CSSImportRule.href; @docsEditable true
|
| - final String href;
|
| -
|
| - /// @domName CSSImportRule.media; @docsEditable true
|
| - final MediaList media;
|
| +/// @domName CanvasGradient; @docsEditable true
|
| +class CanvasGradient native "*CanvasGradient" {
|
|
|
| - /// @domName CSSImportRule.styleSheet; @docsEditable true
|
| - final CSSStyleSheet styleSheet;
|
| + /// @domName CanvasGradient.addColorStop; @docsEditable true
|
| + void addColorStop(num offset, String color) native;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -/// @domName WebKitCSSKeyframeRule; @docsEditable true
|
| -class CSSKeyframeRule extends CSSRule native "*WebKitCSSKeyframeRule" {
|
| -
|
| - /// @domName WebKitCSSKeyframeRule.keyText; @docsEditable true
|
| - String keyText;
|
| -
|
| - /// @domName WebKitCSSKeyframeRule.style; @docsEditable true
|
| - final CSSStyleDeclaration style;
|
| +/// @domName CanvasPattern; @docsEditable true
|
| +class CanvasPattern native "*CanvasPattern" {
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -/// @domName WebKitCSSKeyframesRule; @docsEditable true
|
| -class CSSKeyframesRule extends CSSRule native "*WebKitCSSKeyframesRule" {
|
| -
|
| - /// @domName WebKitCSSKeyframesRule.cssRules; @docsEditable true
|
| - @Returns('_CSSRuleList') @Creates('_CSSRuleList')
|
| - final List<CSSRule> cssRules;
|
| -
|
| - /// @domName WebKitCSSKeyframesRule.name; @docsEditable true
|
| - String name;
|
| -
|
| - /// @domName WebKitCSSKeyframesRule.deleteRule; @docsEditable true
|
| - void deleteRule(String key) native;
|
| -
|
| - /// @domName WebKitCSSKeyframesRule.findRule; @docsEditable true
|
| - CSSKeyframeRule findRule(String key) native;
|
| +/// @domName CanvasRenderingContext; @docsEditable true
|
| +class CanvasRenderingContext native "*CanvasRenderingContext" {
|
|
|
| - /// @domName WebKitCSSKeyframesRule.insertRule; @docsEditable true
|
| - void insertRule(String rule) native;
|
| + /// @domName CanvasRenderingContext.canvas; @docsEditable true
|
| + final CanvasElement canvas;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -/// @domName WebKitCSSMatrix; @docsEditable true
|
| -class CSSMatrix native "*WebKitCSSMatrix" {
|
| -
|
| - factory CSSMatrix([String cssValue]) {
|
| - if (!?cssValue) {
|
| - return _CSSMatrixFactoryProvider.createCSSMatrix();
|
| - }
|
| - return _CSSMatrixFactoryProvider.createCSSMatrix(cssValue);
|
| - }
|
| -
|
| - /// @domName WebKitCSSMatrix.a; @docsEditable true
|
| - num a;
|
| -
|
| - /// @domName WebKitCSSMatrix.b; @docsEditable true
|
| - num b;
|
| -
|
| - /// @domName WebKitCSSMatrix.c; @docsEditable true
|
| - num c;
|
| -
|
| - /// @domName WebKitCSSMatrix.d; @docsEditable true
|
| - num d;
|
| -
|
| - /// @domName WebKitCSSMatrix.e; @docsEditable true
|
| - num e;
|
| +/// @domName CanvasRenderingContext2D
|
| +class CanvasRenderingContext2D extends CanvasRenderingContext native "*CanvasRenderingContext2D" {
|
|
|
| - /// @domName WebKitCSSMatrix.f; @docsEditable true
|
| - num f;
|
| + /// @domName CanvasRenderingContext2D.fillStyle; @docsEditable true
|
| + dynamic fillStyle;
|
|
|
| - /// @domName WebKitCSSMatrix.m11; @docsEditable true
|
| - num m11;
|
| + /// @domName CanvasRenderingContext2D.font; @docsEditable true
|
| + String font;
|
|
|
| - /// @domName WebKitCSSMatrix.m12; @docsEditable true
|
| - num m12;
|
| + /// @domName CanvasRenderingContext2D.globalAlpha; @docsEditable true
|
| + num globalAlpha;
|
|
|
| - /// @domName WebKitCSSMatrix.m13; @docsEditable true
|
| - num m13;
|
| + /// @domName CanvasRenderingContext2D.globalCompositeOperation; @docsEditable true
|
| + String globalCompositeOperation;
|
|
|
| - /// @domName WebKitCSSMatrix.m14; @docsEditable true
|
| - num m14;
|
| + /// @domName CanvasRenderingContext2D.lineCap; @docsEditable true
|
| + String lineCap;
|
|
|
| - /// @domName WebKitCSSMatrix.m21; @docsEditable true
|
| - num m21;
|
| + /// @domName CanvasRenderingContext2D.lineDashOffset; @docsEditable true
|
| + num lineDashOffset;
|
|
|
| - /// @domName WebKitCSSMatrix.m22; @docsEditable true
|
| - num m22;
|
| + /// @domName CanvasRenderingContext2D.lineJoin; @docsEditable true
|
| + String lineJoin;
|
|
|
| - /// @domName WebKitCSSMatrix.m23; @docsEditable true
|
| - num m23;
|
| + /// @domName CanvasRenderingContext2D.lineWidth; @docsEditable true
|
| + num lineWidth;
|
|
|
| - /// @domName WebKitCSSMatrix.m24; @docsEditable true
|
| - num m24;
|
| + /// @domName CanvasRenderingContext2D.miterLimit; @docsEditable true
|
| + num miterLimit;
|
|
|
| - /// @domName WebKitCSSMatrix.m31; @docsEditable true
|
| - num m31;
|
| + /// @domName CanvasRenderingContext2D.shadowBlur; @docsEditable true
|
| + num shadowBlur;
|
|
|
| - /// @domName WebKitCSSMatrix.m32; @docsEditable true
|
| - num m32;
|
| + /// @domName CanvasRenderingContext2D.shadowColor; @docsEditable true
|
| + String shadowColor;
|
|
|
| - /// @domName WebKitCSSMatrix.m33; @docsEditable true
|
| - num m33;
|
| + /// @domName CanvasRenderingContext2D.shadowOffsetX; @docsEditable true
|
| + num shadowOffsetX;
|
|
|
| - /// @domName WebKitCSSMatrix.m34; @docsEditable true
|
| - num m34;
|
| + /// @domName CanvasRenderingContext2D.shadowOffsetY; @docsEditable true
|
| + num shadowOffsetY;
|
|
|
| - /// @domName WebKitCSSMatrix.m41; @docsEditable true
|
| - num m41;
|
| + /// @domName CanvasRenderingContext2D.strokeStyle; @docsEditable true
|
| + dynamic strokeStyle;
|
|
|
| - /// @domName WebKitCSSMatrix.m42; @docsEditable true
|
| - num m42;
|
| + /// @domName CanvasRenderingContext2D.textAlign; @docsEditable true
|
| + String textAlign;
|
|
|
| - /// @domName WebKitCSSMatrix.m43; @docsEditable true
|
| - num m43;
|
| + /// @domName CanvasRenderingContext2D.textBaseline; @docsEditable true
|
| + String textBaseline;
|
|
|
| - /// @domName WebKitCSSMatrix.m44; @docsEditable true
|
| - num m44;
|
| + /// @domName CanvasRenderingContext2D.webkitBackingStorePixelRatio; @docsEditable true
|
| + final num webkitBackingStorePixelRatio;
|
|
|
| - /// @domName WebKitCSSMatrix.inverse; @docsEditable true
|
| - CSSMatrix inverse() native;
|
| + /// @domName CanvasRenderingContext2D.webkitImageSmoothingEnabled; @docsEditable true
|
| + bool webkitImageSmoothingEnabled;
|
|
|
| - /// @domName WebKitCSSMatrix.multiply; @docsEditable true
|
| - CSSMatrix multiply(CSSMatrix secondMatrix) native;
|
| + /// @domName CanvasRenderingContext2D.webkitLineDash; @docsEditable true
|
| + List webkitLineDash;
|
|
|
| - /// @domName WebKitCSSMatrix.rotate; @docsEditable true
|
| - CSSMatrix rotate(num rotX, num rotY, num rotZ) native;
|
| + /// @domName CanvasRenderingContext2D.webkitLineDashOffset; @docsEditable true
|
| + num webkitLineDashOffset;
|
|
|
| - /// @domName WebKitCSSMatrix.rotateAxisAngle; @docsEditable true
|
| - CSSMatrix rotateAxisAngle(num x, num y, num z, num angle) native;
|
| + /// @domName CanvasRenderingContext2D.arc; @docsEditable true
|
| + void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticlockwise) native;
|
|
|
| - /// @domName WebKitCSSMatrix.scale; @docsEditable true
|
| - CSSMatrix scale(num scaleX, num scaleY, num scaleZ) native;
|
| + /// @domName CanvasRenderingContext2D.arcTo; @docsEditable true
|
| + void arcTo(num x1, num y1, num x2, num y2, num radius) native;
|
|
|
| - /// @domName WebKitCSSMatrix.setMatrixValue; @docsEditable true
|
| - void setMatrixValue(String string) native;
|
| + /// @domName CanvasRenderingContext2D.beginPath; @docsEditable true
|
| + void beginPath() native;
|
|
|
| - /// @domName WebKitCSSMatrix.skewX; @docsEditable true
|
| - CSSMatrix skewX(num angle) native;
|
| + /// @domName CanvasRenderingContext2D.bezierCurveTo; @docsEditable true
|
| + void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y) native;
|
|
|
| - /// @domName WebKitCSSMatrix.skewY; @docsEditable true
|
| - CSSMatrix skewY(num angle) native;
|
| + /// @domName CanvasRenderingContext2D.clearRect; @docsEditable true
|
| + void clearRect(num x, num y, num width, num height) native;
|
|
|
| - /// @domName WebKitCSSMatrix.toString; @docsEditable true
|
| - String toString() native;
|
| + /// @domName CanvasRenderingContext2D.clearShadow; @docsEditable true
|
| + void clearShadow() native;
|
|
|
| - /// @domName WebKitCSSMatrix.translate; @docsEditable true
|
| - CSSMatrix translate(num x, num y, num z) native;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| + /// @domName CanvasRenderingContext2D.clip; @docsEditable true
|
| + void clip() native;
|
|
|
| + /// @domName CanvasRenderingContext2D.closePath; @docsEditable true
|
| + void closePath() native;
|
|
|
| -/// @domName CSSMediaRule; @docsEditable true
|
| -class CSSMediaRule extends CSSRule native "*CSSMediaRule" {
|
| -
|
| - /// @domName CSSMediaRule.cssRules; @docsEditable true
|
| - @Returns('_CSSRuleList') @Creates('_CSSRuleList')
|
| - final List<CSSRule> cssRules;
|
| -
|
| - /// @domName CSSMediaRule.media; @docsEditable true
|
| - final MediaList media;
|
| -
|
| - /// @domName CSSMediaRule.deleteRule; @docsEditable true
|
| - void deleteRule(int index) native;
|
| -
|
| - /// @domName CSSMediaRule.insertRule; @docsEditable true
|
| - int insertRule(String rule, int index) native;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| + /// @domName CanvasRenderingContext2D.createImageData; @docsEditable true
|
| + ImageData createImageData(imagedata_OR_sw, [num sh]) {
|
| + if ((?imagedata_OR_sw && (imagedata_OR_sw is ImageData || imagedata_OR_sw == null)) &&
|
| + !?sh) {
|
| + var imagedata_1 = _convertDartToNative_ImageData(imagedata_OR_sw);
|
| + return _convertNativeToDart_ImageData(_createImageData_1(imagedata_1));
|
| + }
|
| + if ((?imagedata_OR_sw && (imagedata_OR_sw is num || imagedata_OR_sw == null))) {
|
| + return _convertNativeToDart_ImageData(_createImageData_2(imagedata_OR_sw, sh));
|
| + }
|
| + throw new ArgumentError("Incorrect number or type of arguments");
|
| + }
|
| + @JSName('createImageData')
|
| + @Creates('ImageData|=Object')
|
| + _createImageData_1(imagedata) native;
|
| + @JSName('createImageData')
|
| + @Creates('ImageData|=Object')
|
| + _createImageData_2(num sw, sh) native;
|
|
|
| -/// @domName CSSPageRule; @docsEditable true
|
| -class CSSPageRule extends CSSRule native "*CSSPageRule" {
|
| + /// @domName CanvasRenderingContext2D.createLinearGradient; @docsEditable true
|
| + CanvasGradient createLinearGradient(num x0, num y0, num x1, num y1) native;
|
|
|
| - /// @domName CSSPageRule.selectorText; @docsEditable true
|
| - String selectorText;
|
| + /// @domName CanvasRenderingContext2D.createPattern; @docsEditable true
|
| + CanvasPattern createPattern(canvas_OR_image, String repetitionType) native;
|
|
|
| - /// @domName CSSPageRule.style; @docsEditable true
|
| - final CSSStyleDeclaration style;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| + /// @domName CanvasRenderingContext2D.createRadialGradient; @docsEditable true
|
| + CanvasGradient createRadialGradient(num x0, num y0, num r0, num x1, num y1, num r1) native;
|
|
|
| + /// @domName CanvasRenderingContext2D.drawImage; @docsEditable true
|
| + void drawImage(canvas_OR_image_OR_video, num sx_OR_x, num sy_OR_y, [num sw_OR_width, num height_OR_sh, num dx, num dy, num dw, num dh]) native;
|
|
|
| -/// @domName CSSPrimitiveValue; @docsEditable true
|
| -class CSSPrimitiveValue extends CSSValue native "*CSSPrimitiveValue" {
|
| + /// @domName CanvasRenderingContext2D.drawImageFromRect; @docsEditable true
|
| + void drawImageFromRect(ImageElement image, [num sx, num sy, num sw, num sh, num dx, num dy, num dw, num dh, String compositeOperation]) native;
|
|
|
| - static const int CSS_ATTR = 22;
|
| + /// @domName CanvasRenderingContext2D.fill; @docsEditable true
|
| + void fill() native;
|
|
|
| - static const int CSS_CM = 6;
|
| + /// @domName CanvasRenderingContext2D.fillRect; @docsEditable true
|
| + void fillRect(num x, num y, num width, num height) native;
|
|
|
| - static const int CSS_COUNTER = 23;
|
| + /// @domName CanvasRenderingContext2D.fillText; @docsEditable true
|
| + void fillText(String text, num x, num y, [num maxWidth]) native;
|
|
|
| - static const int CSS_DEG = 11;
|
| + /// @domName CanvasRenderingContext2D.getImageData; @docsEditable true
|
| + ImageData getImageData(num sx, num sy, num sw, num sh) {
|
| + return _convertNativeToDart_ImageData(_getImageData_1(sx, sy, sw, sh));
|
| + }
|
| + @JSName('getImageData')
|
| + @Creates('ImageData|=Object')
|
| + _getImageData_1(sx, sy, sw, sh) native;
|
|
|
| - static const int CSS_DIMENSION = 18;
|
| + /// @domName CanvasRenderingContext2D.getLineDash; @docsEditable true
|
| + List<num> getLineDash() native;
|
|
|
| - static const int CSS_EMS = 3;
|
| + /// @domName CanvasRenderingContext2D.isPointInPath; @docsEditable true
|
| + bool isPointInPath(num x, num y) native;
|
|
|
| - static const int CSS_EXS = 4;
|
| + /// @domName CanvasRenderingContext2D.lineTo; @docsEditable true
|
| + void lineTo(num x, num y) native;
|
|
|
| - static const int CSS_GRAD = 13;
|
| + /// @domName CanvasRenderingContext2D.measureText; @docsEditable true
|
| + TextMetrics measureText(String text) native;
|
|
|
| - static const int CSS_HZ = 16;
|
| + /// @domName CanvasRenderingContext2D.moveTo; @docsEditable true
|
| + void moveTo(num x, num y) native;
|
|
|
| - static const int CSS_IDENT = 21;
|
| + /// @domName CanvasRenderingContext2D.putImageData; @docsEditable true
|
| + void putImageData(ImageData imagedata, num dx, num dy, [num dirtyX, num dirtyY, num dirtyWidth, num dirtyHeight]) {
|
| + if (!?dirtyX &&
|
| + !?dirtyY &&
|
| + !?dirtyWidth &&
|
| + !?dirtyHeight) {
|
| + var imagedata_1 = _convertDartToNative_ImageData(imagedata);
|
| + _putImageData_1(imagedata_1, dx, dy);
|
| + return;
|
| + }
|
| + var imagedata_2 = _convertDartToNative_ImageData(imagedata);
|
| + _putImageData_2(imagedata_2, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeight);
|
| + return;
|
| + throw new ArgumentError("Incorrect number or type of arguments");
|
| + }
|
| + @JSName('putImageData')
|
| + void _putImageData_1(imagedata, dx, dy) native;
|
| + @JSName('putImageData')
|
| + void _putImageData_2(imagedata, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeight) native;
|
|
|
| - static const int CSS_IN = 8;
|
| + /// @domName CanvasRenderingContext2D.quadraticCurveTo; @docsEditable true
|
| + void quadraticCurveTo(num cpx, num cpy, num x, num y) native;
|
|
|
| - static const int CSS_KHZ = 17;
|
| + /// @domName CanvasRenderingContext2D.rect; @docsEditable true
|
| + void rect(num x, num y, num width, num height) native;
|
|
|
| - static const int CSS_MM = 7;
|
| + /// @domName CanvasRenderingContext2D.restore; @docsEditable true
|
| + void restore() native;
|
|
|
| - static const int CSS_MS = 14;
|
| + /// @domName CanvasRenderingContext2D.rotate; @docsEditable true
|
| + void rotate(num angle) native;
|
|
|
| - static const int CSS_NUMBER = 1;
|
| + /// @domName CanvasRenderingContext2D.save; @docsEditable true
|
| + void save() native;
|
|
|
| - static const int CSS_PC = 10;
|
| + /// @domName CanvasRenderingContext2D.scale; @docsEditable true
|
| + void scale(num sx, num sy) native;
|
|
|
| - static const int CSS_PERCENTAGE = 2;
|
| + /// @domName CanvasRenderingContext2D.setAlpha; @docsEditable true
|
| + void setAlpha(num alpha) native;
|
|
|
| - static const int CSS_PT = 9;
|
| + /// @domName CanvasRenderingContext2D.setCompositeOperation; @docsEditable true
|
| + void setCompositeOperation(String compositeOperation) native;
|
|
|
| - static const int CSS_PX = 5;
|
| + /// @domName CanvasRenderingContext2D.setLineCap; @docsEditable true
|
| + void setLineCap(String cap) native;
|
|
|
| - static const int CSS_RAD = 12;
|
| + /// @domName CanvasRenderingContext2D.setLineDash; @docsEditable true
|
| + void setLineDash(List<num> dash) native;
|
|
|
| - static const int CSS_RECT = 24;
|
| + /// @domName CanvasRenderingContext2D.setLineJoin; @docsEditable true
|
| + void setLineJoin(String join) native;
|
|
|
| - static const int CSS_RGBCOLOR = 25;
|
| + /// @domName CanvasRenderingContext2D.setLineWidth; @docsEditable true
|
| + void setLineWidth(num width) native;
|
|
|
| - static const int CSS_S = 15;
|
| + /// @domName CanvasRenderingContext2D.setMiterLimit; @docsEditable true
|
| + void setMiterLimit(num limit) native;
|
|
|
| - static const int CSS_STRING = 19;
|
| + /// @domName CanvasRenderingContext2D.setShadow; @docsEditable true
|
| + void setShadow(num width, num height, num blur, [c_OR_color_OR_grayLevel_OR_r, num alpha_OR_g_OR_m, num b_OR_y, num a_OR_k, num a]) native;
|
|
|
| - static const int CSS_UNKNOWN = 0;
|
| + /// @domName CanvasRenderingContext2D.setTransform; @docsEditable true
|
| + void setTransform(num m11, num m12, num m21, num m22, num dx, num dy) native;
|
|
|
| - static const int CSS_URI = 20;
|
| + /// @domName CanvasRenderingContext2D.stroke; @docsEditable true
|
| + void stroke() native;
|
|
|
| - static const int CSS_VH = 27;
|
| + /// @domName CanvasRenderingContext2D.strokeRect; @docsEditable true
|
| + void strokeRect(num x, num y, num width, num height, [num lineWidth]) native;
|
|
|
| - static const int CSS_VMIN = 28;
|
| + /// @domName CanvasRenderingContext2D.strokeText; @docsEditable true
|
| + void strokeText(String text, num x, num y, [num maxWidth]) native;
|
|
|
| - static const int CSS_VW = 26;
|
| + /// @domName CanvasRenderingContext2D.transform; @docsEditable true
|
| + void transform(num m11, num m12, num m21, num m22, num dx, num dy) native;
|
|
|
| - /// @domName CSSPrimitiveValue.primitiveType; @docsEditable true
|
| - final int primitiveType;
|
| + /// @domName CanvasRenderingContext2D.translate; @docsEditable true
|
| + void translate(num tx, num ty) native;
|
|
|
| - /// @domName CSSPrimitiveValue.getCounterValue; @docsEditable true
|
| - Counter getCounterValue() native;
|
| + /// @domName CanvasRenderingContext2D.webkitGetImageDataHD; @docsEditable true
|
| + ImageData webkitGetImageDataHD(num sx, num sy, num sw, num sh) {
|
| + return _convertNativeToDart_ImageData(_webkitGetImageDataHD_1(sx, sy, sw, sh));
|
| + }
|
| + @JSName('webkitGetImageDataHD')
|
| + @Creates('ImageData|=Object')
|
| + _webkitGetImageDataHD_1(sx, sy, sw, sh) native;
|
|
|
| - /// @domName CSSPrimitiveValue.getFloatValue; @docsEditable true
|
| - num getFloatValue(int unitType) native;
|
| + /// @domName CanvasRenderingContext2D.webkitPutImageDataHD; @docsEditable true
|
| + void webkitPutImageDataHD(ImageData imagedata, num dx, num dy, [num dirtyX, num dirtyY, num dirtyWidth, num dirtyHeight]) {
|
| + if (!?dirtyX &&
|
| + !?dirtyY &&
|
| + !?dirtyWidth &&
|
| + !?dirtyHeight) {
|
| + var imagedata_1 = _convertDartToNative_ImageData(imagedata);
|
| + _webkitPutImageDataHD_1(imagedata_1, dx, dy);
|
| + return;
|
| + }
|
| + var imagedata_2 = _convertDartToNative_ImageData(imagedata);
|
| + _webkitPutImageDataHD_2(imagedata_2, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeight);
|
| + return;
|
| + throw new ArgumentError("Incorrect number or type of arguments");
|
| + }
|
| + @JSName('webkitPutImageDataHD')
|
| + void _webkitPutImageDataHD_1(imagedata, dx, dy) native;
|
| + @JSName('webkitPutImageDataHD')
|
| + void _webkitPutImageDataHD_2(imagedata, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeight) native;
|
|
|
| - /// @domName CSSPrimitiveValue.getRGBColorValue; @docsEditable true
|
| - @JSName('getRGBColorValue')
|
| - RGBColor getRgbColorValue() native;
|
|
|
| - /// @domName CSSPrimitiveValue.getRectValue; @docsEditable true
|
| - Rect getRectValue() native;
|
| + /**
|
| + * Sets the color used inside shapes.
|
| + * [r], [g], [b] are 0-255, [a] is 0-1.
|
| + */
|
| + void setFillColorRgb(int r, int g, int b, [num a = 1]) {
|
| + this.fillStyle = 'rgba($r, $g, $b, $a)';
|
| + }
|
|
|
| - /// @domName CSSPrimitiveValue.getStringValue; @docsEditable true
|
| - String getStringValue() native;
|
| + /**
|
| + * Sets the color used inside shapes.
|
| + * [h] is in degrees, 0-360.
|
| + * [s], [l] are in percent, 0-100.
|
| + * [a] is 0-1.
|
| + */
|
| + void setFillColorHsl(int h, num s, num l, [num a = 1]) {
|
| + this.fillStyle = 'hsla($h, $s%, $l%, $a)';
|
| + }
|
|
|
| - /// @domName CSSPrimitiveValue.setFloatValue; @docsEditable true
|
| - void setFloatValue(int unitType, num floatValue) native;
|
| + /**
|
| + * Sets the color used for stroking shapes.
|
| + * [r], [g], [b] are 0-255, [a] is 0-1.
|
| + */
|
| + void setStrokeColorRgb(int r, int g, int b, [num a = 1]) {
|
| + this.strokeStyle = 'rgba($r, $g, $b, $a)';
|
| + }
|
|
|
| - /// @domName CSSPrimitiveValue.setStringValue; @docsEditable true
|
| - void setStringValue(int stringType, String stringValue) native;
|
| + /**
|
| + * Sets the color used for stroking shapes.
|
| + * [h] is in degrees, 0-360.
|
| + * [s], [l] are in percent, 0-100.
|
| + * [a] is 0-1.
|
| + */
|
| + void setStrokeColorHsl(int h, num s, num l, [num a = 1]) {
|
| + this.strokeStyle = 'hsla($h, $s%, $l%, $a)';
|
| + }
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -/// @domName CSSRule; @docsEditable true
|
| -class CSSRule native "*CSSRule" {
|
| -
|
| - static const int CHARSET_RULE = 2;
|
| +/// @domName CharacterData; @docsEditable true
|
| +class CharacterData extends Node native "*CharacterData" {
|
|
|
| - static const int FONT_FACE_RULE = 5;
|
| + /// @domName CharacterData.data; @docsEditable true
|
| + String data;
|
|
|
| - static const int IMPORT_RULE = 3;
|
| + /// @domName CharacterData.length; @docsEditable true
|
| + final int length;
|
|
|
| - static const int MEDIA_RULE = 4;
|
| + /// @domName CharacterData.appendData; @docsEditable true
|
| + void appendData(String data) native;
|
|
|
| - static const int PAGE_RULE = 6;
|
| + /// @domName CharacterData.deleteData; @docsEditable true
|
| + void deleteData(int offset, int length) native;
|
|
|
| - static const int STYLE_RULE = 1;
|
| + /// @domName CharacterData.insertData; @docsEditable true
|
| + void insertData(int offset, String data) native;
|
|
|
| - static const int UNKNOWN_RULE = 0;
|
| + /// @domName CharacterData.remove; @docsEditable true
|
| + void remove() native;
|
|
|
| - static const int WEBKIT_KEYFRAMES_RULE = 7;
|
| + /// @domName CharacterData.replaceData; @docsEditable true
|
| + void replaceData(int offset, int length, String data) native;
|
|
|
| - static const int WEBKIT_KEYFRAME_RULE = 8;
|
| + /// @domName CharacterData.substringData; @docsEditable true
|
| + String substringData(int offset, int length) native;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - /// @domName CSSRule.cssText; @docsEditable true
|
| - String cssText;
|
|
|
| - /// @domName CSSRule.parentRule; @docsEditable true
|
| - final CSSRule parentRule;
|
| +/// @domName ClientRect; @docsEditable true
|
| +class ClientRect native "*ClientRect" {
|
|
|
| - /// @domName CSSRule.parentStyleSheet; @docsEditable true
|
| - final CSSStyleSheet parentStyleSheet;
|
| + /// @domName ClientRect.bottom; @docsEditable true
|
| + final num bottom;
|
|
|
| - /// @domName CSSRule.type; @docsEditable true
|
| - final int type;
|
| + /// @domName ClientRect.height; @docsEditable true
|
| + final num height;
|
| +
|
| + /// @domName ClientRect.left; @docsEditable true
|
| + final num left;
|
| +
|
| + /// @domName ClientRect.right; @docsEditable true
|
| + final num right;
|
| +
|
| + /// @domName ClientRect.top; @docsEditable true
|
| + final num top;
|
| +
|
| + /// @domName ClientRect.width; @docsEditable true
|
| + final num width;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -String _cachedBrowserPrefix;
|
| +/// @domName Clipboard; @docsEditable true
|
| +class Clipboard native "*Clipboard" {
|
|
|
| -String get _browserPrefix {
|
| - if (_cachedBrowserPrefix == null) {
|
| - if (_Device.isFirefox) {
|
| - _cachedBrowserPrefix = '-moz-';
|
| - } else if (_Device.isIE) {
|
| - _cachedBrowserPrefix = '-ms-';
|
| - } else if (_Device.isOpera) {
|
| - _cachedBrowserPrefix = '-o-';
|
| - } else {
|
| - _cachedBrowserPrefix = '-webkit-';
|
| - }
|
| - }
|
| - return _cachedBrowserPrefix;
|
| -}
|
| + /// @domName Clipboard.dropEffect; @docsEditable true
|
| + String dropEffect;
|
|
|
| -/// @domName CSSStyleDeclaration
|
| -class CSSStyleDeclaration native "*CSSStyleDeclaration" {
|
| - factory CSSStyleDeclaration() => _CSSStyleDeclarationFactoryProvider.createCSSStyleDeclaration();
|
| - factory CSSStyleDeclaration.css(String css) =>
|
| - _CSSStyleDeclarationFactoryProvider.createCSSStyleDeclaration_css(css);
|
| + /// @domName Clipboard.effectAllowed; @docsEditable true
|
| + String effectAllowed;
|
|
|
| + /// @domName Clipboard.files; @docsEditable true
|
| + final FileList files;
|
|
|
| - /// @domName CSSStyleDeclaration.cssText; @docsEditable true
|
| - String cssText;
|
| + /// @domName Clipboard.items; @docsEditable true
|
| + final DataTransferItemList items;
|
|
|
| - /// @domName CSSStyleDeclaration.length; @docsEditable true
|
| - final int length;
|
| + /// @domName Clipboard.types; @docsEditable true
|
| + final List types;
|
|
|
| - /// @domName CSSStyleDeclaration.parentRule; @docsEditable true
|
| - final CSSRule parentRule;
|
| + /// @domName Clipboard.clearData; @docsEditable true
|
| + void clearData([String type]) native;
|
|
|
| - /// @domName CSSStyleDeclaration.getPropertyCSSValue; @docsEditable true
|
| - @JSName('getPropertyCSSValue')
|
| - CSSValue getPropertyCssValue(String propertyName) native;
|
| + /// @domName Clipboard.getData; @docsEditable true
|
| + String getData(String type) native;
|
|
|
| - /// @domName CSSStyleDeclaration.getPropertyPriority; @docsEditable true
|
| - String getPropertyPriority(String propertyName) native;
|
| + /// @domName Clipboard.setData; @docsEditable true
|
| + bool setData(String type, String data) native;
|
|
|
| - /// @domName CSSStyleDeclaration.getPropertyShorthand; @docsEditable true
|
| - String getPropertyShorthand(String propertyName) native;
|
| + /// @domName Clipboard.setDragImage; @docsEditable true
|
| + void setDragImage(ImageElement image, int x, int y) native;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - /// @domName CSSStyleDeclaration._getPropertyValue; @docsEditable true
|
| - @JSName('getPropertyValue')
|
| - String _getPropertyValue(String propertyName) native;
|
|
|
| - /// @domName CSSStyleDeclaration.isPropertyImplicit; @docsEditable true
|
| - bool isPropertyImplicit(String propertyName) native;
|
| +/// @domName CloseEvent; @docsEditable true
|
| +class CloseEvent extends Event native "*CloseEvent" {
|
|
|
| - /// @domName CSSStyleDeclaration.item; @docsEditable true
|
| - String item(int index) native;
|
| + /// @domName CloseEvent.code; @docsEditable true
|
| + final int code;
|
|
|
| - /// @domName CSSStyleDeclaration.removeProperty; @docsEditable true
|
| - String removeProperty(String propertyName) native;
|
| + /// @domName CloseEvent.reason; @docsEditable true
|
| + final String reason;
|
|
|
| + /// @domName CloseEvent.wasClean; @docsEditable true
|
| + final bool wasClean;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - String getPropertyValue(String propertyName) {
|
| - var propValue = _getPropertyValue(propertyName);
|
| - return propValue != null ? propValue : '';
|
| - }
|
|
|
| - void setProperty(String propertyName, String value, [String priority]) {
|
| - JS('void', '#.setProperty(#, #, #)', this, propertyName, value, priority);
|
| - // Bug #2772, IE9 requires a poke to actually apply the value.
|
| - if (JS('bool', '!!#.setAttribute', this)) {
|
| - JS('void', '#.setAttribute(#, #)', this, propertyName, value);
|
| - }
|
| - }
|
| +/// @domName Comment; @docsEditable true
|
| +class Comment extends CharacterData native "*Comment" {
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - // TODO(jacobr): generate this list of properties using the existing script.
|
| - /** Gets the value of "align-content" */
|
| - String get alignContent =>
|
| - getPropertyValue('${_browserPrefix}align-content');
|
|
|
| - /** Sets the value of "align-content" */
|
| - void set alignContent(String value) {
|
| - setProperty('${_browserPrefix}align-content', value, '');
|
| - }
|
| +/// @domName CompositionEvent; @docsEditable true
|
| +class CompositionEvent extends UIEvent native "*CompositionEvent" {
|
|
|
| - /** Gets the value of "align-items" */
|
| - String get alignItems =>
|
| - getPropertyValue('${_browserPrefix}align-items');
|
| + /// @domName CompositionEvent.data; @docsEditable true
|
| + final String data;
|
|
|
| - /** Sets the value of "align-items" */
|
| - void set alignItems(String value) {
|
| - setProperty('${_browserPrefix}align-items', value, '');
|
| - }
|
| + /// @domName CompositionEvent.initCompositionEvent; @docsEditable true
|
| + void initCompositionEvent(String typeArg, bool canBubbleArg, bool cancelableArg, LocalWindow viewArg, String dataArg) native;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - /** Gets the value of "align-self" */
|
| - String get alignSelf =>
|
| - getPropertyValue('${_browserPrefix}align-self');
|
|
|
| - /** Sets the value of "align-self" */
|
| - void set alignSelf(String value) {
|
| - setProperty('${_browserPrefix}align-self', value, '');
|
| - }
|
| +/// @domName Console
|
| +class Console
|
| + // Console is sometimes a singleton bag-of-properties without a prototype.
|
| + native "=(typeof console == 'undefined' ? {} : console)" {
|
|
|
| - /** Gets the value of "animation" */
|
| - String get animation =>
|
| - getPropertyValue('${_browserPrefix}animation');
|
| + /// @domName Console.memory; @docsEditable true
|
| + final MemoryInfo memory;
|
|
|
| - /** Sets the value of "animation" */
|
| - void set animation(String value) {
|
| - setProperty('${_browserPrefix}animation', value, '');
|
| - }
|
| + /// @domName Console.profiles; @docsEditable true
|
| + final List<ScriptProfile> profiles;
|
|
|
| - /** Gets the value of "animation-delay" */
|
| - String get animationDelay =>
|
| - getPropertyValue('${_browserPrefix}animation-delay');
|
| + /// @domName Console.assertCondition; @docsEditable true
|
| + void assertCondition(bool condition, Object arg) native;
|
|
|
| - /** Sets the value of "animation-delay" */
|
| - void set animationDelay(String value) {
|
| - setProperty('${_browserPrefix}animation-delay', value, '');
|
| - }
|
| + /// @domName Console.count; @docsEditable true
|
| + void count(Object arg) native;
|
|
|
| - /** Gets the value of "animation-direction" */
|
| - String get animationDirection =>
|
| - getPropertyValue('${_browserPrefix}animation-direction');
|
| + /// @domName Console.debug; @docsEditable true
|
| + void debug(Object arg) native;
|
|
|
| - /** Sets the value of "animation-direction" */
|
| - void set animationDirection(String value) {
|
| - setProperty('${_browserPrefix}animation-direction', value, '');
|
| - }
|
| + /// @domName Console.dir; @docsEditable true
|
| + void dir(Object arg) native;
|
|
|
| - /** Gets the value of "animation-duration" */
|
| - String get animationDuration =>
|
| - getPropertyValue('${_browserPrefix}animation-duration');
|
| + /// @domName Console.dirxml; @docsEditable true
|
| + void dirxml(Object arg) native;
|
|
|
| - /** Sets the value of "animation-duration" */
|
| - void set animationDuration(String value) {
|
| - setProperty('${_browserPrefix}animation-duration', value, '');
|
| - }
|
| + /// @domName Console.error; @docsEditable true
|
| + void error(Object arg) native;
|
|
|
| - /** Gets the value of "animation-fill-mode" */
|
| - String get animationFillMode =>
|
| - getPropertyValue('${_browserPrefix}animation-fill-mode');
|
| + /// @domName Console.group; @docsEditable true
|
| + void group(Object arg) native;
|
|
|
| - /** Sets the value of "animation-fill-mode" */
|
| - void set animationFillMode(String value) {
|
| - setProperty('${_browserPrefix}animation-fill-mode', value, '');
|
| - }
|
| + /// @domName Console.groupCollapsed; @docsEditable true
|
| + void groupCollapsed(Object arg) native;
|
|
|
| - /** Gets the value of "animation-iteration-count" */
|
| - String get animationIterationCount =>
|
| - getPropertyValue('${_browserPrefix}animation-iteration-count');
|
| + /// @domName Console.groupEnd; @docsEditable true
|
| + void groupEnd() native;
|
|
|
| - /** Sets the value of "animation-iteration-count" */
|
| - void set animationIterationCount(String value) {
|
| - setProperty('${_browserPrefix}animation-iteration-count', value, '');
|
| - }
|
| + /// @domName Console.info; @docsEditable true
|
| + void info(Object arg) native;
|
|
|
| - /** Gets the value of "animation-name" */
|
| - String get animationName =>
|
| - getPropertyValue('${_browserPrefix}animation-name');
|
| + /// @domName Console.log; @docsEditable true
|
| + void log(Object arg) native;
|
|
|
| - /** Sets the value of "animation-name" */
|
| - void set animationName(String value) {
|
| - setProperty('${_browserPrefix}animation-name', value, '');
|
| - }
|
| + /// @domName Console.markTimeline; @docsEditable true
|
| + void markTimeline(Object arg) native;
|
|
|
| - /** Gets the value of "animation-play-state" */
|
| - String get animationPlayState =>
|
| - getPropertyValue('${_browserPrefix}animation-play-state');
|
| + /// @domName Console.profile; @docsEditable true
|
| + void profile(String title) native;
|
|
|
| - /** Sets the value of "animation-play-state" */
|
| - void set animationPlayState(String value) {
|
| - setProperty('${_browserPrefix}animation-play-state', value, '');
|
| - }
|
| + /// @domName Console.profileEnd; @docsEditable true
|
| + void profileEnd(String title) native;
|
|
|
| - /** Gets the value of "animation-timing-function" */
|
| - String get animationTimingFunction =>
|
| - getPropertyValue('${_browserPrefix}animation-timing-function');
|
| + /// @domName Console.time; @docsEditable true
|
| + void time(String title) native;
|
|
|
| - /** Sets the value of "animation-timing-function" */
|
| - void set animationTimingFunction(String value) {
|
| - setProperty('${_browserPrefix}animation-timing-function', value, '');
|
| - }
|
| + /// @domName Console.timeEnd; @docsEditable true
|
| + void timeEnd(String title, Object arg) native;
|
|
|
| - /** Gets the value of "app-region" */
|
| - String get appRegion =>
|
| - getPropertyValue('${_browserPrefix}app-region');
|
| + /// @domName Console.timeStamp; @docsEditable true
|
| + void timeStamp(Object arg) native;
|
|
|
| - /** Sets the value of "app-region" */
|
| - void set appRegion(String value) {
|
| - setProperty('${_browserPrefix}app-region', value, '');
|
| - }
|
| + /// @domName Console.trace; @docsEditable true
|
| + void trace(Object arg) native;
|
|
|
| - /** Gets the value of "appearance" */
|
| - String get appearance =>
|
| - getPropertyValue('${_browserPrefix}appearance');
|
| + /// @domName Console.warn; @docsEditable true
|
| + void warn(Object arg) native;
|
|
|
| - /** Sets the value of "appearance" */
|
| - void set appearance(String value) {
|
| - setProperty('${_browserPrefix}appearance', value, '');
|
| - }
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - /** Gets the value of "aspect-ratio" */
|
| - String get aspectRatio =>
|
| - getPropertyValue('${_browserPrefix}aspect-ratio');
|
|
|
| - /** Sets the value of "aspect-ratio" */
|
| - void set aspectRatio(String value) {
|
| - setProperty('${_browserPrefix}aspect-ratio', value, '');
|
| - }
|
| +/// @domName HTMLContentElement; @docsEditable true
|
| +class ContentElement extends Element implements Element native "*HTMLContentElement" {
|
|
|
| - /** Gets the value of "backface-visibility" */
|
| - String get backfaceVisibility =>
|
| - getPropertyValue('${_browserPrefix}backface-visibility');
|
| + factory ContentElement() => document.$dom_createElement("content");
|
|
|
| - /** Sets the value of "backface-visibility" */
|
| - void set backfaceVisibility(String value) {
|
| - setProperty('${_browserPrefix}backface-visibility', value, '');
|
| - }
|
| + /// @domName HTMLContentElement.resetStyleInheritance; @docsEditable true
|
| + bool resetStyleInheritance;
|
|
|
| - /** Gets the value of "background" */
|
| - String get background =>
|
| - getPropertyValue('background');
|
| + /// @domName HTMLContentElement.select; @docsEditable true
|
| + String select;
|
|
|
| - /** Sets the value of "background" */
|
| - void set background(String value) {
|
| - setProperty('background', value, '');
|
| - }
|
| + /// @domName HTMLContentElement.getDistributedNodes; @docsEditable true
|
| + @Returns('NodeList') @Creates('NodeList')
|
| + List<Node> getDistributedNodes() native;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - /** Gets the value of "background-attachment" */
|
| - String get backgroundAttachment =>
|
| - getPropertyValue('background-attachment');
|
|
|
| - /** Sets the value of "background-attachment" */
|
| - void set backgroundAttachment(String value) {
|
| - setProperty('background-attachment', value, '');
|
| - }
|
| +/// @domName Coordinates; @docsEditable true
|
| +class Coordinates native "*Coordinates" {
|
|
|
| - /** Gets the value of "background-clip" */
|
| - String get backgroundClip =>
|
| - getPropertyValue('background-clip');
|
| + /// @domName Coordinates.accuracy; @docsEditable true
|
| + final num accuracy;
|
|
|
| - /** Sets the value of "background-clip" */
|
| - void set backgroundClip(String value) {
|
| - setProperty('background-clip', value, '');
|
| - }
|
| + /// @domName Coordinates.altitude; @docsEditable true
|
| + final num altitude;
|
|
|
| - /** Gets the value of "background-color" */
|
| - String get backgroundColor =>
|
| - getPropertyValue('background-color');
|
| + /// @domName Coordinates.altitudeAccuracy; @docsEditable true
|
| + final num altitudeAccuracy;
|
|
|
| - /** Sets the value of "background-color" */
|
| - void set backgroundColor(String value) {
|
| - setProperty('background-color', value, '');
|
| - }
|
| + /// @domName Coordinates.heading; @docsEditable true
|
| + final num heading;
|
|
|
| - /** Gets the value of "background-composite" */
|
| - String get backgroundComposite =>
|
| - getPropertyValue('${_browserPrefix}background-composite');
|
| + /// @domName Coordinates.latitude; @docsEditable true
|
| + final num latitude;
|
|
|
| - /** Sets the value of "background-composite" */
|
| - void set backgroundComposite(String value) {
|
| - setProperty('${_browserPrefix}background-composite', value, '');
|
| - }
|
| + /// @domName Coordinates.longitude; @docsEditable true
|
| + final num longitude;
|
|
|
| - /** Gets the value of "background-image" */
|
| - String get backgroundImage =>
|
| - getPropertyValue('background-image');
|
| + /// @domName Coordinates.speed; @docsEditable true
|
| + final num speed;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - /** Sets the value of "background-image" */
|
| - void set backgroundImage(String value) {
|
| - setProperty('background-image', value, '');
|
| - }
|
|
|
| - /** Gets the value of "background-origin" */
|
| - String get backgroundOrigin =>
|
| - getPropertyValue('background-origin');
|
| +/// @domName Counter; @docsEditable true
|
| +class Counter native "*Counter" {
|
|
|
| - /** Sets the value of "background-origin" */
|
| - void set backgroundOrigin(String value) {
|
| - setProperty('background-origin', value, '');
|
| - }
|
| + /// @domName Counter.identifier; @docsEditable true
|
| + final String identifier;
|
|
|
| - /** Gets the value of "background-position" */
|
| - String get backgroundPosition =>
|
| - getPropertyValue('background-position');
|
| + /// @domName Counter.listStyle; @docsEditable true
|
| + final String listStyle;
|
|
|
| - /** Sets the value of "background-position" */
|
| - void set backgroundPosition(String value) {
|
| - setProperty('background-position', value, '');
|
| - }
|
| + /// @domName Counter.separator; @docsEditable true
|
| + final String separator;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - /** Gets the value of "background-position-x" */
|
| - String get backgroundPositionX =>
|
| - getPropertyValue('background-position-x');
|
|
|
| - /** Sets the value of "background-position-x" */
|
| - void set backgroundPositionX(String value) {
|
| - setProperty('background-position-x', value, '');
|
| - }
|
| +/// @domName Crypto; @docsEditable true
|
| +class Crypto native "*Crypto" {
|
|
|
| - /** Gets the value of "background-position-y" */
|
| - String get backgroundPositionY =>
|
| - getPropertyValue('background-position-y');
|
| + /// @domName Crypto.getRandomValues; @docsEditable true
|
| + void getRandomValues(ArrayBufferView array) native;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - /** Sets the value of "background-position-y" */
|
| - void set backgroundPositionY(String value) {
|
| - setProperty('background-position-y', value, '');
|
| - }
|
|
|
| - /** Gets the value of "background-repeat" */
|
| - String get backgroundRepeat =>
|
| - getPropertyValue('background-repeat');
|
| +/// @domName CSSCharsetRule; @docsEditable true
|
| +class CssCharsetRule extends CssRule native "*CSSCharsetRule" {
|
|
|
| - /** Sets the value of "background-repeat" */
|
| - void set backgroundRepeat(String value) {
|
| - setProperty('background-repeat', value, '');
|
| - }
|
| + /// @domName CSSCharsetRule.encoding; @docsEditable true
|
| + String encoding;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - /** Gets the value of "background-repeat-x" */
|
| - String get backgroundRepeatX =>
|
| - getPropertyValue('background-repeat-x');
|
|
|
| - /** Sets the value of "background-repeat-x" */
|
| - void set backgroundRepeatX(String value) {
|
| - setProperty('background-repeat-x', value, '');
|
| - }
|
| +/// @domName CSSFontFaceRule; @docsEditable true
|
| +class CssFontFaceRule extends CssRule native "*CSSFontFaceRule" {
|
|
|
| - /** Gets the value of "background-repeat-y" */
|
| - String get backgroundRepeatY =>
|
| - getPropertyValue('background-repeat-y');
|
| + /// @domName CSSFontFaceRule.style; @docsEditable true
|
| + final CssStyleDeclaration style;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - /** Sets the value of "background-repeat-y" */
|
| - void set backgroundRepeatY(String value) {
|
| - setProperty('background-repeat-y', value, '');
|
| - }
|
|
|
| - /** Gets the value of "background-size" */
|
| - String get backgroundSize =>
|
| - getPropertyValue('background-size');
|
| +/// @domName CSSImportRule; @docsEditable true
|
| +class CssImportRule extends CssRule native "*CSSImportRule" {
|
|
|
| - /** Sets the value of "background-size" */
|
| - void set backgroundSize(String value) {
|
| - setProperty('background-size', value, '');
|
| - }
|
| + /// @domName CSSImportRule.href; @docsEditable true
|
| + final String href;
|
|
|
| - /** Gets the value of "blend-mode" */
|
| - String get blendMode =>
|
| - getPropertyValue('${_browserPrefix}blend-mode');
|
| + /// @domName CSSImportRule.media; @docsEditable true
|
| + final MediaList media;
|
|
|
| - /** Sets the value of "blend-mode" */
|
| - void set blendMode(String value) {
|
| - setProperty('${_browserPrefix}blend-mode', value, '');
|
| - }
|
| + /// @domName CSSImportRule.styleSheet; @docsEditable true
|
| + final CssStyleSheet styleSheet;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - /** Gets the value of "border" */
|
| - String get border =>
|
| - getPropertyValue('border');
|
|
|
| - /** Sets the value of "border" */
|
| - void set border(String value) {
|
| - setProperty('border', value, '');
|
| - }
|
| +/// @domName WebKitCSSKeyframeRule; @docsEditable true
|
| +class CssKeyframeRule extends CssRule native "*WebKitCSSKeyframeRule" {
|
|
|
| - /** Gets the value of "border-after" */
|
| - String get borderAfter =>
|
| - getPropertyValue('${_browserPrefix}border-after');
|
| + /// @domName WebKitCSSKeyframeRule.keyText; @docsEditable true
|
| + String keyText;
|
|
|
| - /** Sets the value of "border-after" */
|
| - void set borderAfter(String value) {
|
| - setProperty('${_browserPrefix}border-after', value, '');
|
| - }
|
| + /// @domName WebKitCSSKeyframeRule.style; @docsEditable true
|
| + final CssStyleDeclaration style;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - /** Gets the value of "border-after-color" */
|
| - String get borderAfterColor =>
|
| - getPropertyValue('${_browserPrefix}border-after-color');
|
|
|
| - /** Sets the value of "border-after-color" */
|
| - void set borderAfterColor(String value) {
|
| - setProperty('${_browserPrefix}border-after-color', value, '');
|
| - }
|
| +/// @domName WebKitCSSKeyframesRule; @docsEditable true
|
| +class CssKeyframesRule extends CssRule native "*WebKitCSSKeyframesRule" {
|
|
|
| - /** Gets the value of "border-after-style" */
|
| - String get borderAfterStyle =>
|
| - getPropertyValue('${_browserPrefix}border-after-style');
|
| + /// @domName WebKitCSSKeyframesRule.cssRules; @docsEditable true
|
| + @Returns('_CssRuleList') @Creates('_CssRuleList')
|
| + final List<CssRule> cssRules;
|
|
|
| - /** Sets the value of "border-after-style" */
|
| - void set borderAfterStyle(String value) {
|
| - setProperty('${_browserPrefix}border-after-style', value, '');
|
| - }
|
| + /// @domName WebKitCSSKeyframesRule.name; @docsEditable true
|
| + String name;
|
|
|
| - /** Gets the value of "border-after-width" */
|
| - String get borderAfterWidth =>
|
| - getPropertyValue('${_browserPrefix}border-after-width');
|
| + /// @domName WebKitCSSKeyframesRule.deleteRule; @docsEditable true
|
| + void deleteRule(String key) native;
|
|
|
| - /** Sets the value of "border-after-width" */
|
| - void set borderAfterWidth(String value) {
|
| - setProperty('${_browserPrefix}border-after-width', value, '');
|
| - }
|
| + /// @domName WebKitCSSKeyframesRule.findRule; @docsEditable true
|
| + CssKeyframeRule findRule(String key) native;
|
|
|
| - /** Gets the value of "border-before" */
|
| - String get borderBefore =>
|
| - getPropertyValue('${_browserPrefix}border-before');
|
| + /// @domName WebKitCSSKeyframesRule.insertRule; @docsEditable true
|
| + void insertRule(String rule) native;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - /** Sets the value of "border-before" */
|
| - void set borderBefore(String value) {
|
| - setProperty('${_browserPrefix}border-before', value, '');
|
| - }
|
|
|
| - /** Gets the value of "border-before-color" */
|
| - String get borderBeforeColor =>
|
| - getPropertyValue('${_browserPrefix}border-before-color');
|
| +/// @domName WebKitCSSMatrix; @docsEditable true
|
| +class CssMatrix native "*WebKitCSSMatrix" {
|
|
|
| - /** Sets the value of "border-before-color" */
|
| - void set borderBeforeColor(String value) {
|
| - setProperty('${_browserPrefix}border-before-color', value, '');
|
| + factory CssMatrix([String cssValue]) {
|
| + if (!?cssValue) {
|
| + return _CssMatrixFactoryProvider.createCssMatrix();
|
| + }
|
| + return _CssMatrixFactoryProvider.createCssMatrix(cssValue);
|
| }
|
|
|
| - /** Gets the value of "border-before-style" */
|
| - String get borderBeforeStyle =>
|
| - getPropertyValue('${_browserPrefix}border-before-style');
|
| + /// @domName WebKitCSSMatrix.a; @docsEditable true
|
| + num a;
|
|
|
| - /** Sets the value of "border-before-style" */
|
| - void set borderBeforeStyle(String value) {
|
| - setProperty('${_browserPrefix}border-before-style', value, '');
|
| - }
|
| + /// @domName WebKitCSSMatrix.b; @docsEditable true
|
| + num b;
|
|
|
| - /** Gets the value of "border-before-width" */
|
| - String get borderBeforeWidth =>
|
| - getPropertyValue('${_browserPrefix}border-before-width');
|
| + /// @domName WebKitCSSMatrix.c; @docsEditable true
|
| + num c;
|
|
|
| - /** Sets the value of "border-before-width" */
|
| - void set borderBeforeWidth(String value) {
|
| - setProperty('${_browserPrefix}border-before-width', value, '');
|
| - }
|
| + /// @domName WebKitCSSMatrix.d; @docsEditable true
|
| + num d;
|
|
|
| - /** Gets the value of "border-bottom" */
|
| - String get borderBottom =>
|
| - getPropertyValue('border-bottom');
|
| + /// @domName WebKitCSSMatrix.e; @docsEditable true
|
| + num e;
|
|
|
| - /** Sets the value of "border-bottom" */
|
| - void set borderBottom(String value) {
|
| - setProperty('border-bottom', value, '');
|
| - }
|
| + /// @domName WebKitCSSMatrix.f; @docsEditable true
|
| + num f;
|
|
|
| - /** Gets the value of "border-bottom-color" */
|
| - String get borderBottomColor =>
|
| - getPropertyValue('border-bottom-color');
|
| + /// @domName WebKitCSSMatrix.m11; @docsEditable true
|
| + num m11;
|
|
|
| - /** Sets the value of "border-bottom-color" */
|
| - void set borderBottomColor(String value) {
|
| - setProperty('border-bottom-color', value, '');
|
| - }
|
| + /// @domName WebKitCSSMatrix.m12; @docsEditable true
|
| + num m12;
|
|
|
| - /** Gets the value of "border-bottom-left-radius" */
|
| - String get borderBottomLeftRadius =>
|
| - getPropertyValue('border-bottom-left-radius');
|
| + /// @domName WebKitCSSMatrix.m13; @docsEditable true
|
| + num m13;
|
|
|
| - /** Sets the value of "border-bottom-left-radius" */
|
| - void set borderBottomLeftRadius(String value) {
|
| - setProperty('border-bottom-left-radius', value, '');
|
| - }
|
| + /// @domName WebKitCSSMatrix.m14; @docsEditable true
|
| + num m14;
|
|
|
| - /** Gets the value of "border-bottom-right-radius" */
|
| - String get borderBottomRightRadius =>
|
| - getPropertyValue('border-bottom-right-radius');
|
| + /// @domName WebKitCSSMatrix.m21; @docsEditable true
|
| + num m21;
|
|
|
| - /** Sets the value of "border-bottom-right-radius" */
|
| - void set borderBottomRightRadius(String value) {
|
| - setProperty('border-bottom-right-radius', value, '');
|
| - }
|
| + /// @domName WebKitCSSMatrix.m22; @docsEditable true
|
| + num m22;
|
|
|
| - /** Gets the value of "border-bottom-style" */
|
| - String get borderBottomStyle =>
|
| - getPropertyValue('border-bottom-style');
|
| + /// @domName WebKitCSSMatrix.m23; @docsEditable true
|
| + num m23;
|
|
|
| - /** Sets the value of "border-bottom-style" */
|
| - void set borderBottomStyle(String value) {
|
| - setProperty('border-bottom-style', value, '');
|
| - }
|
| + /// @domName WebKitCSSMatrix.m24; @docsEditable true
|
| + num m24;
|
|
|
| - /** Gets the value of "border-bottom-width" */
|
| - String get borderBottomWidth =>
|
| - getPropertyValue('border-bottom-width');
|
| + /// @domName WebKitCSSMatrix.m31; @docsEditable true
|
| + num m31;
|
|
|
| - /** Sets the value of "border-bottom-width" */
|
| - void set borderBottomWidth(String value) {
|
| - setProperty('border-bottom-width', value, '');
|
| - }
|
| + /// @domName WebKitCSSMatrix.m32; @docsEditable true
|
| + num m32;
|
|
|
| - /** Gets the value of "border-collapse" */
|
| - String get borderCollapse =>
|
| - getPropertyValue('border-collapse');
|
| + /// @domName WebKitCSSMatrix.m33; @docsEditable true
|
| + num m33;
|
|
|
| - /** Sets the value of "border-collapse" */
|
| - void set borderCollapse(String value) {
|
| - setProperty('border-collapse', value, '');
|
| - }
|
| + /// @domName WebKitCSSMatrix.m34; @docsEditable true
|
| + num m34;
|
|
|
| - /** Gets the value of "border-color" */
|
| - String get borderColor =>
|
| - getPropertyValue('border-color');
|
| + /// @domName WebKitCSSMatrix.m41; @docsEditable true
|
| + num m41;
|
|
|
| - /** Sets the value of "border-color" */
|
| - void set borderColor(String value) {
|
| - setProperty('border-color', value, '');
|
| - }
|
| + /// @domName WebKitCSSMatrix.m42; @docsEditable true
|
| + num m42;
|
|
|
| - /** Gets the value of "border-end" */
|
| - String get borderEnd =>
|
| - getPropertyValue('${_browserPrefix}border-end');
|
| + /// @domName WebKitCSSMatrix.m43; @docsEditable true
|
| + num m43;
|
|
|
| - /** Sets the value of "border-end" */
|
| - void set borderEnd(String value) {
|
| - setProperty('${_browserPrefix}border-end', value, '');
|
| - }
|
| + /// @domName WebKitCSSMatrix.m44; @docsEditable true
|
| + num m44;
|
|
|
| - /** Gets the value of "border-end-color" */
|
| - String get borderEndColor =>
|
| - getPropertyValue('${_browserPrefix}border-end-color');
|
| + /// @domName WebKitCSSMatrix.inverse; @docsEditable true
|
| + CssMatrix inverse() native;
|
|
|
| - /** Sets the value of "border-end-color" */
|
| - void set borderEndColor(String value) {
|
| - setProperty('${_browserPrefix}border-end-color', value, '');
|
| - }
|
| + /// @domName WebKitCSSMatrix.multiply; @docsEditable true
|
| + CssMatrix multiply(CssMatrix secondMatrix) native;
|
|
|
| - /** Gets the value of "border-end-style" */
|
| - String get borderEndStyle =>
|
| - getPropertyValue('${_browserPrefix}border-end-style');
|
| + /// @domName WebKitCSSMatrix.rotate; @docsEditable true
|
| + CssMatrix rotate(num rotX, num rotY, num rotZ) native;
|
|
|
| - /** Sets the value of "border-end-style" */
|
| - void set borderEndStyle(String value) {
|
| - setProperty('${_browserPrefix}border-end-style', value, '');
|
| - }
|
| + /// @domName WebKitCSSMatrix.rotateAxisAngle; @docsEditable true
|
| + CssMatrix rotateAxisAngle(num x, num y, num z, num angle) native;
|
|
|
| - /** Gets the value of "border-end-width" */
|
| - String get borderEndWidth =>
|
| - getPropertyValue('${_browserPrefix}border-end-width');
|
| + /// @domName WebKitCSSMatrix.scale; @docsEditable true
|
| + CssMatrix scale(num scaleX, num scaleY, num scaleZ) native;
|
|
|
| - /** Sets the value of "border-end-width" */
|
| - void set borderEndWidth(String value) {
|
| - setProperty('${_browserPrefix}border-end-width', value, '');
|
| - }
|
| + /// @domName WebKitCSSMatrix.setMatrixValue; @docsEditable true
|
| + void setMatrixValue(String string) native;
|
|
|
| - /** Gets the value of "border-fit" */
|
| - String get borderFit =>
|
| - getPropertyValue('${_browserPrefix}border-fit');
|
| + /// @domName WebKitCSSMatrix.skewX; @docsEditable true
|
| + CssMatrix skewX(num angle) native;
|
|
|
| - /** Sets the value of "border-fit" */
|
| - void set borderFit(String value) {
|
| - setProperty('${_browserPrefix}border-fit', value, '');
|
| - }
|
| + /// @domName WebKitCSSMatrix.skewY; @docsEditable true
|
| + CssMatrix skewY(num angle) native;
|
|
|
| - /** Gets the value of "border-horizontal-spacing" */
|
| - String get borderHorizontalSpacing =>
|
| - getPropertyValue('${_browserPrefix}border-horizontal-spacing');
|
| + /// @domName WebKitCSSMatrix.toString; @docsEditable true
|
| + String toString() native;
|
|
|
| - /** Sets the value of "border-horizontal-spacing" */
|
| - void set borderHorizontalSpacing(String value) {
|
| - setProperty('${_browserPrefix}border-horizontal-spacing', value, '');
|
| - }
|
| + /// @domName WebKitCSSMatrix.translate; @docsEditable true
|
| + CssMatrix translate(num x, num y, num z) native;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - /** Gets the value of "border-image" */
|
| - String get borderImage =>
|
| - getPropertyValue('border-image');
|
|
|
| - /** Sets the value of "border-image" */
|
| - void set borderImage(String value) {
|
| - setProperty('border-image', value, '');
|
| - }
|
| +/// @domName CSSMediaRule; @docsEditable true
|
| +class CssMediaRule extends CssRule native "*CSSMediaRule" {
|
|
|
| - /** Gets the value of "border-image-outset" */
|
| - String get borderImageOutset =>
|
| - getPropertyValue('border-image-outset');
|
| + /// @domName CSSMediaRule.cssRules; @docsEditable true
|
| + @Returns('_CssRuleList') @Creates('_CssRuleList')
|
| + final List<CssRule> cssRules;
|
|
|
| - /** Sets the value of "border-image-outset" */
|
| - void set borderImageOutset(String value) {
|
| - setProperty('border-image-outset', value, '');
|
| - }
|
| + /// @domName CSSMediaRule.media; @docsEditable true
|
| + final MediaList media;
|
|
|
| - /** Gets the value of "border-image-repeat" */
|
| - String get borderImageRepeat =>
|
| - getPropertyValue('border-image-repeat');
|
| + /// @domName CSSMediaRule.deleteRule; @docsEditable true
|
| + void deleteRule(int index) native;
|
|
|
| - /** Sets the value of "border-image-repeat" */
|
| - void set borderImageRepeat(String value) {
|
| - setProperty('border-image-repeat', value, '');
|
| - }
|
| + /// @domName CSSMediaRule.insertRule; @docsEditable true
|
| + int insertRule(String rule, int index) native;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - /** Gets the value of "border-image-slice" */
|
| - String get borderImageSlice =>
|
| - getPropertyValue('border-image-slice');
|
|
|
| - /** Sets the value of "border-image-slice" */
|
| - void set borderImageSlice(String value) {
|
| - setProperty('border-image-slice', value, '');
|
| - }
|
| +/// @domName CSSPageRule; @docsEditable true
|
| +class CssPageRule extends CssRule native "*CSSPageRule" {
|
|
|
| - /** Gets the value of "border-image-source" */
|
| - String get borderImageSource =>
|
| - getPropertyValue('border-image-source');
|
| + /// @domName CSSPageRule.selectorText; @docsEditable true
|
| + String selectorText;
|
|
|
| - /** Sets the value of "border-image-source" */
|
| - void set borderImageSource(String value) {
|
| - setProperty('border-image-source', value, '');
|
| - }
|
| + /// @domName CSSPageRule.style; @docsEditable true
|
| + final CssStyleDeclaration style;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - /** Gets the value of "border-image-width" */
|
| - String get borderImageWidth =>
|
| - getPropertyValue('border-image-width');
|
|
|
| - /** Sets the value of "border-image-width" */
|
| - void set borderImageWidth(String value) {
|
| - setProperty('border-image-width', value, '');
|
| - }
|
| +/// @domName CSSPrimitiveValue; @docsEditable true
|
| +class CssPrimitiveValue extends CssValue native "*CSSPrimitiveValue" {
|
|
|
| - /** Gets the value of "border-left" */
|
| - String get borderLeft =>
|
| - getPropertyValue('border-left');
|
| + static const int CSS_ATTR = 22;
|
|
|
| - /** Sets the value of "border-left" */
|
| - void set borderLeft(String value) {
|
| - setProperty('border-left', value, '');
|
| - }
|
| + static const int CSS_CM = 6;
|
|
|
| - /** Gets the value of "border-left-color" */
|
| - String get borderLeftColor =>
|
| - getPropertyValue('border-left-color');
|
| + static const int CSS_COUNTER = 23;
|
|
|
| - /** Sets the value of "border-left-color" */
|
| - void set borderLeftColor(String value) {
|
| - setProperty('border-left-color', value, '');
|
| - }
|
| + static const int CSS_DEG = 11;
|
|
|
| - /** Gets the value of "border-left-style" */
|
| - String get borderLeftStyle =>
|
| - getPropertyValue('border-left-style');
|
| + static const int CSS_DIMENSION = 18;
|
|
|
| - /** Sets the value of "border-left-style" */
|
| - void set borderLeftStyle(String value) {
|
| - setProperty('border-left-style', value, '');
|
| - }
|
| + static const int CSS_EMS = 3;
|
|
|
| - /** Gets the value of "border-left-width" */
|
| - String get borderLeftWidth =>
|
| - getPropertyValue('border-left-width');
|
| + static const int CSS_EXS = 4;
|
|
|
| - /** Sets the value of "border-left-width" */
|
| - void set borderLeftWidth(String value) {
|
| - setProperty('border-left-width', value, '');
|
| - }
|
| + static const int CSS_GRAD = 13;
|
|
|
| - /** Gets the value of "border-radius" */
|
| - String get borderRadius =>
|
| - getPropertyValue('border-radius');
|
| + static const int CSS_HZ = 16;
|
|
|
| - /** Sets the value of "border-radius" */
|
| - void set borderRadius(String value) {
|
| - setProperty('border-radius', value, '');
|
| - }
|
| + static const int CSS_IDENT = 21;
|
|
|
| - /** Gets the value of "border-right" */
|
| - String get borderRight =>
|
| - getPropertyValue('border-right');
|
| + static const int CSS_IN = 8;
|
|
|
| - /** Sets the value of "border-right" */
|
| - void set borderRight(String value) {
|
| - setProperty('border-right', value, '');
|
| - }
|
| + static const int CSS_KHZ = 17;
|
|
|
| - /** Gets the value of "border-right-color" */
|
| - String get borderRightColor =>
|
| - getPropertyValue('border-right-color');
|
| + static const int CSS_MM = 7;
|
|
|
| - /** Sets the value of "border-right-color" */
|
| - void set borderRightColor(String value) {
|
| - setProperty('border-right-color', value, '');
|
| - }
|
| + static const int CSS_MS = 14;
|
|
|
| - /** Gets the value of "border-right-style" */
|
| - String get borderRightStyle =>
|
| - getPropertyValue('border-right-style');
|
| + static const int CSS_NUMBER = 1;
|
|
|
| - /** Sets the value of "border-right-style" */
|
| - void set borderRightStyle(String value) {
|
| - setProperty('border-right-style', value, '');
|
| - }
|
| + static const int CSS_PC = 10;
|
|
|
| - /** Gets the value of "border-right-width" */
|
| - String get borderRightWidth =>
|
| - getPropertyValue('border-right-width');
|
| + static const int CSS_PERCENTAGE = 2;
|
|
|
| - /** Sets the value of "border-right-width" */
|
| - void set borderRightWidth(String value) {
|
| - setProperty('border-right-width', value, '');
|
| - }
|
| + static const int CSS_PT = 9;
|
|
|
| - /** Gets the value of "border-spacing" */
|
| - String get borderSpacing =>
|
| - getPropertyValue('border-spacing');
|
| + static const int CSS_PX = 5;
|
|
|
| - /** Sets the value of "border-spacing" */
|
| - void set borderSpacing(String value) {
|
| - setProperty('border-spacing', value, '');
|
| - }
|
| + static const int CSS_RAD = 12;
|
|
|
| - /** Gets the value of "border-start" */
|
| - String get borderStart =>
|
| - getPropertyValue('${_browserPrefix}border-start');
|
| + static const int CSS_RECT = 24;
|
|
|
| - /** Sets the value of "border-start" */
|
| - void set borderStart(String value) {
|
| - setProperty('${_browserPrefix}border-start', value, '');
|
| - }
|
| + static const int CSS_RGBCOLOR = 25;
|
|
|
| - /** Gets the value of "border-start-color" */
|
| - String get borderStartColor =>
|
| - getPropertyValue('${_browserPrefix}border-start-color');
|
| + static const int CSS_S = 15;
|
|
|
| - /** Sets the value of "border-start-color" */
|
| - void set borderStartColor(String value) {
|
| - setProperty('${_browserPrefix}border-start-color', value, '');
|
| - }
|
| + static const int CSS_STRING = 19;
|
|
|
| - /** Gets the value of "border-start-style" */
|
| - String get borderStartStyle =>
|
| - getPropertyValue('${_browserPrefix}border-start-style');
|
| + static const int CSS_UNKNOWN = 0;
|
|
|
| - /** Sets the value of "border-start-style" */
|
| - void set borderStartStyle(String value) {
|
| - setProperty('${_browserPrefix}border-start-style', value, '');
|
| - }
|
| + static const int CSS_URI = 20;
|
|
|
| - /** Gets the value of "border-start-width" */
|
| - String get borderStartWidth =>
|
| - getPropertyValue('${_browserPrefix}border-start-width');
|
| + static const int CSS_VH = 27;
|
|
|
| - /** Sets the value of "border-start-width" */
|
| - void set borderStartWidth(String value) {
|
| - setProperty('${_browserPrefix}border-start-width', value, '');
|
| - }
|
| + static const int CSS_VMIN = 28;
|
|
|
| - /** Gets the value of "border-style" */
|
| - String get borderStyle =>
|
| - getPropertyValue('border-style');
|
| + static const int CSS_VW = 26;
|
|
|
| - /** Sets the value of "border-style" */
|
| - void set borderStyle(String value) {
|
| - setProperty('border-style', value, '');
|
| - }
|
| + /// @domName CSSPrimitiveValue.primitiveType; @docsEditable true
|
| + final int primitiveType;
|
|
|
| - /** Gets the value of "border-top" */
|
| - String get borderTop =>
|
| - getPropertyValue('border-top');
|
| + /// @domName CSSPrimitiveValue.getCounterValue; @docsEditable true
|
| + Counter getCounterValue() native;
|
|
|
| - /** Sets the value of "border-top" */
|
| - void set borderTop(String value) {
|
| - setProperty('border-top', value, '');
|
| - }
|
| + /// @domName CSSPrimitiveValue.getFloatValue; @docsEditable true
|
| + num getFloatValue(int unitType) native;
|
|
|
| - /** Gets the value of "border-top-color" */
|
| - String get borderTopColor =>
|
| - getPropertyValue('border-top-color');
|
| + /// @domName CSSPrimitiveValue.getRGBColorValue; @docsEditable true
|
| + @JSName('getRGBColorValue')
|
| + RgbColor getRgbColorValue() native;
|
|
|
| - /** Sets the value of "border-top-color" */
|
| - void set borderTopColor(String value) {
|
| - setProperty('border-top-color', value, '');
|
| - }
|
| + /// @domName CSSPrimitiveValue.getRectValue; @docsEditable true
|
| + Rect getRectValue() native;
|
|
|
| - /** Gets the value of "border-top-left-radius" */
|
| - String get borderTopLeftRadius =>
|
| - getPropertyValue('border-top-left-radius');
|
| + /// @domName CSSPrimitiveValue.getStringValue; @docsEditable true
|
| + String getStringValue() native;
|
|
|
| - /** Sets the value of "border-top-left-radius" */
|
| - void set borderTopLeftRadius(String value) {
|
| - setProperty('border-top-left-radius', value, '');
|
| - }
|
| + /// @domName CSSPrimitiveValue.setFloatValue; @docsEditable true
|
| + void setFloatValue(int unitType, num floatValue) native;
|
|
|
| - /** Gets the value of "border-top-right-radius" */
|
| - String get borderTopRightRadius =>
|
| - getPropertyValue('border-top-right-radius');
|
| + /// @domName CSSPrimitiveValue.setStringValue; @docsEditable true
|
| + void setStringValue(int stringType, String stringValue) native;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - /** Sets the value of "border-top-right-radius" */
|
| - void set borderTopRightRadius(String value) {
|
| - setProperty('border-top-right-radius', value, '');
|
| - }
|
|
|
| - /** Gets the value of "border-top-style" */
|
| - String get borderTopStyle =>
|
| - getPropertyValue('border-top-style');
|
| +/// @domName CSSRule; @docsEditable true
|
| +class CssRule native "*CSSRule" {
|
|
|
| - /** Sets the value of "border-top-style" */
|
| - void set borderTopStyle(String value) {
|
| - setProperty('border-top-style', value, '');
|
| - }
|
| + static const int CHARSET_RULE = 2;
|
|
|
| - /** Gets the value of "border-top-width" */
|
| - String get borderTopWidth =>
|
| - getPropertyValue('border-top-width');
|
| + static const int FONT_FACE_RULE = 5;
|
|
|
| - /** Sets the value of "border-top-width" */
|
| - void set borderTopWidth(String value) {
|
| - setProperty('border-top-width', value, '');
|
| - }
|
| + static const int IMPORT_RULE = 3;
|
|
|
| - /** Gets the value of "border-vertical-spacing" */
|
| - String get borderVerticalSpacing =>
|
| - getPropertyValue('${_browserPrefix}border-vertical-spacing');
|
| + static const int MEDIA_RULE = 4;
|
|
|
| - /** Sets the value of "border-vertical-spacing" */
|
| - void set borderVerticalSpacing(String value) {
|
| - setProperty('${_browserPrefix}border-vertical-spacing', value, '');
|
| - }
|
| + static const int PAGE_RULE = 6;
|
|
|
| - /** Gets the value of "border-width" */
|
| - String get borderWidth =>
|
| - getPropertyValue('border-width');
|
| + static const int STYLE_RULE = 1;
|
|
|
| - /** Sets the value of "border-width" */
|
| - void set borderWidth(String value) {
|
| - setProperty('border-width', value, '');
|
| - }
|
| + static const int UNKNOWN_RULE = 0;
|
|
|
| - /** Gets the value of "bottom" */
|
| - String get bottom =>
|
| - getPropertyValue('bottom');
|
| + static const int WEBKIT_KEYFRAMES_RULE = 7;
|
|
|
| - /** Sets the value of "bottom" */
|
| - void set bottom(String value) {
|
| - setProperty('bottom', value, '');
|
| - }
|
| + static const int WEBKIT_KEYFRAME_RULE = 8;
|
|
|
| - /** Gets the value of "box-align" */
|
| - String get boxAlign =>
|
| - getPropertyValue('${_browserPrefix}box-align');
|
| + /// @domName CSSRule.cssText; @docsEditable true
|
| + String cssText;
|
|
|
| - /** Sets the value of "box-align" */
|
| - void set boxAlign(String value) {
|
| - setProperty('${_browserPrefix}box-align', value, '');
|
| - }
|
| -
|
| - /** Gets the value of "box-decoration-break" */
|
| - String get boxDecorationBreak =>
|
| - getPropertyValue('${_browserPrefix}box-decoration-break');
|
| + /// @domName CSSRule.parentRule; @docsEditable true
|
| + final CssRule parentRule;
|
|
|
| - /** Sets the value of "box-decoration-break" */
|
| - void set boxDecorationBreak(String value) {
|
| - setProperty('${_browserPrefix}box-decoration-break', value, '');
|
| - }
|
| + /// @domName CSSRule.parentStyleSheet; @docsEditable true
|
| + final CssStyleSheet parentStyleSheet;
|
|
|
| - /** Gets the value of "box-direction" */
|
| - String get boxDirection =>
|
| - getPropertyValue('${_browserPrefix}box-direction');
|
| + /// @domName CSSRule.type; @docsEditable true
|
| + final int type;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - /** Sets the value of "box-direction" */
|
| - void set boxDirection(String value) {
|
| - setProperty('${_browserPrefix}box-direction', value, '');
|
| - }
|
|
|
| - /** Gets the value of "box-flex" */
|
| - String get boxFlex =>
|
| - getPropertyValue('${_browserPrefix}box-flex');
|
| +String _cachedBrowserPrefix;
|
|
|
| - /** Sets the value of "box-flex" */
|
| - void set boxFlex(String value) {
|
| - setProperty('${_browserPrefix}box-flex', value, '');
|
| +String get _browserPrefix {
|
| + if (_cachedBrowserPrefix == null) {
|
| + if (_Device.isFirefox) {
|
| + _cachedBrowserPrefix = '-moz-';
|
| + } else if (_Device.isIE) {
|
| + _cachedBrowserPrefix = '-ms-';
|
| + } else if (_Device.isOpera) {
|
| + _cachedBrowserPrefix = '-o-';
|
| + } else {
|
| + _cachedBrowserPrefix = '-webkit-';
|
| + }
|
| }
|
| + return _cachedBrowserPrefix;
|
| +}
|
|
|
| - /** Gets the value of "box-flex-group" */
|
| - String get boxFlexGroup =>
|
| - getPropertyValue('${_browserPrefix}box-flex-group');
|
| +/// @domName CSSStyleDeclaration
|
| +class CssStyleDeclaration native "*CSSStyleDeclaration" {
|
| + factory CssStyleDeclaration() => _CssStyleDeclarationFactoryProvider.createCssStyleDeclaration();
|
| + factory CssStyleDeclaration.css(String css) =>
|
| + _CssStyleDeclarationFactoryProvider.createCssStyleDeclaration_css(css);
|
|
|
| - /** Sets the value of "box-flex-group" */
|
| - void set boxFlexGroup(String value) {
|
| - setProperty('${_browserPrefix}box-flex-group', value, '');
|
| - }
|
|
|
| - /** Gets the value of "box-lines" */
|
| - String get boxLines =>
|
| - getPropertyValue('${_browserPrefix}box-lines');
|
| + /// @domName CSSStyleDeclaration.cssText; @docsEditable true
|
| + String cssText;
|
|
|
| - /** Sets the value of "box-lines" */
|
| - void set boxLines(String value) {
|
| - setProperty('${_browserPrefix}box-lines', value, '');
|
| - }
|
| + /// @domName CSSStyleDeclaration.length; @docsEditable true
|
| + final int length;
|
|
|
| - /** Gets the value of "box-ordinal-group" */
|
| - String get boxOrdinalGroup =>
|
| - getPropertyValue('${_browserPrefix}box-ordinal-group');
|
| + /// @domName CSSStyleDeclaration.parentRule; @docsEditable true
|
| + final CssRule parentRule;
|
|
|
| - /** Sets the value of "box-ordinal-group" */
|
| - void set boxOrdinalGroup(String value) {
|
| - setProperty('${_browserPrefix}box-ordinal-group', value, '');
|
| - }
|
| + /// @domName CSSStyleDeclaration.getPropertyCSSValue; @docsEditable true
|
| + @JSName('getPropertyCSSValue')
|
| + CssValue getPropertyCssValue(String propertyName) native;
|
|
|
| - /** Gets the value of "box-orient" */
|
| - String get boxOrient =>
|
| - getPropertyValue('${_browserPrefix}box-orient');
|
| + /// @domName CSSStyleDeclaration.getPropertyPriority; @docsEditable true
|
| + String getPropertyPriority(String propertyName) native;
|
|
|
| - /** Sets the value of "box-orient" */
|
| - void set boxOrient(String value) {
|
| - setProperty('${_browserPrefix}box-orient', value, '');
|
| - }
|
| + /// @domName CSSStyleDeclaration.getPropertyShorthand; @docsEditable true
|
| + String getPropertyShorthand(String propertyName) native;
|
|
|
| - /** Gets the value of "box-pack" */
|
| - String get boxPack =>
|
| - getPropertyValue('${_browserPrefix}box-pack');
|
| + /// @domName CSSStyleDeclaration._getPropertyValue; @docsEditable true
|
| + @JSName('getPropertyValue')
|
| + String _getPropertyValue(String propertyName) native;
|
|
|
| - /** Sets the value of "box-pack" */
|
| - void set boxPack(String value) {
|
| - setProperty('${_browserPrefix}box-pack', value, '');
|
| - }
|
| + /// @domName CSSStyleDeclaration.isPropertyImplicit; @docsEditable true
|
| + bool isPropertyImplicit(String propertyName) native;
|
|
|
| - /** Gets the value of "box-reflect" */
|
| - String get boxReflect =>
|
| - getPropertyValue('${_browserPrefix}box-reflect');
|
| + /// @domName CSSStyleDeclaration.item; @docsEditable true
|
| + String item(int index) native;
|
|
|
| - /** Sets the value of "box-reflect" */
|
| - void set boxReflect(String value) {
|
| - setProperty('${_browserPrefix}box-reflect', value, '');
|
| - }
|
| + /// @domName CSSStyleDeclaration.removeProperty; @docsEditable true
|
| + String removeProperty(String propertyName) native;
|
|
|
| - /** Gets the value of "box-shadow" */
|
| - String get boxShadow =>
|
| - getPropertyValue('box-shadow');
|
|
|
| - /** Sets the value of "box-shadow" */
|
| - void set boxShadow(String value) {
|
| - setProperty('box-shadow', value, '');
|
| + String getPropertyValue(String propertyName) {
|
| + var propValue = _getPropertyValue(propertyName);
|
| + return propValue != null ? propValue : '';
|
| }
|
|
|
| - /** Gets the value of "box-sizing" */
|
| - String get boxSizing =>
|
| - getPropertyValue('box-sizing');
|
| -
|
| - /** Sets the value of "box-sizing" */
|
| - void set boxSizing(String value) {
|
| - setProperty('box-sizing', value, '');
|
| + void setProperty(String propertyName, String value, [String priority]) {
|
| + JS('void', '#.setProperty(#, #, #)', this, propertyName, value, priority);
|
| + // Bug #2772, IE9 requires a poke to actually apply the value.
|
| + if (JS('bool', '!!#.setAttribute', this)) {
|
| + JS('void', '#.setAttribute(#, #)', this, propertyName, value);
|
| + }
|
| }
|
|
|
| - /** Gets the value of "caption-side" */
|
| - String get captionSide =>
|
| - getPropertyValue('caption-side');
|
| + // TODO(jacobr): generate this list of properties using the existing script.
|
| + /** Gets the value of "align-content" */
|
| + String get alignContent =>
|
| + getPropertyValue('${_browserPrefix}align-content');
|
|
|
| - /** Sets the value of "caption-side" */
|
| - void set captionSide(String value) {
|
| - setProperty('caption-side', value, '');
|
| + /** Sets the value of "align-content" */
|
| + void set alignContent(String value) {
|
| + setProperty('${_browserPrefix}align-content', value, '');
|
| }
|
|
|
| - /** Gets the value of "clear" */
|
| - String get clear =>
|
| - getPropertyValue('clear');
|
| + /** Gets the value of "align-items" */
|
| + String get alignItems =>
|
| + getPropertyValue('${_browserPrefix}align-items');
|
|
|
| - /** Sets the value of "clear" */
|
| - void set clear(String value) {
|
| - setProperty('clear', value, '');
|
| + /** Sets the value of "align-items" */
|
| + void set alignItems(String value) {
|
| + setProperty('${_browserPrefix}align-items', value, '');
|
| }
|
|
|
| - /** Gets the value of "clip" */
|
| - String get clip =>
|
| - getPropertyValue('clip');
|
| + /** Gets the value of "align-self" */
|
| + String get alignSelf =>
|
| + getPropertyValue('${_browserPrefix}align-self');
|
|
|
| - /** Sets the value of "clip" */
|
| - void set clip(String value) {
|
| - setProperty('clip', value, '');
|
| + /** Sets the value of "align-self" */
|
| + void set alignSelf(String value) {
|
| + setProperty('${_browserPrefix}align-self', value, '');
|
| }
|
|
|
| - /** Gets the value of "clip-path" */
|
| - String get clipPath =>
|
| - getPropertyValue('${_browserPrefix}clip-path');
|
| + /** Gets the value of "animation" */
|
| + String get animation =>
|
| + getPropertyValue('${_browserPrefix}animation');
|
|
|
| - /** Sets the value of "clip-path" */
|
| - void set clipPath(String value) {
|
| - setProperty('${_browserPrefix}clip-path', value, '');
|
| + /** Sets the value of "animation" */
|
| + void set animation(String value) {
|
| + setProperty('${_browserPrefix}animation', value, '');
|
| }
|
|
|
| - /** Gets the value of "color" */
|
| - String get color =>
|
| - getPropertyValue('color');
|
| + /** Gets the value of "animation-delay" */
|
| + String get animationDelay =>
|
| + getPropertyValue('${_browserPrefix}animation-delay');
|
|
|
| - /** Sets the value of "color" */
|
| - void set color(String value) {
|
| - setProperty('color', value, '');
|
| + /** Sets the value of "animation-delay" */
|
| + void set animationDelay(String value) {
|
| + setProperty('${_browserPrefix}animation-delay', value, '');
|
| }
|
|
|
| - /** Gets the value of "color-correction" */
|
| - String get colorCorrection =>
|
| - getPropertyValue('${_browserPrefix}color-correction');
|
| + /** Gets the value of "animation-direction" */
|
| + String get animationDirection =>
|
| + getPropertyValue('${_browserPrefix}animation-direction');
|
|
|
| - /** Sets the value of "color-correction" */
|
| - void set colorCorrection(String value) {
|
| - setProperty('${_browserPrefix}color-correction', value, '');
|
| + /** Sets the value of "animation-direction" */
|
| + void set animationDirection(String value) {
|
| + setProperty('${_browserPrefix}animation-direction', value, '');
|
| }
|
|
|
| - /** Gets the value of "column-axis" */
|
| - String get columnAxis =>
|
| - getPropertyValue('${_browserPrefix}column-axis');
|
| + /** Gets the value of "animation-duration" */
|
| + String get animationDuration =>
|
| + getPropertyValue('${_browserPrefix}animation-duration');
|
|
|
| - /** Sets the value of "column-axis" */
|
| - void set columnAxis(String value) {
|
| - setProperty('${_browserPrefix}column-axis', value, '');
|
| + /** Sets the value of "animation-duration" */
|
| + void set animationDuration(String value) {
|
| + setProperty('${_browserPrefix}animation-duration', value, '');
|
| }
|
|
|
| - /** Gets the value of "column-break-after" */
|
| - String get columnBreakAfter =>
|
| - getPropertyValue('${_browserPrefix}column-break-after');
|
| + /** Gets the value of "animation-fill-mode" */
|
| + String get animationFillMode =>
|
| + getPropertyValue('${_browserPrefix}animation-fill-mode');
|
|
|
| - /** Sets the value of "column-break-after" */
|
| - void set columnBreakAfter(String value) {
|
| - setProperty('${_browserPrefix}column-break-after', value, '');
|
| + /** Sets the value of "animation-fill-mode" */
|
| + void set animationFillMode(String value) {
|
| + setProperty('${_browserPrefix}animation-fill-mode', value, '');
|
| }
|
|
|
| - /** Gets the value of "column-break-before" */
|
| - String get columnBreakBefore =>
|
| - getPropertyValue('${_browserPrefix}column-break-before');
|
| + /** Gets the value of "animation-iteration-count" */
|
| + String get animationIterationCount =>
|
| + getPropertyValue('${_browserPrefix}animation-iteration-count');
|
|
|
| - /** Sets the value of "column-break-before" */
|
| - void set columnBreakBefore(String value) {
|
| - setProperty('${_browserPrefix}column-break-before', value, '');
|
| + /** Sets the value of "animation-iteration-count" */
|
| + void set animationIterationCount(String value) {
|
| + setProperty('${_browserPrefix}animation-iteration-count', value, '');
|
| }
|
|
|
| - /** Gets the value of "column-break-inside" */
|
| - String get columnBreakInside =>
|
| - getPropertyValue('${_browserPrefix}column-break-inside');
|
| + /** Gets the value of "animation-name" */
|
| + String get animationName =>
|
| + getPropertyValue('${_browserPrefix}animation-name');
|
|
|
| - /** Sets the value of "column-break-inside" */
|
| - void set columnBreakInside(String value) {
|
| - setProperty('${_browserPrefix}column-break-inside', value, '');
|
| + /** Sets the value of "animation-name" */
|
| + void set animationName(String value) {
|
| + setProperty('${_browserPrefix}animation-name', value, '');
|
| }
|
|
|
| - /** Gets the value of "column-count" */
|
| - String get columnCount =>
|
| - getPropertyValue('${_browserPrefix}column-count');
|
| -
|
| - /** Sets the value of "column-count" */
|
| - void set columnCount(String value) {
|
| - setProperty('${_browserPrefix}column-count', value, '');
|
| + /** Gets the value of "animation-play-state" */
|
| + String get animationPlayState =>
|
| + getPropertyValue('${_browserPrefix}animation-play-state');
|
| +
|
| + /** Sets the value of "animation-play-state" */
|
| + void set animationPlayState(String value) {
|
| + setProperty('${_browserPrefix}animation-play-state', value, '');
|
| }
|
|
|
| - /** Gets the value of "column-gap" */
|
| - String get columnGap =>
|
| - getPropertyValue('${_browserPrefix}column-gap');
|
| + /** Gets the value of "animation-timing-function" */
|
| + String get animationTimingFunction =>
|
| + getPropertyValue('${_browserPrefix}animation-timing-function');
|
|
|
| - /** Sets the value of "column-gap" */
|
| - void set columnGap(String value) {
|
| - setProperty('${_browserPrefix}column-gap', value, '');
|
| + /** Sets the value of "animation-timing-function" */
|
| + void set animationTimingFunction(String value) {
|
| + setProperty('${_browserPrefix}animation-timing-function', value, '');
|
| }
|
|
|
| - /** Gets the value of "column-progression" */
|
| - String get columnProgression =>
|
| - getPropertyValue('${_browserPrefix}column-progression');
|
| + /** Gets the value of "app-region" */
|
| + String get appRegion =>
|
| + getPropertyValue('${_browserPrefix}app-region');
|
|
|
| - /** Sets the value of "column-progression" */
|
| - void set columnProgression(String value) {
|
| - setProperty('${_browserPrefix}column-progression', value, '');
|
| + /** Sets the value of "app-region" */
|
| + void set appRegion(String value) {
|
| + setProperty('${_browserPrefix}app-region', value, '');
|
| }
|
|
|
| - /** Gets the value of "column-rule" */
|
| - String get columnRule =>
|
| - getPropertyValue('${_browserPrefix}column-rule');
|
| + /** Gets the value of "appearance" */
|
| + String get appearance =>
|
| + getPropertyValue('${_browserPrefix}appearance');
|
|
|
| - /** Sets the value of "column-rule" */
|
| - void set columnRule(String value) {
|
| - setProperty('${_browserPrefix}column-rule', value, '');
|
| + /** Sets the value of "appearance" */
|
| + void set appearance(String value) {
|
| + setProperty('${_browserPrefix}appearance', value, '');
|
| }
|
|
|
| - /** Gets the value of "column-rule-color" */
|
| - String get columnRuleColor =>
|
| - getPropertyValue('${_browserPrefix}column-rule-color');
|
| + /** Gets the value of "aspect-ratio" */
|
| + String get aspectRatio =>
|
| + getPropertyValue('${_browserPrefix}aspect-ratio');
|
|
|
| - /** Sets the value of "column-rule-color" */
|
| - void set columnRuleColor(String value) {
|
| - setProperty('${_browserPrefix}column-rule-color', value, '');
|
| + /** Sets the value of "aspect-ratio" */
|
| + void set aspectRatio(String value) {
|
| + setProperty('${_browserPrefix}aspect-ratio', value, '');
|
| }
|
|
|
| - /** Gets the value of "column-rule-style" */
|
| - String get columnRuleStyle =>
|
| - getPropertyValue('${_browserPrefix}column-rule-style');
|
| + /** Gets the value of "backface-visibility" */
|
| + String get backfaceVisibility =>
|
| + getPropertyValue('${_browserPrefix}backface-visibility');
|
|
|
| - /** Sets the value of "column-rule-style" */
|
| - void set columnRuleStyle(String value) {
|
| - setProperty('${_browserPrefix}column-rule-style', value, '');
|
| + /** Sets the value of "backface-visibility" */
|
| + void set backfaceVisibility(String value) {
|
| + setProperty('${_browserPrefix}backface-visibility', value, '');
|
| }
|
|
|
| - /** Gets the value of "column-rule-width" */
|
| - String get columnRuleWidth =>
|
| - getPropertyValue('${_browserPrefix}column-rule-width');
|
| + /** Gets the value of "background" */
|
| + String get background =>
|
| + getPropertyValue('background');
|
|
|
| - /** Sets the value of "column-rule-width" */
|
| - void set columnRuleWidth(String value) {
|
| - setProperty('${_browserPrefix}column-rule-width', value, '');
|
| + /** Sets the value of "background" */
|
| + void set background(String value) {
|
| + setProperty('background', value, '');
|
| }
|
|
|
| - /** Gets the value of "column-span" */
|
| - String get columnSpan =>
|
| - getPropertyValue('${_browserPrefix}column-span');
|
| + /** Gets the value of "background-attachment" */
|
| + String get backgroundAttachment =>
|
| + getPropertyValue('background-attachment');
|
|
|
| - /** Sets the value of "column-span" */
|
| - void set columnSpan(String value) {
|
| - setProperty('${_browserPrefix}column-span', value, '');
|
| + /** Sets the value of "background-attachment" */
|
| + void set backgroundAttachment(String value) {
|
| + setProperty('background-attachment', value, '');
|
| }
|
|
|
| - /** Gets the value of "column-width" */
|
| - String get columnWidth =>
|
| - getPropertyValue('${_browserPrefix}column-width');
|
| + /** Gets the value of "background-clip" */
|
| + String get backgroundClip =>
|
| + getPropertyValue('background-clip');
|
|
|
| - /** Sets the value of "column-width" */
|
| - void set columnWidth(String value) {
|
| - setProperty('${_browserPrefix}column-width', value, '');
|
| + /** Sets the value of "background-clip" */
|
| + void set backgroundClip(String value) {
|
| + setProperty('background-clip', value, '');
|
| }
|
|
|
| - /** Gets the value of "columns" */
|
| - String get columns =>
|
| - getPropertyValue('${_browserPrefix}columns');
|
| + /** Gets the value of "background-color" */
|
| + String get backgroundColor =>
|
| + getPropertyValue('background-color');
|
|
|
| - /** Sets the value of "columns" */
|
| - void set columns(String value) {
|
| - setProperty('${_browserPrefix}columns', value, '');
|
| + /** Sets the value of "background-color" */
|
| + void set backgroundColor(String value) {
|
| + setProperty('background-color', value, '');
|
| }
|
|
|
| - /** Gets the value of "content" */
|
| - String get content =>
|
| - getPropertyValue('content');
|
| + /** Gets the value of "background-composite" */
|
| + String get backgroundComposite =>
|
| + getPropertyValue('${_browserPrefix}background-composite');
|
|
|
| - /** Sets the value of "content" */
|
| - void set content(String value) {
|
| - setProperty('content', value, '');
|
| + /** Sets the value of "background-composite" */
|
| + void set backgroundComposite(String value) {
|
| + setProperty('${_browserPrefix}background-composite', value, '');
|
| }
|
|
|
| - /** Gets the value of "counter-increment" */
|
| - String get counterIncrement =>
|
| - getPropertyValue('counter-increment');
|
| + /** Gets the value of "background-image" */
|
| + String get backgroundImage =>
|
| + getPropertyValue('background-image');
|
|
|
| - /** Sets the value of "counter-increment" */
|
| - void set counterIncrement(String value) {
|
| - setProperty('counter-increment', value, '');
|
| + /** Sets the value of "background-image" */
|
| + void set backgroundImage(String value) {
|
| + setProperty('background-image', value, '');
|
| }
|
|
|
| - /** Gets the value of "counter-reset" */
|
| - String get counterReset =>
|
| - getPropertyValue('counter-reset');
|
| + /** Gets the value of "background-origin" */
|
| + String get backgroundOrigin =>
|
| + getPropertyValue('background-origin');
|
|
|
| - /** Sets the value of "counter-reset" */
|
| - void set counterReset(String value) {
|
| - setProperty('counter-reset', value, '');
|
| + /** Sets the value of "background-origin" */
|
| + void set backgroundOrigin(String value) {
|
| + setProperty('background-origin', value, '');
|
| }
|
|
|
| - /** Gets the value of "cursor" */
|
| - String get cursor =>
|
| - getPropertyValue('cursor');
|
| + /** Gets the value of "background-position" */
|
| + String get backgroundPosition =>
|
| + getPropertyValue('background-position');
|
|
|
| - /** Sets the value of "cursor" */
|
| - void set cursor(String value) {
|
| - setProperty('cursor', value, '');
|
| + /** Sets the value of "background-position" */
|
| + void set backgroundPosition(String value) {
|
| + setProperty('background-position', value, '');
|
| }
|
|
|
| - /** Gets the value of "dashboard-region" */
|
| - String get dashboardRegion =>
|
| - getPropertyValue('${_browserPrefix}dashboard-region');
|
| + /** Gets the value of "background-position-x" */
|
| + String get backgroundPositionX =>
|
| + getPropertyValue('background-position-x');
|
|
|
| - /** Sets the value of "dashboard-region" */
|
| - void set dashboardRegion(String value) {
|
| - setProperty('${_browserPrefix}dashboard-region', value, '');
|
| + /** Sets the value of "background-position-x" */
|
| + void set backgroundPositionX(String value) {
|
| + setProperty('background-position-x', value, '');
|
| }
|
|
|
| - /** Gets the value of "direction" */
|
| - String get direction =>
|
| - getPropertyValue('direction');
|
| + /** Gets the value of "background-position-y" */
|
| + String get backgroundPositionY =>
|
| + getPropertyValue('background-position-y');
|
|
|
| - /** Sets the value of "direction" */
|
| - void set direction(String value) {
|
| - setProperty('direction', value, '');
|
| + /** Sets the value of "background-position-y" */
|
| + void set backgroundPositionY(String value) {
|
| + setProperty('background-position-y', value, '');
|
| }
|
|
|
| - /** Gets the value of "display" */
|
| - String get display =>
|
| - getPropertyValue('display');
|
| + /** Gets the value of "background-repeat" */
|
| + String get backgroundRepeat =>
|
| + getPropertyValue('background-repeat');
|
|
|
| - /** Sets the value of "display" */
|
| - void set display(String value) {
|
| - setProperty('display', value, '');
|
| + /** Sets the value of "background-repeat" */
|
| + void set backgroundRepeat(String value) {
|
| + setProperty('background-repeat', value, '');
|
| }
|
|
|
| - /** Gets the value of "empty-cells" */
|
| - String get emptyCells =>
|
| - getPropertyValue('empty-cells');
|
| + /** Gets the value of "background-repeat-x" */
|
| + String get backgroundRepeatX =>
|
| + getPropertyValue('background-repeat-x');
|
|
|
| - /** Sets the value of "empty-cells" */
|
| - void set emptyCells(String value) {
|
| - setProperty('empty-cells', value, '');
|
| + /** Sets the value of "background-repeat-x" */
|
| + void set backgroundRepeatX(String value) {
|
| + setProperty('background-repeat-x', value, '');
|
| }
|
|
|
| - /** Gets the value of "filter" */
|
| - String get filter =>
|
| - getPropertyValue('${_browserPrefix}filter');
|
| + /** Gets the value of "background-repeat-y" */
|
| + String get backgroundRepeatY =>
|
| + getPropertyValue('background-repeat-y');
|
|
|
| - /** Sets the value of "filter" */
|
| - void set filter(String value) {
|
| - setProperty('${_browserPrefix}filter', value, '');
|
| + /** Sets the value of "background-repeat-y" */
|
| + void set backgroundRepeatY(String value) {
|
| + setProperty('background-repeat-y', value, '');
|
| }
|
|
|
| - /** Gets the value of "flex" */
|
| - String get flex =>
|
| - getPropertyValue('${_browserPrefix}flex');
|
| + /** Gets the value of "background-size" */
|
| + String get backgroundSize =>
|
| + getPropertyValue('background-size');
|
|
|
| - /** Sets the value of "flex" */
|
| - void set flex(String value) {
|
| - setProperty('${_browserPrefix}flex', value, '');
|
| + /** Sets the value of "background-size" */
|
| + void set backgroundSize(String value) {
|
| + setProperty('background-size', value, '');
|
| }
|
|
|
| - /** Gets the value of "flex-basis" */
|
| - String get flexBasis =>
|
| - getPropertyValue('${_browserPrefix}flex-basis');
|
| + /** Gets the value of "blend-mode" */
|
| + String get blendMode =>
|
| + getPropertyValue('${_browserPrefix}blend-mode');
|
|
|
| - /** Sets the value of "flex-basis" */
|
| - void set flexBasis(String value) {
|
| - setProperty('${_browserPrefix}flex-basis', value, '');
|
| + /** Sets the value of "blend-mode" */
|
| + void set blendMode(String value) {
|
| + setProperty('${_browserPrefix}blend-mode', value, '');
|
| }
|
|
|
| - /** Gets the value of "flex-direction" */
|
| - String get flexDirection =>
|
| - getPropertyValue('${_browserPrefix}flex-direction');
|
| + /** Gets the value of "border" */
|
| + String get border =>
|
| + getPropertyValue('border');
|
|
|
| - /** Sets the value of "flex-direction" */
|
| - void set flexDirection(String value) {
|
| - setProperty('${_browserPrefix}flex-direction', value, '');
|
| + /** Sets the value of "border" */
|
| + void set border(String value) {
|
| + setProperty('border', value, '');
|
| }
|
|
|
| - /** Gets the value of "flex-flow" */
|
| - String get flexFlow =>
|
| - getPropertyValue('${_browserPrefix}flex-flow');
|
| + /** Gets the value of "border-after" */
|
| + String get borderAfter =>
|
| + getPropertyValue('${_browserPrefix}border-after');
|
|
|
| - /** Sets the value of "flex-flow" */
|
| - void set flexFlow(String value) {
|
| - setProperty('${_browserPrefix}flex-flow', value, '');
|
| + /** Sets the value of "border-after" */
|
| + void set borderAfter(String value) {
|
| + setProperty('${_browserPrefix}border-after', value, '');
|
| }
|
|
|
| - /** Gets the value of "flex-grow" */
|
| - String get flexGrow =>
|
| - getPropertyValue('${_browserPrefix}flex-grow');
|
| + /** Gets the value of "border-after-color" */
|
| + String get borderAfterColor =>
|
| + getPropertyValue('${_browserPrefix}border-after-color');
|
|
|
| - /** Sets the value of "flex-grow" */
|
| - void set flexGrow(String value) {
|
| - setProperty('${_browserPrefix}flex-grow', value, '');
|
| + /** Sets the value of "border-after-color" */
|
| + void set borderAfterColor(String value) {
|
| + setProperty('${_browserPrefix}border-after-color', value, '');
|
| }
|
|
|
| - /** Gets the value of "flex-shrink" */
|
| - String get flexShrink =>
|
| - getPropertyValue('${_browserPrefix}flex-shrink');
|
| + /** Gets the value of "border-after-style" */
|
| + String get borderAfterStyle =>
|
| + getPropertyValue('${_browserPrefix}border-after-style');
|
|
|
| - /** Sets the value of "flex-shrink" */
|
| - void set flexShrink(String value) {
|
| - setProperty('${_browserPrefix}flex-shrink', value, '');
|
| + /** Sets the value of "border-after-style" */
|
| + void set borderAfterStyle(String value) {
|
| + setProperty('${_browserPrefix}border-after-style', value, '');
|
| }
|
|
|
| - /** Gets the value of "flex-wrap" */
|
| - String get flexWrap =>
|
| - getPropertyValue('${_browserPrefix}flex-wrap');
|
| + /** Gets the value of "border-after-width" */
|
| + String get borderAfterWidth =>
|
| + getPropertyValue('${_browserPrefix}border-after-width');
|
|
|
| - /** Sets the value of "flex-wrap" */
|
| - void set flexWrap(String value) {
|
| - setProperty('${_browserPrefix}flex-wrap', value, '');
|
| + /** Sets the value of "border-after-width" */
|
| + void set borderAfterWidth(String value) {
|
| + setProperty('${_browserPrefix}border-after-width', value, '');
|
| }
|
|
|
| - /** Gets the value of "float" */
|
| - String get float =>
|
| - getPropertyValue('float');
|
| + /** Gets the value of "border-before" */
|
| + String get borderBefore =>
|
| + getPropertyValue('${_browserPrefix}border-before');
|
|
|
| - /** Sets the value of "float" */
|
| - void set float(String value) {
|
| - setProperty('float', value, '');
|
| + /** Sets the value of "border-before" */
|
| + void set borderBefore(String value) {
|
| + setProperty('${_browserPrefix}border-before', value, '');
|
| }
|
|
|
| - /** Gets the value of "flow-from" */
|
| - String get flowFrom =>
|
| - getPropertyValue('${_browserPrefix}flow-from');
|
| + /** Gets the value of "border-before-color" */
|
| + String get borderBeforeColor =>
|
| + getPropertyValue('${_browserPrefix}border-before-color');
|
|
|
| - /** Sets the value of "flow-from" */
|
| - void set flowFrom(String value) {
|
| - setProperty('${_browserPrefix}flow-from', value, '');
|
| + /** Sets the value of "border-before-color" */
|
| + void set borderBeforeColor(String value) {
|
| + setProperty('${_browserPrefix}border-before-color', value, '');
|
| }
|
|
|
| - /** Gets the value of "flow-into" */
|
| - String get flowInto =>
|
| - getPropertyValue('${_browserPrefix}flow-into');
|
| + /** Gets the value of "border-before-style" */
|
| + String get borderBeforeStyle =>
|
| + getPropertyValue('${_browserPrefix}border-before-style');
|
|
|
| - /** Sets the value of "flow-into" */
|
| - void set flowInto(String value) {
|
| - setProperty('${_browserPrefix}flow-into', value, '');
|
| + /** Sets the value of "border-before-style" */
|
| + void set borderBeforeStyle(String value) {
|
| + setProperty('${_browserPrefix}border-before-style', value, '');
|
| }
|
|
|
| - /** Gets the value of "font" */
|
| - String get font =>
|
| - getPropertyValue('font');
|
| + /** Gets the value of "border-before-width" */
|
| + String get borderBeforeWidth =>
|
| + getPropertyValue('${_browserPrefix}border-before-width');
|
|
|
| - /** Sets the value of "font" */
|
| - void set font(String value) {
|
| - setProperty('font', value, '');
|
| + /** Sets the value of "border-before-width" */
|
| + void set borderBeforeWidth(String value) {
|
| + setProperty('${_browserPrefix}border-before-width', value, '');
|
| }
|
|
|
| - /** Gets the value of "font-family" */
|
| - String get fontFamily =>
|
| - getPropertyValue('font-family');
|
| + /** Gets the value of "border-bottom" */
|
| + String get borderBottom =>
|
| + getPropertyValue('border-bottom');
|
|
|
| - /** Sets the value of "font-family" */
|
| - void set fontFamily(String value) {
|
| - setProperty('font-family', value, '');
|
| + /** Sets the value of "border-bottom" */
|
| + void set borderBottom(String value) {
|
| + setProperty('border-bottom', value, '');
|
| }
|
|
|
| - /** Gets the value of "font-feature-settings" */
|
| - String get fontFeatureSettings =>
|
| - getPropertyValue('${_browserPrefix}font-feature-settings');
|
| + /** Gets the value of "border-bottom-color" */
|
| + String get borderBottomColor =>
|
| + getPropertyValue('border-bottom-color');
|
|
|
| - /** Sets the value of "font-feature-settings" */
|
| - void set fontFeatureSettings(String value) {
|
| - setProperty('${_browserPrefix}font-feature-settings', value, '');
|
| + /** Sets the value of "border-bottom-color" */
|
| + void set borderBottomColor(String value) {
|
| + setProperty('border-bottom-color', value, '');
|
| }
|
|
|
| - /** Gets the value of "font-kerning" */
|
| - String get fontKerning =>
|
| - getPropertyValue('${_browserPrefix}font-kerning');
|
| + /** Gets the value of "border-bottom-left-radius" */
|
| + String get borderBottomLeftRadius =>
|
| + getPropertyValue('border-bottom-left-radius');
|
|
|
| - /** Sets the value of "font-kerning" */
|
| - void set fontKerning(String value) {
|
| - setProperty('${_browserPrefix}font-kerning', value, '');
|
| + /** Sets the value of "border-bottom-left-radius" */
|
| + void set borderBottomLeftRadius(String value) {
|
| + setProperty('border-bottom-left-radius', value, '');
|
| }
|
|
|
| - /** Gets the value of "font-size" */
|
| - String get fontSize =>
|
| - getPropertyValue('font-size');
|
| + /** Gets the value of "border-bottom-right-radius" */
|
| + String get borderBottomRightRadius =>
|
| + getPropertyValue('border-bottom-right-radius');
|
|
|
| - /** Sets the value of "font-size" */
|
| - void set fontSize(String value) {
|
| - setProperty('font-size', value, '');
|
| + /** Sets the value of "border-bottom-right-radius" */
|
| + void set borderBottomRightRadius(String value) {
|
| + setProperty('border-bottom-right-radius', value, '');
|
| }
|
|
|
| - /** Gets the value of "font-size-delta" */
|
| - String get fontSizeDelta =>
|
| - getPropertyValue('${_browserPrefix}font-size-delta');
|
| + /** Gets the value of "border-bottom-style" */
|
| + String get borderBottomStyle =>
|
| + getPropertyValue('border-bottom-style');
|
|
|
| - /** Sets the value of "font-size-delta" */
|
| - void set fontSizeDelta(String value) {
|
| - setProperty('${_browserPrefix}font-size-delta', value, '');
|
| + /** Sets the value of "border-bottom-style" */
|
| + void set borderBottomStyle(String value) {
|
| + setProperty('border-bottom-style', value, '');
|
| }
|
|
|
| - /** Gets the value of "font-smoothing" */
|
| - String get fontSmoothing =>
|
| - getPropertyValue('${_browserPrefix}font-smoothing');
|
| + /** Gets the value of "border-bottom-width" */
|
| + String get borderBottomWidth =>
|
| + getPropertyValue('border-bottom-width');
|
|
|
| - /** Sets the value of "font-smoothing" */
|
| - void set fontSmoothing(String value) {
|
| - setProperty('${_browserPrefix}font-smoothing', value, '');
|
| + /** Sets the value of "border-bottom-width" */
|
| + void set borderBottomWidth(String value) {
|
| + setProperty('border-bottom-width', value, '');
|
| }
|
|
|
| - /** Gets the value of "font-stretch" */
|
| - String get fontStretch =>
|
| - getPropertyValue('font-stretch');
|
| + /** Gets the value of "border-collapse" */
|
| + String get borderCollapse =>
|
| + getPropertyValue('border-collapse');
|
|
|
| - /** Sets the value of "font-stretch" */
|
| - void set fontStretch(String value) {
|
| - setProperty('font-stretch', value, '');
|
| + /** Sets the value of "border-collapse" */
|
| + void set borderCollapse(String value) {
|
| + setProperty('border-collapse', value, '');
|
| }
|
|
|
| - /** Gets the value of "font-style" */
|
| - String get fontStyle =>
|
| - getPropertyValue('font-style');
|
| + /** Gets the value of "border-color" */
|
| + String get borderColor =>
|
| + getPropertyValue('border-color');
|
|
|
| - /** Sets the value of "font-style" */
|
| - void set fontStyle(String value) {
|
| - setProperty('font-style', value, '');
|
| + /** Sets the value of "border-color" */
|
| + void set borderColor(String value) {
|
| + setProperty('border-color', value, '');
|
| }
|
|
|
| - /** Gets the value of "font-variant" */
|
| - String get fontVariant =>
|
| - getPropertyValue('font-variant');
|
| + /** Gets the value of "border-end" */
|
| + String get borderEnd =>
|
| + getPropertyValue('${_browserPrefix}border-end');
|
|
|
| - /** Sets the value of "font-variant" */
|
| - void set fontVariant(String value) {
|
| - setProperty('font-variant', value, '');
|
| + /** Sets the value of "border-end" */
|
| + void set borderEnd(String value) {
|
| + setProperty('${_browserPrefix}border-end', value, '');
|
| }
|
|
|
| - /** Gets the value of "font-variant-ligatures" */
|
| - String get fontVariantLigatures =>
|
| - getPropertyValue('${_browserPrefix}font-variant-ligatures');
|
| + /** Gets the value of "border-end-color" */
|
| + String get borderEndColor =>
|
| + getPropertyValue('${_browserPrefix}border-end-color');
|
|
|
| - /** Sets the value of "font-variant-ligatures" */
|
| - void set fontVariantLigatures(String value) {
|
| - setProperty('${_browserPrefix}font-variant-ligatures', value, '');
|
| + /** Sets the value of "border-end-color" */
|
| + void set borderEndColor(String value) {
|
| + setProperty('${_browserPrefix}border-end-color', value, '');
|
| }
|
|
|
| - /** Gets the value of "font-weight" */
|
| - String get fontWeight =>
|
| - getPropertyValue('font-weight');
|
| + /** Gets the value of "border-end-style" */
|
| + String get borderEndStyle =>
|
| + getPropertyValue('${_browserPrefix}border-end-style');
|
|
|
| - /** Sets the value of "font-weight" */
|
| - void set fontWeight(String value) {
|
| - setProperty('font-weight', value, '');
|
| + /** Sets the value of "border-end-style" */
|
| + void set borderEndStyle(String value) {
|
| + setProperty('${_browserPrefix}border-end-style', value, '');
|
| }
|
|
|
| - /** Gets the value of "grid-column" */
|
| - String get gridColumn =>
|
| - getPropertyValue('${_browserPrefix}grid-column');
|
| + /** Gets the value of "border-end-width" */
|
| + String get borderEndWidth =>
|
| + getPropertyValue('${_browserPrefix}border-end-width');
|
|
|
| - /** Sets the value of "grid-column" */
|
| - void set gridColumn(String value) {
|
| - setProperty('${_browserPrefix}grid-column', value, '');
|
| + /** Sets the value of "border-end-width" */
|
| + void set borderEndWidth(String value) {
|
| + setProperty('${_browserPrefix}border-end-width', value, '');
|
| }
|
|
|
| - /** Gets the value of "grid-columns" */
|
| - String get gridColumns =>
|
| - getPropertyValue('${_browserPrefix}grid-columns');
|
| + /** Gets the value of "border-fit" */
|
| + String get borderFit =>
|
| + getPropertyValue('${_browserPrefix}border-fit');
|
|
|
| - /** Sets the value of "grid-columns" */
|
| - void set gridColumns(String value) {
|
| - setProperty('${_browserPrefix}grid-columns', value, '');
|
| - }
|
| + /** Sets the value of "border-fit" */
|
| + void set borderFit(String value) {
|
| + setProperty('${_browserPrefix}border-fit', value, '');
|
| + }
|
|
|
| - /** Gets the value of "grid-row" */
|
| - String get gridRow =>
|
| - getPropertyValue('${_browserPrefix}grid-row');
|
| + /** Gets the value of "border-horizontal-spacing" */
|
| + String get borderHorizontalSpacing =>
|
| + getPropertyValue('${_browserPrefix}border-horizontal-spacing');
|
|
|
| - /** Sets the value of "grid-row" */
|
| - void set gridRow(String value) {
|
| - setProperty('${_browserPrefix}grid-row', value, '');
|
| + /** Sets the value of "border-horizontal-spacing" */
|
| + void set borderHorizontalSpacing(String value) {
|
| + setProperty('${_browserPrefix}border-horizontal-spacing', value, '');
|
| }
|
|
|
| - /** Gets the value of "grid-rows" */
|
| - String get gridRows =>
|
| - getPropertyValue('${_browserPrefix}grid-rows');
|
| + /** Gets the value of "border-image" */
|
| + String get borderImage =>
|
| + getPropertyValue('border-image');
|
|
|
| - /** Sets the value of "grid-rows" */
|
| - void set gridRows(String value) {
|
| - setProperty('${_browserPrefix}grid-rows', value, '');
|
| + /** Sets the value of "border-image" */
|
| + void set borderImage(String value) {
|
| + setProperty('border-image', value, '');
|
| }
|
|
|
| - /** Gets the value of "height" */
|
| - String get height =>
|
| - getPropertyValue('height');
|
| + /** Gets the value of "border-image-outset" */
|
| + String get borderImageOutset =>
|
| + getPropertyValue('border-image-outset');
|
|
|
| - /** Sets the value of "height" */
|
| - void set height(String value) {
|
| - setProperty('height', value, '');
|
| + /** Sets the value of "border-image-outset" */
|
| + void set borderImageOutset(String value) {
|
| + setProperty('border-image-outset', value, '');
|
| }
|
|
|
| - /** Gets the value of "highlight" */
|
| - String get highlight =>
|
| - getPropertyValue('${_browserPrefix}highlight');
|
| + /** Gets the value of "border-image-repeat" */
|
| + String get borderImageRepeat =>
|
| + getPropertyValue('border-image-repeat');
|
|
|
| - /** Sets the value of "highlight" */
|
| - void set highlight(String value) {
|
| - setProperty('${_browserPrefix}highlight', value, '');
|
| + /** Sets the value of "border-image-repeat" */
|
| + void set borderImageRepeat(String value) {
|
| + setProperty('border-image-repeat', value, '');
|
| }
|
|
|
| - /** Gets the value of "hyphenate-character" */
|
| - String get hyphenateCharacter =>
|
| - getPropertyValue('${_browserPrefix}hyphenate-character');
|
| + /** Gets the value of "border-image-slice" */
|
| + String get borderImageSlice =>
|
| + getPropertyValue('border-image-slice');
|
|
|
| - /** Sets the value of "hyphenate-character" */
|
| - void set hyphenateCharacter(String value) {
|
| - setProperty('${_browserPrefix}hyphenate-character', value, '');
|
| + /** Sets the value of "border-image-slice" */
|
| + void set borderImageSlice(String value) {
|
| + setProperty('border-image-slice', value, '');
|
| }
|
|
|
| - /** Gets the value of "hyphenate-limit-after" */
|
| - String get hyphenateLimitAfter =>
|
| - getPropertyValue('${_browserPrefix}hyphenate-limit-after');
|
| + /** Gets the value of "border-image-source" */
|
| + String get borderImageSource =>
|
| + getPropertyValue('border-image-source');
|
|
|
| - /** Sets the value of "hyphenate-limit-after" */
|
| - void set hyphenateLimitAfter(String value) {
|
| - setProperty('${_browserPrefix}hyphenate-limit-after', value, '');
|
| + /** Sets the value of "border-image-source" */
|
| + void set borderImageSource(String value) {
|
| + setProperty('border-image-source', value, '');
|
| }
|
|
|
| - /** Gets the value of "hyphenate-limit-before" */
|
| - String get hyphenateLimitBefore =>
|
| - getPropertyValue('${_browserPrefix}hyphenate-limit-before');
|
| + /** Gets the value of "border-image-width" */
|
| + String get borderImageWidth =>
|
| + getPropertyValue('border-image-width');
|
|
|
| - /** Sets the value of "hyphenate-limit-before" */
|
| - void set hyphenateLimitBefore(String value) {
|
| - setProperty('${_browserPrefix}hyphenate-limit-before', value, '');
|
| + /** Sets the value of "border-image-width" */
|
| + void set borderImageWidth(String value) {
|
| + setProperty('border-image-width', value, '');
|
| }
|
|
|
| - /** Gets the value of "hyphenate-limit-lines" */
|
| - String get hyphenateLimitLines =>
|
| - getPropertyValue('${_browserPrefix}hyphenate-limit-lines');
|
| + /** Gets the value of "border-left" */
|
| + String get borderLeft =>
|
| + getPropertyValue('border-left');
|
|
|
| - /** Sets the value of "hyphenate-limit-lines" */
|
| - void set hyphenateLimitLines(String value) {
|
| - setProperty('${_browserPrefix}hyphenate-limit-lines', value, '');
|
| + /** Sets the value of "border-left" */
|
| + void set borderLeft(String value) {
|
| + setProperty('border-left', value, '');
|
| }
|
|
|
| - /** Gets the value of "hyphens" */
|
| - String get hyphens =>
|
| - getPropertyValue('${_browserPrefix}hyphens');
|
| + /** Gets the value of "border-left-color" */
|
| + String get borderLeftColor =>
|
| + getPropertyValue('border-left-color');
|
|
|
| - /** Sets the value of "hyphens" */
|
| - void set hyphens(String value) {
|
| - setProperty('${_browserPrefix}hyphens', value, '');
|
| + /** Sets the value of "border-left-color" */
|
| + void set borderLeftColor(String value) {
|
| + setProperty('border-left-color', value, '');
|
| }
|
|
|
| - /** Gets the value of "image-orientation" */
|
| - String get imageOrientation =>
|
| - getPropertyValue('image-orientation');
|
| + /** Gets the value of "border-left-style" */
|
| + String get borderLeftStyle =>
|
| + getPropertyValue('border-left-style');
|
|
|
| - /** Sets the value of "image-orientation" */
|
| - void set imageOrientation(String value) {
|
| - setProperty('image-orientation', value, '');
|
| + /** Sets the value of "border-left-style" */
|
| + void set borderLeftStyle(String value) {
|
| + setProperty('border-left-style', value, '');
|
| }
|
|
|
| - /** Gets the value of "image-rendering" */
|
| - String get imageRendering =>
|
| - getPropertyValue('image-rendering');
|
| + /** Gets the value of "border-left-width" */
|
| + String get borderLeftWidth =>
|
| + getPropertyValue('border-left-width');
|
|
|
| - /** Sets the value of "image-rendering" */
|
| - void set imageRendering(String value) {
|
| - setProperty('image-rendering', value, '');
|
| + /** Sets the value of "border-left-width" */
|
| + void set borderLeftWidth(String value) {
|
| + setProperty('border-left-width', value, '');
|
| }
|
|
|
| - /** Gets the value of "image-resolution" */
|
| - String get imageResolution =>
|
| - getPropertyValue('image-resolution');
|
| + /** Gets the value of "border-radius" */
|
| + String get borderRadius =>
|
| + getPropertyValue('border-radius');
|
|
|
| - /** Sets the value of "image-resolution" */
|
| - void set imageResolution(String value) {
|
| - setProperty('image-resolution', value, '');
|
| + /** Sets the value of "border-radius" */
|
| + void set borderRadius(String value) {
|
| + setProperty('border-radius', value, '');
|
| }
|
|
|
| - /** Gets the value of "justify-content" */
|
| - String get justifyContent =>
|
| - getPropertyValue('${_browserPrefix}justify-content');
|
| + /** Gets the value of "border-right" */
|
| + String get borderRight =>
|
| + getPropertyValue('border-right');
|
|
|
| - /** Sets the value of "justify-content" */
|
| - void set justifyContent(String value) {
|
| - setProperty('${_browserPrefix}justify-content', value, '');
|
| + /** Sets the value of "border-right" */
|
| + void set borderRight(String value) {
|
| + setProperty('border-right', value, '');
|
| }
|
|
|
| - /** Gets the value of "left" */
|
| - String get left =>
|
| - getPropertyValue('left');
|
| + /** Gets the value of "border-right-color" */
|
| + String get borderRightColor =>
|
| + getPropertyValue('border-right-color');
|
|
|
| - /** Sets the value of "left" */
|
| - void set left(String value) {
|
| - setProperty('left', value, '');
|
| + /** Sets the value of "border-right-color" */
|
| + void set borderRightColor(String value) {
|
| + setProperty('border-right-color', value, '');
|
| }
|
|
|
| - /** Gets the value of "letter-spacing" */
|
| - String get letterSpacing =>
|
| - getPropertyValue('letter-spacing');
|
| + /** Gets the value of "border-right-style" */
|
| + String get borderRightStyle =>
|
| + getPropertyValue('border-right-style');
|
|
|
| - /** Sets the value of "letter-spacing" */
|
| - void set letterSpacing(String value) {
|
| - setProperty('letter-spacing', value, '');
|
| + /** Sets the value of "border-right-style" */
|
| + void set borderRightStyle(String value) {
|
| + setProperty('border-right-style', value, '');
|
| }
|
|
|
| - /** Gets the value of "line-align" */
|
| - String get lineAlign =>
|
| - getPropertyValue('${_browserPrefix}line-align');
|
| + /** Gets the value of "border-right-width" */
|
| + String get borderRightWidth =>
|
| + getPropertyValue('border-right-width');
|
|
|
| - /** Sets the value of "line-align" */
|
| - void set lineAlign(String value) {
|
| - setProperty('${_browserPrefix}line-align', value, '');
|
| + /** Sets the value of "border-right-width" */
|
| + void set borderRightWidth(String value) {
|
| + setProperty('border-right-width', value, '');
|
| }
|
|
|
| - /** Gets the value of "line-box-contain" */
|
| - String get lineBoxContain =>
|
| - getPropertyValue('${_browserPrefix}line-box-contain');
|
| + /** Gets the value of "border-spacing" */
|
| + String get borderSpacing =>
|
| + getPropertyValue('border-spacing');
|
|
|
| - /** Sets the value of "line-box-contain" */
|
| - void set lineBoxContain(String value) {
|
| - setProperty('${_browserPrefix}line-box-contain', value, '');
|
| + /** Sets the value of "border-spacing" */
|
| + void set borderSpacing(String value) {
|
| + setProperty('border-spacing', value, '');
|
| }
|
|
|
| - /** Gets the value of "line-break" */
|
| - String get lineBreak =>
|
| - getPropertyValue('${_browserPrefix}line-break');
|
| + /** Gets the value of "border-start" */
|
| + String get borderStart =>
|
| + getPropertyValue('${_browserPrefix}border-start');
|
|
|
| - /** Sets the value of "line-break" */
|
| - void set lineBreak(String value) {
|
| - setProperty('${_browserPrefix}line-break', value, '');
|
| + /** Sets the value of "border-start" */
|
| + void set borderStart(String value) {
|
| + setProperty('${_browserPrefix}border-start', value, '');
|
| }
|
|
|
| - /** Gets the value of "line-clamp" */
|
| - String get lineClamp =>
|
| - getPropertyValue('${_browserPrefix}line-clamp');
|
| + /** Gets the value of "border-start-color" */
|
| + String get borderStartColor =>
|
| + getPropertyValue('${_browserPrefix}border-start-color');
|
|
|
| - /** Sets the value of "line-clamp" */
|
| - void set lineClamp(String value) {
|
| - setProperty('${_browserPrefix}line-clamp', value, '');
|
| + /** Sets the value of "border-start-color" */
|
| + void set borderStartColor(String value) {
|
| + setProperty('${_browserPrefix}border-start-color', value, '');
|
| }
|
|
|
| - /** Gets the value of "line-grid" */
|
| - String get lineGrid =>
|
| - getPropertyValue('${_browserPrefix}line-grid');
|
| + /** Gets the value of "border-start-style" */
|
| + String get borderStartStyle =>
|
| + getPropertyValue('${_browserPrefix}border-start-style');
|
|
|
| - /** Sets the value of "line-grid" */
|
| - void set lineGrid(String value) {
|
| - setProperty('${_browserPrefix}line-grid', value, '');
|
| + /** Sets the value of "border-start-style" */
|
| + void set borderStartStyle(String value) {
|
| + setProperty('${_browserPrefix}border-start-style', value, '');
|
| }
|
|
|
| - /** Gets the value of "line-height" */
|
| - String get lineHeight =>
|
| - getPropertyValue('line-height');
|
| + /** Gets the value of "border-start-width" */
|
| + String get borderStartWidth =>
|
| + getPropertyValue('${_browserPrefix}border-start-width');
|
|
|
| - /** Sets the value of "line-height" */
|
| - void set lineHeight(String value) {
|
| - setProperty('line-height', value, '');
|
| + /** Sets the value of "border-start-width" */
|
| + void set borderStartWidth(String value) {
|
| + setProperty('${_browserPrefix}border-start-width', value, '');
|
| }
|
|
|
| - /** Gets the value of "line-snap" */
|
| - String get lineSnap =>
|
| - getPropertyValue('${_browserPrefix}line-snap');
|
| + /** Gets the value of "border-style" */
|
| + String get borderStyle =>
|
| + getPropertyValue('border-style');
|
|
|
| - /** Sets the value of "line-snap" */
|
| - void set lineSnap(String value) {
|
| - setProperty('${_browserPrefix}line-snap', value, '');
|
| + /** Sets the value of "border-style" */
|
| + void set borderStyle(String value) {
|
| + setProperty('border-style', value, '');
|
| }
|
|
|
| - /** Gets the value of "list-style" */
|
| - String get listStyle =>
|
| - getPropertyValue('list-style');
|
| + /** Gets the value of "border-top" */
|
| + String get borderTop =>
|
| + getPropertyValue('border-top');
|
|
|
| - /** Sets the value of "list-style" */
|
| - void set listStyle(String value) {
|
| - setProperty('list-style', value, '');
|
| + /** Sets the value of "border-top" */
|
| + void set borderTop(String value) {
|
| + setProperty('border-top', value, '');
|
| }
|
|
|
| - /** Gets the value of "list-style-image" */
|
| - String get listStyleImage =>
|
| - getPropertyValue('list-style-image');
|
| + /** Gets the value of "border-top-color" */
|
| + String get borderTopColor =>
|
| + getPropertyValue('border-top-color');
|
|
|
| - /** Sets the value of "list-style-image" */
|
| - void set listStyleImage(String value) {
|
| - setProperty('list-style-image', value, '');
|
| + /** Sets the value of "border-top-color" */
|
| + void set borderTopColor(String value) {
|
| + setProperty('border-top-color', value, '');
|
| }
|
|
|
| - /** Gets the value of "list-style-position" */
|
| - String get listStylePosition =>
|
| - getPropertyValue('list-style-position');
|
| + /** Gets the value of "border-top-left-radius" */
|
| + String get borderTopLeftRadius =>
|
| + getPropertyValue('border-top-left-radius');
|
|
|
| - /** Sets the value of "list-style-position" */
|
| - void set listStylePosition(String value) {
|
| - setProperty('list-style-position', value, '');
|
| + /** Sets the value of "border-top-left-radius" */
|
| + void set borderTopLeftRadius(String value) {
|
| + setProperty('border-top-left-radius', value, '');
|
| }
|
|
|
| - /** Gets the value of "list-style-type" */
|
| - String get listStyleType =>
|
| - getPropertyValue('list-style-type');
|
| + /** Gets the value of "border-top-right-radius" */
|
| + String get borderTopRightRadius =>
|
| + getPropertyValue('border-top-right-radius');
|
|
|
| - /** Sets the value of "list-style-type" */
|
| - void set listStyleType(String value) {
|
| - setProperty('list-style-type', value, '');
|
| + /** Sets the value of "border-top-right-radius" */
|
| + void set borderTopRightRadius(String value) {
|
| + setProperty('border-top-right-radius', value, '');
|
| }
|
|
|
| - /** Gets the value of "locale" */
|
| - String get locale =>
|
| - getPropertyValue('${_browserPrefix}locale');
|
| + /** Gets the value of "border-top-style" */
|
| + String get borderTopStyle =>
|
| + getPropertyValue('border-top-style');
|
|
|
| - /** Sets the value of "locale" */
|
| - void set locale(String value) {
|
| - setProperty('${_browserPrefix}locale', value, '');
|
| + /** Sets the value of "border-top-style" */
|
| + void set borderTopStyle(String value) {
|
| + setProperty('border-top-style', value, '');
|
| }
|
|
|
| - /** Gets the value of "logical-height" */
|
| - String get logicalHeight =>
|
| - getPropertyValue('${_browserPrefix}logical-height');
|
| + /** Gets the value of "border-top-width" */
|
| + String get borderTopWidth =>
|
| + getPropertyValue('border-top-width');
|
|
|
| - /** Sets the value of "logical-height" */
|
| - void set logicalHeight(String value) {
|
| - setProperty('${_browserPrefix}logical-height', value, '');
|
| + /** Sets the value of "border-top-width" */
|
| + void set borderTopWidth(String value) {
|
| + setProperty('border-top-width', value, '');
|
| }
|
|
|
| - /** Gets the value of "logical-width" */
|
| - String get logicalWidth =>
|
| - getPropertyValue('${_browserPrefix}logical-width');
|
| + /** Gets the value of "border-vertical-spacing" */
|
| + String get borderVerticalSpacing =>
|
| + getPropertyValue('${_browserPrefix}border-vertical-spacing');
|
|
|
| - /** Sets the value of "logical-width" */
|
| - void set logicalWidth(String value) {
|
| - setProperty('${_browserPrefix}logical-width', value, '');
|
| + /** Sets the value of "border-vertical-spacing" */
|
| + void set borderVerticalSpacing(String value) {
|
| + setProperty('${_browserPrefix}border-vertical-spacing', value, '');
|
| }
|
|
|
| - /** Gets the value of "margin" */
|
| - String get margin =>
|
| - getPropertyValue('margin');
|
| + /** Gets the value of "border-width" */
|
| + String get borderWidth =>
|
| + getPropertyValue('border-width');
|
|
|
| - /** Sets the value of "margin" */
|
| - void set margin(String value) {
|
| - setProperty('margin', value, '');
|
| + /** Sets the value of "border-width" */
|
| + void set borderWidth(String value) {
|
| + setProperty('border-width', value, '');
|
| }
|
|
|
| - /** Gets the value of "margin-after" */
|
| - String get marginAfter =>
|
| - getPropertyValue('${_browserPrefix}margin-after');
|
| + /** Gets the value of "bottom" */
|
| + String get bottom =>
|
| + getPropertyValue('bottom');
|
|
|
| - /** Sets the value of "margin-after" */
|
| - void set marginAfter(String value) {
|
| - setProperty('${_browserPrefix}margin-after', value, '');
|
| + /** Sets the value of "bottom" */
|
| + void set bottom(String value) {
|
| + setProperty('bottom', value, '');
|
| }
|
|
|
| - /** Gets the value of "margin-after-collapse" */
|
| - String get marginAfterCollapse =>
|
| - getPropertyValue('${_browserPrefix}margin-after-collapse');
|
| + /** Gets the value of "box-align" */
|
| + String get boxAlign =>
|
| + getPropertyValue('${_browserPrefix}box-align');
|
|
|
| - /** Sets the value of "margin-after-collapse" */
|
| - void set marginAfterCollapse(String value) {
|
| - setProperty('${_browserPrefix}margin-after-collapse', value, '');
|
| + /** Sets the value of "box-align" */
|
| + void set boxAlign(String value) {
|
| + setProperty('${_browserPrefix}box-align', value, '');
|
| }
|
|
|
| - /** Gets the value of "margin-before" */
|
| - String get marginBefore =>
|
| - getPropertyValue('${_browserPrefix}margin-before');
|
| + /** Gets the value of "box-decoration-break" */
|
| + String get boxDecorationBreak =>
|
| + getPropertyValue('${_browserPrefix}box-decoration-break');
|
|
|
| - /** Sets the value of "margin-before" */
|
| - void set marginBefore(String value) {
|
| - setProperty('${_browserPrefix}margin-before', value, '');
|
| + /** Sets the value of "box-decoration-break" */
|
| + void set boxDecorationBreak(String value) {
|
| + setProperty('${_browserPrefix}box-decoration-break', value, '');
|
| }
|
|
|
| - /** Gets the value of "margin-before-collapse" */
|
| - String get marginBeforeCollapse =>
|
| - getPropertyValue('${_browserPrefix}margin-before-collapse');
|
| + /** Gets the value of "box-direction" */
|
| + String get boxDirection =>
|
| + getPropertyValue('${_browserPrefix}box-direction');
|
|
|
| - /** Sets the value of "margin-before-collapse" */
|
| - void set marginBeforeCollapse(String value) {
|
| - setProperty('${_browserPrefix}margin-before-collapse', value, '');
|
| + /** Sets the value of "box-direction" */
|
| + void set boxDirection(String value) {
|
| + setProperty('${_browserPrefix}box-direction', value, '');
|
| }
|
|
|
| - /** Gets the value of "margin-bottom" */
|
| - String get marginBottom =>
|
| - getPropertyValue('margin-bottom');
|
| + /** Gets the value of "box-flex" */
|
| + String get boxFlex =>
|
| + getPropertyValue('${_browserPrefix}box-flex');
|
|
|
| - /** Sets the value of "margin-bottom" */
|
| - void set marginBottom(String value) {
|
| - setProperty('margin-bottom', value, '');
|
| + /** Sets the value of "box-flex" */
|
| + void set boxFlex(String value) {
|
| + setProperty('${_browserPrefix}box-flex', value, '');
|
| }
|
|
|
| - /** Gets the value of "margin-bottom-collapse" */
|
| - String get marginBottomCollapse =>
|
| - getPropertyValue('${_browserPrefix}margin-bottom-collapse');
|
| + /** Gets the value of "box-flex-group" */
|
| + String get boxFlexGroup =>
|
| + getPropertyValue('${_browserPrefix}box-flex-group');
|
|
|
| - /** Sets the value of "margin-bottom-collapse" */
|
| - void set marginBottomCollapse(String value) {
|
| - setProperty('${_browserPrefix}margin-bottom-collapse', value, '');
|
| + /** Sets the value of "box-flex-group" */
|
| + void set boxFlexGroup(String value) {
|
| + setProperty('${_browserPrefix}box-flex-group', value, '');
|
| }
|
|
|
| - /** Gets the value of "margin-collapse" */
|
| - String get marginCollapse =>
|
| - getPropertyValue('${_browserPrefix}margin-collapse');
|
| + /** Gets the value of "box-lines" */
|
| + String get boxLines =>
|
| + getPropertyValue('${_browserPrefix}box-lines');
|
|
|
| - /** Sets the value of "margin-collapse" */
|
| - void set marginCollapse(String value) {
|
| - setProperty('${_browserPrefix}margin-collapse', value, '');
|
| + /** Sets the value of "box-lines" */
|
| + void set boxLines(String value) {
|
| + setProperty('${_browserPrefix}box-lines', value, '');
|
| }
|
|
|
| - /** Gets the value of "margin-end" */
|
| - String get marginEnd =>
|
| - getPropertyValue('${_browserPrefix}margin-end');
|
| + /** Gets the value of "box-ordinal-group" */
|
| + String get boxOrdinalGroup =>
|
| + getPropertyValue('${_browserPrefix}box-ordinal-group');
|
|
|
| - /** Sets the value of "margin-end" */
|
| - void set marginEnd(String value) {
|
| - setProperty('${_browserPrefix}margin-end', value, '');
|
| + /** Sets the value of "box-ordinal-group" */
|
| + void set boxOrdinalGroup(String value) {
|
| + setProperty('${_browserPrefix}box-ordinal-group', value, '');
|
| }
|
|
|
| - /** Gets the value of "margin-left" */
|
| - String get marginLeft =>
|
| - getPropertyValue('margin-left');
|
| + /** Gets the value of "box-orient" */
|
| + String get boxOrient =>
|
| + getPropertyValue('${_browserPrefix}box-orient');
|
|
|
| - /** Sets the value of "margin-left" */
|
| - void set marginLeft(String value) {
|
| - setProperty('margin-left', value, '');
|
| + /** Sets the value of "box-orient" */
|
| + void set boxOrient(String value) {
|
| + setProperty('${_browserPrefix}box-orient', value, '');
|
| }
|
|
|
| - /** Gets the value of "margin-right" */
|
| - String get marginRight =>
|
| - getPropertyValue('margin-right');
|
| + /** Gets the value of "box-pack" */
|
| + String get boxPack =>
|
| + getPropertyValue('${_browserPrefix}box-pack');
|
|
|
| - /** Sets the value of "margin-right" */
|
| - void set marginRight(String value) {
|
| - setProperty('margin-right', value, '');
|
| + /** Sets the value of "box-pack" */
|
| + void set boxPack(String value) {
|
| + setProperty('${_browserPrefix}box-pack', value, '');
|
| }
|
|
|
| - /** Gets the value of "margin-start" */
|
| - String get marginStart =>
|
| - getPropertyValue('${_browserPrefix}margin-start');
|
| + /** Gets the value of "box-reflect" */
|
| + String get boxReflect =>
|
| + getPropertyValue('${_browserPrefix}box-reflect');
|
|
|
| - /** Sets the value of "margin-start" */
|
| - void set marginStart(String value) {
|
| - setProperty('${_browserPrefix}margin-start', value, '');
|
| + /** Sets the value of "box-reflect" */
|
| + void set boxReflect(String value) {
|
| + setProperty('${_browserPrefix}box-reflect', value, '');
|
| }
|
|
|
| - /** Gets the value of "margin-top" */
|
| - String get marginTop =>
|
| - getPropertyValue('margin-top');
|
| + /** Gets the value of "box-shadow" */
|
| + String get boxShadow =>
|
| + getPropertyValue('box-shadow');
|
|
|
| - /** Sets the value of "margin-top" */
|
| - void set marginTop(String value) {
|
| - setProperty('margin-top', value, '');
|
| + /** Sets the value of "box-shadow" */
|
| + void set boxShadow(String value) {
|
| + setProperty('box-shadow', value, '');
|
| }
|
|
|
| - /** Gets the value of "margin-top-collapse" */
|
| - String get marginTopCollapse =>
|
| - getPropertyValue('${_browserPrefix}margin-top-collapse');
|
| -
|
| - /** Sets the value of "margin-top-collapse" */
|
| - void set marginTopCollapse(String value) {
|
| - setProperty('${_browserPrefix}margin-top-collapse', value, '');
|
| + /** Gets the value of "box-sizing" */
|
| + String get boxSizing =>
|
| + getPropertyValue('box-sizing');
|
| +
|
| + /** Sets the value of "box-sizing" */
|
| + void set boxSizing(String value) {
|
| + setProperty('box-sizing', value, '');
|
| }
|
|
|
| - /** Gets the value of "marquee" */
|
| - String get marquee =>
|
| - getPropertyValue('${_browserPrefix}marquee');
|
| + /** Gets the value of "caption-side" */
|
| + String get captionSide =>
|
| + getPropertyValue('caption-side');
|
|
|
| - /** Sets the value of "marquee" */
|
| - void set marquee(String value) {
|
| - setProperty('${_browserPrefix}marquee', value, '');
|
| + /** Sets the value of "caption-side" */
|
| + void set captionSide(String value) {
|
| + setProperty('caption-side', value, '');
|
| }
|
|
|
| - /** Gets the value of "marquee-direction" */
|
| - String get marqueeDirection =>
|
| - getPropertyValue('${_browserPrefix}marquee-direction');
|
| + /** Gets the value of "clear" */
|
| + String get clear =>
|
| + getPropertyValue('clear');
|
|
|
| - /** Sets the value of "marquee-direction" */
|
| - void set marqueeDirection(String value) {
|
| - setProperty('${_browserPrefix}marquee-direction', value, '');
|
| + /** Sets the value of "clear" */
|
| + void set clear(String value) {
|
| + setProperty('clear', value, '');
|
| }
|
|
|
| - /** Gets the value of "marquee-increment" */
|
| - String get marqueeIncrement =>
|
| - getPropertyValue('${_browserPrefix}marquee-increment');
|
| + /** Gets the value of "clip" */
|
| + String get clip =>
|
| + getPropertyValue('clip');
|
|
|
| - /** Sets the value of "marquee-increment" */
|
| - void set marqueeIncrement(String value) {
|
| - setProperty('${_browserPrefix}marquee-increment', value, '');
|
| + /** Sets the value of "clip" */
|
| + void set clip(String value) {
|
| + setProperty('clip', value, '');
|
| }
|
|
|
| - /** Gets the value of "marquee-repetition" */
|
| - String get marqueeRepetition =>
|
| - getPropertyValue('${_browserPrefix}marquee-repetition');
|
| + /** Gets the value of "clip-path" */
|
| + String get clipPath =>
|
| + getPropertyValue('${_browserPrefix}clip-path');
|
|
|
| - /** Sets the value of "marquee-repetition" */
|
| - void set marqueeRepetition(String value) {
|
| - setProperty('${_browserPrefix}marquee-repetition', value, '');
|
| + /** Sets the value of "clip-path" */
|
| + void set clipPath(String value) {
|
| + setProperty('${_browserPrefix}clip-path', value, '');
|
| }
|
|
|
| - /** Gets the value of "marquee-speed" */
|
| - String get marqueeSpeed =>
|
| - getPropertyValue('${_browserPrefix}marquee-speed');
|
| + /** Gets the value of "color" */
|
| + String get color =>
|
| + getPropertyValue('color');
|
|
|
| - /** Sets the value of "marquee-speed" */
|
| - void set marqueeSpeed(String value) {
|
| - setProperty('${_browserPrefix}marquee-speed', value, '');
|
| + /** Sets the value of "color" */
|
| + void set color(String value) {
|
| + setProperty('color', value, '');
|
| }
|
|
|
| - /** Gets the value of "marquee-style" */
|
| - String get marqueeStyle =>
|
| - getPropertyValue('${_browserPrefix}marquee-style');
|
| + /** Gets the value of "color-correction" */
|
| + String get colorCorrection =>
|
| + getPropertyValue('${_browserPrefix}color-correction');
|
|
|
| - /** Sets the value of "marquee-style" */
|
| - void set marqueeStyle(String value) {
|
| - setProperty('${_browserPrefix}marquee-style', value, '');
|
| + /** Sets the value of "color-correction" */
|
| + void set colorCorrection(String value) {
|
| + setProperty('${_browserPrefix}color-correction', value, '');
|
| }
|
|
|
| - /** Gets the value of "mask" */
|
| - String get mask =>
|
| - getPropertyValue('${_browserPrefix}mask');
|
| + /** Gets the value of "column-axis" */
|
| + String get columnAxis =>
|
| + getPropertyValue('${_browserPrefix}column-axis');
|
|
|
| - /** Sets the value of "mask" */
|
| - void set mask(String value) {
|
| - setProperty('${_browserPrefix}mask', value, '');
|
| + /** Sets the value of "column-axis" */
|
| + void set columnAxis(String value) {
|
| + setProperty('${_browserPrefix}column-axis', value, '');
|
| }
|
|
|
| - /** Gets the value of "mask-attachment" */
|
| - String get maskAttachment =>
|
| - getPropertyValue('${_browserPrefix}mask-attachment');
|
| + /** Gets the value of "column-break-after" */
|
| + String get columnBreakAfter =>
|
| + getPropertyValue('${_browserPrefix}column-break-after');
|
|
|
| - /** Sets the value of "mask-attachment" */
|
| - void set maskAttachment(String value) {
|
| - setProperty('${_browserPrefix}mask-attachment', value, '');
|
| + /** Sets the value of "column-break-after" */
|
| + void set columnBreakAfter(String value) {
|
| + setProperty('${_browserPrefix}column-break-after', value, '');
|
| }
|
|
|
| - /** Gets the value of "mask-box-image" */
|
| - String get maskBoxImage =>
|
| - getPropertyValue('${_browserPrefix}mask-box-image');
|
| + /** Gets the value of "column-break-before" */
|
| + String get columnBreakBefore =>
|
| + getPropertyValue('${_browserPrefix}column-break-before');
|
|
|
| - /** Sets the value of "mask-box-image" */
|
| - void set maskBoxImage(String value) {
|
| - setProperty('${_browserPrefix}mask-box-image', value, '');
|
| + /** Sets the value of "column-break-before" */
|
| + void set columnBreakBefore(String value) {
|
| + setProperty('${_browserPrefix}column-break-before', value, '');
|
| }
|
|
|
| - /** Gets the value of "mask-box-image-outset" */
|
| - String get maskBoxImageOutset =>
|
| - getPropertyValue('${_browserPrefix}mask-box-image-outset');
|
| + /** Gets the value of "column-break-inside" */
|
| + String get columnBreakInside =>
|
| + getPropertyValue('${_browserPrefix}column-break-inside');
|
|
|
| - /** Sets the value of "mask-box-image-outset" */
|
| - void set maskBoxImageOutset(String value) {
|
| - setProperty('${_browserPrefix}mask-box-image-outset', value, '');
|
| + /** Sets the value of "column-break-inside" */
|
| + void set columnBreakInside(String value) {
|
| + setProperty('${_browserPrefix}column-break-inside', value, '');
|
| }
|
|
|
| - /** Gets the value of "mask-box-image-repeat" */
|
| - String get maskBoxImageRepeat =>
|
| - getPropertyValue('${_browserPrefix}mask-box-image-repeat');
|
| + /** Gets the value of "column-count" */
|
| + String get columnCount =>
|
| + getPropertyValue('${_browserPrefix}column-count');
|
|
|
| - /** Sets the value of "mask-box-image-repeat" */
|
| - void set maskBoxImageRepeat(String value) {
|
| - setProperty('${_browserPrefix}mask-box-image-repeat', value, '');
|
| + /** Sets the value of "column-count" */
|
| + void set columnCount(String value) {
|
| + setProperty('${_browserPrefix}column-count', value, '');
|
| }
|
|
|
| - /** Gets the value of "mask-box-image-slice" */
|
| - String get maskBoxImageSlice =>
|
| - getPropertyValue('${_browserPrefix}mask-box-image-slice');
|
| + /** Gets the value of "column-gap" */
|
| + String get columnGap =>
|
| + getPropertyValue('${_browserPrefix}column-gap');
|
|
|
| - /** Sets the value of "mask-box-image-slice" */
|
| - void set maskBoxImageSlice(String value) {
|
| - setProperty('${_browserPrefix}mask-box-image-slice', value, '');
|
| + /** Sets the value of "column-gap" */
|
| + void set columnGap(String value) {
|
| + setProperty('${_browserPrefix}column-gap', value, '');
|
| }
|
|
|
| - /** Gets the value of "mask-box-image-source" */
|
| - String get maskBoxImageSource =>
|
| - getPropertyValue('${_browserPrefix}mask-box-image-source');
|
| + /** Gets the value of "column-progression" */
|
| + String get columnProgression =>
|
| + getPropertyValue('${_browserPrefix}column-progression');
|
|
|
| - /** Sets the value of "mask-box-image-source" */
|
| - void set maskBoxImageSource(String value) {
|
| - setProperty('${_browserPrefix}mask-box-image-source', value, '');
|
| + /** Sets the value of "column-progression" */
|
| + void set columnProgression(String value) {
|
| + setProperty('${_browserPrefix}column-progression', value, '');
|
| }
|
|
|
| - /** Gets the value of "mask-box-image-width" */
|
| - String get maskBoxImageWidth =>
|
| - getPropertyValue('${_browserPrefix}mask-box-image-width');
|
| + /** Gets the value of "column-rule" */
|
| + String get columnRule =>
|
| + getPropertyValue('${_browserPrefix}column-rule');
|
|
|
| - /** Sets the value of "mask-box-image-width" */
|
| - void set maskBoxImageWidth(String value) {
|
| - setProperty('${_browserPrefix}mask-box-image-width', value, '');
|
| + /** Sets the value of "column-rule" */
|
| + void set columnRule(String value) {
|
| + setProperty('${_browserPrefix}column-rule', value, '');
|
| }
|
|
|
| - /** Gets the value of "mask-clip" */
|
| - String get maskClip =>
|
| - getPropertyValue('${_browserPrefix}mask-clip');
|
| + /** Gets the value of "column-rule-color" */
|
| + String get columnRuleColor =>
|
| + getPropertyValue('${_browserPrefix}column-rule-color');
|
|
|
| - /** Sets the value of "mask-clip" */
|
| - void set maskClip(String value) {
|
| - setProperty('${_browserPrefix}mask-clip', value, '');
|
| + /** Sets the value of "column-rule-color" */
|
| + void set columnRuleColor(String value) {
|
| + setProperty('${_browserPrefix}column-rule-color', value, '');
|
| }
|
|
|
| - /** Gets the value of "mask-composite" */
|
| - String get maskComposite =>
|
| - getPropertyValue('${_browserPrefix}mask-composite');
|
| + /** Gets the value of "column-rule-style" */
|
| + String get columnRuleStyle =>
|
| + getPropertyValue('${_browserPrefix}column-rule-style');
|
|
|
| - /** Sets the value of "mask-composite" */
|
| - void set maskComposite(String value) {
|
| - setProperty('${_browserPrefix}mask-composite', value, '');
|
| + /** Sets the value of "column-rule-style" */
|
| + void set columnRuleStyle(String value) {
|
| + setProperty('${_browserPrefix}column-rule-style', value, '');
|
| }
|
|
|
| - /** Gets the value of "mask-image" */
|
| - String get maskImage =>
|
| - getPropertyValue('${_browserPrefix}mask-image');
|
| + /** Gets the value of "column-rule-width" */
|
| + String get columnRuleWidth =>
|
| + getPropertyValue('${_browserPrefix}column-rule-width');
|
|
|
| - /** Sets the value of "mask-image" */
|
| - void set maskImage(String value) {
|
| - setProperty('${_browserPrefix}mask-image', value, '');
|
| + /** Sets the value of "column-rule-width" */
|
| + void set columnRuleWidth(String value) {
|
| + setProperty('${_browserPrefix}column-rule-width', value, '');
|
| }
|
|
|
| - /** Gets the value of "mask-origin" */
|
| - String get maskOrigin =>
|
| - getPropertyValue('${_browserPrefix}mask-origin');
|
| + /** Gets the value of "column-span" */
|
| + String get columnSpan =>
|
| + getPropertyValue('${_browserPrefix}column-span');
|
|
|
| - /** Sets the value of "mask-origin" */
|
| - void set maskOrigin(String value) {
|
| - setProperty('${_browserPrefix}mask-origin', value, '');
|
| + /** Sets the value of "column-span" */
|
| + void set columnSpan(String value) {
|
| + setProperty('${_browserPrefix}column-span', value, '');
|
| }
|
|
|
| - /** Gets the value of "mask-position" */
|
| - String get maskPosition =>
|
| - getPropertyValue('${_browserPrefix}mask-position');
|
| + /** Gets the value of "column-width" */
|
| + String get columnWidth =>
|
| + getPropertyValue('${_browserPrefix}column-width');
|
|
|
| - /** Sets the value of "mask-position" */
|
| - void set maskPosition(String value) {
|
| - setProperty('${_browserPrefix}mask-position', value, '');
|
| + /** Sets the value of "column-width" */
|
| + void set columnWidth(String value) {
|
| + setProperty('${_browserPrefix}column-width', value, '');
|
| }
|
|
|
| - /** Gets the value of "mask-position-x" */
|
| - String get maskPositionX =>
|
| - getPropertyValue('${_browserPrefix}mask-position-x');
|
| + /** Gets the value of "columns" */
|
| + String get columns =>
|
| + getPropertyValue('${_browserPrefix}columns');
|
|
|
| - /** Sets the value of "mask-position-x" */
|
| - void set maskPositionX(String value) {
|
| - setProperty('${_browserPrefix}mask-position-x', value, '');
|
| + /** Sets the value of "columns" */
|
| + void set columns(String value) {
|
| + setProperty('${_browserPrefix}columns', value, '');
|
| }
|
|
|
| - /** Gets the value of "mask-position-y" */
|
| - String get maskPositionY =>
|
| - getPropertyValue('${_browserPrefix}mask-position-y');
|
| + /** Gets the value of "content" */
|
| + String get content =>
|
| + getPropertyValue('content');
|
|
|
| - /** Sets the value of "mask-position-y" */
|
| - void set maskPositionY(String value) {
|
| - setProperty('${_browserPrefix}mask-position-y', value, '');
|
| + /** Sets the value of "content" */
|
| + void set content(String value) {
|
| + setProperty('content', value, '');
|
| }
|
|
|
| - /** Gets the value of "mask-repeat" */
|
| - String get maskRepeat =>
|
| - getPropertyValue('${_browserPrefix}mask-repeat');
|
| + /** Gets the value of "counter-increment" */
|
| + String get counterIncrement =>
|
| + getPropertyValue('counter-increment');
|
|
|
| - /** Sets the value of "mask-repeat" */
|
| - void set maskRepeat(String value) {
|
| - setProperty('${_browserPrefix}mask-repeat', value, '');
|
| + /** Sets the value of "counter-increment" */
|
| + void set counterIncrement(String value) {
|
| + setProperty('counter-increment', value, '');
|
| }
|
|
|
| - /** Gets the value of "mask-repeat-x" */
|
| - String get maskRepeatX =>
|
| - getPropertyValue('${_browserPrefix}mask-repeat-x');
|
| + /** Gets the value of "counter-reset" */
|
| + String get counterReset =>
|
| + getPropertyValue('counter-reset');
|
|
|
| - /** Sets the value of "mask-repeat-x" */
|
| - void set maskRepeatX(String value) {
|
| - setProperty('${_browserPrefix}mask-repeat-x', value, '');
|
| + /** Sets the value of "counter-reset" */
|
| + void set counterReset(String value) {
|
| + setProperty('counter-reset', value, '');
|
| }
|
|
|
| - /** Gets the value of "mask-repeat-y" */
|
| - String get maskRepeatY =>
|
| - getPropertyValue('${_browserPrefix}mask-repeat-y');
|
| + /** Gets the value of "cursor" */
|
| + String get cursor =>
|
| + getPropertyValue('cursor');
|
|
|
| - /** Sets the value of "mask-repeat-y" */
|
| - void set maskRepeatY(String value) {
|
| - setProperty('${_browserPrefix}mask-repeat-y', value, '');
|
| + /** Sets the value of "cursor" */
|
| + void set cursor(String value) {
|
| + setProperty('cursor', value, '');
|
| }
|
|
|
| - /** Gets the value of "mask-size" */
|
| - String get maskSize =>
|
| - getPropertyValue('${_browserPrefix}mask-size');
|
| + /** Gets the value of "dashboard-region" */
|
| + String get dashboardRegion =>
|
| + getPropertyValue('${_browserPrefix}dashboard-region');
|
|
|
| - /** Sets the value of "mask-size" */
|
| - void set maskSize(String value) {
|
| - setProperty('${_browserPrefix}mask-size', value, '');
|
| + /** Sets the value of "dashboard-region" */
|
| + void set dashboardRegion(String value) {
|
| + setProperty('${_browserPrefix}dashboard-region', value, '');
|
| }
|
|
|
| - /** Gets the value of "max-height" */
|
| - String get maxHeight =>
|
| - getPropertyValue('max-height');
|
| + /** Gets the value of "direction" */
|
| + String get direction =>
|
| + getPropertyValue('direction');
|
|
|
| - /** Sets the value of "max-height" */
|
| - void set maxHeight(String value) {
|
| - setProperty('max-height', value, '');
|
| + /** Sets the value of "direction" */
|
| + void set direction(String value) {
|
| + setProperty('direction', value, '');
|
| }
|
|
|
| - /** Gets the value of "max-logical-height" */
|
| - String get maxLogicalHeight =>
|
| - getPropertyValue('${_browserPrefix}max-logical-height');
|
| + /** Gets the value of "display" */
|
| + String get display =>
|
| + getPropertyValue('display');
|
|
|
| - /** Sets the value of "max-logical-height" */
|
| - void set maxLogicalHeight(String value) {
|
| - setProperty('${_browserPrefix}max-logical-height', value, '');
|
| + /** Sets the value of "display" */
|
| + void set display(String value) {
|
| + setProperty('display', value, '');
|
| }
|
|
|
| - /** Gets the value of "max-logical-width" */
|
| - String get maxLogicalWidth =>
|
| - getPropertyValue('${_browserPrefix}max-logical-width');
|
| + /** Gets the value of "empty-cells" */
|
| + String get emptyCells =>
|
| + getPropertyValue('empty-cells');
|
|
|
| - /** Sets the value of "max-logical-width" */
|
| - void set maxLogicalWidth(String value) {
|
| - setProperty('${_browserPrefix}max-logical-width', value, '');
|
| + /** Sets the value of "empty-cells" */
|
| + void set emptyCells(String value) {
|
| + setProperty('empty-cells', value, '');
|
| }
|
|
|
| - /** Gets the value of "max-width" */
|
| - String get maxWidth =>
|
| - getPropertyValue('max-width');
|
| + /** Gets the value of "filter" */
|
| + String get filter =>
|
| + getPropertyValue('${_browserPrefix}filter');
|
|
|
| - /** Sets the value of "max-width" */
|
| - void set maxWidth(String value) {
|
| - setProperty('max-width', value, '');
|
| + /** Sets the value of "filter" */
|
| + void set filter(String value) {
|
| + setProperty('${_browserPrefix}filter', value, '');
|
| }
|
|
|
| - /** Gets the value of "max-zoom" */
|
| - String get maxZoom =>
|
| - getPropertyValue('max-zoom');
|
| + /** Gets the value of "flex" */
|
| + String get flex =>
|
| + getPropertyValue('${_browserPrefix}flex');
|
|
|
| - /** Sets the value of "max-zoom" */
|
| - void set maxZoom(String value) {
|
| - setProperty('max-zoom', value, '');
|
| + /** Sets the value of "flex" */
|
| + void set flex(String value) {
|
| + setProperty('${_browserPrefix}flex', value, '');
|
| }
|
|
|
| - /** Gets the value of "min-height" */
|
| - String get minHeight =>
|
| - getPropertyValue('min-height');
|
| + /** Gets the value of "flex-basis" */
|
| + String get flexBasis =>
|
| + getPropertyValue('${_browserPrefix}flex-basis');
|
|
|
| - /** Sets the value of "min-height" */
|
| - void set minHeight(String value) {
|
| - setProperty('min-height', value, '');
|
| + /** Sets the value of "flex-basis" */
|
| + void set flexBasis(String value) {
|
| + setProperty('${_browserPrefix}flex-basis', value, '');
|
| }
|
|
|
| - /** Gets the value of "min-logical-height" */
|
| - String get minLogicalHeight =>
|
| - getPropertyValue('${_browserPrefix}min-logical-height');
|
| + /** Gets the value of "flex-direction" */
|
| + String get flexDirection =>
|
| + getPropertyValue('${_browserPrefix}flex-direction');
|
|
|
| - /** Sets the value of "min-logical-height" */
|
| - void set minLogicalHeight(String value) {
|
| - setProperty('${_browserPrefix}min-logical-height', value, '');
|
| + /** Sets the value of "flex-direction" */
|
| + void set flexDirection(String value) {
|
| + setProperty('${_browserPrefix}flex-direction', value, '');
|
| }
|
|
|
| - /** Gets the value of "min-logical-width" */
|
| - String get minLogicalWidth =>
|
| - getPropertyValue('${_browserPrefix}min-logical-width');
|
| + /** Gets the value of "flex-flow" */
|
| + String get flexFlow =>
|
| + getPropertyValue('${_browserPrefix}flex-flow');
|
|
|
| - /** Sets the value of "min-logical-width" */
|
| - void set minLogicalWidth(String value) {
|
| - setProperty('${_browserPrefix}min-logical-width', value, '');
|
| + /** Sets the value of "flex-flow" */
|
| + void set flexFlow(String value) {
|
| + setProperty('${_browserPrefix}flex-flow', value, '');
|
| }
|
|
|
| - /** Gets the value of "min-width" */
|
| - String get minWidth =>
|
| - getPropertyValue('min-width');
|
| + /** Gets the value of "flex-grow" */
|
| + String get flexGrow =>
|
| + getPropertyValue('${_browserPrefix}flex-grow');
|
|
|
| - /** Sets the value of "min-width" */
|
| - void set minWidth(String value) {
|
| - setProperty('min-width', value, '');
|
| + /** Sets the value of "flex-grow" */
|
| + void set flexGrow(String value) {
|
| + setProperty('${_browserPrefix}flex-grow', value, '');
|
| }
|
|
|
| - /** Gets the value of "min-zoom" */
|
| - String get minZoom =>
|
| - getPropertyValue('min-zoom');
|
| + /** Gets the value of "flex-shrink" */
|
| + String get flexShrink =>
|
| + getPropertyValue('${_browserPrefix}flex-shrink');
|
|
|
| - /** Sets the value of "min-zoom" */
|
| - void set minZoom(String value) {
|
| - setProperty('min-zoom', value, '');
|
| + /** Sets the value of "flex-shrink" */
|
| + void set flexShrink(String value) {
|
| + setProperty('${_browserPrefix}flex-shrink', value, '');
|
| }
|
|
|
| - /** Gets the value of "nbsp-mode" */
|
| - String get nbspMode =>
|
| - getPropertyValue('${_browserPrefix}nbsp-mode');
|
| + /** Gets the value of "flex-wrap" */
|
| + String get flexWrap =>
|
| + getPropertyValue('${_browserPrefix}flex-wrap');
|
|
|
| - /** Sets the value of "nbsp-mode" */
|
| - void set nbspMode(String value) {
|
| - setProperty('${_browserPrefix}nbsp-mode', value, '');
|
| + /** Sets the value of "flex-wrap" */
|
| + void set flexWrap(String value) {
|
| + setProperty('${_browserPrefix}flex-wrap', value, '');
|
| }
|
|
|
| - /** Gets the value of "opacity" */
|
| - String get opacity =>
|
| - getPropertyValue('opacity');
|
| + /** Gets the value of "float" */
|
| + String get float =>
|
| + getPropertyValue('float');
|
|
|
| - /** Sets the value of "opacity" */
|
| - void set opacity(String value) {
|
| - setProperty('opacity', value, '');
|
| + /** Sets the value of "float" */
|
| + void set float(String value) {
|
| + setProperty('float', value, '');
|
| }
|
|
|
| - /** Gets the value of "order" */
|
| - String get order =>
|
| - getPropertyValue('${_browserPrefix}order');
|
| + /** Gets the value of "flow-from" */
|
| + String get flowFrom =>
|
| + getPropertyValue('${_browserPrefix}flow-from');
|
|
|
| - /** Sets the value of "order" */
|
| - void set order(String value) {
|
| - setProperty('${_browserPrefix}order', value, '');
|
| + /** Sets the value of "flow-from" */
|
| + void set flowFrom(String value) {
|
| + setProperty('${_browserPrefix}flow-from', value, '');
|
| }
|
|
|
| - /** Gets the value of "orientation" */
|
| - String get orientation =>
|
| - getPropertyValue('orientation');
|
| + /** Gets the value of "flow-into" */
|
| + String get flowInto =>
|
| + getPropertyValue('${_browserPrefix}flow-into');
|
|
|
| - /** Sets the value of "orientation" */
|
| - void set orientation(String value) {
|
| - setProperty('orientation', value, '');
|
| + /** Sets the value of "flow-into" */
|
| + void set flowInto(String value) {
|
| + setProperty('${_browserPrefix}flow-into', value, '');
|
| }
|
|
|
| - /** Gets the value of "orphans" */
|
| - String get orphans =>
|
| - getPropertyValue('orphans');
|
| + /** Gets the value of "font" */
|
| + String get font =>
|
| + getPropertyValue('font');
|
|
|
| - /** Sets the value of "orphans" */
|
| - void set orphans(String value) {
|
| - setProperty('orphans', value, '');
|
| + /** Sets the value of "font" */
|
| + void set font(String value) {
|
| + setProperty('font', value, '');
|
| }
|
|
|
| - /** Gets the value of "outline" */
|
| - String get outline =>
|
| - getPropertyValue('outline');
|
| + /** Gets the value of "font-family" */
|
| + String get fontFamily =>
|
| + getPropertyValue('font-family');
|
|
|
| - /** Sets the value of "outline" */
|
| - void set outline(String value) {
|
| - setProperty('outline', value, '');
|
| + /** Sets the value of "font-family" */
|
| + void set fontFamily(String value) {
|
| + setProperty('font-family', value, '');
|
| }
|
|
|
| - /** Gets the value of "outline-color" */
|
| - String get outlineColor =>
|
| - getPropertyValue('outline-color');
|
| + /** Gets the value of "font-feature-settings" */
|
| + String get fontFeatureSettings =>
|
| + getPropertyValue('${_browserPrefix}font-feature-settings');
|
|
|
| - /** Sets the value of "outline-color" */
|
| - void set outlineColor(String value) {
|
| - setProperty('outline-color', value, '');
|
| - }
|
| + /** Sets the value of "font-feature-settings" */
|
| + void set fontFeatureSettings(String value) {
|
| + setProperty('${_browserPrefix}font-feature-settings', value, '');
|
| + }
|
|
|
| - /** Gets the value of "outline-offset" */
|
| - String get outlineOffset =>
|
| - getPropertyValue('outline-offset');
|
| + /** Gets the value of "font-kerning" */
|
| + String get fontKerning =>
|
| + getPropertyValue('${_browserPrefix}font-kerning');
|
|
|
| - /** Sets the value of "outline-offset" */
|
| - void set outlineOffset(String value) {
|
| - setProperty('outline-offset', value, '');
|
| + /** Sets the value of "font-kerning" */
|
| + void set fontKerning(String value) {
|
| + setProperty('${_browserPrefix}font-kerning', value, '');
|
| }
|
|
|
| - /** Gets the value of "outline-style" */
|
| - String get outlineStyle =>
|
| - getPropertyValue('outline-style');
|
| + /** Gets the value of "font-size" */
|
| + String get fontSize =>
|
| + getPropertyValue('font-size');
|
|
|
| - /** Sets the value of "outline-style" */
|
| - void set outlineStyle(String value) {
|
| - setProperty('outline-style', value, '');
|
| + /** Sets the value of "font-size" */
|
| + void set fontSize(String value) {
|
| + setProperty('font-size', value, '');
|
| }
|
|
|
| - /** Gets the value of "outline-width" */
|
| - String get outlineWidth =>
|
| - getPropertyValue('outline-width');
|
| + /** Gets the value of "font-size-delta" */
|
| + String get fontSizeDelta =>
|
| + getPropertyValue('${_browserPrefix}font-size-delta');
|
|
|
| - /** Sets the value of "outline-width" */
|
| - void set outlineWidth(String value) {
|
| - setProperty('outline-width', value, '');
|
| + /** Sets the value of "font-size-delta" */
|
| + void set fontSizeDelta(String value) {
|
| + setProperty('${_browserPrefix}font-size-delta', value, '');
|
| }
|
|
|
| - /** Gets the value of "overflow" */
|
| - String get overflow =>
|
| - getPropertyValue('overflow');
|
| + /** Gets the value of "font-smoothing" */
|
| + String get fontSmoothing =>
|
| + getPropertyValue('${_browserPrefix}font-smoothing');
|
|
|
| - /** Sets the value of "overflow" */
|
| - void set overflow(String value) {
|
| - setProperty('overflow', value, '');
|
| + /** Sets the value of "font-smoothing" */
|
| + void set fontSmoothing(String value) {
|
| + setProperty('${_browserPrefix}font-smoothing', value, '');
|
| }
|
|
|
| - /** Gets the value of "overflow-scrolling" */
|
| - String get overflowScrolling =>
|
| - getPropertyValue('${_browserPrefix}overflow-scrolling');
|
| + /** Gets the value of "font-stretch" */
|
| + String get fontStretch =>
|
| + getPropertyValue('font-stretch');
|
|
|
| - /** Sets the value of "overflow-scrolling" */
|
| - void set overflowScrolling(String value) {
|
| - setProperty('${_browserPrefix}overflow-scrolling', value, '');
|
| + /** Sets the value of "font-stretch" */
|
| + void set fontStretch(String value) {
|
| + setProperty('font-stretch', value, '');
|
| }
|
|
|
| - /** Gets the value of "overflow-wrap" */
|
| - String get overflowWrap =>
|
| - getPropertyValue('overflow-wrap');
|
| + /** Gets the value of "font-style" */
|
| + String get fontStyle =>
|
| + getPropertyValue('font-style');
|
|
|
| - /** Sets the value of "overflow-wrap" */
|
| - void set overflowWrap(String value) {
|
| - setProperty('overflow-wrap', value, '');
|
| + /** Sets the value of "font-style" */
|
| + void set fontStyle(String value) {
|
| + setProperty('font-style', value, '');
|
| }
|
|
|
| - /** Gets the value of "overflow-x" */
|
| - String get overflowX =>
|
| - getPropertyValue('overflow-x');
|
| + /** Gets the value of "font-variant" */
|
| + String get fontVariant =>
|
| + getPropertyValue('font-variant');
|
|
|
| - /** Sets the value of "overflow-x" */
|
| - void set overflowX(String value) {
|
| - setProperty('overflow-x', value, '');
|
| + /** Sets the value of "font-variant" */
|
| + void set fontVariant(String value) {
|
| + setProperty('font-variant', value, '');
|
| }
|
|
|
| - /** Gets the value of "overflow-y" */
|
| - String get overflowY =>
|
| - getPropertyValue('overflow-y');
|
| + /** Gets the value of "font-variant-ligatures" */
|
| + String get fontVariantLigatures =>
|
| + getPropertyValue('${_browserPrefix}font-variant-ligatures');
|
|
|
| - /** Sets the value of "overflow-y" */
|
| - void set overflowY(String value) {
|
| - setProperty('overflow-y', value, '');
|
| + /** Sets the value of "font-variant-ligatures" */
|
| + void set fontVariantLigatures(String value) {
|
| + setProperty('${_browserPrefix}font-variant-ligatures', value, '');
|
| }
|
|
|
| - /** Gets the value of "padding" */
|
| - String get padding =>
|
| - getPropertyValue('padding');
|
| + /** Gets the value of "font-weight" */
|
| + String get fontWeight =>
|
| + getPropertyValue('font-weight');
|
|
|
| - /** Sets the value of "padding" */
|
| - void set padding(String value) {
|
| - setProperty('padding', value, '');
|
| + /** Sets the value of "font-weight" */
|
| + void set fontWeight(String value) {
|
| + setProperty('font-weight', value, '');
|
| }
|
|
|
| - /** Gets the value of "padding-after" */
|
| - String get paddingAfter =>
|
| - getPropertyValue('${_browserPrefix}padding-after');
|
| + /** Gets the value of "grid-column" */
|
| + String get gridColumn =>
|
| + getPropertyValue('${_browserPrefix}grid-column');
|
|
|
| - /** Sets the value of "padding-after" */
|
| - void set paddingAfter(String value) {
|
| - setProperty('${_browserPrefix}padding-after', value, '');
|
| + /** Sets the value of "grid-column" */
|
| + void set gridColumn(String value) {
|
| + setProperty('${_browserPrefix}grid-column', value, '');
|
| }
|
|
|
| - /** Gets the value of "padding-before" */
|
| - String get paddingBefore =>
|
| - getPropertyValue('${_browserPrefix}padding-before');
|
| + /** Gets the value of "grid-columns" */
|
| + String get gridColumns =>
|
| + getPropertyValue('${_browserPrefix}grid-columns');
|
|
|
| - /** Sets the value of "padding-before" */
|
| - void set paddingBefore(String value) {
|
| - setProperty('${_browserPrefix}padding-before', value, '');
|
| + /** Sets the value of "grid-columns" */
|
| + void set gridColumns(String value) {
|
| + setProperty('${_browserPrefix}grid-columns', value, '');
|
| }
|
|
|
| - /** Gets the value of "padding-bottom" */
|
| - String get paddingBottom =>
|
| - getPropertyValue('padding-bottom');
|
| + /** Gets the value of "grid-row" */
|
| + String get gridRow =>
|
| + getPropertyValue('${_browserPrefix}grid-row');
|
|
|
| - /** Sets the value of "padding-bottom" */
|
| - void set paddingBottom(String value) {
|
| - setProperty('padding-bottom', value, '');
|
| + /** Sets the value of "grid-row" */
|
| + void set gridRow(String value) {
|
| + setProperty('${_browserPrefix}grid-row', value, '');
|
| }
|
|
|
| - /** Gets the value of "padding-end" */
|
| - String get paddingEnd =>
|
| - getPropertyValue('${_browserPrefix}padding-end');
|
| + /** Gets the value of "grid-rows" */
|
| + String get gridRows =>
|
| + getPropertyValue('${_browserPrefix}grid-rows');
|
|
|
| - /** Sets the value of "padding-end" */
|
| - void set paddingEnd(String value) {
|
| - setProperty('${_browserPrefix}padding-end', value, '');
|
| + /** Sets the value of "grid-rows" */
|
| + void set gridRows(String value) {
|
| + setProperty('${_browserPrefix}grid-rows', value, '');
|
| }
|
|
|
| - /** Gets the value of "padding-left" */
|
| - String get paddingLeft =>
|
| - getPropertyValue('padding-left');
|
| + /** Gets the value of "height" */
|
| + String get height =>
|
| + getPropertyValue('height');
|
|
|
| - /** Sets the value of "padding-left" */
|
| - void set paddingLeft(String value) {
|
| - setProperty('padding-left', value, '');
|
| + /** Sets the value of "height" */
|
| + void set height(String value) {
|
| + setProperty('height', value, '');
|
| }
|
|
|
| - /** Gets the value of "padding-right" */
|
| - String get paddingRight =>
|
| - getPropertyValue('padding-right');
|
| + /** Gets the value of "highlight" */
|
| + String get highlight =>
|
| + getPropertyValue('${_browserPrefix}highlight');
|
|
|
| - /** Sets the value of "padding-right" */
|
| - void set paddingRight(String value) {
|
| - setProperty('padding-right', value, '');
|
| + /** Sets the value of "highlight" */
|
| + void set highlight(String value) {
|
| + setProperty('${_browserPrefix}highlight', value, '');
|
| }
|
|
|
| - /** Gets the value of "padding-start" */
|
| - String get paddingStart =>
|
| - getPropertyValue('${_browserPrefix}padding-start');
|
| + /** Gets the value of "hyphenate-character" */
|
| + String get hyphenateCharacter =>
|
| + getPropertyValue('${_browserPrefix}hyphenate-character');
|
|
|
| - /** Sets the value of "padding-start" */
|
| - void set paddingStart(String value) {
|
| - setProperty('${_browserPrefix}padding-start', value, '');
|
| + /** Sets the value of "hyphenate-character" */
|
| + void set hyphenateCharacter(String value) {
|
| + setProperty('${_browserPrefix}hyphenate-character', value, '');
|
| }
|
|
|
| - /** Gets the value of "padding-top" */
|
| - String get paddingTop =>
|
| - getPropertyValue('padding-top');
|
| + /** Gets the value of "hyphenate-limit-after" */
|
| + String get hyphenateLimitAfter =>
|
| + getPropertyValue('${_browserPrefix}hyphenate-limit-after');
|
|
|
| - /** Sets the value of "padding-top" */
|
| - void set paddingTop(String value) {
|
| - setProperty('padding-top', value, '');
|
| + /** Sets the value of "hyphenate-limit-after" */
|
| + void set hyphenateLimitAfter(String value) {
|
| + setProperty('${_browserPrefix}hyphenate-limit-after', value, '');
|
| }
|
|
|
| - /** Gets the value of "page" */
|
| - String get page =>
|
| - getPropertyValue('page');
|
| + /** Gets the value of "hyphenate-limit-before" */
|
| + String get hyphenateLimitBefore =>
|
| + getPropertyValue('${_browserPrefix}hyphenate-limit-before');
|
|
|
| - /** Sets the value of "page" */
|
| - void set page(String value) {
|
| - setProperty('page', value, '');
|
| + /** Sets the value of "hyphenate-limit-before" */
|
| + void set hyphenateLimitBefore(String value) {
|
| + setProperty('${_browserPrefix}hyphenate-limit-before', value, '');
|
| }
|
|
|
| - /** Gets the value of "page-break-after" */
|
| - String get pageBreakAfter =>
|
| - getPropertyValue('page-break-after');
|
| + /** Gets the value of "hyphenate-limit-lines" */
|
| + String get hyphenateLimitLines =>
|
| + getPropertyValue('${_browserPrefix}hyphenate-limit-lines');
|
|
|
| - /** Sets the value of "page-break-after" */
|
| - void set pageBreakAfter(String value) {
|
| - setProperty('page-break-after', value, '');
|
| + /** Sets the value of "hyphenate-limit-lines" */
|
| + void set hyphenateLimitLines(String value) {
|
| + setProperty('${_browserPrefix}hyphenate-limit-lines', value, '');
|
| }
|
|
|
| - /** Gets the value of "page-break-before" */
|
| - String get pageBreakBefore =>
|
| - getPropertyValue('page-break-before');
|
| + /** Gets the value of "hyphens" */
|
| + String get hyphens =>
|
| + getPropertyValue('${_browserPrefix}hyphens');
|
|
|
| - /** Sets the value of "page-break-before" */
|
| - void set pageBreakBefore(String value) {
|
| - setProperty('page-break-before', value, '');
|
| + /** Sets the value of "hyphens" */
|
| + void set hyphens(String value) {
|
| + setProperty('${_browserPrefix}hyphens', value, '');
|
| }
|
|
|
| - /** Gets the value of "page-break-inside" */
|
| - String get pageBreakInside =>
|
| - getPropertyValue('page-break-inside');
|
| + /** Gets the value of "image-orientation" */
|
| + String get imageOrientation =>
|
| + getPropertyValue('image-orientation');
|
|
|
| - /** Sets the value of "page-break-inside" */
|
| - void set pageBreakInside(String value) {
|
| - setProperty('page-break-inside', value, '');
|
| + /** Sets the value of "image-orientation" */
|
| + void set imageOrientation(String value) {
|
| + setProperty('image-orientation', value, '');
|
| }
|
|
|
| - /** Gets the value of "perspective" */
|
| - String get perspective =>
|
| - getPropertyValue('${_browserPrefix}perspective');
|
| + /** Gets the value of "image-rendering" */
|
| + String get imageRendering =>
|
| + getPropertyValue('image-rendering');
|
|
|
| - /** Sets the value of "perspective" */
|
| - void set perspective(String value) {
|
| - setProperty('${_browserPrefix}perspective', value, '');
|
| + /** Sets the value of "image-rendering" */
|
| + void set imageRendering(String value) {
|
| + setProperty('image-rendering', value, '');
|
| }
|
|
|
| - /** Gets the value of "perspective-origin" */
|
| - String get perspectiveOrigin =>
|
| - getPropertyValue('${_browserPrefix}perspective-origin');
|
| + /** Gets the value of "image-resolution" */
|
| + String get imageResolution =>
|
| + getPropertyValue('image-resolution');
|
|
|
| - /** Sets the value of "perspective-origin" */
|
| - void set perspectiveOrigin(String value) {
|
| - setProperty('${_browserPrefix}perspective-origin', value, '');
|
| + /** Sets the value of "image-resolution" */
|
| + void set imageResolution(String value) {
|
| + setProperty('image-resolution', value, '');
|
| }
|
|
|
| - /** Gets the value of "perspective-origin-x" */
|
| - String get perspectiveOriginX =>
|
| - getPropertyValue('${_browserPrefix}perspective-origin-x');
|
| + /** Gets the value of "justify-content" */
|
| + String get justifyContent =>
|
| + getPropertyValue('${_browserPrefix}justify-content');
|
|
|
| - /** Sets the value of "perspective-origin-x" */
|
| - void set perspectiveOriginX(String value) {
|
| - setProperty('${_browserPrefix}perspective-origin-x', value, '');
|
| + /** Sets the value of "justify-content" */
|
| + void set justifyContent(String value) {
|
| + setProperty('${_browserPrefix}justify-content', value, '');
|
| }
|
|
|
| - /** Gets the value of "perspective-origin-y" */
|
| - String get perspectiveOriginY =>
|
| - getPropertyValue('${_browserPrefix}perspective-origin-y');
|
| + /** Gets the value of "left" */
|
| + String get left =>
|
| + getPropertyValue('left');
|
|
|
| - /** Sets the value of "perspective-origin-y" */
|
| - void set perspectiveOriginY(String value) {
|
| - setProperty('${_browserPrefix}perspective-origin-y', value, '');
|
| + /** Sets the value of "left" */
|
| + void set left(String value) {
|
| + setProperty('left', value, '');
|
| }
|
|
|
| - /** Gets the value of "pointer-events" */
|
| - String get pointerEvents =>
|
| - getPropertyValue('pointer-events');
|
| + /** Gets the value of "letter-spacing" */
|
| + String get letterSpacing =>
|
| + getPropertyValue('letter-spacing');
|
|
|
| - /** Sets the value of "pointer-events" */
|
| - void set pointerEvents(String value) {
|
| - setProperty('pointer-events', value, '');
|
| + /** Sets the value of "letter-spacing" */
|
| + void set letterSpacing(String value) {
|
| + setProperty('letter-spacing', value, '');
|
| }
|
|
|
| - /** Gets the value of "position" */
|
| - String get position =>
|
| - getPropertyValue('position');
|
| + /** Gets the value of "line-align" */
|
| + String get lineAlign =>
|
| + getPropertyValue('${_browserPrefix}line-align');
|
|
|
| - /** Sets the value of "position" */
|
| - void set position(String value) {
|
| - setProperty('position', value, '');
|
| + /** Sets the value of "line-align" */
|
| + void set lineAlign(String value) {
|
| + setProperty('${_browserPrefix}line-align', value, '');
|
| }
|
|
|
| - /** Gets the value of "print-color-adjust" */
|
| - String get printColorAdjust =>
|
| - getPropertyValue('${_browserPrefix}print-color-adjust');
|
| + /** Gets the value of "line-box-contain" */
|
| + String get lineBoxContain =>
|
| + getPropertyValue('${_browserPrefix}line-box-contain');
|
|
|
| - /** Sets the value of "print-color-adjust" */
|
| - void set printColorAdjust(String value) {
|
| - setProperty('${_browserPrefix}print-color-adjust', value, '');
|
| + /** Sets the value of "line-box-contain" */
|
| + void set lineBoxContain(String value) {
|
| + setProperty('${_browserPrefix}line-box-contain', value, '');
|
| }
|
|
|
| - /** Gets the value of "quotes" */
|
| - String get quotes =>
|
| - getPropertyValue('quotes');
|
| + /** Gets the value of "line-break" */
|
| + String get lineBreak =>
|
| + getPropertyValue('${_browserPrefix}line-break');
|
|
|
| - /** Sets the value of "quotes" */
|
| - void set quotes(String value) {
|
| - setProperty('quotes', value, '');
|
| + /** Sets the value of "line-break" */
|
| + void set lineBreak(String value) {
|
| + setProperty('${_browserPrefix}line-break', value, '');
|
| }
|
|
|
| - /** Gets the value of "region-break-after" */
|
| - String get regionBreakAfter =>
|
| - getPropertyValue('${_browserPrefix}region-break-after');
|
| + /** Gets the value of "line-clamp" */
|
| + String get lineClamp =>
|
| + getPropertyValue('${_browserPrefix}line-clamp');
|
|
|
| - /** Sets the value of "region-break-after" */
|
| - void set regionBreakAfter(String value) {
|
| - setProperty('${_browserPrefix}region-break-after', value, '');
|
| + /** Sets the value of "line-clamp" */
|
| + void set lineClamp(String value) {
|
| + setProperty('${_browserPrefix}line-clamp', value, '');
|
| }
|
|
|
| - /** Gets the value of "region-break-before" */
|
| - String get regionBreakBefore =>
|
| - getPropertyValue('${_browserPrefix}region-break-before');
|
| + /** Gets the value of "line-grid" */
|
| + String get lineGrid =>
|
| + getPropertyValue('${_browserPrefix}line-grid');
|
|
|
| - /** Sets the value of "region-break-before" */
|
| - void set regionBreakBefore(String value) {
|
| - setProperty('${_browserPrefix}region-break-before', value, '');
|
| + /** Sets the value of "line-grid" */
|
| + void set lineGrid(String value) {
|
| + setProperty('${_browserPrefix}line-grid', value, '');
|
| }
|
|
|
| - /** Gets the value of "region-break-inside" */
|
| - String get regionBreakInside =>
|
| - getPropertyValue('${_browserPrefix}region-break-inside');
|
| + /** Gets the value of "line-height" */
|
| + String get lineHeight =>
|
| + getPropertyValue('line-height');
|
|
|
| - /** Sets the value of "region-break-inside" */
|
| - void set regionBreakInside(String value) {
|
| - setProperty('${_browserPrefix}region-break-inside', value, '');
|
| + /** Sets the value of "line-height" */
|
| + void set lineHeight(String value) {
|
| + setProperty('line-height', value, '');
|
| }
|
|
|
| - /** Gets the value of "region-overflow" */
|
| - String get regionOverflow =>
|
| - getPropertyValue('${_browserPrefix}region-overflow');
|
| + /** Gets the value of "line-snap" */
|
| + String get lineSnap =>
|
| + getPropertyValue('${_browserPrefix}line-snap');
|
|
|
| - /** Sets the value of "region-overflow" */
|
| - void set regionOverflow(String value) {
|
| - setProperty('${_browserPrefix}region-overflow', value, '');
|
| + /** Sets the value of "line-snap" */
|
| + void set lineSnap(String value) {
|
| + setProperty('${_browserPrefix}line-snap', value, '');
|
| }
|
|
|
| - /** Gets the value of "resize" */
|
| - String get resize =>
|
| - getPropertyValue('resize');
|
| + /** Gets the value of "list-style" */
|
| + String get listStyle =>
|
| + getPropertyValue('list-style');
|
|
|
| - /** Sets the value of "resize" */
|
| - void set resize(String value) {
|
| - setProperty('resize', value, '');
|
| + /** Sets the value of "list-style" */
|
| + void set listStyle(String value) {
|
| + setProperty('list-style', value, '');
|
| }
|
|
|
| - /** Gets the value of "right" */
|
| - String get right =>
|
| - getPropertyValue('right');
|
| + /** Gets the value of "list-style-image" */
|
| + String get listStyleImage =>
|
| + getPropertyValue('list-style-image');
|
|
|
| - /** Sets the value of "right" */
|
| - void set right(String value) {
|
| - setProperty('right', value, '');
|
| + /** Sets the value of "list-style-image" */
|
| + void set listStyleImage(String value) {
|
| + setProperty('list-style-image', value, '');
|
| }
|
|
|
| - /** Gets the value of "rtl-ordering" */
|
| - String get rtlOrdering =>
|
| - getPropertyValue('${_browserPrefix}rtl-ordering');
|
| + /** Gets the value of "list-style-position" */
|
| + String get listStylePosition =>
|
| + getPropertyValue('list-style-position');
|
|
|
| - /** Sets the value of "rtl-ordering" */
|
| - void set rtlOrdering(String value) {
|
| - setProperty('${_browserPrefix}rtl-ordering', value, '');
|
| + /** Sets the value of "list-style-position" */
|
| + void set listStylePosition(String value) {
|
| + setProperty('list-style-position', value, '');
|
| }
|
|
|
| - /** Gets the value of "shape-inside" */
|
| - String get shapeInside =>
|
| - getPropertyValue('${_browserPrefix}shape-inside');
|
| + /** Gets the value of "list-style-type" */
|
| + String get listStyleType =>
|
| + getPropertyValue('list-style-type');
|
|
|
| - /** Sets the value of "shape-inside" */
|
| - void set shapeInside(String value) {
|
| - setProperty('${_browserPrefix}shape-inside', value, '');
|
| + /** Sets the value of "list-style-type" */
|
| + void set listStyleType(String value) {
|
| + setProperty('list-style-type', value, '');
|
| }
|
|
|
| - /** Gets the value of "shape-margin" */
|
| - String get shapeMargin =>
|
| - getPropertyValue('${_browserPrefix}shape-margin');
|
| + /** Gets the value of "locale" */
|
| + String get locale =>
|
| + getPropertyValue('${_browserPrefix}locale');
|
|
|
| - /** Sets the value of "shape-margin" */
|
| - void set shapeMargin(String value) {
|
| - setProperty('${_browserPrefix}shape-margin', value, '');
|
| + /** Sets the value of "locale" */
|
| + void set locale(String value) {
|
| + setProperty('${_browserPrefix}locale', value, '');
|
| }
|
|
|
| - /** Gets the value of "shape-outside" */
|
| - String get shapeOutside =>
|
| - getPropertyValue('${_browserPrefix}shape-outside');
|
| + /** Gets the value of "logical-height" */
|
| + String get logicalHeight =>
|
| + getPropertyValue('${_browserPrefix}logical-height');
|
|
|
| - /** Sets the value of "shape-outside" */
|
| - void set shapeOutside(String value) {
|
| - setProperty('${_browserPrefix}shape-outside', value, '');
|
| + /** Sets the value of "logical-height" */
|
| + void set logicalHeight(String value) {
|
| + setProperty('${_browserPrefix}logical-height', value, '');
|
| }
|
|
|
| - /** Gets the value of "shape-padding" */
|
| - String get shapePadding =>
|
| - getPropertyValue('${_browserPrefix}shape-padding');
|
| + /** Gets the value of "logical-width" */
|
| + String get logicalWidth =>
|
| + getPropertyValue('${_browserPrefix}logical-width');
|
|
|
| - /** Sets the value of "shape-padding" */
|
| - void set shapePadding(String value) {
|
| - setProperty('${_browserPrefix}shape-padding', value, '');
|
| + /** Sets the value of "logical-width" */
|
| + void set logicalWidth(String value) {
|
| + setProperty('${_browserPrefix}logical-width', value, '');
|
| }
|
|
|
| - /** Gets the value of "size" */
|
| - String get size =>
|
| - getPropertyValue('size');
|
| + /** Gets the value of "margin" */
|
| + String get margin =>
|
| + getPropertyValue('margin');
|
|
|
| - /** Sets the value of "size" */
|
| - void set size(String value) {
|
| - setProperty('size', value, '');
|
| + /** Sets the value of "margin" */
|
| + void set margin(String value) {
|
| + setProperty('margin', value, '');
|
| }
|
|
|
| - /** Gets the value of "speak" */
|
| - String get speak =>
|
| - getPropertyValue('speak');
|
| + /** Gets the value of "margin-after" */
|
| + String get marginAfter =>
|
| + getPropertyValue('${_browserPrefix}margin-after');
|
|
|
| - /** Sets the value of "speak" */
|
| - void set speak(String value) {
|
| - setProperty('speak', value, '');
|
| + /** Sets the value of "margin-after" */
|
| + void set marginAfter(String value) {
|
| + setProperty('${_browserPrefix}margin-after', value, '');
|
| }
|
|
|
| - /** Gets the value of "src" */
|
| - String get src =>
|
| - getPropertyValue('src');
|
| -
|
| - /** Sets the value of "src" */
|
| - void set src(String value) {
|
| - setProperty('src', value, '');
|
| + /** Gets the value of "margin-after-collapse" */
|
| + String get marginAfterCollapse =>
|
| + getPropertyValue('${_browserPrefix}margin-after-collapse');
|
| +
|
| + /** Sets the value of "margin-after-collapse" */
|
| + void set marginAfterCollapse(String value) {
|
| + setProperty('${_browserPrefix}margin-after-collapse', value, '');
|
| }
|
|
|
| - /** Gets the value of "tab-size" */
|
| - String get tabSize =>
|
| - getPropertyValue('tab-size');
|
| + /** Gets the value of "margin-before" */
|
| + String get marginBefore =>
|
| + getPropertyValue('${_browserPrefix}margin-before');
|
|
|
| - /** Sets the value of "tab-size" */
|
| - void set tabSize(String value) {
|
| - setProperty('tab-size', value, '');
|
| + /** Sets the value of "margin-before" */
|
| + void set marginBefore(String value) {
|
| + setProperty('${_browserPrefix}margin-before', value, '');
|
| }
|
|
|
| - /** Gets the value of "table-layout" */
|
| - String get tableLayout =>
|
| - getPropertyValue('table-layout');
|
| + /** Gets the value of "margin-before-collapse" */
|
| + String get marginBeforeCollapse =>
|
| + getPropertyValue('${_browserPrefix}margin-before-collapse');
|
|
|
| - /** Sets the value of "table-layout" */
|
| - void set tableLayout(String value) {
|
| - setProperty('table-layout', value, '');
|
| + /** Sets the value of "margin-before-collapse" */
|
| + void set marginBeforeCollapse(String value) {
|
| + setProperty('${_browserPrefix}margin-before-collapse', value, '');
|
| }
|
|
|
| - /** Gets the value of "tap-highlight-color" */
|
| - String get tapHighlightColor =>
|
| - getPropertyValue('${_browserPrefix}tap-highlight-color');
|
| + /** Gets the value of "margin-bottom" */
|
| + String get marginBottom =>
|
| + getPropertyValue('margin-bottom');
|
|
|
| - /** Sets the value of "tap-highlight-color" */
|
| - void set tapHighlightColor(String value) {
|
| - setProperty('${_browserPrefix}tap-highlight-color', value, '');
|
| + /** Sets the value of "margin-bottom" */
|
| + void set marginBottom(String value) {
|
| + setProperty('margin-bottom', value, '');
|
| }
|
|
|
| - /** Gets the value of "text-align" */
|
| - String get textAlign =>
|
| - getPropertyValue('text-align');
|
| + /** Gets the value of "margin-bottom-collapse" */
|
| + String get marginBottomCollapse =>
|
| + getPropertyValue('${_browserPrefix}margin-bottom-collapse');
|
|
|
| - /** Sets the value of "text-align" */
|
| - void set textAlign(String value) {
|
| - setProperty('text-align', value, '');
|
| + /** Sets the value of "margin-bottom-collapse" */
|
| + void set marginBottomCollapse(String value) {
|
| + setProperty('${_browserPrefix}margin-bottom-collapse', value, '');
|
| }
|
|
|
| - /** Gets the value of "text-align-last" */
|
| - String get textAlignLast =>
|
| - getPropertyValue('${_browserPrefix}text-align-last');
|
| + /** Gets the value of "margin-collapse" */
|
| + String get marginCollapse =>
|
| + getPropertyValue('${_browserPrefix}margin-collapse');
|
|
|
| - /** Sets the value of "text-align-last" */
|
| - void set textAlignLast(String value) {
|
| - setProperty('${_browserPrefix}text-align-last', value, '');
|
| + /** Sets the value of "margin-collapse" */
|
| + void set marginCollapse(String value) {
|
| + setProperty('${_browserPrefix}margin-collapse', value, '');
|
| }
|
|
|
| - /** Gets the value of "text-combine" */
|
| - String get textCombine =>
|
| - getPropertyValue('${_browserPrefix}text-combine');
|
| + /** Gets the value of "margin-end" */
|
| + String get marginEnd =>
|
| + getPropertyValue('${_browserPrefix}margin-end');
|
|
|
| - /** Sets the value of "text-combine" */
|
| - void set textCombine(String value) {
|
| - setProperty('${_browserPrefix}text-combine', value, '');
|
| + /** Sets the value of "margin-end" */
|
| + void set marginEnd(String value) {
|
| + setProperty('${_browserPrefix}margin-end', value, '');
|
| }
|
|
|
| - /** Gets the value of "text-decoration" */
|
| - String get textDecoration =>
|
| - getPropertyValue('text-decoration');
|
| + /** Gets the value of "margin-left" */
|
| + String get marginLeft =>
|
| + getPropertyValue('margin-left');
|
|
|
| - /** Sets the value of "text-decoration" */
|
| - void set textDecoration(String value) {
|
| - setProperty('text-decoration', value, '');
|
| + /** Sets the value of "margin-left" */
|
| + void set marginLeft(String value) {
|
| + setProperty('margin-left', value, '');
|
| }
|
|
|
| - /** Gets the value of "text-decoration-line" */
|
| - String get textDecorationLine =>
|
| - getPropertyValue('${_browserPrefix}text-decoration-line');
|
| + /** Gets the value of "margin-right" */
|
| + String get marginRight =>
|
| + getPropertyValue('margin-right');
|
|
|
| - /** Sets the value of "text-decoration-line" */
|
| - void set textDecorationLine(String value) {
|
| - setProperty('${_browserPrefix}text-decoration-line', value, '');
|
| + /** Sets the value of "margin-right" */
|
| + void set marginRight(String value) {
|
| + setProperty('margin-right', value, '');
|
| }
|
|
|
| - /** Gets the value of "text-decoration-style" */
|
| - String get textDecorationStyle =>
|
| - getPropertyValue('${_browserPrefix}text-decoration-style');
|
| + /** Gets the value of "margin-start" */
|
| + String get marginStart =>
|
| + getPropertyValue('${_browserPrefix}margin-start');
|
|
|
| - /** Sets the value of "text-decoration-style" */
|
| - void set textDecorationStyle(String value) {
|
| - setProperty('${_browserPrefix}text-decoration-style', value, '');
|
| + /** Sets the value of "margin-start" */
|
| + void set marginStart(String value) {
|
| + setProperty('${_browserPrefix}margin-start', value, '');
|
| }
|
|
|
| - /** Gets the value of "text-decorations-in-effect" */
|
| - String get textDecorationsInEffect =>
|
| - getPropertyValue('${_browserPrefix}text-decorations-in-effect');
|
| + /** Gets the value of "margin-top" */
|
| + String get marginTop =>
|
| + getPropertyValue('margin-top');
|
|
|
| - /** Sets the value of "text-decorations-in-effect" */
|
| - void set textDecorationsInEffect(String value) {
|
| - setProperty('${_browserPrefix}text-decorations-in-effect', value, '');
|
| + /** Sets the value of "margin-top" */
|
| + void set marginTop(String value) {
|
| + setProperty('margin-top', value, '');
|
| }
|
|
|
| - /** Gets the value of "text-emphasis" */
|
| - String get textEmphasis =>
|
| - getPropertyValue('${_browserPrefix}text-emphasis');
|
| + /** Gets the value of "margin-top-collapse" */
|
| + String get marginTopCollapse =>
|
| + getPropertyValue('${_browserPrefix}margin-top-collapse');
|
|
|
| - /** Sets the value of "text-emphasis" */
|
| - void set textEmphasis(String value) {
|
| - setProperty('${_browserPrefix}text-emphasis', value, '');
|
| + /** Sets the value of "margin-top-collapse" */
|
| + void set marginTopCollapse(String value) {
|
| + setProperty('${_browserPrefix}margin-top-collapse', value, '');
|
| }
|
|
|
| - /** Gets the value of "text-emphasis-color" */
|
| - String get textEmphasisColor =>
|
| - getPropertyValue('${_browserPrefix}text-emphasis-color');
|
| + /** Gets the value of "marquee" */
|
| + String get marquee =>
|
| + getPropertyValue('${_browserPrefix}marquee');
|
|
|
| - /** Sets the value of "text-emphasis-color" */
|
| - void set textEmphasisColor(String value) {
|
| - setProperty('${_browserPrefix}text-emphasis-color', value, '');
|
| + /** Sets the value of "marquee" */
|
| + void set marquee(String value) {
|
| + setProperty('${_browserPrefix}marquee', value, '');
|
| }
|
|
|
| - /** Gets the value of "text-emphasis-position" */
|
| - String get textEmphasisPosition =>
|
| - getPropertyValue('${_browserPrefix}text-emphasis-position');
|
| + /** Gets the value of "marquee-direction" */
|
| + String get marqueeDirection =>
|
| + getPropertyValue('${_browserPrefix}marquee-direction');
|
|
|
| - /** Sets the value of "text-emphasis-position" */
|
| - void set textEmphasisPosition(String value) {
|
| - setProperty('${_browserPrefix}text-emphasis-position', value, '');
|
| + /** Sets the value of "marquee-direction" */
|
| + void set marqueeDirection(String value) {
|
| + setProperty('${_browserPrefix}marquee-direction', value, '');
|
| }
|
|
|
| - /** Gets the value of "text-emphasis-style" */
|
| - String get textEmphasisStyle =>
|
| - getPropertyValue('${_browserPrefix}text-emphasis-style');
|
| + /** Gets the value of "marquee-increment" */
|
| + String get marqueeIncrement =>
|
| + getPropertyValue('${_browserPrefix}marquee-increment');
|
|
|
| - /** Sets the value of "text-emphasis-style" */
|
| - void set textEmphasisStyle(String value) {
|
| - setProperty('${_browserPrefix}text-emphasis-style', value, '');
|
| + /** Sets the value of "marquee-increment" */
|
| + void set marqueeIncrement(String value) {
|
| + setProperty('${_browserPrefix}marquee-increment', value, '');
|
| }
|
|
|
| - /** Gets the value of "text-fill-color" */
|
| - String get textFillColor =>
|
| - getPropertyValue('${_browserPrefix}text-fill-color');
|
| + /** Gets the value of "marquee-repetition" */
|
| + String get marqueeRepetition =>
|
| + getPropertyValue('${_browserPrefix}marquee-repetition');
|
|
|
| - /** Sets the value of "text-fill-color" */
|
| - void set textFillColor(String value) {
|
| - setProperty('${_browserPrefix}text-fill-color', value, '');
|
| + /** Sets the value of "marquee-repetition" */
|
| + void set marqueeRepetition(String value) {
|
| + setProperty('${_browserPrefix}marquee-repetition', value, '');
|
| }
|
|
|
| - /** Gets the value of "text-indent" */
|
| - String get textIndent =>
|
| - getPropertyValue('text-indent');
|
| + /** Gets the value of "marquee-speed" */
|
| + String get marqueeSpeed =>
|
| + getPropertyValue('${_browserPrefix}marquee-speed');
|
|
|
| - /** Sets the value of "text-indent" */
|
| - void set textIndent(String value) {
|
| - setProperty('text-indent', value, '');
|
| + /** Sets the value of "marquee-speed" */
|
| + void set marqueeSpeed(String value) {
|
| + setProperty('${_browserPrefix}marquee-speed', value, '');
|
| }
|
|
|
| - /** Gets the value of "text-line-through" */
|
| - String get textLineThrough =>
|
| - getPropertyValue('text-line-through');
|
| + /** Gets the value of "marquee-style" */
|
| + String get marqueeStyle =>
|
| + getPropertyValue('${_browserPrefix}marquee-style');
|
|
|
| - /** Sets the value of "text-line-through" */
|
| - void set textLineThrough(String value) {
|
| - setProperty('text-line-through', value, '');
|
| + /** Sets the value of "marquee-style" */
|
| + void set marqueeStyle(String value) {
|
| + setProperty('${_browserPrefix}marquee-style', value, '');
|
| }
|
|
|
| - /** Gets the value of "text-line-through-color" */
|
| - String get textLineThroughColor =>
|
| - getPropertyValue('text-line-through-color');
|
| + /** Gets the value of "mask" */
|
| + String get mask =>
|
| + getPropertyValue('${_browserPrefix}mask');
|
|
|
| - /** Sets the value of "text-line-through-color" */
|
| - void set textLineThroughColor(String value) {
|
| - setProperty('text-line-through-color', value, '');
|
| + /** Sets the value of "mask" */
|
| + void set mask(String value) {
|
| + setProperty('${_browserPrefix}mask', value, '');
|
| }
|
|
|
| - /** Gets the value of "text-line-through-mode" */
|
| - String get textLineThroughMode =>
|
| - getPropertyValue('text-line-through-mode');
|
| + /** Gets the value of "mask-attachment" */
|
| + String get maskAttachment =>
|
| + getPropertyValue('${_browserPrefix}mask-attachment');
|
|
|
| - /** Sets the value of "text-line-through-mode" */
|
| - void set textLineThroughMode(String value) {
|
| - setProperty('text-line-through-mode', value, '');
|
| + /** Sets the value of "mask-attachment" */
|
| + void set maskAttachment(String value) {
|
| + setProperty('${_browserPrefix}mask-attachment', value, '');
|
| }
|
|
|
| - /** Gets the value of "text-line-through-style" */
|
| - String get textLineThroughStyle =>
|
| - getPropertyValue('text-line-through-style');
|
| + /** Gets the value of "mask-box-image" */
|
| + String get maskBoxImage =>
|
| + getPropertyValue('${_browserPrefix}mask-box-image');
|
|
|
| - /** Sets the value of "text-line-through-style" */
|
| - void set textLineThroughStyle(String value) {
|
| - setProperty('text-line-through-style', value, '');
|
| + /** Sets the value of "mask-box-image" */
|
| + void set maskBoxImage(String value) {
|
| + setProperty('${_browserPrefix}mask-box-image', value, '');
|
| }
|
|
|
| - /** Gets the value of "text-line-through-width" */
|
| - String get textLineThroughWidth =>
|
| - getPropertyValue('text-line-through-width');
|
| + /** Gets the value of "mask-box-image-outset" */
|
| + String get maskBoxImageOutset =>
|
| + getPropertyValue('${_browserPrefix}mask-box-image-outset');
|
|
|
| - /** Sets the value of "text-line-through-width" */
|
| - void set textLineThroughWidth(String value) {
|
| - setProperty('text-line-through-width', value, '');
|
| + /** Sets the value of "mask-box-image-outset" */
|
| + void set maskBoxImageOutset(String value) {
|
| + setProperty('${_browserPrefix}mask-box-image-outset', value, '');
|
| }
|
|
|
| - /** Gets the value of "text-orientation" */
|
| - String get textOrientation =>
|
| - getPropertyValue('${_browserPrefix}text-orientation');
|
| + /** Gets the value of "mask-box-image-repeat" */
|
| + String get maskBoxImageRepeat =>
|
| + getPropertyValue('${_browserPrefix}mask-box-image-repeat');
|
|
|
| - /** Sets the value of "text-orientation" */
|
| - void set textOrientation(String value) {
|
| - setProperty('${_browserPrefix}text-orientation', value, '');
|
| + /** Sets the value of "mask-box-image-repeat" */
|
| + void set maskBoxImageRepeat(String value) {
|
| + setProperty('${_browserPrefix}mask-box-image-repeat', value, '');
|
| }
|
|
|
| - /** Gets the value of "text-overflow" */
|
| - String get textOverflow =>
|
| - getPropertyValue('text-overflow');
|
| + /** Gets the value of "mask-box-image-slice" */
|
| + String get maskBoxImageSlice =>
|
| + getPropertyValue('${_browserPrefix}mask-box-image-slice');
|
|
|
| - /** Sets the value of "text-overflow" */
|
| - void set textOverflow(String value) {
|
| - setProperty('text-overflow', value, '');
|
| + /** Sets the value of "mask-box-image-slice" */
|
| + void set maskBoxImageSlice(String value) {
|
| + setProperty('${_browserPrefix}mask-box-image-slice', value, '');
|
| }
|
|
|
| - /** Gets the value of "text-overline" */
|
| - String get textOverline =>
|
| - getPropertyValue('text-overline');
|
| + /** Gets the value of "mask-box-image-source" */
|
| + String get maskBoxImageSource =>
|
| + getPropertyValue('${_browserPrefix}mask-box-image-source');
|
|
|
| - /** Sets the value of "text-overline" */
|
| - void set textOverline(String value) {
|
| - setProperty('text-overline', value, '');
|
| + /** Sets the value of "mask-box-image-source" */
|
| + void set maskBoxImageSource(String value) {
|
| + setProperty('${_browserPrefix}mask-box-image-source', value, '');
|
| }
|
|
|
| - /** Gets the value of "text-overline-color" */
|
| - String get textOverlineColor =>
|
| - getPropertyValue('text-overline-color');
|
| + /** Gets the value of "mask-box-image-width" */
|
| + String get maskBoxImageWidth =>
|
| + getPropertyValue('${_browserPrefix}mask-box-image-width');
|
|
|
| - /** Sets the value of "text-overline-color" */
|
| - void set textOverlineColor(String value) {
|
| - setProperty('text-overline-color', value, '');
|
| + /** Sets the value of "mask-box-image-width" */
|
| + void set maskBoxImageWidth(String value) {
|
| + setProperty('${_browserPrefix}mask-box-image-width', value, '');
|
| }
|
|
|
| - /** Gets the value of "text-overline-mode" */
|
| - String get textOverlineMode =>
|
| - getPropertyValue('text-overline-mode');
|
| + /** Gets the value of "mask-clip" */
|
| + String get maskClip =>
|
| + getPropertyValue('${_browserPrefix}mask-clip');
|
|
|
| - /** Sets the value of "text-overline-mode" */
|
| - void set textOverlineMode(String value) {
|
| - setProperty('text-overline-mode', value, '');
|
| + /** Sets the value of "mask-clip" */
|
| + void set maskClip(String value) {
|
| + setProperty('${_browserPrefix}mask-clip', value, '');
|
| }
|
|
|
| - /** Gets the value of "text-overline-style" */
|
| - String get textOverlineStyle =>
|
| - getPropertyValue('text-overline-style');
|
| + /** Gets the value of "mask-composite" */
|
| + String get maskComposite =>
|
| + getPropertyValue('${_browserPrefix}mask-composite');
|
|
|
| - /** Sets the value of "text-overline-style" */
|
| - void set textOverlineStyle(String value) {
|
| - setProperty('text-overline-style', value, '');
|
| + /** Sets the value of "mask-composite" */
|
| + void set maskComposite(String value) {
|
| + setProperty('${_browserPrefix}mask-composite', value, '');
|
| }
|
|
|
| - /** Gets the value of "text-overline-width" */
|
| - String get textOverlineWidth =>
|
| - getPropertyValue('text-overline-width');
|
| + /** Gets the value of "mask-image" */
|
| + String get maskImage =>
|
| + getPropertyValue('${_browserPrefix}mask-image');
|
|
|
| - /** Sets the value of "text-overline-width" */
|
| - void set textOverlineWidth(String value) {
|
| - setProperty('text-overline-width', value, '');
|
| + /** Sets the value of "mask-image" */
|
| + void set maskImage(String value) {
|
| + setProperty('${_browserPrefix}mask-image', value, '');
|
| }
|
|
|
| - /** Gets the value of "text-rendering" */
|
| - String get textRendering =>
|
| - getPropertyValue('text-rendering');
|
| + /** Gets the value of "mask-origin" */
|
| + String get maskOrigin =>
|
| + getPropertyValue('${_browserPrefix}mask-origin');
|
|
|
| - /** Sets the value of "text-rendering" */
|
| - void set textRendering(String value) {
|
| - setProperty('text-rendering', value, '');
|
| + /** Sets the value of "mask-origin" */
|
| + void set maskOrigin(String value) {
|
| + setProperty('${_browserPrefix}mask-origin', value, '');
|
| }
|
|
|
| - /** Gets the value of "text-security" */
|
| - String get textSecurity =>
|
| - getPropertyValue('${_browserPrefix}text-security');
|
| + /** Gets the value of "mask-position" */
|
| + String get maskPosition =>
|
| + getPropertyValue('${_browserPrefix}mask-position');
|
|
|
| - /** Sets the value of "text-security" */
|
| - void set textSecurity(String value) {
|
| - setProperty('${_browserPrefix}text-security', value, '');
|
| + /** Sets the value of "mask-position" */
|
| + void set maskPosition(String value) {
|
| + setProperty('${_browserPrefix}mask-position', value, '');
|
| }
|
|
|
| - /** Gets the value of "text-shadow" */
|
| - String get textShadow =>
|
| - getPropertyValue('text-shadow');
|
| + /** Gets the value of "mask-position-x" */
|
| + String get maskPositionX =>
|
| + getPropertyValue('${_browserPrefix}mask-position-x');
|
|
|
| - /** Sets the value of "text-shadow" */
|
| - void set textShadow(String value) {
|
| - setProperty('text-shadow', value, '');
|
| + /** Sets the value of "mask-position-x" */
|
| + void set maskPositionX(String value) {
|
| + setProperty('${_browserPrefix}mask-position-x', value, '');
|
| }
|
|
|
| - /** Gets the value of "text-size-adjust" */
|
| - String get textSizeAdjust =>
|
| - getPropertyValue('${_browserPrefix}text-size-adjust');
|
| + /** Gets the value of "mask-position-y" */
|
| + String get maskPositionY =>
|
| + getPropertyValue('${_browserPrefix}mask-position-y');
|
|
|
| - /** Sets the value of "text-size-adjust" */
|
| - void set textSizeAdjust(String value) {
|
| - setProperty('${_browserPrefix}text-size-adjust', value, '');
|
| + /** Sets the value of "mask-position-y" */
|
| + void set maskPositionY(String value) {
|
| + setProperty('${_browserPrefix}mask-position-y', value, '');
|
| }
|
|
|
| - /** Gets the value of "text-stroke" */
|
| - String get textStroke =>
|
| - getPropertyValue('${_browserPrefix}text-stroke');
|
| + /** Gets the value of "mask-repeat" */
|
| + String get maskRepeat =>
|
| + getPropertyValue('${_browserPrefix}mask-repeat');
|
|
|
| - /** Sets the value of "text-stroke" */
|
| - void set textStroke(String value) {
|
| - setProperty('${_browserPrefix}text-stroke', value, '');
|
| + /** Sets the value of "mask-repeat" */
|
| + void set maskRepeat(String value) {
|
| + setProperty('${_browserPrefix}mask-repeat', value, '');
|
| }
|
|
|
| - /** Gets the value of "text-stroke-color" */
|
| - String get textStrokeColor =>
|
| - getPropertyValue('${_browserPrefix}text-stroke-color');
|
| + /** Gets the value of "mask-repeat-x" */
|
| + String get maskRepeatX =>
|
| + getPropertyValue('${_browserPrefix}mask-repeat-x');
|
|
|
| - /** Sets the value of "text-stroke-color" */
|
| - void set textStrokeColor(String value) {
|
| - setProperty('${_browserPrefix}text-stroke-color', value, '');
|
| + /** Sets the value of "mask-repeat-x" */
|
| + void set maskRepeatX(String value) {
|
| + setProperty('${_browserPrefix}mask-repeat-x', value, '');
|
| }
|
|
|
| - /** Gets the value of "text-stroke-width" */
|
| - String get textStrokeWidth =>
|
| - getPropertyValue('${_browserPrefix}text-stroke-width');
|
| + /** Gets the value of "mask-repeat-y" */
|
| + String get maskRepeatY =>
|
| + getPropertyValue('${_browserPrefix}mask-repeat-y');
|
|
|
| - /** Sets the value of "text-stroke-width" */
|
| - void set textStrokeWidth(String value) {
|
| - setProperty('${_browserPrefix}text-stroke-width', value, '');
|
| + /** Sets the value of "mask-repeat-y" */
|
| + void set maskRepeatY(String value) {
|
| + setProperty('${_browserPrefix}mask-repeat-y', value, '');
|
| }
|
|
|
| - /** Gets the value of "text-transform" */
|
| - String get textTransform =>
|
| - getPropertyValue('text-transform');
|
| + /** Gets the value of "mask-size" */
|
| + String get maskSize =>
|
| + getPropertyValue('${_browserPrefix}mask-size');
|
|
|
| - /** Sets the value of "text-transform" */
|
| - void set textTransform(String value) {
|
| - setProperty('text-transform', value, '');
|
| + /** Sets the value of "mask-size" */
|
| + void set maskSize(String value) {
|
| + setProperty('${_browserPrefix}mask-size', value, '');
|
| }
|
|
|
| - /** Gets the value of "text-underline" */
|
| - String get textUnderline =>
|
| - getPropertyValue('text-underline');
|
| + /** Gets the value of "max-height" */
|
| + String get maxHeight =>
|
| + getPropertyValue('max-height');
|
|
|
| - /** Sets the value of "text-underline" */
|
| - void set textUnderline(String value) {
|
| - setProperty('text-underline', value, '');
|
| + /** Sets the value of "max-height" */
|
| + void set maxHeight(String value) {
|
| + setProperty('max-height', value, '');
|
| }
|
|
|
| - /** Gets the value of "text-underline-color" */
|
| - String get textUnderlineColor =>
|
| - getPropertyValue('text-underline-color');
|
| + /** Gets the value of "max-logical-height" */
|
| + String get maxLogicalHeight =>
|
| + getPropertyValue('${_browserPrefix}max-logical-height');
|
|
|
| - /** Sets the value of "text-underline-color" */
|
| - void set textUnderlineColor(String value) {
|
| - setProperty('text-underline-color', value, '');
|
| + /** Sets the value of "max-logical-height" */
|
| + void set maxLogicalHeight(String value) {
|
| + setProperty('${_browserPrefix}max-logical-height', value, '');
|
| }
|
|
|
| - /** Gets the value of "text-underline-mode" */
|
| - String get textUnderlineMode =>
|
| - getPropertyValue('text-underline-mode');
|
| + /** Gets the value of "max-logical-width" */
|
| + String get maxLogicalWidth =>
|
| + getPropertyValue('${_browserPrefix}max-logical-width');
|
|
|
| - /** Sets the value of "text-underline-mode" */
|
| - void set textUnderlineMode(String value) {
|
| - setProperty('text-underline-mode', value, '');
|
| + /** Sets the value of "max-logical-width" */
|
| + void set maxLogicalWidth(String value) {
|
| + setProperty('${_browserPrefix}max-logical-width', value, '');
|
| }
|
|
|
| - /** Gets the value of "text-underline-style" */
|
| - String get textUnderlineStyle =>
|
| - getPropertyValue('text-underline-style');
|
| + /** Gets the value of "max-width" */
|
| + String get maxWidth =>
|
| + getPropertyValue('max-width');
|
|
|
| - /** Sets the value of "text-underline-style" */
|
| - void set textUnderlineStyle(String value) {
|
| - setProperty('text-underline-style', value, '');
|
| + /** Sets the value of "max-width" */
|
| + void set maxWidth(String value) {
|
| + setProperty('max-width', value, '');
|
| }
|
|
|
| - /** Gets the value of "text-underline-width" */
|
| - String get textUnderlineWidth =>
|
| - getPropertyValue('text-underline-width');
|
| + /** Gets the value of "max-zoom" */
|
| + String get maxZoom =>
|
| + getPropertyValue('max-zoom');
|
|
|
| - /** Sets the value of "text-underline-width" */
|
| - void set textUnderlineWidth(String value) {
|
| - setProperty('text-underline-width', value, '');
|
| + /** Sets the value of "max-zoom" */
|
| + void set maxZoom(String value) {
|
| + setProperty('max-zoom', value, '');
|
| }
|
|
|
| - /** Gets the value of "top" */
|
| - String get top =>
|
| - getPropertyValue('top');
|
| + /** Gets the value of "min-height" */
|
| + String get minHeight =>
|
| + getPropertyValue('min-height');
|
|
|
| - /** Sets the value of "top" */
|
| - void set top(String value) {
|
| - setProperty('top', value, '');
|
| - }
|
| + /** Sets the value of "min-height" */
|
| + void set minHeight(String value) {
|
| + setProperty('min-height', value, '');
|
| + }
|
|
|
| - /** Gets the value of "transform" */
|
| - String get transform =>
|
| - getPropertyValue('${_browserPrefix}transform');
|
| + /** Gets the value of "min-logical-height" */
|
| + String get minLogicalHeight =>
|
| + getPropertyValue('${_browserPrefix}min-logical-height');
|
|
|
| - /** Sets the value of "transform" */
|
| - void set transform(String value) {
|
| - setProperty('${_browserPrefix}transform', value, '');
|
| + /** Sets the value of "min-logical-height" */
|
| + void set minLogicalHeight(String value) {
|
| + setProperty('${_browserPrefix}min-logical-height', value, '');
|
| }
|
|
|
| - /** Gets the value of "transform-origin" */
|
| - String get transformOrigin =>
|
| - getPropertyValue('${_browserPrefix}transform-origin');
|
| + /** Gets the value of "min-logical-width" */
|
| + String get minLogicalWidth =>
|
| + getPropertyValue('${_browserPrefix}min-logical-width');
|
|
|
| - /** Sets the value of "transform-origin" */
|
| - void set transformOrigin(String value) {
|
| - setProperty('${_browserPrefix}transform-origin', value, '');
|
| + /** Sets the value of "min-logical-width" */
|
| + void set minLogicalWidth(String value) {
|
| + setProperty('${_browserPrefix}min-logical-width', value, '');
|
| }
|
|
|
| - /** Gets the value of "transform-origin-x" */
|
| - String get transformOriginX =>
|
| - getPropertyValue('${_browserPrefix}transform-origin-x');
|
| + /** Gets the value of "min-width" */
|
| + String get minWidth =>
|
| + getPropertyValue('min-width');
|
|
|
| - /** Sets the value of "transform-origin-x" */
|
| - void set transformOriginX(String value) {
|
| - setProperty('${_browserPrefix}transform-origin-x', value, '');
|
| + /** Sets the value of "min-width" */
|
| + void set minWidth(String value) {
|
| + setProperty('min-width', value, '');
|
| }
|
|
|
| - /** Gets the value of "transform-origin-y" */
|
| - String get transformOriginY =>
|
| - getPropertyValue('${_browserPrefix}transform-origin-y');
|
| + /** Gets the value of "min-zoom" */
|
| + String get minZoom =>
|
| + getPropertyValue('min-zoom');
|
|
|
| - /** Sets the value of "transform-origin-y" */
|
| - void set transformOriginY(String value) {
|
| - setProperty('${_browserPrefix}transform-origin-y', value, '');
|
| + /** Sets the value of "min-zoom" */
|
| + void set minZoom(String value) {
|
| + setProperty('min-zoom', value, '');
|
| }
|
|
|
| - /** Gets the value of "transform-origin-z" */
|
| - String get transformOriginZ =>
|
| - getPropertyValue('${_browserPrefix}transform-origin-z');
|
| + /** Gets the value of "nbsp-mode" */
|
| + String get nbspMode =>
|
| + getPropertyValue('${_browserPrefix}nbsp-mode');
|
|
|
| - /** Sets the value of "transform-origin-z" */
|
| - void set transformOriginZ(String value) {
|
| - setProperty('${_browserPrefix}transform-origin-z', value, '');
|
| + /** Sets the value of "nbsp-mode" */
|
| + void set nbspMode(String value) {
|
| + setProperty('${_browserPrefix}nbsp-mode', value, '');
|
| }
|
|
|
| - /** Gets the value of "transform-style" */
|
| - String get transformStyle =>
|
| - getPropertyValue('${_browserPrefix}transform-style');
|
| + /** Gets the value of "opacity" */
|
| + String get opacity =>
|
| + getPropertyValue('opacity');
|
|
|
| - /** Sets the value of "transform-style" */
|
| - void set transformStyle(String value) {
|
| - setProperty('${_browserPrefix}transform-style', value, '');
|
| + /** Sets the value of "opacity" */
|
| + void set opacity(String value) {
|
| + setProperty('opacity', value, '');
|
| }
|
|
|
| - /** Gets the value of "transition" */
|
| - String get transition =>
|
| - getPropertyValue('${_browserPrefix}transition');
|
| + /** Gets the value of "order" */
|
| + String get order =>
|
| + getPropertyValue('${_browserPrefix}order');
|
|
|
| - /** Sets the value of "transition" */
|
| - void set transition(String value) {
|
| - setProperty('${_browserPrefix}transition', value, '');
|
| + /** Sets the value of "order" */
|
| + void set order(String value) {
|
| + setProperty('${_browserPrefix}order', value, '');
|
| }
|
|
|
| - /** Gets the value of "transition-delay" */
|
| - String get transitionDelay =>
|
| - getPropertyValue('${_browserPrefix}transition-delay');
|
| + /** Gets the value of "orientation" */
|
| + String get orientation =>
|
| + getPropertyValue('orientation');
|
|
|
| - /** Sets the value of "transition-delay" */
|
| - void set transitionDelay(String value) {
|
| - setProperty('${_browserPrefix}transition-delay', value, '');
|
| + /** Sets the value of "orientation" */
|
| + void set orientation(String value) {
|
| + setProperty('orientation', value, '');
|
| }
|
|
|
| - /** Gets the value of "transition-duration" */
|
| - String get transitionDuration =>
|
| - getPropertyValue('${_browserPrefix}transition-duration');
|
| + /** Gets the value of "orphans" */
|
| + String get orphans =>
|
| + getPropertyValue('orphans');
|
|
|
| - /** Sets the value of "transition-duration" */
|
| - void set transitionDuration(String value) {
|
| - setProperty('${_browserPrefix}transition-duration', value, '');
|
| + /** Sets the value of "orphans" */
|
| + void set orphans(String value) {
|
| + setProperty('orphans', value, '');
|
| }
|
|
|
| - /** Gets the value of "transition-property" */
|
| - String get transitionProperty =>
|
| - getPropertyValue('${_browserPrefix}transition-property');
|
| + /** Gets the value of "outline" */
|
| + String get outline =>
|
| + getPropertyValue('outline');
|
|
|
| - /** Sets the value of "transition-property" */
|
| - void set transitionProperty(String value) {
|
| - setProperty('${_browserPrefix}transition-property', value, '');
|
| + /** Sets the value of "outline" */
|
| + void set outline(String value) {
|
| + setProperty('outline', value, '');
|
| }
|
|
|
| - /** Gets the value of "transition-timing-function" */
|
| - String get transitionTimingFunction =>
|
| - getPropertyValue('${_browserPrefix}transition-timing-function');
|
| + /** Gets the value of "outline-color" */
|
| + String get outlineColor =>
|
| + getPropertyValue('outline-color');
|
|
|
| - /** Sets the value of "transition-timing-function" */
|
| - void set transitionTimingFunction(String value) {
|
| - setProperty('${_browserPrefix}transition-timing-function', value, '');
|
| + /** Sets the value of "outline-color" */
|
| + void set outlineColor(String value) {
|
| + setProperty('outline-color', value, '');
|
| }
|
|
|
| - /** Gets the value of "unicode-bidi" */
|
| - String get unicodeBidi =>
|
| - getPropertyValue('unicode-bidi');
|
| + /** Gets the value of "outline-offset" */
|
| + String get outlineOffset =>
|
| + getPropertyValue('outline-offset');
|
|
|
| - /** Sets the value of "unicode-bidi" */
|
| - void set unicodeBidi(String value) {
|
| - setProperty('unicode-bidi', value, '');
|
| + /** Sets the value of "outline-offset" */
|
| + void set outlineOffset(String value) {
|
| + setProperty('outline-offset', value, '');
|
| }
|
|
|
| - /** Gets the value of "unicode-range" */
|
| - String get unicodeRange =>
|
| - getPropertyValue('unicode-range');
|
| + /** Gets the value of "outline-style" */
|
| + String get outlineStyle =>
|
| + getPropertyValue('outline-style');
|
|
|
| - /** Sets the value of "unicode-range" */
|
| - void set unicodeRange(String value) {
|
| - setProperty('unicode-range', value, '');
|
| + /** Sets the value of "outline-style" */
|
| + void set outlineStyle(String value) {
|
| + setProperty('outline-style', value, '');
|
| }
|
|
|
| - /** Gets the value of "user-drag" */
|
| - String get userDrag =>
|
| - getPropertyValue('${_browserPrefix}user-drag');
|
| + /** Gets the value of "outline-width" */
|
| + String get outlineWidth =>
|
| + getPropertyValue('outline-width');
|
|
|
| - /** Sets the value of "user-drag" */
|
| - void set userDrag(String value) {
|
| - setProperty('${_browserPrefix}user-drag', value, '');
|
| + /** Sets the value of "outline-width" */
|
| + void set outlineWidth(String value) {
|
| + setProperty('outline-width', value, '');
|
| }
|
|
|
| - /** Gets the value of "user-modify" */
|
| - String get userModify =>
|
| - getPropertyValue('${_browserPrefix}user-modify');
|
| + /** Gets the value of "overflow" */
|
| + String get overflow =>
|
| + getPropertyValue('overflow');
|
|
|
| - /** Sets the value of "user-modify" */
|
| - void set userModify(String value) {
|
| - setProperty('${_browserPrefix}user-modify', value, '');
|
| + /** Sets the value of "overflow" */
|
| + void set overflow(String value) {
|
| + setProperty('overflow', value, '');
|
| }
|
|
|
| - /** Gets the value of "user-select" */
|
| - String get userSelect =>
|
| - getPropertyValue('${_browserPrefix}user-select');
|
| + /** Gets the value of "overflow-scrolling" */
|
| + String get overflowScrolling =>
|
| + getPropertyValue('${_browserPrefix}overflow-scrolling');
|
|
|
| - /** Sets the value of "user-select" */
|
| - void set userSelect(String value) {
|
| - setProperty('${_browserPrefix}user-select', value, '');
|
| + /** Sets the value of "overflow-scrolling" */
|
| + void set overflowScrolling(String value) {
|
| + setProperty('${_browserPrefix}overflow-scrolling', value, '');
|
| }
|
|
|
| - /** Gets the value of "user-zoom" */
|
| - String get userZoom =>
|
| - getPropertyValue('user-zoom');
|
| + /** Gets the value of "overflow-wrap" */
|
| + String get overflowWrap =>
|
| + getPropertyValue('overflow-wrap');
|
|
|
| - /** Sets the value of "user-zoom" */
|
| - void set userZoom(String value) {
|
| - setProperty('user-zoom', value, '');
|
| + /** Sets the value of "overflow-wrap" */
|
| + void set overflowWrap(String value) {
|
| + setProperty('overflow-wrap', value, '');
|
| }
|
|
|
| - /** Gets the value of "vertical-align" */
|
| - String get verticalAlign =>
|
| - getPropertyValue('vertical-align');
|
| + /** Gets the value of "overflow-x" */
|
| + String get overflowX =>
|
| + getPropertyValue('overflow-x');
|
|
|
| - /** Sets the value of "vertical-align" */
|
| - void set verticalAlign(String value) {
|
| - setProperty('vertical-align', value, '');
|
| + /** Sets the value of "overflow-x" */
|
| + void set overflowX(String value) {
|
| + setProperty('overflow-x', value, '');
|
| }
|
|
|
| - /** Gets the value of "visibility" */
|
| - String get visibility =>
|
| - getPropertyValue('visibility');
|
| + /** Gets the value of "overflow-y" */
|
| + String get overflowY =>
|
| + getPropertyValue('overflow-y');
|
|
|
| - /** Sets the value of "visibility" */
|
| - void set visibility(String value) {
|
| - setProperty('visibility', value, '');
|
| + /** Sets the value of "overflow-y" */
|
| + void set overflowY(String value) {
|
| + setProperty('overflow-y', value, '');
|
| }
|
|
|
| - /** Gets the value of "white-space" */
|
| - String get whiteSpace =>
|
| - getPropertyValue('white-space');
|
| + /** Gets the value of "padding" */
|
| + String get padding =>
|
| + getPropertyValue('padding');
|
|
|
| - /** Sets the value of "white-space" */
|
| - void set whiteSpace(String value) {
|
| - setProperty('white-space', value, '');
|
| + /** Sets the value of "padding" */
|
| + void set padding(String value) {
|
| + setProperty('padding', value, '');
|
| }
|
|
|
| - /** Gets the value of "widows" */
|
| - String get widows =>
|
| - getPropertyValue('widows');
|
| + /** Gets the value of "padding-after" */
|
| + String get paddingAfter =>
|
| + getPropertyValue('${_browserPrefix}padding-after');
|
|
|
| - /** Sets the value of "widows" */
|
| - void set widows(String value) {
|
| - setProperty('widows', value, '');
|
| + /** Sets the value of "padding-after" */
|
| + void set paddingAfter(String value) {
|
| + setProperty('${_browserPrefix}padding-after', value, '');
|
| }
|
|
|
| - /** Gets the value of "width" */
|
| - String get width =>
|
| - getPropertyValue('width');
|
| + /** Gets the value of "padding-before" */
|
| + String get paddingBefore =>
|
| + getPropertyValue('${_browserPrefix}padding-before');
|
|
|
| - /** Sets the value of "width" */
|
| - void set width(String value) {
|
| - setProperty('width', value, '');
|
| + /** Sets the value of "padding-before" */
|
| + void set paddingBefore(String value) {
|
| + setProperty('${_browserPrefix}padding-before', value, '');
|
| }
|
|
|
| - /** Gets the value of "word-break" */
|
| - String get wordBreak =>
|
| - getPropertyValue('word-break');
|
| + /** Gets the value of "padding-bottom" */
|
| + String get paddingBottom =>
|
| + getPropertyValue('padding-bottom');
|
|
|
| - /** Sets the value of "word-break" */
|
| - void set wordBreak(String value) {
|
| - setProperty('word-break', value, '');
|
| + /** Sets the value of "padding-bottom" */
|
| + void set paddingBottom(String value) {
|
| + setProperty('padding-bottom', value, '');
|
| }
|
|
|
| - /** Gets the value of "word-spacing" */
|
| - String get wordSpacing =>
|
| - getPropertyValue('word-spacing');
|
| + /** Gets the value of "padding-end" */
|
| + String get paddingEnd =>
|
| + getPropertyValue('${_browserPrefix}padding-end');
|
|
|
| - /** Sets the value of "word-spacing" */
|
| - void set wordSpacing(String value) {
|
| - setProperty('word-spacing', value, '');
|
| + /** Sets the value of "padding-end" */
|
| + void set paddingEnd(String value) {
|
| + setProperty('${_browserPrefix}padding-end', value, '');
|
| }
|
|
|
| - /** Gets the value of "word-wrap" */
|
| - String get wordWrap =>
|
| - getPropertyValue('word-wrap');
|
| + /** Gets the value of "padding-left" */
|
| + String get paddingLeft =>
|
| + getPropertyValue('padding-left');
|
|
|
| - /** Sets the value of "word-wrap" */
|
| - void set wordWrap(String value) {
|
| - setProperty('word-wrap', value, '');
|
| + /** Sets the value of "padding-left" */
|
| + void set paddingLeft(String value) {
|
| + setProperty('padding-left', value, '');
|
| }
|
|
|
| - /** Gets the value of "wrap" */
|
| - String get wrap =>
|
| - getPropertyValue('${_browserPrefix}wrap');
|
| + /** Gets the value of "padding-right" */
|
| + String get paddingRight =>
|
| + getPropertyValue('padding-right');
|
|
|
| - /** Sets the value of "wrap" */
|
| - void set wrap(String value) {
|
| - setProperty('${_browserPrefix}wrap', value, '');
|
| + /** Sets the value of "padding-right" */
|
| + void set paddingRight(String value) {
|
| + setProperty('padding-right', value, '');
|
| }
|
|
|
| - /** Gets the value of "wrap-flow" */
|
| - String get wrapFlow =>
|
| - getPropertyValue('${_browserPrefix}wrap-flow');
|
| + /** Gets the value of "padding-start" */
|
| + String get paddingStart =>
|
| + getPropertyValue('${_browserPrefix}padding-start');
|
|
|
| - /** Sets the value of "wrap-flow" */
|
| - void set wrapFlow(String value) {
|
| - setProperty('${_browserPrefix}wrap-flow', value, '');
|
| + /** Sets the value of "padding-start" */
|
| + void set paddingStart(String value) {
|
| + setProperty('${_browserPrefix}padding-start', value, '');
|
| }
|
|
|
| - /** Gets the value of "wrap-through" */
|
| - String get wrapThrough =>
|
| - getPropertyValue('${_browserPrefix}wrap-through');
|
| + /** Gets the value of "padding-top" */
|
| + String get paddingTop =>
|
| + getPropertyValue('padding-top');
|
|
|
| - /** Sets the value of "wrap-through" */
|
| - void set wrapThrough(String value) {
|
| - setProperty('${_browserPrefix}wrap-through', value, '');
|
| + /** Sets the value of "padding-top" */
|
| + void set paddingTop(String value) {
|
| + setProperty('padding-top', value, '');
|
| }
|
|
|
| - /** Gets the value of "writing-mode" */
|
| - String get writingMode =>
|
| - getPropertyValue('${_browserPrefix}writing-mode');
|
| + /** Gets the value of "page" */
|
| + String get page =>
|
| + getPropertyValue('page');
|
|
|
| - /** Sets the value of "writing-mode" */
|
| - void set writingMode(String value) {
|
| - setProperty('${_browserPrefix}writing-mode', value, '');
|
| + /** Sets the value of "page" */
|
| + void set page(String value) {
|
| + setProperty('page', value, '');
|
| }
|
|
|
| - /** Gets the value of "z-index" */
|
| - String get zIndex =>
|
| - getPropertyValue('z-index');
|
| + /** Gets the value of "page-break-after" */
|
| + String get pageBreakAfter =>
|
| + getPropertyValue('page-break-after');
|
|
|
| - /** Sets the value of "z-index" */
|
| - void set zIndex(String value) {
|
| - setProperty('z-index', value, '');
|
| + /** Sets the value of "page-break-after" */
|
| + void set pageBreakAfter(String value) {
|
| + setProperty('page-break-after', value, '');
|
| }
|
|
|
| - /** Gets the value of "zoom" */
|
| - String get zoom =>
|
| - getPropertyValue('zoom');
|
| + /** Gets the value of "page-break-before" */
|
| + String get pageBreakBefore =>
|
| + getPropertyValue('page-break-before');
|
|
|
| - /** Sets the value of "zoom" */
|
| - void set zoom(String value) {
|
| - setProperty('zoom', value, '');
|
| + /** Sets the value of "page-break-before" */
|
| + void set pageBreakBefore(String value) {
|
| + setProperty('page-break-before', value, '');
|
| }
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
|
|
| + /** Gets the value of "page-break-inside" */
|
| + String get pageBreakInside =>
|
| + getPropertyValue('page-break-inside');
|
|
|
| -/// @domName CSSStyleRule; @docsEditable true
|
| -class CSSStyleRule extends CSSRule native "*CSSStyleRule" {
|
| + /** Sets the value of "page-break-inside" */
|
| + void set pageBreakInside(String value) {
|
| + setProperty('page-break-inside', value, '');
|
| + }
|
|
|
| - /// @domName CSSStyleRule.selectorText; @docsEditable true
|
| - String selectorText;
|
| + /** Gets the value of "perspective" */
|
| + String get perspective =>
|
| + getPropertyValue('${_browserPrefix}perspective');
|
|
|
| - /// @domName CSSStyleRule.style; @docsEditable true
|
| - final CSSStyleDeclaration style;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| + /** Sets the value of "perspective" */
|
| + void set perspective(String value) {
|
| + setProperty('${_browserPrefix}perspective', value, '');
|
| + }
|
|
|
| + /** Gets the value of "perspective-origin" */
|
| + String get perspectiveOrigin =>
|
| + getPropertyValue('${_browserPrefix}perspective-origin');
|
|
|
| -/// @domName CSSStyleSheet; @docsEditable true
|
| -class CSSStyleSheet extends StyleSheet native "*CSSStyleSheet" {
|
| + /** Sets the value of "perspective-origin" */
|
| + void set perspectiveOrigin(String value) {
|
| + setProperty('${_browserPrefix}perspective-origin', value, '');
|
| + }
|
|
|
| - /// @domName CSSStyleSheet.cssRules; @docsEditable true
|
| - @Returns('_CSSRuleList') @Creates('_CSSRuleList')
|
| - final List<CSSRule> cssRules;
|
| + /** Gets the value of "perspective-origin-x" */
|
| + String get perspectiveOriginX =>
|
| + getPropertyValue('${_browserPrefix}perspective-origin-x');
|
|
|
| - /// @domName CSSStyleSheet.ownerRule; @docsEditable true
|
| - final CSSRule ownerRule;
|
| + /** Sets the value of "perspective-origin-x" */
|
| + void set perspectiveOriginX(String value) {
|
| + setProperty('${_browserPrefix}perspective-origin-x', value, '');
|
| + }
|
|
|
| - /// @domName CSSStyleSheet.rules; @docsEditable true
|
| - @Returns('_CSSRuleList') @Creates('_CSSRuleList')
|
| - final List<CSSRule> rules;
|
| + /** Gets the value of "perspective-origin-y" */
|
| + String get perspectiveOriginY =>
|
| + getPropertyValue('${_browserPrefix}perspective-origin-y');
|
|
|
| - /// @domName CSSStyleSheet.addRule; @docsEditable true
|
| - int addRule(String selector, String style, [int index]) native;
|
| + /** Sets the value of "perspective-origin-y" */
|
| + void set perspectiveOriginY(String value) {
|
| + setProperty('${_browserPrefix}perspective-origin-y', value, '');
|
| + }
|
|
|
| - /// @domName CSSStyleSheet.deleteRule; @docsEditable true
|
| - void deleteRule(int index) native;
|
| + /** Gets the value of "pointer-events" */
|
| + String get pointerEvents =>
|
| + getPropertyValue('pointer-events');
|
|
|
| - /// @domName CSSStyleSheet.insertRule; @docsEditable true
|
| - int insertRule(String rule, int index) native;
|
| + /** Sets the value of "pointer-events" */
|
| + void set pointerEvents(String value) {
|
| + setProperty('pointer-events', value, '');
|
| + }
|
|
|
| - /// @domName CSSStyleSheet.removeRule; @docsEditable true
|
| - void removeRule(int index) native;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| + /** Gets the value of "position" */
|
| + String get position =>
|
| + getPropertyValue('position');
|
|
|
| + /** Sets the value of "position" */
|
| + void set position(String value) {
|
| + setProperty('position', value, '');
|
| + }
|
|
|
| -/// @domName WebKitCSSTransformValue; @docsEditable true
|
| -class CSSTransformValue extends _CSSValueList native "*WebKitCSSTransformValue" {
|
| + /** Gets the value of "print-color-adjust" */
|
| + String get printColorAdjust =>
|
| + getPropertyValue('${_browserPrefix}print-color-adjust');
|
|
|
| - static const int CSS_MATRIX = 11;
|
| + /** Sets the value of "print-color-adjust" */
|
| + void set printColorAdjust(String value) {
|
| + setProperty('${_browserPrefix}print-color-adjust', value, '');
|
| + }
|
|
|
| - static const int CSS_MATRIX3D = 21;
|
| + /** Gets the value of "quotes" */
|
| + String get quotes =>
|
| + getPropertyValue('quotes');
|
|
|
| - static const int CSS_PERSPECTIVE = 20;
|
| + /** Sets the value of "quotes" */
|
| + void set quotes(String value) {
|
| + setProperty('quotes', value, '');
|
| + }
|
|
|
| - static const int CSS_ROTATE = 4;
|
| + /** Gets the value of "region-break-after" */
|
| + String get regionBreakAfter =>
|
| + getPropertyValue('${_browserPrefix}region-break-after');
|
|
|
| - static const int CSS_ROTATE3D = 17;
|
| + /** Sets the value of "region-break-after" */
|
| + void set regionBreakAfter(String value) {
|
| + setProperty('${_browserPrefix}region-break-after', value, '');
|
| + }
|
|
|
| - static const int CSS_ROTATEX = 14;
|
| + /** Gets the value of "region-break-before" */
|
| + String get regionBreakBefore =>
|
| + getPropertyValue('${_browserPrefix}region-break-before');
|
|
|
| - static const int CSS_ROTATEY = 15;
|
| + /** Sets the value of "region-break-before" */
|
| + void set regionBreakBefore(String value) {
|
| + setProperty('${_browserPrefix}region-break-before', value, '');
|
| + }
|
|
|
| - static const int CSS_ROTATEZ = 16;
|
| + /** Gets the value of "region-break-inside" */
|
| + String get regionBreakInside =>
|
| + getPropertyValue('${_browserPrefix}region-break-inside');
|
|
|
| - static const int CSS_SCALE = 5;
|
| + /** Sets the value of "region-break-inside" */
|
| + void set regionBreakInside(String value) {
|
| + setProperty('${_browserPrefix}region-break-inside', value, '');
|
| + }
|
|
|
| - static const int CSS_SCALE3D = 19;
|
| + /** Gets the value of "region-overflow" */
|
| + String get regionOverflow =>
|
| + getPropertyValue('${_browserPrefix}region-overflow');
|
|
|
| - static const int CSS_SCALEX = 6;
|
| + /** Sets the value of "region-overflow" */
|
| + void set regionOverflow(String value) {
|
| + setProperty('${_browserPrefix}region-overflow', value, '');
|
| + }
|
|
|
| - static const int CSS_SCALEY = 7;
|
| + /** Gets the value of "resize" */
|
| + String get resize =>
|
| + getPropertyValue('resize');
|
|
|
| - static const int CSS_SCALEZ = 18;
|
| + /** Sets the value of "resize" */
|
| + void set resize(String value) {
|
| + setProperty('resize', value, '');
|
| + }
|
|
|
| - static const int CSS_SKEW = 8;
|
| + /** Gets the value of "right" */
|
| + String get right =>
|
| + getPropertyValue('right');
|
|
|
| - static const int CSS_SKEWX = 9;
|
| + /** Sets the value of "right" */
|
| + void set right(String value) {
|
| + setProperty('right', value, '');
|
| + }
|
|
|
| - static const int CSS_SKEWY = 10;
|
| + /** Gets the value of "rtl-ordering" */
|
| + String get rtlOrdering =>
|
| + getPropertyValue('${_browserPrefix}rtl-ordering');
|
|
|
| - static const int CSS_TRANSLATE = 1;
|
| + /** Sets the value of "rtl-ordering" */
|
| + void set rtlOrdering(String value) {
|
| + setProperty('${_browserPrefix}rtl-ordering', value, '');
|
| + }
|
|
|
| - static const int CSS_TRANSLATE3D = 13;
|
| + /** Gets the value of "shape-inside" */
|
| + String get shapeInside =>
|
| + getPropertyValue('${_browserPrefix}shape-inside');
|
|
|
| - static const int CSS_TRANSLATEX = 2;
|
| + /** Sets the value of "shape-inside" */
|
| + void set shapeInside(String value) {
|
| + setProperty('${_browserPrefix}shape-inside', value, '');
|
| + }
|
|
|
| - static const int CSS_TRANSLATEY = 3;
|
| + /** Gets the value of "shape-margin" */
|
| + String get shapeMargin =>
|
| + getPropertyValue('${_browserPrefix}shape-margin');
|
|
|
| - static const int CSS_TRANSLATEZ = 12;
|
| + /** Sets the value of "shape-margin" */
|
| + void set shapeMargin(String value) {
|
| + setProperty('${_browserPrefix}shape-margin', value, '');
|
| + }
|
|
|
| - /// @domName WebKitCSSTransformValue.operationType; @docsEditable true
|
| - final int operationType;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| + /** Gets the value of "shape-outside" */
|
| + String get shapeOutside =>
|
| + getPropertyValue('${_browserPrefix}shape-outside');
|
|
|
| + /** Sets the value of "shape-outside" */
|
| + void set shapeOutside(String value) {
|
| + setProperty('${_browserPrefix}shape-outside', value, '');
|
| + }
|
|
|
| -/// @domName CSSUnknownRule; @docsEditable true
|
| -class CSSUnknownRule extends CSSRule native "*CSSUnknownRule" {
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| + /** Gets the value of "shape-padding" */
|
| + String get shapePadding =>
|
| + getPropertyValue('${_browserPrefix}shape-padding');
|
|
|
| + /** Sets the value of "shape-padding" */
|
| + void set shapePadding(String value) {
|
| + setProperty('${_browserPrefix}shape-padding', value, '');
|
| + }
|
|
|
| -/// @domName CSSValue; @docsEditable true
|
| -class CSSValue native "*CSSValue" {
|
| + /** Gets the value of "size" */
|
| + String get size =>
|
| + getPropertyValue('size');
|
|
|
| - static const int CSS_CUSTOM = 3;
|
| + /** Sets the value of "size" */
|
| + void set size(String value) {
|
| + setProperty('size', value, '');
|
| + }
|
|
|
| - static const int CSS_INHERIT = 0;
|
| + /** Gets the value of "speak" */
|
| + String get speak =>
|
| + getPropertyValue('speak');
|
|
|
| - static const int CSS_PRIMITIVE_VALUE = 1;
|
| + /** Sets the value of "speak" */
|
| + void set speak(String value) {
|
| + setProperty('speak', value, '');
|
| + }
|
|
|
| - static const int CSS_VALUE_LIST = 2;
|
| + /** Gets the value of "src" */
|
| + String get src =>
|
| + getPropertyValue('src');
|
|
|
| - /// @domName CSSValue.cssText; @docsEditable true
|
| - String cssText;
|
| + /** Sets the value of "src" */
|
| + void set src(String value) {
|
| + setProperty('src', value, '');
|
| + }
|
|
|
| - /// @domName CSSValue.cssValueType; @docsEditable true
|
| - final int cssValueType;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| + /** Gets the value of "tab-size" */
|
| + String get tabSize =>
|
| + getPropertyValue('tab-size');
|
|
|
| + /** Sets the value of "tab-size" */
|
| + void set tabSize(String value) {
|
| + setProperty('tab-size', value, '');
|
| + }
|
|
|
| -/// @domName HTMLCanvasElement
|
| -class CanvasElement extends Element implements Element native "*HTMLCanvasElement" {
|
| + /** Gets the value of "table-layout" */
|
| + String get tableLayout =>
|
| + getPropertyValue('table-layout');
|
|
|
| - factory CanvasElement({int width, int height}) {
|
| - var e = document.$dom_createElement("canvas");
|
| - if (width != null) e.width = width;
|
| - if (height != null) e.height = height;
|
| - return e;
|
| + /** Sets the value of "table-layout" */
|
| + void set tableLayout(String value) {
|
| + setProperty('table-layout', value, '');
|
| }
|
|
|
| - /// @domName HTMLCanvasElement.height; @docsEditable true
|
| - int height;
|
| -
|
| - /// @domName HTMLCanvasElement.width; @docsEditable true
|
| - int width;
|
| + /** Gets the value of "tap-highlight-color" */
|
| + String get tapHighlightColor =>
|
| + getPropertyValue('${_browserPrefix}tap-highlight-color');
|
|
|
| - /// @domName HTMLCanvasElement.toDataURL; @docsEditable true
|
| - @JSName('toDataURL')
|
| - String toDataUrl(String type, [num quality]) native;
|
| + /** Sets the value of "tap-highlight-color" */
|
| + void set tapHighlightColor(String value) {
|
| + setProperty('${_browserPrefix}tap-highlight-color', value, '');
|
| + }
|
|
|
| + /** Gets the value of "text-align" */
|
| + String get textAlign =>
|
| + getPropertyValue('text-align');
|
|
|
| - CanvasRenderingContext getContext(String contextId) native;
|
| - CanvasRenderingContext2D get context2d => getContext('2d');
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| + /** Sets the value of "text-align" */
|
| + void set textAlign(String value) {
|
| + setProperty('text-align', value, '');
|
| + }
|
|
|
| + /** Gets the value of "text-align-last" */
|
| + String get textAlignLast =>
|
| + getPropertyValue('${_browserPrefix}text-align-last');
|
|
|
| -/// @domName CanvasGradient; @docsEditable true
|
| -class CanvasGradient native "*CanvasGradient" {
|
| + /** Sets the value of "text-align-last" */
|
| + void set textAlignLast(String value) {
|
| + setProperty('${_browserPrefix}text-align-last', value, '');
|
| + }
|
|
|
| - /// @domName CanvasGradient.addColorStop; @docsEditable true
|
| - void addColorStop(num offset, String color) native;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| + /** Gets the value of "text-combine" */
|
| + String get textCombine =>
|
| + getPropertyValue('${_browserPrefix}text-combine');
|
|
|
| + /** Sets the value of "text-combine" */
|
| + void set textCombine(String value) {
|
| + setProperty('${_browserPrefix}text-combine', value, '');
|
| + }
|
|
|
| -/// @domName CanvasPattern; @docsEditable true
|
| -class CanvasPattern native "*CanvasPattern" {
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| + /** Gets the value of "text-decoration" */
|
| + String get textDecoration =>
|
| + getPropertyValue('text-decoration');
|
|
|
| + /** Sets the value of "text-decoration" */
|
| + void set textDecoration(String value) {
|
| + setProperty('text-decoration', value, '');
|
| + }
|
|
|
| -/// @domName CanvasRenderingContext; @docsEditable true
|
| -class CanvasRenderingContext native "*CanvasRenderingContext" {
|
| + /** Gets the value of "text-decoration-line" */
|
| + String get textDecorationLine =>
|
| + getPropertyValue('${_browserPrefix}text-decoration-line');
|
|
|
| - /// @domName CanvasRenderingContext.canvas; @docsEditable true
|
| - final CanvasElement canvas;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| + /** Sets the value of "text-decoration-line" */
|
| + void set textDecorationLine(String value) {
|
| + setProperty('${_browserPrefix}text-decoration-line', value, '');
|
| + }
|
|
|
| + /** Gets the value of "text-decoration-style" */
|
| + String get textDecorationStyle =>
|
| + getPropertyValue('${_browserPrefix}text-decoration-style');
|
|
|
| -/// @domName CanvasRenderingContext2D
|
| -class CanvasRenderingContext2D extends CanvasRenderingContext native "*CanvasRenderingContext2D" {
|
| + /** Sets the value of "text-decoration-style" */
|
| + void set textDecorationStyle(String value) {
|
| + setProperty('${_browserPrefix}text-decoration-style', value, '');
|
| + }
|
|
|
| - /// @domName CanvasRenderingContext2D.fillStyle; @docsEditable true
|
| - dynamic fillStyle;
|
| + /** Gets the value of "text-decorations-in-effect" */
|
| + String get textDecorationsInEffect =>
|
| + getPropertyValue('${_browserPrefix}text-decorations-in-effect');
|
|
|
| - /// @domName CanvasRenderingContext2D.font; @docsEditable true
|
| - String font;
|
| + /** Sets the value of "text-decorations-in-effect" */
|
| + void set textDecorationsInEffect(String value) {
|
| + setProperty('${_browserPrefix}text-decorations-in-effect', value, '');
|
| + }
|
|
|
| - /// @domName CanvasRenderingContext2D.globalAlpha; @docsEditable true
|
| - num globalAlpha;
|
| + /** Gets the value of "text-emphasis" */
|
| + String get textEmphasis =>
|
| + getPropertyValue('${_browserPrefix}text-emphasis');
|
|
|
| - /// @domName CanvasRenderingContext2D.globalCompositeOperation; @docsEditable true
|
| - String globalCompositeOperation;
|
| + /** Sets the value of "text-emphasis" */
|
| + void set textEmphasis(String value) {
|
| + setProperty('${_browserPrefix}text-emphasis', value, '');
|
| + }
|
|
|
| - /// @domName CanvasRenderingContext2D.lineCap; @docsEditable true
|
| - String lineCap;
|
| + /** Gets the value of "text-emphasis-color" */
|
| + String get textEmphasisColor =>
|
| + getPropertyValue('${_browserPrefix}text-emphasis-color');
|
|
|
| - /// @domName CanvasRenderingContext2D.lineDashOffset; @docsEditable true
|
| - num lineDashOffset;
|
| + /** Sets the value of "text-emphasis-color" */
|
| + void set textEmphasisColor(String value) {
|
| + setProperty('${_browserPrefix}text-emphasis-color', value, '');
|
| + }
|
|
|
| - /// @domName CanvasRenderingContext2D.lineJoin; @docsEditable true
|
| - String lineJoin;
|
| + /** Gets the value of "text-emphasis-position" */
|
| + String get textEmphasisPosition =>
|
| + getPropertyValue('${_browserPrefix}text-emphasis-position');
|
|
|
| - /// @domName CanvasRenderingContext2D.lineWidth; @docsEditable true
|
| - num lineWidth;
|
| + /** Sets the value of "text-emphasis-position" */
|
| + void set textEmphasisPosition(String value) {
|
| + setProperty('${_browserPrefix}text-emphasis-position', value, '');
|
| + }
|
|
|
| - /// @domName CanvasRenderingContext2D.miterLimit; @docsEditable true
|
| - num miterLimit;
|
| + /** Gets the value of "text-emphasis-style" */
|
| + String get textEmphasisStyle =>
|
| + getPropertyValue('${_browserPrefix}text-emphasis-style');
|
|
|
| - /// @domName CanvasRenderingContext2D.shadowBlur; @docsEditable true
|
| - num shadowBlur;
|
| -
|
| - /// @domName CanvasRenderingContext2D.shadowColor; @docsEditable true
|
| - String shadowColor;
|
| + /** Sets the value of "text-emphasis-style" */
|
| + void set textEmphasisStyle(String value) {
|
| + setProperty('${_browserPrefix}text-emphasis-style', value, '');
|
| + }
|
|
|
| - /// @domName CanvasRenderingContext2D.shadowOffsetX; @docsEditable true
|
| - num shadowOffsetX;
|
| + /** Gets the value of "text-fill-color" */
|
| + String get textFillColor =>
|
| + getPropertyValue('${_browserPrefix}text-fill-color');
|
|
|
| - /// @domName CanvasRenderingContext2D.shadowOffsetY; @docsEditable true
|
| - num shadowOffsetY;
|
| + /** Sets the value of "text-fill-color" */
|
| + void set textFillColor(String value) {
|
| + setProperty('${_browserPrefix}text-fill-color', value, '');
|
| + }
|
|
|
| - /// @domName CanvasRenderingContext2D.strokeStyle; @docsEditable true
|
| - dynamic strokeStyle;
|
| + /** Gets the value of "text-indent" */
|
| + String get textIndent =>
|
| + getPropertyValue('text-indent');
|
|
|
| - /// @domName CanvasRenderingContext2D.textAlign; @docsEditable true
|
| - String textAlign;
|
| + /** Sets the value of "text-indent" */
|
| + void set textIndent(String value) {
|
| + setProperty('text-indent', value, '');
|
| + }
|
|
|
| - /// @domName CanvasRenderingContext2D.textBaseline; @docsEditable true
|
| - String textBaseline;
|
| + /** Gets the value of "text-line-through" */
|
| + String get textLineThrough =>
|
| + getPropertyValue('text-line-through');
|
|
|
| - /// @domName CanvasRenderingContext2D.webkitBackingStorePixelRatio; @docsEditable true
|
| - final num webkitBackingStorePixelRatio;
|
| + /** Sets the value of "text-line-through" */
|
| + void set textLineThrough(String value) {
|
| + setProperty('text-line-through', value, '');
|
| + }
|
|
|
| - /// @domName CanvasRenderingContext2D.webkitImageSmoothingEnabled; @docsEditable true
|
| - bool webkitImageSmoothingEnabled;
|
| + /** Gets the value of "text-line-through-color" */
|
| + String get textLineThroughColor =>
|
| + getPropertyValue('text-line-through-color');
|
|
|
| - /// @domName CanvasRenderingContext2D.webkitLineDash; @docsEditable true
|
| - List webkitLineDash;
|
| + /** Sets the value of "text-line-through-color" */
|
| + void set textLineThroughColor(String value) {
|
| + setProperty('text-line-through-color', value, '');
|
| + }
|
|
|
| - /// @domName CanvasRenderingContext2D.webkitLineDashOffset; @docsEditable true
|
| - num webkitLineDashOffset;
|
| + /** Gets the value of "text-line-through-mode" */
|
| + String get textLineThroughMode =>
|
| + getPropertyValue('text-line-through-mode');
|
|
|
| - /// @domName CanvasRenderingContext2D.arc; @docsEditable true
|
| - void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticlockwise) native;
|
| + /** Sets the value of "text-line-through-mode" */
|
| + void set textLineThroughMode(String value) {
|
| + setProperty('text-line-through-mode', value, '');
|
| + }
|
|
|
| - /// @domName CanvasRenderingContext2D.arcTo; @docsEditable true
|
| - void arcTo(num x1, num y1, num x2, num y2, num radius) native;
|
| + /** Gets the value of "text-line-through-style" */
|
| + String get textLineThroughStyle =>
|
| + getPropertyValue('text-line-through-style');
|
|
|
| - /// @domName CanvasRenderingContext2D.beginPath; @docsEditable true
|
| - void beginPath() native;
|
| + /** Sets the value of "text-line-through-style" */
|
| + void set textLineThroughStyle(String value) {
|
| + setProperty('text-line-through-style', value, '');
|
| + }
|
|
|
| - /// @domName CanvasRenderingContext2D.bezierCurveTo; @docsEditable true
|
| - void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y) native;
|
| + /** Gets the value of "text-line-through-width" */
|
| + String get textLineThroughWidth =>
|
| + getPropertyValue('text-line-through-width');
|
|
|
| - /// @domName CanvasRenderingContext2D.clearRect; @docsEditable true
|
| - void clearRect(num x, num y, num width, num height) native;
|
| + /** Sets the value of "text-line-through-width" */
|
| + void set textLineThroughWidth(String value) {
|
| + setProperty('text-line-through-width', value, '');
|
| + }
|
|
|
| - /// @domName CanvasRenderingContext2D.clearShadow; @docsEditable true
|
| - void clearShadow() native;
|
| + /** Gets the value of "text-orientation" */
|
| + String get textOrientation =>
|
| + getPropertyValue('${_browserPrefix}text-orientation');
|
|
|
| - /// @domName CanvasRenderingContext2D.clip; @docsEditable true
|
| - void clip() native;
|
| + /** Sets the value of "text-orientation" */
|
| + void set textOrientation(String value) {
|
| + setProperty('${_browserPrefix}text-orientation', value, '');
|
| + }
|
|
|
| - /// @domName CanvasRenderingContext2D.closePath; @docsEditable true
|
| - void closePath() native;
|
| + /** Gets the value of "text-overflow" */
|
| + String get textOverflow =>
|
| + getPropertyValue('text-overflow');
|
|
|
| - /// @domName CanvasRenderingContext2D.createImageData; @docsEditable true
|
| - ImageData createImageData(imagedata_OR_sw, [num sh]) {
|
| - if ((?imagedata_OR_sw && (imagedata_OR_sw is ImageData || imagedata_OR_sw == null)) &&
|
| - !?sh) {
|
| - var imagedata_1 = _convertDartToNative_ImageData(imagedata_OR_sw);
|
| - return _convertNativeToDart_ImageData(_createImageData_1(imagedata_1));
|
| - }
|
| - if ((?imagedata_OR_sw && (imagedata_OR_sw is num || imagedata_OR_sw == null))) {
|
| - return _convertNativeToDart_ImageData(_createImageData_2(imagedata_OR_sw, sh));
|
| - }
|
| - throw new ArgumentError("Incorrect number or type of arguments");
|
| + /** Sets the value of "text-overflow" */
|
| + void set textOverflow(String value) {
|
| + setProperty('text-overflow', value, '');
|
| }
|
| - @JSName('createImageData')
|
| - @Creates('ImageData|=Object')
|
| - _createImageData_1(imagedata) native;
|
| - @JSName('createImageData')
|
| - @Creates('ImageData|=Object')
|
| - _createImageData_2(num sw, sh) native;
|
| -
|
| - /// @domName CanvasRenderingContext2D.createLinearGradient; @docsEditable true
|
| - CanvasGradient createLinearGradient(num x0, num y0, num x1, num y1) native;
|
|
|
| - /// @domName CanvasRenderingContext2D.createPattern; @docsEditable true
|
| - CanvasPattern createPattern(canvas_OR_image, String repetitionType) native;
|
| + /** Gets the value of "text-overline" */
|
| + String get textOverline =>
|
| + getPropertyValue('text-overline');
|
|
|
| - /// @domName CanvasRenderingContext2D.createRadialGradient; @docsEditable true
|
| - CanvasGradient createRadialGradient(num x0, num y0, num r0, num x1, num y1, num r1) native;
|
| + /** Sets the value of "text-overline" */
|
| + void set textOverline(String value) {
|
| + setProperty('text-overline', value, '');
|
| + }
|
|
|
| - /// @domName CanvasRenderingContext2D.drawImage; @docsEditable true
|
| - void drawImage(canvas_OR_image_OR_video, num sx_OR_x, num sy_OR_y, [num sw_OR_width, num height_OR_sh, num dx, num dy, num dw, num dh]) native;
|
| + /** Gets the value of "text-overline-color" */
|
| + String get textOverlineColor =>
|
| + getPropertyValue('text-overline-color');
|
|
|
| - /// @domName CanvasRenderingContext2D.drawImageFromRect; @docsEditable true
|
| - void drawImageFromRect(ImageElement image, [num sx, num sy, num sw, num sh, num dx, num dy, num dw, num dh, String compositeOperation]) native;
|
| + /** Sets the value of "text-overline-color" */
|
| + void set textOverlineColor(String value) {
|
| + setProperty('text-overline-color', value, '');
|
| + }
|
|
|
| - /// @domName CanvasRenderingContext2D.fill; @docsEditable true
|
| - void fill() native;
|
| + /** Gets the value of "text-overline-mode" */
|
| + String get textOverlineMode =>
|
| + getPropertyValue('text-overline-mode');
|
|
|
| - /// @domName CanvasRenderingContext2D.fillRect; @docsEditable true
|
| - void fillRect(num x, num y, num width, num height) native;
|
| + /** Sets the value of "text-overline-mode" */
|
| + void set textOverlineMode(String value) {
|
| + setProperty('text-overline-mode', value, '');
|
| + }
|
|
|
| - /// @domName CanvasRenderingContext2D.fillText; @docsEditable true
|
| - void fillText(String text, num x, num y, [num maxWidth]) native;
|
| + /** Gets the value of "text-overline-style" */
|
| + String get textOverlineStyle =>
|
| + getPropertyValue('text-overline-style');
|
|
|
| - /// @domName CanvasRenderingContext2D.getImageData; @docsEditable true
|
| - ImageData getImageData(num sx, num sy, num sw, num sh) {
|
| - return _convertNativeToDart_ImageData(_getImageData_1(sx, sy, sw, sh));
|
| + /** Sets the value of "text-overline-style" */
|
| + void set textOverlineStyle(String value) {
|
| + setProperty('text-overline-style', value, '');
|
| }
|
| - @JSName('getImageData')
|
| - @Creates('ImageData|=Object')
|
| - _getImageData_1(sx, sy, sw, sh) native;
|
|
|
| - /// @domName CanvasRenderingContext2D.getLineDash; @docsEditable true
|
| - List<num> getLineDash() native;
|
| + /** Gets the value of "text-overline-width" */
|
| + String get textOverlineWidth =>
|
| + getPropertyValue('text-overline-width');
|
|
|
| - /// @domName CanvasRenderingContext2D.isPointInPath; @docsEditable true
|
| - bool isPointInPath(num x, num y) native;
|
| + /** Sets the value of "text-overline-width" */
|
| + void set textOverlineWidth(String value) {
|
| + setProperty('text-overline-width', value, '');
|
| + }
|
|
|
| - /// @domName CanvasRenderingContext2D.lineTo; @docsEditable true
|
| - void lineTo(num x, num y) native;
|
| + /** Gets the value of "text-rendering" */
|
| + String get textRendering =>
|
| + getPropertyValue('text-rendering');
|
|
|
| - /// @domName CanvasRenderingContext2D.measureText; @docsEditable true
|
| - TextMetrics measureText(String text) native;
|
| + /** Sets the value of "text-rendering" */
|
| + void set textRendering(String value) {
|
| + setProperty('text-rendering', value, '');
|
| + }
|
|
|
| - /// @domName CanvasRenderingContext2D.moveTo; @docsEditable true
|
| - void moveTo(num x, num y) native;
|
| + /** Gets the value of "text-security" */
|
| + String get textSecurity =>
|
| + getPropertyValue('${_browserPrefix}text-security');
|
|
|
| - /// @domName CanvasRenderingContext2D.putImageData; @docsEditable true
|
| - void putImageData(ImageData imagedata, num dx, num dy, [num dirtyX, num dirtyY, num dirtyWidth, num dirtyHeight]) {
|
| - if (!?dirtyX &&
|
| - !?dirtyY &&
|
| - !?dirtyWidth &&
|
| - !?dirtyHeight) {
|
| - var imagedata_1 = _convertDartToNative_ImageData(imagedata);
|
| - _putImageData_1(imagedata_1, dx, dy);
|
| - return;
|
| - }
|
| - var imagedata_2 = _convertDartToNative_ImageData(imagedata);
|
| - _putImageData_2(imagedata_2, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeight);
|
| - return;
|
| - throw new ArgumentError("Incorrect number or type of arguments");
|
| + /** Sets the value of "text-security" */
|
| + void set textSecurity(String value) {
|
| + setProperty('${_browserPrefix}text-security', value, '');
|
| }
|
| - @JSName('putImageData')
|
| - void _putImageData_1(imagedata, dx, dy) native;
|
| - @JSName('putImageData')
|
| - void _putImageData_2(imagedata, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeight) native;
|
| -
|
| - /// @domName CanvasRenderingContext2D.quadraticCurveTo; @docsEditable true
|
| - void quadraticCurveTo(num cpx, num cpy, num x, num y) native;
|
|
|
| - /// @domName CanvasRenderingContext2D.rect; @docsEditable true
|
| - void rect(num x, num y, num width, num height) native;
|
| + /** Gets the value of "text-shadow" */
|
| + String get textShadow =>
|
| + getPropertyValue('text-shadow');
|
|
|
| - /// @domName CanvasRenderingContext2D.restore; @docsEditable true
|
| - void restore() native;
|
| + /** Sets the value of "text-shadow" */
|
| + void set textShadow(String value) {
|
| + setProperty('text-shadow', value, '');
|
| + }
|
|
|
| - /// @domName CanvasRenderingContext2D.rotate; @docsEditable true
|
| - void rotate(num angle) native;
|
| + /** Gets the value of "text-size-adjust" */
|
| + String get textSizeAdjust =>
|
| + getPropertyValue('${_browserPrefix}text-size-adjust');
|
|
|
| - /// @domName CanvasRenderingContext2D.save; @docsEditable true
|
| - void save() native;
|
| + /** Sets the value of "text-size-adjust" */
|
| + void set textSizeAdjust(String value) {
|
| + setProperty('${_browserPrefix}text-size-adjust', value, '');
|
| + }
|
|
|
| - /// @domName CanvasRenderingContext2D.scale; @docsEditable true
|
| - void scale(num sx, num sy) native;
|
| + /** Gets the value of "text-stroke" */
|
| + String get textStroke =>
|
| + getPropertyValue('${_browserPrefix}text-stroke');
|
|
|
| - /// @domName CanvasRenderingContext2D.setAlpha; @docsEditable true
|
| - void setAlpha(num alpha) native;
|
| + /** Sets the value of "text-stroke" */
|
| + void set textStroke(String value) {
|
| + setProperty('${_browserPrefix}text-stroke', value, '');
|
| + }
|
|
|
| - /// @domName CanvasRenderingContext2D.setCompositeOperation; @docsEditable true
|
| - void setCompositeOperation(String compositeOperation) native;
|
| + /** Gets the value of "text-stroke-color" */
|
| + String get textStrokeColor =>
|
| + getPropertyValue('${_browserPrefix}text-stroke-color');
|
|
|
| - /// @domName CanvasRenderingContext2D.setLineCap; @docsEditable true
|
| - void setLineCap(String cap) native;
|
| + /** Sets the value of "text-stroke-color" */
|
| + void set textStrokeColor(String value) {
|
| + setProperty('${_browserPrefix}text-stroke-color', value, '');
|
| + }
|
|
|
| - /// @domName CanvasRenderingContext2D.setLineDash; @docsEditable true
|
| - void setLineDash(List<num> dash) native;
|
| + /** Gets the value of "text-stroke-width" */
|
| + String get textStrokeWidth =>
|
| + getPropertyValue('${_browserPrefix}text-stroke-width');
|
|
|
| - /// @domName CanvasRenderingContext2D.setLineJoin; @docsEditable true
|
| - void setLineJoin(String join) native;
|
| + /** Sets the value of "text-stroke-width" */
|
| + void set textStrokeWidth(String value) {
|
| + setProperty('${_browserPrefix}text-stroke-width', value, '');
|
| + }
|
|
|
| - /// @domName CanvasRenderingContext2D.setLineWidth; @docsEditable true
|
| - void setLineWidth(num width) native;
|
| + /** Gets the value of "text-transform" */
|
| + String get textTransform =>
|
| + getPropertyValue('text-transform');
|
|
|
| - /// @domName CanvasRenderingContext2D.setMiterLimit; @docsEditable true
|
| - void setMiterLimit(num limit) native;
|
| + /** Sets the value of "text-transform" */
|
| + void set textTransform(String value) {
|
| + setProperty('text-transform', value, '');
|
| + }
|
|
|
| - /// @domName CanvasRenderingContext2D.setShadow; @docsEditable true
|
| - void setShadow(num width, num height, num blur, [c_OR_color_OR_grayLevel_OR_r, num alpha_OR_g_OR_m, num b_OR_y, num a_OR_k, num a]) native;
|
| + /** Gets the value of "text-underline" */
|
| + String get textUnderline =>
|
| + getPropertyValue('text-underline');
|
|
|
| - /// @domName CanvasRenderingContext2D.setTransform; @docsEditable true
|
| - void setTransform(num m11, num m12, num m21, num m22, num dx, num dy) native;
|
| + /** Sets the value of "text-underline" */
|
| + void set textUnderline(String value) {
|
| + setProperty('text-underline', value, '');
|
| + }
|
|
|
| - /// @domName CanvasRenderingContext2D.stroke; @docsEditable true
|
| - void stroke() native;
|
| + /** Gets the value of "text-underline-color" */
|
| + String get textUnderlineColor =>
|
| + getPropertyValue('text-underline-color');
|
|
|
| - /// @domName CanvasRenderingContext2D.strokeRect; @docsEditable true
|
| - void strokeRect(num x, num y, num width, num height, [num lineWidth]) native;
|
| + /** Sets the value of "text-underline-color" */
|
| + void set textUnderlineColor(String value) {
|
| + setProperty('text-underline-color', value, '');
|
| + }
|
|
|
| - /// @domName CanvasRenderingContext2D.strokeText; @docsEditable true
|
| - void strokeText(String text, num x, num y, [num maxWidth]) native;
|
| + /** Gets the value of "text-underline-mode" */
|
| + String get textUnderlineMode =>
|
| + getPropertyValue('text-underline-mode');
|
|
|
| - /// @domName CanvasRenderingContext2D.transform; @docsEditable true
|
| - void transform(num m11, num m12, num m21, num m22, num dx, num dy) native;
|
| + /** Sets the value of "text-underline-mode" */
|
| + void set textUnderlineMode(String value) {
|
| + setProperty('text-underline-mode', value, '');
|
| + }
|
|
|
| - /// @domName CanvasRenderingContext2D.translate; @docsEditable true
|
| - void translate(num tx, num ty) native;
|
| + /** Gets the value of "text-underline-style" */
|
| + String get textUnderlineStyle =>
|
| + getPropertyValue('text-underline-style');
|
|
|
| - /// @domName CanvasRenderingContext2D.webkitGetImageDataHD; @docsEditable true
|
| - ImageData webkitGetImageDataHD(num sx, num sy, num sw, num sh) {
|
| - return _convertNativeToDart_ImageData(_webkitGetImageDataHD_1(sx, sy, sw, sh));
|
| + /** Sets the value of "text-underline-style" */
|
| + void set textUnderlineStyle(String value) {
|
| + setProperty('text-underline-style', value, '');
|
| }
|
| - @JSName('webkitGetImageDataHD')
|
| - @Creates('ImageData|=Object')
|
| - _webkitGetImageDataHD_1(sx, sy, sw, sh) native;
|
|
|
| - /// @domName CanvasRenderingContext2D.webkitPutImageDataHD; @docsEditable true
|
| - void webkitPutImageDataHD(ImageData imagedata, num dx, num dy, [num dirtyX, num dirtyY, num dirtyWidth, num dirtyHeight]) {
|
| - if (!?dirtyX &&
|
| - !?dirtyY &&
|
| - !?dirtyWidth &&
|
| - !?dirtyHeight) {
|
| - var imagedata_1 = _convertDartToNative_ImageData(imagedata);
|
| - _webkitPutImageDataHD_1(imagedata_1, dx, dy);
|
| - return;
|
| - }
|
| - var imagedata_2 = _convertDartToNative_ImageData(imagedata);
|
| - _webkitPutImageDataHD_2(imagedata_2, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeight);
|
| - return;
|
| - throw new ArgumentError("Incorrect number or type of arguments");
|
| + /** Gets the value of "text-underline-width" */
|
| + String get textUnderlineWidth =>
|
| + getPropertyValue('text-underline-width');
|
| +
|
| + /** Sets the value of "text-underline-width" */
|
| + void set textUnderlineWidth(String value) {
|
| + setProperty('text-underline-width', value, '');
|
| }
|
| - @JSName('webkitPutImageDataHD')
|
| - void _webkitPutImageDataHD_1(imagedata, dx, dy) native;
|
| - @JSName('webkitPutImageDataHD')
|
| - void _webkitPutImageDataHD_2(imagedata, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeight) native;
|
|
|
| + /** Gets the value of "top" */
|
| + String get top =>
|
| + getPropertyValue('top');
|
|
|
| - /**
|
| - * Sets the color used inside shapes.
|
| - * [r], [g], [b] are 0-255, [a] is 0-1.
|
| - */
|
| - void setFillColorRgb(int r, int g, int b, [num a = 1]) {
|
| - this.fillStyle = 'rgba($r, $g, $b, $a)';
|
| + /** Sets the value of "top" */
|
| + void set top(String value) {
|
| + setProperty('top', value, '');
|
| }
|
|
|
| - /**
|
| - * Sets the color used inside shapes.
|
| - * [h] is in degrees, 0-360.
|
| - * [s], [l] are in percent, 0-100.
|
| - * [a] is 0-1.
|
| - */
|
| - void setFillColorHsl(int h, num s, num l, [num a = 1]) {
|
| - this.fillStyle = 'hsla($h, $s%, $l%, $a)';
|
| + /** Gets the value of "transform" */
|
| + String get transform =>
|
| + getPropertyValue('${_browserPrefix}transform');
|
| +
|
| + /** Sets the value of "transform" */
|
| + void set transform(String value) {
|
| + setProperty('${_browserPrefix}transform', value, '');
|
| }
|
|
|
| - /**
|
| - * Sets the color used for stroking shapes.
|
| - * [r], [g], [b] are 0-255, [a] is 0-1.
|
| - */
|
| - void setStrokeColorRgb(int r, int g, int b, [num a = 1]) {
|
| - this.strokeStyle = 'rgba($r, $g, $b, $a)';
|
| + /** Gets the value of "transform-origin" */
|
| + String get transformOrigin =>
|
| + getPropertyValue('${_browserPrefix}transform-origin');
|
| +
|
| + /** Sets the value of "transform-origin" */
|
| + void set transformOrigin(String value) {
|
| + setProperty('${_browserPrefix}transform-origin', value, '');
|
| }
|
|
|
| - /**
|
| - * Sets the color used for stroking shapes.
|
| - * [h] is in degrees, 0-360.
|
| - * [s], [l] are in percent, 0-100.
|
| - * [a] is 0-1.
|
| - */
|
| - void setStrokeColorHsl(int h, num s, num l, [num a = 1]) {
|
| - this.strokeStyle = 'hsla($h, $s%, $l%, $a)';
|
| + /** Gets the value of "transform-origin-x" */
|
| + String get transformOriginX =>
|
| + getPropertyValue('${_browserPrefix}transform-origin-x');
|
| +
|
| + /** Sets the value of "transform-origin-x" */
|
| + void set transformOriginX(String value) {
|
| + setProperty('${_browserPrefix}transform-origin-x', value, '');
|
| }
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
|
|
| + /** Gets the value of "transform-origin-y" */
|
| + String get transformOriginY =>
|
| + getPropertyValue('${_browserPrefix}transform-origin-y');
|
|
|
| -/// @domName CharacterData; @docsEditable true
|
| -class CharacterData extends Node native "*CharacterData" {
|
| + /** Sets the value of "transform-origin-y" */
|
| + void set transformOriginY(String value) {
|
| + setProperty('${_browserPrefix}transform-origin-y', value, '');
|
| + }
|
|
|
| - /// @domName CharacterData.data; @docsEditable true
|
| - String data;
|
| + /** Gets the value of "transform-origin-z" */
|
| + String get transformOriginZ =>
|
| + getPropertyValue('${_browserPrefix}transform-origin-z');
|
|
|
| - /// @domName CharacterData.length; @docsEditable true
|
| - final int length;
|
| + /** Sets the value of "transform-origin-z" */
|
| + void set transformOriginZ(String value) {
|
| + setProperty('${_browserPrefix}transform-origin-z', value, '');
|
| + }
|
|
|
| - /// @domName CharacterData.appendData; @docsEditable true
|
| - void appendData(String data) native;
|
| + /** Gets the value of "transform-style" */
|
| + String get transformStyle =>
|
| + getPropertyValue('${_browserPrefix}transform-style');
|
|
|
| - /// @domName CharacterData.deleteData; @docsEditable true
|
| - void deleteData(int offset, int length) native;
|
| + /** Sets the value of "transform-style" */
|
| + void set transformStyle(String value) {
|
| + setProperty('${_browserPrefix}transform-style', value, '');
|
| + }
|
|
|
| - /// @domName CharacterData.insertData; @docsEditable true
|
| - void insertData(int offset, String data) native;
|
| + /** Gets the value of "transition" */
|
| + String get transition =>
|
| + getPropertyValue('${_browserPrefix}transition');
|
|
|
| - /// @domName CharacterData.remove; @docsEditable true
|
| - void remove() native;
|
| + /** Sets the value of "transition" */
|
| + void set transition(String value) {
|
| + setProperty('${_browserPrefix}transition', value, '');
|
| + }
|
|
|
| - /// @domName CharacterData.replaceData; @docsEditable true
|
| - void replaceData(int offset, int length, String data) native;
|
| + /** Gets the value of "transition-delay" */
|
| + String get transitionDelay =>
|
| + getPropertyValue('${_browserPrefix}transition-delay');
|
|
|
| - /// @domName CharacterData.substringData; @docsEditable true
|
| - String substringData(int offset, int length) native;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| + /** Sets the value of "transition-delay" */
|
| + void set transitionDelay(String value) {
|
| + setProperty('${_browserPrefix}transition-delay', value, '');
|
| + }
|
|
|
| + /** Gets the value of "transition-duration" */
|
| + String get transitionDuration =>
|
| + getPropertyValue('${_browserPrefix}transition-duration');
|
|
|
| -/// @domName ClientRect; @docsEditable true
|
| -class ClientRect native "*ClientRect" {
|
| + /** Sets the value of "transition-duration" */
|
| + void set transitionDuration(String value) {
|
| + setProperty('${_browserPrefix}transition-duration', value, '');
|
| + }
|
|
|
| - /// @domName ClientRect.bottom; @docsEditable true
|
| - final num bottom;
|
| + /** Gets the value of "transition-property" */
|
| + String get transitionProperty =>
|
| + getPropertyValue('${_browserPrefix}transition-property');
|
|
|
| - /// @domName ClientRect.height; @docsEditable true
|
| - final num height;
|
| + /** Sets the value of "transition-property" */
|
| + void set transitionProperty(String value) {
|
| + setProperty('${_browserPrefix}transition-property', value, '');
|
| + }
|
|
|
| - /// @domName ClientRect.left; @docsEditable true
|
| - final num left;
|
| + /** Gets the value of "transition-timing-function" */
|
| + String get transitionTimingFunction =>
|
| + getPropertyValue('${_browserPrefix}transition-timing-function');
|
|
|
| - /// @domName ClientRect.right; @docsEditable true
|
| - final num right;
|
| + /** Sets the value of "transition-timing-function" */
|
| + void set transitionTimingFunction(String value) {
|
| + setProperty('${_browserPrefix}transition-timing-function', value, '');
|
| + }
|
|
|
| - /// @domName ClientRect.top; @docsEditable true
|
| - final num top;
|
| + /** Gets the value of "unicode-bidi" */
|
| + String get unicodeBidi =>
|
| + getPropertyValue('unicode-bidi');
|
|
|
| - /// @domName ClientRect.width; @docsEditable true
|
| - final num width;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| -/// @domName Clipboard; @docsEditable true
|
| -class Clipboard native "*Clipboard" {
|
| -
|
| - /// @domName Clipboard.dropEffect; @docsEditable true
|
| - String dropEffect;
|
| -
|
| - /// @domName Clipboard.effectAllowed; @docsEditable true
|
| - String effectAllowed;
|
| + /** Sets the value of "unicode-bidi" */
|
| + void set unicodeBidi(String value) {
|
| + setProperty('unicode-bidi', value, '');
|
| + }
|
|
|
| - /// @domName Clipboard.files; @docsEditable true
|
| - final FileList files;
|
| + /** Gets the value of "unicode-range" */
|
| + String get unicodeRange =>
|
| + getPropertyValue('unicode-range');
|
|
|
| - /// @domName Clipboard.items; @docsEditable true
|
| - final DataTransferItemList items;
|
| + /** Sets the value of "unicode-range" */
|
| + void set unicodeRange(String value) {
|
| + setProperty('unicode-range', value, '');
|
| + }
|
|
|
| - /// @domName Clipboard.types; @docsEditable true
|
| - final List types;
|
| + /** Gets the value of "user-drag" */
|
| + String get userDrag =>
|
| + getPropertyValue('${_browserPrefix}user-drag');
|
|
|
| - /// @domName Clipboard.clearData; @docsEditable true
|
| - void clearData([String type]) native;
|
| + /** Sets the value of "user-drag" */
|
| + void set userDrag(String value) {
|
| + setProperty('${_browserPrefix}user-drag', value, '');
|
| + }
|
|
|
| - /// @domName Clipboard.getData; @docsEditable true
|
| - String getData(String type) native;
|
| + /** Gets the value of "user-modify" */
|
| + String get userModify =>
|
| + getPropertyValue('${_browserPrefix}user-modify');
|
|
|
| - /// @domName Clipboard.setData; @docsEditable true
|
| - bool setData(String type, String data) native;
|
| + /** Sets the value of "user-modify" */
|
| + void set userModify(String value) {
|
| + setProperty('${_browserPrefix}user-modify', value, '');
|
| + }
|
|
|
| - /// @domName Clipboard.setDragImage; @docsEditable true
|
| - void setDragImage(ImageElement image, int x, int y) native;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| + /** Gets the value of "user-select" */
|
| + String get userSelect =>
|
| + getPropertyValue('${_browserPrefix}user-select');
|
|
|
| + /** Sets the value of "user-select" */
|
| + void set userSelect(String value) {
|
| + setProperty('${_browserPrefix}user-select', value, '');
|
| + }
|
|
|
| -/// @domName CloseEvent; @docsEditable true
|
| -class CloseEvent extends Event native "*CloseEvent" {
|
| + /** Gets the value of "user-zoom" */
|
| + String get userZoom =>
|
| + getPropertyValue('user-zoom');
|
|
|
| - /// @domName CloseEvent.code; @docsEditable true
|
| - final int code;
|
| + /** Sets the value of "user-zoom" */
|
| + void set userZoom(String value) {
|
| + setProperty('user-zoom', value, '');
|
| + }
|
|
|
| - /// @domName CloseEvent.reason; @docsEditable true
|
| - final String reason;
|
| + /** Gets the value of "vertical-align" */
|
| + String get verticalAlign =>
|
| + getPropertyValue('vertical-align');
|
|
|
| - /// @domName CloseEvent.wasClean; @docsEditable true
|
| - final bool wasClean;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| + /** Sets the value of "vertical-align" */
|
| + void set verticalAlign(String value) {
|
| + setProperty('vertical-align', value, '');
|
| + }
|
|
|
| + /** Gets the value of "visibility" */
|
| + String get visibility =>
|
| + getPropertyValue('visibility');
|
|
|
| -/// @domName Comment; @docsEditable true
|
| -class Comment extends CharacterData native "*Comment" {
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| + /** Sets the value of "visibility" */
|
| + void set visibility(String value) {
|
| + setProperty('visibility', value, '');
|
| + }
|
|
|
| + /** Gets the value of "white-space" */
|
| + String get whiteSpace =>
|
| + getPropertyValue('white-space');
|
|
|
| -/// @domName CompositionEvent; @docsEditable true
|
| -class CompositionEvent extends UIEvent native "*CompositionEvent" {
|
| + /** Sets the value of "white-space" */
|
| + void set whiteSpace(String value) {
|
| + setProperty('white-space', value, '');
|
| + }
|
|
|
| - /// @domName CompositionEvent.data; @docsEditable true
|
| - final String data;
|
| + /** Gets the value of "widows" */
|
| + String get widows =>
|
| + getPropertyValue('widows');
|
|
|
| - /// @domName CompositionEvent.initCompositionEvent; @docsEditable true
|
| - void initCompositionEvent(String typeArg, bool canBubbleArg, bool cancelableArg, LocalWindow viewArg, String dataArg) native;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| + /** Sets the value of "widows" */
|
| + void set widows(String value) {
|
| + setProperty('widows', value, '');
|
| + }
|
|
|
| + /** Gets the value of "width" */
|
| + String get width =>
|
| + getPropertyValue('width');
|
|
|
| -/// @domName Console
|
| -class Console
|
| - // Console is sometimes a singleton bag-of-properties without a prototype.
|
| - native "=(typeof console == 'undefined' ? {} : console)" {
|
| + /** Sets the value of "width" */
|
| + void set width(String value) {
|
| + setProperty('width', value, '');
|
| + }
|
|
|
| - /// @domName Console.memory; @docsEditable true
|
| - final MemoryInfo memory;
|
| + /** Gets the value of "word-break" */
|
| + String get wordBreak =>
|
| + getPropertyValue('word-break');
|
|
|
| - /// @domName Console.profiles; @docsEditable true
|
| - final List<ScriptProfile> profiles;
|
| + /** Sets the value of "word-break" */
|
| + void set wordBreak(String value) {
|
| + setProperty('word-break', value, '');
|
| + }
|
|
|
| - /// @domName Console.assertCondition; @docsEditable true
|
| - void assertCondition(bool condition, Object arg) native;
|
| + /** Gets the value of "word-spacing" */
|
| + String get wordSpacing =>
|
| + getPropertyValue('word-spacing');
|
|
|
| - /// @domName Console.count; @docsEditable true
|
| - void count(Object arg) native;
|
| + /** Sets the value of "word-spacing" */
|
| + void set wordSpacing(String value) {
|
| + setProperty('word-spacing', value, '');
|
| + }
|
|
|
| - /// @domName Console.debug; @docsEditable true
|
| - void debug(Object arg) native;
|
| + /** Gets the value of "word-wrap" */
|
| + String get wordWrap =>
|
| + getPropertyValue('word-wrap');
|
|
|
| - /// @domName Console.dir; @docsEditable true
|
| - void dir(Object arg) native;
|
| + /** Sets the value of "word-wrap" */
|
| + void set wordWrap(String value) {
|
| + setProperty('word-wrap', value, '');
|
| + }
|
|
|
| - /// @domName Console.dirxml; @docsEditable true
|
| - void dirxml(Object arg) native;
|
| + /** Gets the value of "wrap" */
|
| + String get wrap =>
|
| + getPropertyValue('${_browserPrefix}wrap');
|
|
|
| - /// @domName Console.error; @docsEditable true
|
| - void error(Object arg) native;
|
| + /** Sets the value of "wrap" */
|
| + void set wrap(String value) {
|
| + setProperty('${_browserPrefix}wrap', value, '');
|
| + }
|
|
|
| - /// @domName Console.group; @docsEditable true
|
| - void group(Object arg) native;
|
| + /** Gets the value of "wrap-flow" */
|
| + String get wrapFlow =>
|
| + getPropertyValue('${_browserPrefix}wrap-flow');
|
|
|
| - /// @domName Console.groupCollapsed; @docsEditable true
|
| - void groupCollapsed(Object arg) native;
|
| + /** Sets the value of "wrap-flow" */
|
| + void set wrapFlow(String value) {
|
| + setProperty('${_browserPrefix}wrap-flow', value, '');
|
| + }
|
|
|
| - /// @domName Console.groupEnd; @docsEditable true
|
| - void groupEnd() native;
|
| + /** Gets the value of "wrap-through" */
|
| + String get wrapThrough =>
|
| + getPropertyValue('${_browserPrefix}wrap-through');
|
|
|
| - /// @domName Console.info; @docsEditable true
|
| - void info(Object arg) native;
|
| + /** Sets the value of "wrap-through" */
|
| + void set wrapThrough(String value) {
|
| + setProperty('${_browserPrefix}wrap-through', value, '');
|
| + }
|
|
|
| - /// @domName Console.log; @docsEditable true
|
| - void log(Object arg) native;
|
| + /** Gets the value of "writing-mode" */
|
| + String get writingMode =>
|
| + getPropertyValue('${_browserPrefix}writing-mode');
|
|
|
| - /// @domName Console.markTimeline; @docsEditable true
|
| - void markTimeline(Object arg) native;
|
| + /** Sets the value of "writing-mode" */
|
| + void set writingMode(String value) {
|
| + setProperty('${_browserPrefix}writing-mode', value, '');
|
| + }
|
|
|
| - /// @domName Console.profile; @docsEditable true
|
| - void profile(String title) native;
|
| + /** Gets the value of "z-index" */
|
| + String get zIndex =>
|
| + getPropertyValue('z-index');
|
|
|
| - /// @domName Console.profileEnd; @docsEditable true
|
| - void profileEnd(String title) native;
|
| + /** Sets the value of "z-index" */
|
| + void set zIndex(String value) {
|
| + setProperty('z-index', value, '');
|
| + }
|
|
|
| - /// @domName Console.time; @docsEditable true
|
| - void time(String title) native;
|
| + /** Gets the value of "zoom" */
|
| + String get zoom =>
|
| + getPropertyValue('zoom');
|
|
|
| - /// @domName Console.timeEnd; @docsEditable true
|
| - void timeEnd(String title, Object arg) native;
|
| + /** Sets the value of "zoom" */
|
| + void set zoom(String value) {
|
| + setProperty('zoom', value, '');
|
| + }
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - /// @domName Console.timeStamp; @docsEditable true
|
| - void timeStamp(Object arg) native;
|
|
|
| - /// @domName Console.trace; @docsEditable true
|
| - void trace(Object arg) native;
|
| +/// @domName CSSStyleRule; @docsEditable true
|
| +class CssStyleRule extends CssRule native "*CSSStyleRule" {
|
|
|
| - /// @domName Console.warn; @docsEditable true
|
| - void warn(Object arg) native;
|
| + /// @domName CSSStyleRule.selectorText; @docsEditable true
|
| + String selectorText;
|
|
|
| + /// @domName CSSStyleRule.style; @docsEditable true
|
| + final CssStyleDeclaration style;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -/// @domName HTMLContentElement; @docsEditable true
|
| -class ContentElement extends Element implements Element native "*HTMLContentElement" {
|
| +/// @domName CSSStyleSheet; @docsEditable true
|
| +class CssStyleSheet extends StyleSheet native "*CSSStyleSheet" {
|
|
|
| - factory ContentElement() => document.$dom_createElement("content");
|
| + /// @domName CSSStyleSheet.cssRules; @docsEditable true
|
| + @Returns('_CssRuleList') @Creates('_CssRuleList')
|
| + final List<CssRule> cssRules;
|
|
|
| - /// @domName HTMLContentElement.resetStyleInheritance; @docsEditable true
|
| - bool resetStyleInheritance;
|
| + /// @domName CSSStyleSheet.ownerRule; @docsEditable true
|
| + final CssRule ownerRule;
|
|
|
| - /// @domName HTMLContentElement.select; @docsEditable true
|
| - String select;
|
| + /// @domName CSSStyleSheet.rules; @docsEditable true
|
| + @Returns('_CssRuleList') @Creates('_CssRuleList')
|
| + final List<CssRule> rules;
|
|
|
| - /// @domName HTMLContentElement.getDistributedNodes; @docsEditable true
|
| - @Returns('NodeList') @Creates('NodeList')
|
| - List<Node> getDistributedNodes() native;
|
| + /// @domName CSSStyleSheet.addRule; @docsEditable true
|
| + int addRule(String selector, String style, [int index]) native;
|
| +
|
| + /// @domName CSSStyleSheet.deleteRule; @docsEditable true
|
| + void deleteRule(int index) native;
|
| +
|
| + /// @domName CSSStyleSheet.insertRule; @docsEditable true
|
| + int insertRule(String rule, int index) native;
|
| +
|
| + /// @domName CSSStyleSheet.removeRule; @docsEditable true
|
| + void removeRule(int index) native;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -/// @domName Coordinates; @docsEditable true
|
| -class Coordinates native "*Coordinates" {
|
| +/// @domName WebKitCSSTransformValue; @docsEditable true
|
| +class CssTransformValue extends _CssValueList native "*WebKitCSSTransformValue" {
|
|
|
| - /// @domName Coordinates.accuracy; @docsEditable true
|
| - final num accuracy;
|
| + static const int CSS_MATRIX = 11;
|
|
|
| - /// @domName Coordinates.altitude; @docsEditable true
|
| - final num altitude;
|
| + static const int CSS_MATRIX3D = 21;
|
|
|
| - /// @domName Coordinates.altitudeAccuracy; @docsEditable true
|
| - final num altitudeAccuracy;
|
| + static const int CSS_PERSPECTIVE = 20;
|
|
|
| - /// @domName Coordinates.heading; @docsEditable true
|
| - final num heading;
|
| + static const int CSS_ROTATE = 4;
|
|
|
| - /// @domName Coordinates.latitude; @docsEditable true
|
| - final num latitude;
|
| + static const int CSS_ROTATE3D = 17;
|
|
|
| - /// @domName Coordinates.longitude; @docsEditable true
|
| - final num longitude;
|
| + static const int CSS_ROTATEX = 14;
|
|
|
| - /// @domName Coordinates.speed; @docsEditable true
|
| - final num speed;
|
| + static const int CSS_ROTATEY = 15;
|
| +
|
| + static const int CSS_ROTATEZ = 16;
|
| +
|
| + static const int CSS_SCALE = 5;
|
| +
|
| + static const int CSS_SCALE3D = 19;
|
| +
|
| + static const int CSS_SCALEX = 6;
|
| +
|
| + static const int CSS_SCALEY = 7;
|
| +
|
| + static const int CSS_SCALEZ = 18;
|
| +
|
| + static const int CSS_SKEW = 8;
|
| +
|
| + static const int CSS_SKEWX = 9;
|
| +
|
| + static const int CSS_SKEWY = 10;
|
| +
|
| + static const int CSS_TRANSLATE = 1;
|
| +
|
| + static const int CSS_TRANSLATE3D = 13;
|
| +
|
| + static const int CSS_TRANSLATEX = 2;
|
| +
|
| + static const int CSS_TRANSLATEY = 3;
|
| +
|
| + static const int CSS_TRANSLATEZ = 12;
|
| +
|
| + /// @domName WebKitCSSTransformValue.operationType; @docsEditable true
|
| + final int operationType;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -/// @domName Counter; @docsEditable true
|
| -class Counter native "*Counter" {
|
| -
|
| - /// @domName Counter.identifier; @docsEditable true
|
| - final String identifier;
|
| -
|
| - /// @domName Counter.listStyle; @docsEditable true
|
| - final String listStyle;
|
| -
|
| - /// @domName Counter.separator; @docsEditable true
|
| - final String separator;
|
| +/// @domName CSSUnknownRule; @docsEditable true
|
| +class CssUnknownRule extends CssRule native "*CSSUnknownRule" {
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -/// @domName Crypto; @docsEditable true
|
| -class Crypto native "*Crypto" {
|
| +/// @domName CSSValue; @docsEditable true
|
| +class CssValue native "*CSSValue" {
|
|
|
| - /// @domName Crypto.getRandomValues; @docsEditable true
|
| - void getRandomValues(ArrayBufferView array) native;
|
| + static const int CSS_CUSTOM = 3;
|
| +
|
| + static const int CSS_INHERIT = 0;
|
| +
|
| + static const int CSS_PRIMITIVE_VALUE = 1;
|
| +
|
| + static const int CSS_VALUE_LIST = 2;
|
| +
|
| + /// @domName CSSValue.cssText; @docsEditable true
|
| + String cssText;
|
| +
|
| + /// @domName CSSValue.cssValueType; @docsEditable true
|
| + final int cssValueType;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| @@ -5048,1640 +5116,1532 @@ class DListElement extends Element implements Element native "*HTMLDListElement"
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -/// @domName DOMApplicationCache; @docsEditable true
|
| -class DOMApplicationCache extends EventTarget native "*DOMApplicationCache" {
|
| -
|
| - /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
|
| - DOMApplicationCacheEvents get on =>
|
| - new DOMApplicationCacheEvents(this);
|
| -
|
| - static const int CHECKING = 2;
|
| -
|
| - static const int DOWNLOADING = 3;
|
| -
|
| - static const int IDLE = 1;
|
| -
|
| - static const int OBSOLETE = 5;
|
| -
|
| - static const int UNCACHED = 0;
|
| -
|
| - static const int UPDATEREADY = 4;
|
| -
|
| - /// @domName DOMApplicationCache.status; @docsEditable true
|
| - final int status;
|
| -
|
| - /// @domName DOMApplicationCache.abort; @docsEditable true
|
| - void abort() native;
|
| -
|
| - /// @domName DOMApplicationCache.addEventListener; @docsEditable true
|
| - @JSName('addEventListener')
|
| - void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native;
|
| -
|
| - /// @domName DOMApplicationCache.dispatchEvent; @docsEditable true
|
| - @JSName('dispatchEvent')
|
| - bool $dom_dispatchEvent(Event evt) native;
|
| -
|
| - /// @domName DOMApplicationCache.removeEventListener; @docsEditable true
|
| - @JSName('removeEventListener')
|
| - void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native;
|
| +/// @domName HTMLDataListElement; @docsEditable true
|
| +class DataListElement extends Element implements Element native "*HTMLDataListElement" {
|
|
|
| - /// @domName DOMApplicationCache.swapCache; @docsEditable true
|
| - void swapCache() native;
|
| + factory DataListElement() => document.$dom_createElement("datalist");
|
|
|
| - /// @domName DOMApplicationCache.update; @docsEditable true
|
| - void update() native;
|
| + /// @domName HTMLDataListElement.options; @docsEditable true
|
| + final HtmlCollection options;
|
| }
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| -class DOMApplicationCacheEvents extends Events {
|
| - DOMApplicationCacheEvents(EventTarget _ptr) : super(_ptr);
|
| -
|
| - EventListenerList get cached => this['cached'];
|
| -
|
| - EventListenerList get checking => this['checking'];
|
|
|
| - EventListenerList get downloading => this['downloading'];
|
| +/// @domName DataTransferItem; @docsEditable true
|
| +class DataTransferItem native "*DataTransferItem" {
|
|
|
| - EventListenerList get error => this['error'];
|
| + /// @domName DataTransferItem.kind; @docsEditable true
|
| + final String kind;
|
|
|
| - EventListenerList get noUpdate => this['noupdate'];
|
| + /// @domName DataTransferItem.type; @docsEditable true
|
| + final String type;
|
|
|
| - EventListenerList get obsolete => this['obsolete'];
|
| + /// @domName DataTransferItem.getAsFile; @docsEditable true
|
| + Blob getAsFile() native;
|
|
|
| - EventListenerList get progress => this['progress'];
|
| + /// @domName DataTransferItem.getAsString; @docsEditable true
|
| + void getAsString([StringCallback callback]) native;
|
|
|
| - EventListenerList get updateReady => this['updateready'];
|
| + /// @domName DataTransferItem.webkitGetAsEntry; @docsEditable true
|
| + Entry webkitGetAsEntry() native;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -/// @domName DOMError; @docsEditable true
|
| -class DOMError native "*DOMError" {
|
| +/// @domName DataTransferItemList; @docsEditable true
|
| +class DataTransferItemList native "*DataTransferItemList" {
|
|
|
| - /// @domName DOMError.name; @docsEditable true
|
| - final String name;
|
| + /// @domName DataTransferItemList.length; @docsEditable true
|
| + final int length;
|
| +
|
| + /// @domName DataTransferItemList.add; @docsEditable true
|
| + void add(data_OR_file, [String type]) native;
|
| +
|
| + /// @domName DataTransferItemList.clear; @docsEditable true
|
| + void clear() native;
|
| +
|
| + /// @domName DataTransferItemList.item; @docsEditable true
|
| + DataTransferItem item(int index) native;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -/// @domName DOMException; @docsEditable true
|
| -class DOMException native "*DOMException" {
|
| +/// @domName DataView; @docsEditable true
|
| +class DataView extends ArrayBufferView native "*DataView" {
|
|
|
| - static const int ABORT_ERR = 20;
|
| + factory DataView(ArrayBuffer buffer, [int byteOffset, int byteLength]) {
|
| + if (!?byteOffset) {
|
| + return _DataViewFactoryProvider.createDataView(buffer);
|
| + }
|
| + if (!?byteLength) {
|
| + return _DataViewFactoryProvider.createDataView(buffer, byteOffset);
|
| + }
|
| + return _DataViewFactoryProvider.createDataView(buffer, byteOffset, byteLength);
|
| + }
|
|
|
| - static const int DATA_CLONE_ERR = 25;
|
| + /// @domName DataView.getFloat32; @docsEditable true
|
| + num getFloat32(int byteOffset, {bool littleEndian}) native;
|
|
|
| - static const int DOMSTRING_SIZE_ERR = 2;
|
| + /// @domName DataView.getFloat64; @docsEditable true
|
| + num getFloat64(int byteOffset, {bool littleEndian}) native;
|
|
|
| - static const int HIERARCHY_REQUEST_ERR = 3;
|
| + /// @domName DataView.getInt16; @docsEditable true
|
| + int getInt16(int byteOffset, {bool littleEndian}) native;
|
|
|
| - static const int INDEX_SIZE_ERR = 1;
|
| + /// @domName DataView.getInt32; @docsEditable true
|
| + int getInt32(int byteOffset, {bool littleEndian}) native;
|
|
|
| - static const int INUSE_ATTRIBUTE_ERR = 10;
|
| + /// @domName DataView.getInt8; @docsEditable true
|
| + int getInt8(int byteOffset) native;
|
|
|
| - static const int INVALID_ACCESS_ERR = 15;
|
| + /// @domName DataView.getUint16; @docsEditable true
|
| + int getUint16(int byteOffset, {bool littleEndian}) native;
|
|
|
| - static const int INVALID_CHARACTER_ERR = 5;
|
| + /// @domName DataView.getUint32; @docsEditable true
|
| + int getUint32(int byteOffset, {bool littleEndian}) native;
|
|
|
| - static const int INVALID_MODIFICATION_ERR = 13;
|
| + /// @domName DataView.getUint8; @docsEditable true
|
| + int getUint8(int byteOffset) native;
|
|
|
| - static const int INVALID_NODE_TYPE_ERR = 24;
|
| + /// @domName DataView.setFloat32; @docsEditable true
|
| + void setFloat32(int byteOffset, num value, {bool littleEndian}) native;
|
|
|
| - static const int INVALID_STATE_ERR = 11;
|
| + /// @domName DataView.setFloat64; @docsEditable true
|
| + void setFloat64(int byteOffset, num value, {bool littleEndian}) native;
|
|
|
| - static const int NAMESPACE_ERR = 14;
|
| + /// @domName DataView.setInt16; @docsEditable true
|
| + void setInt16(int byteOffset, int value, {bool littleEndian}) native;
|
|
|
| - static const int NETWORK_ERR = 19;
|
| + /// @domName DataView.setInt32; @docsEditable true
|
| + void setInt32(int byteOffset, int value, {bool littleEndian}) native;
|
|
|
| - static const int NOT_FOUND_ERR = 8;
|
| + /// @domName DataView.setInt8; @docsEditable true
|
| + void setInt8(int byteOffset, int value) native;
|
|
|
| - static const int NOT_SUPPORTED_ERR = 9;
|
| + /// @domName DataView.setUint16; @docsEditable true
|
| + void setUint16(int byteOffset, int value, {bool littleEndian}) native;
|
|
|
| - static const int NO_DATA_ALLOWED_ERR = 6;
|
| + /// @domName DataView.setUint32; @docsEditable true
|
| + void setUint32(int byteOffset, int value, {bool littleEndian}) native;
|
|
|
| - static const int NO_MODIFICATION_ALLOWED_ERR = 7;
|
| + /// @domName DataView.setUint8; @docsEditable true
|
| + void setUint8(int byteOffset, int value) native;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - static const int QUOTA_EXCEEDED_ERR = 22;
|
|
|
| - static const int SECURITY_ERR = 18;
|
| -
|
| - static const int SYNTAX_ERR = 12;
|
| -
|
| - static const int TIMEOUT_ERR = 23;
|
| -
|
| - static const int TYPE_MISMATCH_ERR = 17;
|
| +/// @domName Database; @docsEditable true
|
| +class Database native "*Database" {
|
|
|
| - static const int URL_MISMATCH_ERR = 21;
|
| + /// @domName Database.version; @docsEditable true
|
| + final String version;
|
|
|
| - static const int VALIDATION_ERR = 16;
|
| + /// @domName Database.changeVersion; @docsEditable true
|
| + void changeVersion(String oldVersion, String newVersion, [SQLTransactionCallback callback, SQLTransactionErrorCallback errorCallback, VoidCallback successCallback]) native;
|
|
|
| - static const int WRONG_DOCUMENT_ERR = 4;
|
| + /// @domName Database.readTransaction; @docsEditable true
|
| + void readTransaction(SQLTransactionCallback callback, [SQLTransactionErrorCallback errorCallback, VoidCallback successCallback]) native;
|
|
|
| - /// @domName DOMException.code; @docsEditable true
|
| - final int code;
|
| + /// @domName Database.transaction; @docsEditable true
|
| + void transaction(SQLTransactionCallback callback, [SQLTransactionErrorCallback errorCallback, VoidCallback successCallback]) native;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - /// @domName DOMException.message; @docsEditable true
|
| - final String message;
|
| +// WARNING: Do not edit - generated code.
|
|
|
| - /// @domName DOMException.name; @docsEditable true
|
| - final String name;
|
|
|
| - /// @domName DOMException.toString; @docsEditable true
|
| - String toString() native;
|
| -}
|
| +typedef void DatabaseCallback(database);
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -/// @domName DOMFileSystem; @docsEditable true
|
| -class DOMFileSystem native "*DOMFileSystem" {
|
| +/// @domName DatabaseSync; @docsEditable true
|
| +class DatabaseSync native "*DatabaseSync" {
|
|
|
| - /// @domName DOMFileSystem.name; @docsEditable true
|
| - final String name;
|
| + /// @domName DatabaseSync.lastErrorMessage; @docsEditable true
|
| + final String lastErrorMessage;
|
|
|
| - /// @domName DOMFileSystem.root; @docsEditable true
|
| - final DirectoryEntry root;
|
| + /// @domName DatabaseSync.version; @docsEditable true
|
| + final String version;
|
| +
|
| + /// @domName DatabaseSync.changeVersion; @docsEditable true
|
| + void changeVersion(String oldVersion, String newVersion, [SQLTransactionSyncCallback callback]) native;
|
| +
|
| + /// @domName DatabaseSync.readTransaction; @docsEditable true
|
| + void readTransaction(SQLTransactionSyncCallback callback) native;
|
| +
|
| + /// @domName DatabaseSync.transaction; @docsEditable true
|
| + void transaction(SQLTransactionSyncCallback callback) native;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -/// @domName DOMFileSystemSync; @docsEditable true
|
| -class DOMFileSystemSync native "*DOMFileSystemSync" {
|
| +/// @domName DedicatedWorkerContext; @docsEditable true
|
| +class DedicatedWorkerContext extends WorkerContext native "*DedicatedWorkerContext" {
|
|
|
| - /// @domName DOMFileSystemSync.name; @docsEditable true
|
| - final String name;
|
| + /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
|
| + DedicatedWorkerContextEvents get on =>
|
| + new DedicatedWorkerContextEvents(this);
|
|
|
| - /// @domName DOMFileSystemSync.root; @docsEditable true
|
| - final DirectoryEntrySync root;
|
| + /// @domName DedicatedWorkerContext.postMessage; @docsEditable true
|
| + void postMessage(/*any*/ message, [List messagePorts]) {
|
| + if (?messagePorts) {
|
| + var message_1 = convertDartToNative_SerializedScriptValue(message);
|
| + _postMessage_1(message_1, messagePorts);
|
| + return;
|
| + }
|
| + var message_2 = convertDartToNative_SerializedScriptValue(message);
|
| + _postMessage_2(message_2);
|
| + return;
|
| + }
|
| + @JSName('postMessage')
|
| + void _postMessage_1(message, List messagePorts) native;
|
| + @JSName('postMessage')
|
| + void _postMessage_2(message) native;
|
| +}
|
| +
|
| +class DedicatedWorkerContextEvents extends WorkerContextEvents {
|
| + DedicatedWorkerContextEvents(EventTarget _ptr) : super(_ptr);
|
| +
|
| + EventListenerList get message => this['message'];
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -/// @domName DOMImplementation; @docsEditable true
|
| -class DOMImplementation native "*DOMImplementation" {
|
| +/// @domName HTMLDetailsElement; @docsEditable true
|
| +class DetailsElement extends Element implements Element native "*HTMLDetailsElement" {
|
|
|
| - /// @domName DOMImplementation.createCSSStyleSheet; @docsEditable true
|
| - @JSName('createCSSStyleSheet')
|
| - CSSStyleSheet createCssStyleSheet(String title, String media) native;
|
| + factory DetailsElement() => document.$dom_createElement("details");
|
|
|
| - /// @domName DOMImplementation.createDocument; @docsEditable true
|
| - Document createDocument(String namespaceURI, String qualifiedName, DocumentType doctype) native;
|
| + /// @domName HTMLDetailsElement.open; @docsEditable true
|
| + bool open;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - /// @domName DOMImplementation.createDocumentType; @docsEditable true
|
| - DocumentType createDocumentType(String qualifiedName, String publicId, String systemId) native;
|
|
|
| - /// @domName DOMImplementation.createHTMLDocument; @docsEditable true
|
| - @JSName('createHTMLDocument')
|
| - HtmlDocument createHtmlDocument(String title) native;
|
| +/// @domName DeviceMotionEvent; @docsEditable true
|
| +class DeviceMotionEvent extends Event native "*DeviceMotionEvent" {
|
|
|
| - /// @domName DOMImplementation.hasFeature; @docsEditable true
|
| - bool hasFeature(String feature, String version) native;
|
| + /// @domName DeviceMotionEvent.interval; @docsEditable true
|
| + final num interval;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -/// @domName MimeType; @docsEditable true
|
| -class DOMMimeType native "*MimeType" {
|
| +/// @domName DeviceOrientationEvent; @docsEditable true
|
| +class DeviceOrientationEvent extends Event native "*DeviceOrientationEvent" {
|
|
|
| - /// @domName MimeType.description; @docsEditable true
|
| - final String description;
|
| + /// @domName DeviceOrientationEvent.absolute; @docsEditable true
|
| + final bool absolute;
|
|
|
| - /// @domName MimeType.enabledPlugin; @docsEditable true
|
| - final DOMPlugin enabledPlugin;
|
| + /// @domName DeviceOrientationEvent.alpha; @docsEditable true
|
| + final num alpha;
|
|
|
| - /// @domName MimeType.suffixes; @docsEditable true
|
| - final String suffixes;
|
| + /// @domName DeviceOrientationEvent.beta; @docsEditable true
|
| + final num beta;
|
|
|
| - /// @domName MimeType.type; @docsEditable true
|
| - final String type;
|
| + /// @domName DeviceOrientationEvent.gamma; @docsEditable true
|
| + final num gamma;
|
| +
|
| + /// @domName DeviceOrientationEvent.initDeviceOrientationEvent; @docsEditable true
|
| + void initDeviceOrientationEvent(String type, bool bubbles, bool cancelable, num alpha, num beta, num gamma, bool absolute) native;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -/// @domName MimeTypeArray; @docsEditable true
|
| -class DOMMimeTypeArray implements JavaScriptIndexingBehavior, List<DOMMimeType> native "*MimeTypeArray" {
|
| +/// @domName HTMLDirectoryElement; @docsEditable true
|
| +class DirectoryElement extends Element implements Element native "*HTMLDirectoryElement" {
|
|
|
| - /// @domName MimeTypeArray.length; @docsEditable true
|
| - final int length;
|
| + /// @domName HTMLDirectoryElement.compact; @docsEditable true
|
| + bool compact;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - DOMMimeType operator[](int index) => JS("DOMMimeType", "#[#]", this, index);
|
|
|
| - void operator[]=(int index, DOMMimeType value) {
|
| - throw new UnsupportedError("Cannot assign element of immutable List.");
|
| - }
|
| - // -- start List<DOMMimeType> mixins.
|
| - // DOMMimeType is the element type.
|
| +/// @domName DirectoryEntry; @docsEditable true
|
| +class DirectoryEntry extends Entry native "*DirectoryEntry" {
|
|
|
| - // From Iterable<DOMMimeType>:
|
| + /// @domName DirectoryEntry.createReader; @docsEditable true
|
| + DirectoryReader createReader() native;
|
|
|
| - Iterator<DOMMimeType> iterator() {
|
| - // Note: NodeLists are not fixed size. And most probably length shouldn't
|
| - // be cached in both iterator _and_ forEach method. For now caching it
|
| - // for consistency.
|
| - return new FixedSizeListIterator<DOMMimeType>(this);
|
| + /// @domName DirectoryEntry.getDirectory; @docsEditable true
|
| + void getDirectory(String path, {Map options, EntryCallback successCallback, ErrorCallback errorCallback}) {
|
| + if (?errorCallback) {
|
| + var options_1 = convertDartToNative_Dictionary(options);
|
| + _getDirectory_1(path, options_1, successCallback, errorCallback);
|
| + return;
|
| + }
|
| + if (?successCallback) {
|
| + var options_2 = convertDartToNative_Dictionary(options);
|
| + _getDirectory_2(path, options_2, successCallback);
|
| + return;
|
| + }
|
| + if (?options) {
|
| + var options_3 = convertDartToNative_Dictionary(options);
|
| + _getDirectory_3(path, options_3);
|
| + return;
|
| + }
|
| + _getDirectory_4(path);
|
| + return;
|
| }
|
| + @JSName('getDirectory')
|
| + void _getDirectory_1(path, options, EntryCallback successCallback, ErrorCallback errorCallback) native;
|
| + @JSName('getDirectory')
|
| + void _getDirectory_2(path, options, EntryCallback successCallback) native;
|
| + @JSName('getDirectory')
|
| + void _getDirectory_3(path, options) native;
|
| + @JSName('getDirectory')
|
| + void _getDirectory_4(path) native;
|
|
|
| - // From Collection<DOMMimeType>:
|
| -
|
| - void add(DOMMimeType value) {
|
| - throw new UnsupportedError("Cannot add to immutable List.");
|
| + /// @domName DirectoryEntry.getFile; @docsEditable true
|
| + void getFile(String path, {Map options, EntryCallback successCallback, ErrorCallback errorCallback}) {
|
| + if (?errorCallback) {
|
| + var options_1 = convertDartToNative_Dictionary(options);
|
| + _getFile_1(path, options_1, successCallback, errorCallback);
|
| + return;
|
| + }
|
| + if (?successCallback) {
|
| + var options_2 = convertDartToNative_Dictionary(options);
|
| + _getFile_2(path, options_2, successCallback);
|
| + return;
|
| + }
|
| + if (?options) {
|
| + var options_3 = convertDartToNative_Dictionary(options);
|
| + _getFile_3(path, options_3);
|
| + return;
|
| + }
|
| + _getFile_4(path);
|
| + return;
|
| }
|
| + @JSName('getFile')
|
| + void _getFile_1(path, options, EntryCallback successCallback, ErrorCallback errorCallback) native;
|
| + @JSName('getFile')
|
| + void _getFile_2(path, options, EntryCallback successCallback) native;
|
| + @JSName('getFile')
|
| + void _getFile_3(path, options) native;
|
| + @JSName('getFile')
|
| + void _getFile_4(path) native;
|
|
|
| - void addLast(DOMMimeType value) {
|
| - throw new UnsupportedError("Cannot add to immutable List.");
|
| - }
|
| + /// @domName DirectoryEntry.removeRecursively; @docsEditable true
|
| + void removeRecursively(VoidCallback successCallback, [ErrorCallback errorCallback]) native;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - void addAll(Collection<DOMMimeType> collection) {
|
| - throw new UnsupportedError("Cannot add to immutable List.");
|
| - }
|
|
|
| - dynamic reduce(dynamic initialValue, dynamic combine(dynamic, DOMMimeType)) {
|
| - return Collections.reduce(this, initialValue, combine);
|
| - }
|
| +/// @domName DirectoryEntrySync; @docsEditable true
|
| +class DirectoryEntrySync extends EntrySync native "*DirectoryEntrySync" {
|
|
|
| - bool contains(DOMMimeType element) => Collections.contains(this, element);
|
| + /// @domName DirectoryEntrySync.createReader; @docsEditable true
|
| + DirectoryReaderSync createReader() native;
|
|
|
| - void forEach(void f(DOMMimeType element)) => Collections.forEach(this, f);
|
| + /// @domName DirectoryEntrySync.getDirectory; @docsEditable true
|
| + DirectoryEntrySync getDirectory(String path, Map flags) {
|
| + var flags_1 = convertDartToNative_Dictionary(flags);
|
| + return _getDirectory_1(path, flags_1);
|
| + }
|
| + @JSName('getDirectory')
|
| + DirectoryEntrySync _getDirectory_1(path, flags) native;
|
|
|
| - Collection map(f(DOMMimeType element)) => Collections.map(this, [], f);
|
| + /// @domName DirectoryEntrySync.getFile; @docsEditable true
|
| + FileEntrySync getFile(String path, Map flags) {
|
| + var flags_1 = convertDartToNative_Dictionary(flags);
|
| + return _getFile_1(path, flags_1);
|
| + }
|
| + @JSName('getFile')
|
| + FileEntrySync _getFile_1(path, flags) native;
|
|
|
| - Collection<DOMMimeType> filter(bool f(DOMMimeType element)) =>
|
| - Collections.filter(this, <DOMMimeType>[], f);
|
| + /// @domName DirectoryEntrySync.removeRecursively; @docsEditable true
|
| + void removeRecursively() native;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - bool every(bool f(DOMMimeType element)) => Collections.every(this, f);
|
|
|
| - bool some(bool f(DOMMimeType element)) => Collections.some(this, f);
|
| +/// @domName DirectoryReader; @docsEditable true
|
| +class DirectoryReader native "*DirectoryReader" {
|
|
|
| - bool get isEmpty => this.length == 0;
|
| + /// @domName DirectoryReader.readEntries; @docsEditable true
|
| + void readEntries(EntriesCallback successCallback, [ErrorCallback errorCallback]) native;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - // From List<DOMMimeType>:
|
|
|
| - void sort([Comparator<DOMMimeType> compare = Comparable.compare]) {
|
| - throw new UnsupportedError("Cannot sort immutable List.");
|
| - }
|
| +/// @domName DirectoryReaderSync; @docsEditable true
|
| +class DirectoryReaderSync native "*DirectoryReaderSync" {
|
|
|
| - int indexOf(DOMMimeType element, [int start = 0]) =>
|
| - Lists.indexOf(this, element, start, this.length);
|
| -
|
| - int lastIndexOf(DOMMimeType element, [int start]) {
|
| - if (start == null) start = length - 1;
|
| - return Lists.lastIndexOf(this, element, start);
|
| - }
|
| -
|
| - DOMMimeType get first => this[0];
|
| -
|
| - DOMMimeType get last => this[length - 1];
|
| -
|
| - DOMMimeType removeAt(int pos) {
|
| - throw new UnsupportedError("Cannot removeAt on immutable List.");
|
| - }
|
| -
|
| - DOMMimeType removeLast() {
|
| - throw new UnsupportedError("Cannot removeLast on immutable List.");
|
| - }
|
| -
|
| - void setRange(int start, int rangeLength, List<DOMMimeType> from, [int startFrom]) {
|
| - throw new UnsupportedError("Cannot setRange on immutable List.");
|
| - }
|
| -
|
| - void removeRange(int start, int rangeLength) {
|
| - throw new UnsupportedError("Cannot removeRange on immutable List.");
|
| - }
|
| -
|
| - void insertRange(int start, int rangeLength, [DOMMimeType initialValue]) {
|
| - throw new UnsupportedError("Cannot insertRange on immutable List.");
|
| - }
|
| -
|
| - List<DOMMimeType> getRange(int start, int rangeLength) =>
|
| - Lists.getRange(this, start, rangeLength, <DOMMimeType>[]);
|
| -
|
| - // -- end List<DOMMimeType> mixins.
|
| -
|
| - /// @domName MimeTypeArray.item; @docsEditable true
|
| - DOMMimeType item(int index) native;
|
| -
|
| - /// @domName MimeTypeArray.namedItem; @docsEditable true
|
| - DOMMimeType namedItem(String name) native;
|
| + /// @domName DirectoryReaderSync.readEntries; @docsEditable true
|
| + @Returns('_EntryArraySync') @Creates('_EntryArraySync')
|
| + List<EntrySync> readEntries() native;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -/// @domName DOMParser; @docsEditable true
|
| -class DOMParser native "*DOMParser" {
|
| -
|
| - factory DOMParser() => _DOMParserFactoryProvider.createDOMParser();
|
| +/**
|
| + * Represents an HTML <div> element.
|
| + *
|
| + * The [DivElement] is a generic container for content and does not have any
|
| + * special significance. It is functionally similar to [SpanElement].
|
| + *
|
| + * The [DivElement] is a block-level element, as opposed to [SpanElement],
|
| + * which is an inline-level element.
|
| + *
|
| + * Example usage:
|
| + *
|
| + * DivElement div = new DivElement();
|
| + * div.text = 'Here's my new DivElem
|
| + * document.body.elements.add(elem);
|
| + *
|
| + * See also:
|
| + *
|
| + * * [HTML <div> element](http://www.w3.org/TR/html-markup/div.html) from W3C.
|
| + * * [Block-level element](http://www.w3.org/TR/CSS2/visuren.html#block-boxes) from W3C.
|
| + * * [Inline-level element](http://www.w3.org/TR/CSS2/visuren.html#inline-boxes) from W3C.
|
| + */
|
| +/// @domName HTMLDivElement; @docsEditable true
|
| +class DivElement extends Element implements Element native "*HTMLDivElement" {
|
|
|
| - /// @domName DOMParser.parseFromString; @docsEditable true
|
| - Document parseFromString(String str, String contentType) native;
|
| + factory DivElement() => document.$dom_createElement("div");
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -/// @domName Plugin; @docsEditable true
|
| -class DOMPlugin native "*Plugin" {
|
| +/// @domName Document
|
| +/**
|
| + * The base class for all documents.
|
| + *
|
| + * Each web page loaded in the browser has its own [Document] object, which is
|
| + * typically an [HtmlDocument].
|
| + *
|
| + * If you aren't comfortable with DOM concepts, see the Dart tutorial
|
| + * [Target 2: Connect Dart & HTML](http://www.dartlang.org/docs/tutorials/connect-dart-html/).
|
| + */
|
| +class Document extends Node native "*Document"
|
| +{
|
|
|
| - /// @domName Plugin.description; @docsEditable true
|
| - final String description;
|
|
|
| - /// @domName Plugin.filename; @docsEditable true
|
| - final String filename;
|
| + /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
|
| + DocumentEvents get on =>
|
| + new DocumentEvents(this);
|
|
|
| - /// @domName Plugin.length; @docsEditable true
|
| - final int length;
|
| + /// @domName Document.body; @docsEditable true
|
| + @JSName('body')
|
| + Element $dom_body;
|
|
|
| - /// @domName Plugin.name; @docsEditable true
|
| - final String name;
|
| + /// @domName Document.charset; @docsEditable true
|
| + String charset;
|
|
|
| - /// @domName Plugin.item; @docsEditable true
|
| - DOMMimeType item(int index) native;
|
| + /// @domName Document.cookie; @docsEditable true
|
| + String cookie;
|
|
|
| - /// @domName Plugin.namedItem; @docsEditable true
|
| - DOMMimeType namedItem(String name) native;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| + /// Returns the [Window] associated with the document.
|
| + /// @domName Document.defaultView; @docsEditable true
|
| + Window get window => _convertNativeToDart_Window(this._window);
|
| + @JSName('defaultView')
|
| + @Creates('LocalWindow|=Object') @Returns('LocalWindow|=Object')
|
| + final dynamic _window;
|
|
|
| + /// @domName Document.documentElement; @docsEditable true
|
| + final Element documentElement;
|
|
|
| -/// @domName PluginArray; @docsEditable true
|
| -class DOMPluginArray implements JavaScriptIndexingBehavior, List<DOMPlugin> native "*PluginArray" {
|
| + /// @domName Document.domain; @docsEditable true
|
| + final String domain;
|
|
|
| - /// @domName PluginArray.length; @docsEditable true
|
| - final int length;
|
| + /// @domName Document.head; @docsEditable true
|
| + @JSName('head')
|
| + final HeadElement $dom_head;
|
|
|
| - DOMPlugin operator[](int index) => JS("DOMPlugin", "#[#]", this, index);
|
| + /// @domName Document.implementation; @docsEditable true
|
| + final DomImplementation implementation;
|
|
|
| - void operator[]=(int index, DOMPlugin value) {
|
| - throw new UnsupportedError("Cannot assign element of immutable List.");
|
| - }
|
| - // -- start List<DOMPlugin> mixins.
|
| - // DOMPlugin is the element type.
|
| + /// @domName Document.lastModified; @docsEditable true
|
| + @JSName('lastModified')
|
| + final String $dom_lastModified;
|
|
|
| - // From Iterable<DOMPlugin>:
|
| + /// @domName Document.preferredStylesheetSet; @docsEditable true
|
| + final String preferredStylesheetSet;
|
|
|
| - Iterator<DOMPlugin> iterator() {
|
| - // Note: NodeLists are not fixed size. And most probably length shouldn't
|
| - // be cached in both iterator _and_ forEach method. For now caching it
|
| - // for consistency.
|
| - return new FixedSizeListIterator<DOMPlugin>(this);
|
| - }
|
| + /// @domName Document.readyState; @docsEditable true
|
| + final String readyState;
|
|
|
| - // From Collection<DOMPlugin>:
|
| + /// @domName Document.referrer; @docsEditable true
|
| + @JSName('referrer')
|
| + final String $dom_referrer;
|
|
|
| - void add(DOMPlugin value) {
|
| - throw new UnsupportedError("Cannot add to immutable List.");
|
| - }
|
| + /// @domName Document.selectedStylesheetSet; @docsEditable true
|
| + String selectedStylesheetSet;
|
|
|
| - void addLast(DOMPlugin value) {
|
| - throw new UnsupportedError("Cannot add to immutable List.");
|
| - }
|
| + /// @domName Document.styleSheets; @docsEditable true
|
| + @JSName('styleSheets')
|
| + @Returns('_StyleSheetList') @Creates('_StyleSheetList')
|
| + final List<StyleSheet> $dom_styleSheets;
|
|
|
| - void addAll(Collection<DOMPlugin> collection) {
|
| - throw new UnsupportedError("Cannot add to immutable List.");
|
| - }
|
| + /// @domName Document.title; @docsEditable true
|
| + @JSName('title')
|
| + String $dom_title;
|
|
|
| - dynamic reduce(dynamic initialValue, dynamic combine(dynamic, DOMPlugin)) {
|
| - return Collections.reduce(this, initialValue, combine);
|
| - }
|
| + /// @domName Document.webkitFullscreenElement; @docsEditable true
|
| + @JSName('webkitFullscreenElement')
|
| + final Element $dom_webkitFullscreenElement;
|
|
|
| - bool contains(DOMPlugin element) => Collections.contains(this, element);
|
| + /// @domName Document.webkitFullscreenEnabled; @docsEditable true
|
| + @JSName('webkitFullscreenEnabled')
|
| + final bool $dom_webkitFullscreenEnabled;
|
|
|
| - void forEach(void f(DOMPlugin element)) => Collections.forEach(this, f);
|
| + /// @domName Document.webkitHidden; @docsEditable true
|
| + @JSName('webkitHidden')
|
| + final bool $dom_webkitHidden;
|
|
|
| - Collection map(f(DOMPlugin element)) => Collections.map(this, [], f);
|
| + /// @domName Document.webkitIsFullScreen; @docsEditable true
|
| + @JSName('webkitIsFullScreen')
|
| + final bool $dom_webkitIsFullScreen;
|
|
|
| - Collection<DOMPlugin> filter(bool f(DOMPlugin element)) =>
|
| - Collections.filter(this, <DOMPlugin>[], f);
|
| + /// @domName Document.webkitPointerLockElement; @docsEditable true
|
| + @JSName('webkitPointerLockElement')
|
| + final Element $dom_webkitPointerLockElement;
|
|
|
| - bool every(bool f(DOMPlugin element)) => Collections.every(this, f);
|
| + /// @domName Document.webkitVisibilityState; @docsEditable true
|
| + @JSName('webkitVisibilityState')
|
| + final String $dom_webkitVisibilityState;
|
|
|
| - bool some(bool f(DOMPlugin element)) => Collections.some(this, f);
|
| + /// @domName Document.caretRangeFromPoint; @docsEditable true
|
| + @JSName('caretRangeFromPoint')
|
| + Range $dom_caretRangeFromPoint(int x, int y) native;
|
|
|
| - bool get isEmpty => this.length == 0;
|
| + /// @domName Document.createCDATASection; @docsEditable true
|
| + @JSName('createCDATASection')
|
| + CDataSection createCDataSection(String data) native;
|
|
|
| - // From List<DOMPlugin>:
|
| + /// @domName Document.createDocumentFragment; @docsEditable true
|
| + DocumentFragment createDocumentFragment() native;
|
|
|
| - void sort([Comparator<DOMPlugin> compare = Comparable.compare]) {
|
| - throw new UnsupportedError("Cannot sort immutable List.");
|
| - }
|
| + /// @domName Document.createElement; @docsEditable true
|
| + @JSName('createElement')
|
| + Element $dom_createElement(String tagName) native;
|
|
|
| - int indexOf(DOMPlugin element, [int start = 0]) =>
|
| - Lists.indexOf(this, element, start, this.length);
|
| + /// @domName Document.createElementNS; @docsEditable true
|
| + @JSName('createElementNS')
|
| + Element $dom_createElementNS(String namespaceURI, String qualifiedName) native;
|
|
|
| - int lastIndexOf(DOMPlugin element, [int start]) {
|
| - if (start == null) start = length - 1;
|
| - return Lists.lastIndexOf(this, element, start);
|
| - }
|
| + /// @domName Document.createEvent; @docsEditable true
|
| + @JSName('createEvent')
|
| + Event $dom_createEvent(String eventType) native;
|
|
|
| - DOMPlugin get first => this[0];
|
| + /// @domName Document.createRange; @docsEditable true
|
| + Range createRange() native;
|
|
|
| - DOMPlugin get last => this[length - 1];
|
| + /// @domName Document.createTextNode; @docsEditable true
|
| + @JSName('createTextNode')
|
| + Text $dom_createTextNode(String data) native;
|
|
|
| - DOMPlugin removeAt(int pos) {
|
| - throw new UnsupportedError("Cannot removeAt on immutable List.");
|
| + /// @domName Document.createTouch; @docsEditable true
|
| + Touch createTouch(LocalWindow window, EventTarget target, int identifier, int pageX, int pageY, int screenX, int screenY, int webkitRadiusX, int webkitRadiusY, num webkitRotationAngle, num webkitForce) {
|
| + var target_1 = _convertDartToNative_EventTarget(target);
|
| + return _createTouch_1(window, target_1, identifier, pageX, pageY, screenX, screenY, webkitRadiusX, webkitRadiusY, webkitRotationAngle, webkitForce);
|
| }
|
| + @JSName('createTouch')
|
| + Touch _createTouch_1(LocalWindow window, target, identifier, pageX, pageY, screenX, screenY, webkitRadiusX, webkitRadiusY, webkitRotationAngle, webkitForce) native;
|
|
|
| - DOMPlugin removeLast() {
|
| - throw new UnsupportedError("Cannot removeLast on immutable List.");
|
| - }
|
| + /// @domName Document.createTouchList; @docsEditable true
|
| + @JSName('createTouchList')
|
| + TouchList $dom_createTouchList() native;
|
|
|
| - void setRange(int start, int rangeLength, List<DOMPlugin> from, [int startFrom]) {
|
| - throw new UnsupportedError("Cannot setRange on immutable List.");
|
| - }
|
| + /// @domName Document.elementFromPoint; @docsEditable true
|
| + @JSName('elementFromPoint')
|
| + Element $dom_elementFromPoint(int x, int y) native;
|
|
|
| - void removeRange(int start, int rangeLength) {
|
| - throw new UnsupportedError("Cannot removeRange on immutable List.");
|
| - }
|
| + /// @domName Document.execCommand; @docsEditable true
|
| + bool execCommand(String command, bool userInterface, String value) native;
|
|
|
| - void insertRange(int start, int rangeLength, [DOMPlugin initialValue]) {
|
| - throw new UnsupportedError("Cannot insertRange on immutable List.");
|
| - }
|
| + /// @domName Document.getCSSCanvasContext; @docsEditable true
|
| + @JSName('getCSSCanvasContext')
|
| + CanvasRenderingContext getCssCanvasContext(String contextId, String name, int width, int height) native;
|
|
|
| - List<DOMPlugin> getRange(int start, int rangeLength) =>
|
| - Lists.getRange(this, start, rangeLength, <DOMPlugin>[]);
|
| + /// @domName Document.getElementById; @docsEditable true
|
| + @JSName('getElementById')
|
| + Element $dom_getElementById(String elementId) native;
|
|
|
| - // -- end List<DOMPlugin> mixins.
|
| + /// @domName Document.getElementsByClassName; @docsEditable true
|
| + @JSName('getElementsByClassName')
|
| + @Returns('NodeList') @Creates('NodeList')
|
| + List<Node> $dom_getElementsByClassName(String tagname) native;
|
|
|
| - /// @domName PluginArray.item; @docsEditable true
|
| - DOMPlugin item(int index) native;
|
| + /// @domName Document.getElementsByName; @docsEditable true
|
| + @JSName('getElementsByName')
|
| + @Returns('NodeList') @Creates('NodeList')
|
| + List<Node> $dom_getElementsByName(String elementName) native;
|
|
|
| - /// @domName PluginArray.namedItem; @docsEditable true
|
| - DOMPlugin namedItem(String name) native;
|
| + /// @domName Document.getElementsByTagName; @docsEditable true
|
| + @JSName('getElementsByTagName')
|
| + @Returns('NodeList') @Creates('NodeList')
|
| + List<Node> $dom_getElementsByTagName(String tagname) native;
|
|
|
| - /// @domName PluginArray.refresh; @docsEditable true
|
| - void refresh(bool reload) native;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| + /// @domName Document.queryCommandEnabled; @docsEditable true
|
| + bool queryCommandEnabled(String command) native;
|
|
|
| + /// @domName Document.queryCommandIndeterm; @docsEditable true
|
| + bool queryCommandIndeterm(String command) native;
|
|
|
| -/// @domName Selection; @docsEditable true
|
| -class DOMSelection native "*Selection" {
|
| + /// @domName Document.queryCommandState; @docsEditable true
|
| + bool queryCommandState(String command) native;
|
|
|
| - /// @domName Selection.anchorNode; @docsEditable true
|
| - final Node anchorNode;
|
| + /// @domName Document.queryCommandSupported; @docsEditable true
|
| + bool queryCommandSupported(String command) native;
|
|
|
| - /// @domName Selection.anchorOffset; @docsEditable true
|
| - final int anchorOffset;
|
| + /// @domName Document.queryCommandValue; @docsEditable true
|
| + String queryCommandValue(String command) native;
|
|
|
| - /// @domName Selection.baseNode; @docsEditable true
|
| - final Node baseNode;
|
| + /// @domName Document.querySelector; @docsEditable true
|
| + @JSName('querySelector')
|
| + Element $dom_querySelector(String selectors) native;
|
|
|
| - /// @domName Selection.baseOffset; @docsEditable true
|
| - final int baseOffset;
|
| + /// @domName Document.querySelectorAll; @docsEditable true
|
| + @JSName('querySelectorAll')
|
| + @Returns('NodeList') @Creates('NodeList')
|
| + List<Node> $dom_querySelectorAll(String selectors) native;
|
|
|
| - /// @domName Selection.extentNode; @docsEditable true
|
| - final Node extentNode;
|
| + /// @domName Document.webkitCancelFullScreen; @docsEditable true
|
| + @JSName('webkitCancelFullScreen')
|
| + void $dom_webkitCancelFullScreen() native;
|
|
|
| - /// @domName Selection.extentOffset; @docsEditable true
|
| - final int extentOffset;
|
| + /// @domName Document.webkitExitFullscreen; @docsEditable true
|
| + @JSName('webkitExitFullscreen')
|
| + void $dom_webkitExitFullscreen() native;
|
|
|
| - /// @domName Selection.focusNode; @docsEditable true
|
| - final Node focusNode;
|
| + /// @domName Document.webkitExitPointerLock; @docsEditable true
|
| + @JSName('webkitExitPointerLock')
|
| + void $dom_webkitExitPointerLock() native;
|
|
|
| - /// @domName Selection.focusOffset; @docsEditable true
|
| - final int focusOffset;
|
|
|
| - /// @domName Selection.isCollapsed; @docsEditable true
|
| - final bool isCollapsed;
|
| + /**
|
| + * Finds the first descendant element of this document that matches the
|
| + * specified group of selectors.
|
| + *
|
| + * Unless your webpage contains multiple documents, the top-level query
|
| + * method behaves the same as this method, so you should use it instead to
|
| + * save typing a few characters.
|
| + *
|
| + * [selectors] should be a string using CSS selector syntax.
|
| + * var element1 = document.query('.className');
|
| + * var element2 = document.query('#id');
|
| + *
|
| + * For details about CSS selector syntax, see the
|
| + * [CSS selector specification](http://www.w3.org/TR/css3-selectors/).
|
| + */
|
| + Element query(String selectors) {
|
| + // It is fine for our RegExp to detect element id query selectors to have
|
| + // false negatives but not false positives.
|
| + if (new RegExp("^#[_a-zA-Z]\\w*\$").hasMatch(selectors)) {
|
| + return $dom_getElementById(selectors.substring(1));
|
| + }
|
| + return $dom_querySelector(selectors);
|
| + }
|
|
|
| - /// @domName Selection.rangeCount; @docsEditable true
|
| - final int rangeCount;
|
| + /**
|
| + * Finds all descendant elements of this document that match the specified
|
| + * group of selectors.
|
| + *
|
| + * Unless your webpage contains multiple documents, the top-level queryAll
|
| + * method behaves the same as this method, so you should use it instead to
|
| + * save typing a few characters.
|
| + *
|
| + * [selectors] should be a string using CSS selector syntax.
|
| + * var items = document.queryAll('.itemClassName');
|
| + *
|
| + * For details about CSS selector syntax, see the
|
| + * [CSS selector specification](http://www.w3.org/TR/css3-selectors/).
|
| + */
|
| + List<Element> queryAll(String selectors) {
|
| + if (new RegExp("""^\\[name=["'][^'"]+['"]\\]\$""").hasMatch(selectors)) {
|
| + final mutableMatches = $dom_getElementsByName(
|
| + selectors.substring(7,selectors.length - 2));
|
| + int len = mutableMatches.length;
|
| + final copyOfMatches = new List<Element>(len);
|
| + for (int i = 0; i < len; ++i) {
|
| + copyOfMatches[i] = mutableMatches[i];
|
| + }
|
| + return new _FrozenElementList._wrap(copyOfMatches);
|
| + } else if (new RegExp("^[*a-zA-Z0-9]+\$").hasMatch(selectors)) {
|
| + final mutableMatches = $dom_getElementsByTagName(selectors);
|
| + int len = mutableMatches.length;
|
| + final copyOfMatches = new List<Element>(len);
|
| + for (int i = 0; i < len; ++i) {
|
| + copyOfMatches[i] = mutableMatches[i];
|
| + }
|
| + return new _FrozenElementList._wrap(copyOfMatches);
|
| + } else {
|
| + return new _FrozenElementList._wrap($dom_querySelectorAll(selectors));
|
| + }
|
| + }
|
| +}
|
|
|
| - /// @domName Selection.type; @docsEditable true
|
| - final String type;
|
| +class DocumentEvents extends ElementEvents {
|
| + DocumentEvents(EventTarget _ptr) : super(_ptr);
|
|
|
| - /// @domName Selection.addRange; @docsEditable true
|
| - void addRange(Range range) native;
|
| + EventListenerList get readyStateChange => this['readystatechange'];
|
|
|
| - /// @domName Selection.collapse; @docsEditable true
|
| - void collapse(Node node, int index) native;
|
| + EventListenerList get selectionChange => this['selectionchange'];
|
|
|
| - /// @domName Selection.collapseToEnd; @docsEditable true
|
| - void collapseToEnd() native;
|
| + EventListenerList get pointerLockChange => this['webkitpointerlockchange'];
|
|
|
| - /// @domName Selection.collapseToStart; @docsEditable true
|
| - void collapseToStart() native;
|
| + EventListenerList get pointerLockError => this['webkitpointerlockerror'];
|
| +}
|
| +// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - /// @domName Selection.containsNode; @docsEditable true
|
| - bool containsNode(Node node, bool allowPartial) native;
|
|
|
| - /// @domName Selection.deleteFromDocument; @docsEditable true
|
| - void deleteFromDocument() native;
|
| +Future<CssStyleDeclaration> _emptyStyleFuture() {
|
| + return _createMeasurementFuture(() => new Element.tag('div').style,
|
| + new Completer<CssStyleDeclaration>());
|
| +}
|
|
|
| - /// @domName Selection.empty; @docsEditable true
|
| - void empty() native;
|
| +class _FrozenCssClassSet extends CssClassSet {
|
| + void writeClasses(Set s) {
|
| + throw new UnsupportedError(
|
| + 'frozen class set cannot be modified');
|
| + }
|
| + Set<String> readClasses() => new Set<String>();
|
|
|
| - /// @domName Selection.extend; @docsEditable true
|
| - void extend(Node node, int offset) native;
|
| + bool get frozen => true;
|
| +}
|
|
|
| - /// @domName Selection.getRangeAt; @docsEditable true
|
| - Range getRangeAt(int index) native;
|
| +/// @domName DocumentFragment
|
| +class DocumentFragment extends Node native "*DocumentFragment" {
|
| + factory DocumentFragment() => _DocumentFragmentFactoryProvider.createDocumentFragment();
|
|
|
| - /// @domName Selection.modify; @docsEditable true
|
| - void modify(String alter, String direction, String granularity) native;
|
| + factory DocumentFragment.html(String html) =>
|
| + _DocumentFragmentFactoryProvider.createDocumentFragment_html(html);
|
|
|
| - /// @domName Selection.removeAllRanges; @docsEditable true
|
| - void removeAllRanges() native;
|
| + factory DocumentFragment.svg(String svgContent) =>
|
| + _DocumentFragmentFactoryProvider.createDocumentFragment_svg(svgContent);
|
|
|
| - /// @domName Selection.selectAllChildren; @docsEditable true
|
| - void selectAllChildren(Node node) native;
|
| + List<Element> get elements => this.children;
|
|
|
| - /// @domName Selection.setBaseAndExtent; @docsEditable true
|
| - void setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int extentOffset) native;
|
| + // TODO: The type of value should be Collection<Element>. See http://b/5392897
|
| + void set elements(value) {
|
| + this.children = value;
|
| + }
|
|
|
| - /// @domName Selection.setPosition; @docsEditable true
|
| - void setPosition(Node node, int offset) native;
|
| + // Native field is used only by Dart code so does not lead to instantiation
|
| + // of native classes
|
| + @Creates('Null')
|
| + List<Element> _children;
|
|
|
| - /// @domName Selection.toString; @docsEditable true
|
| - String toString() native;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| + List<Element> get children {
|
| + if (_children == null) {
|
| + _children = new FilteredElementList(this);
|
| + }
|
| + return _children;
|
| + }
|
|
|
| + void set children(Collection<Element> value) {
|
| + // Copy list first since we don't want liveness during iteration.
|
| + List copy = new List.from(value);
|
| + var children = this.children;
|
| + children.clear();
|
| + children.addAll(copy);
|
| + }
|
|
|
| -/// @domName DOMSettableTokenList; @docsEditable true
|
| -class DOMSettableTokenList extends DOMTokenList native "*DOMSettableTokenList" {
|
| + Element query(String selectors) => $dom_querySelector(selectors);
|
|
|
| - /// @domName DOMSettableTokenList.value; @docsEditable true
|
| - String value;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| + List<Element> queryAll(String selectors) =>
|
| + new _FrozenElementList._wrap($dom_querySelectorAll(selectors));
|
|
|
| + String get innerHtml {
|
| + final e = new Element.tag("div");
|
| + e.nodes.add(this.clone(true));
|
| + return e.innerHtml;
|
| + }
|
|
|
| -/// @domName DOMStringMap
|
| -abstract class DOMStringMap {
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| + String get outerHtml => innerHtml;
|
|
|
| + // TODO(nweiz): Do we want to support some variant of innerHtml for XML and/or
|
| + // SVG strings?
|
| + void set innerHtml(String value) {
|
| + this.nodes.clear();
|
|
|
| -/// @domName DOMTokenList; @docsEditable true
|
| -class DOMTokenList native "*DOMTokenList" {
|
| + final e = new Element.tag("div");
|
| + e.innerHtml = value;
|
|
|
| - /// @domName DOMTokenList.length; @docsEditable true
|
| - final int length;
|
| + // Copy list first since we don't want liveness during iteration.
|
| + List nodes = new List.from(e.nodes);
|
| + this.nodes.addAll(nodes);
|
| + }
|
|
|
| - /// @domName DOMTokenList.contains; @docsEditable true
|
| - bool contains(String token) native;
|
| + Node _insertAdjacentNode(String where, Node node) {
|
| + switch (where.toLowerCase()) {
|
| + case "beforebegin": return null;
|
| + case "afterend": return null;
|
| + case "afterbegin":
|
| + var first = this.nodes.length > 0 ? this.nodes[0] : null;
|
| + this.insertBefore(node, first);
|
| + return node;
|
| + case "beforeend":
|
| + this.nodes.add(node);
|
| + return node;
|
| + default:
|
| + throw new ArgumentError("Invalid position ${where}");
|
| + }
|
| + }
|
|
|
| - /// @domName DOMTokenList.item; @docsEditable true
|
| - String item(int index) native;
|
| + Element insertAdjacentElement(String where, Element element)
|
| + => this._insertAdjacentNode(where, element);
|
|
|
| - /// @domName DOMTokenList.toString; @docsEditable true
|
| - String toString() native;
|
| + void insertAdjacentText(String where, String text) {
|
| + this._insertAdjacentNode(where, new Text(text));
|
| + }
|
|
|
| - /// @domName DOMTokenList.toggle; @docsEditable true
|
| - bool toggle(String token, [bool force]) native;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| + void insertAdjacentHtml(String where, String text) {
|
| + this._insertAdjacentNode(where, new DocumentFragment.html(text));
|
| + }
|
|
|
| + void append(Element element) {
|
| + this.children.add(element);
|
| + }
|
|
|
| -/// @domName HTMLDataListElement; @docsEditable true
|
| -class DataListElement extends Element implements Element native "*HTMLDataListElement" {
|
| + void appendText(String text) {
|
| + this.insertAdjacentText('beforeend', text);
|
| + }
|
|
|
| - factory DataListElement() => document.$dom_createElement("datalist");
|
| -
|
| - /// @domName HTMLDataListElement.options; @docsEditable true
|
| - final HTMLCollection options;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| -/// @domName DataTransferItem; @docsEditable true
|
| -class DataTransferItem native "*DataTransferItem" {
|
| -
|
| - /// @domName DataTransferItem.kind; @docsEditable true
|
| - final String kind;
|
| -
|
| - /// @domName DataTransferItem.type; @docsEditable true
|
| - final String type;
|
| -
|
| - /// @domName DataTransferItem.getAsFile; @docsEditable true
|
| - Blob getAsFile() native;
|
| -
|
| - /// @domName DataTransferItem.getAsString; @docsEditable true
|
| - void getAsString([StringCallback callback]) native;
|
| -
|
| - /// @domName DataTransferItem.webkitGetAsEntry; @docsEditable true
|
| - Entry webkitGetAsEntry() native;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| -/// @domName DataTransferItemList; @docsEditable true
|
| -class DataTransferItemList native "*DataTransferItemList" {
|
| -
|
| - /// @domName DataTransferItemList.length; @docsEditable true
|
| - final int length;
|
| -
|
| - /// @domName DataTransferItemList.add; @docsEditable true
|
| - void add(data_OR_file, [String type]) native;
|
| -
|
| - /// @domName DataTransferItemList.clear; @docsEditable true
|
| - void clear() native;
|
| -
|
| - /// @domName DataTransferItemList.item; @docsEditable true
|
| - DataTransferItem item(int index) native;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| -/// @domName DataView; @docsEditable true
|
| -class DataView extends ArrayBufferView native "*DataView" {
|
| -
|
| - factory DataView(ArrayBuffer buffer, [int byteOffset, int byteLength]) {
|
| - if (!?byteOffset) {
|
| - return _DataViewFactoryProvider.createDataView(buffer);
|
| - }
|
| - if (!?byteLength) {
|
| - return _DataViewFactoryProvider.createDataView(buffer, byteOffset);
|
| - }
|
| - return _DataViewFactoryProvider.createDataView(buffer, byteOffset, byteLength);
|
| - }
|
| -
|
| - /// @domName DataView.getFloat32; @docsEditable true
|
| - num getFloat32(int byteOffset, {bool littleEndian}) native;
|
| -
|
| - /// @domName DataView.getFloat64; @docsEditable true
|
| - num getFloat64(int byteOffset, {bool littleEndian}) native;
|
| -
|
| - /// @domName DataView.getInt16; @docsEditable true
|
| - int getInt16(int byteOffset, {bool littleEndian}) native;
|
| -
|
| - /// @domName DataView.getInt32; @docsEditable true
|
| - int getInt32(int byteOffset, {bool littleEndian}) native;
|
| -
|
| - /// @domName DataView.getInt8; @docsEditable true
|
| - int getInt8(int byteOffset) native;
|
| -
|
| - /// @domName DataView.getUint16; @docsEditable true
|
| - int getUint16(int byteOffset, {bool littleEndian}) native;
|
| -
|
| - /// @domName DataView.getUint32; @docsEditable true
|
| - int getUint32(int byteOffset, {bool littleEndian}) native;
|
| -
|
| - /// @domName DataView.getUint8; @docsEditable true
|
| - int getUint8(int byteOffset) native;
|
| -
|
| - /// @domName DataView.setFloat32; @docsEditable true
|
| - void setFloat32(int byteOffset, num value, {bool littleEndian}) native;
|
| -
|
| - /// @domName DataView.setFloat64; @docsEditable true
|
| - void setFloat64(int byteOffset, num value, {bool littleEndian}) native;
|
| -
|
| - /// @domName DataView.setInt16; @docsEditable true
|
| - void setInt16(int byteOffset, int value, {bool littleEndian}) native;
|
| -
|
| - /// @domName DataView.setInt32; @docsEditable true
|
| - void setInt32(int byteOffset, int value, {bool littleEndian}) native;
|
| -
|
| - /// @domName DataView.setInt8; @docsEditable true
|
| - void setInt8(int byteOffset, int value) native;
|
| -
|
| - /// @domName DataView.setUint16; @docsEditable true
|
| - void setUint16(int byteOffset, int value, {bool littleEndian}) native;
|
| -
|
| - /// @domName DataView.setUint32; @docsEditable true
|
| - void setUint32(int byteOffset, int value, {bool littleEndian}) native;
|
| -
|
| - /// @domName DataView.setUint8; @docsEditable true
|
| - void setUint8(int byteOffset, int value) native;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| -/// @domName Database; @docsEditable true
|
| -class Database native "*Database" {
|
| -
|
| - /// @domName Database.version; @docsEditable true
|
| - final String version;
|
| -
|
| - /// @domName Database.changeVersion; @docsEditable true
|
| - void changeVersion(String oldVersion, String newVersion, [SQLTransactionCallback callback, SQLTransactionErrorCallback errorCallback, VoidCallback successCallback]) native;
|
| -
|
| - /// @domName Database.readTransaction; @docsEditable true
|
| - void readTransaction(SQLTransactionCallback callback, [SQLTransactionErrorCallback errorCallback, VoidCallback successCallback]) native;
|
| -
|
| - /// @domName Database.transaction; @docsEditable true
|
| - void transaction(SQLTransactionCallback callback, [SQLTransactionErrorCallback errorCallback, VoidCallback successCallback]) native;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -// WARNING: Do not edit - generated code.
|
| -
|
| -
|
| -typedef void DatabaseCallback(database);
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| -/// @domName DatabaseSync; @docsEditable true
|
| -class DatabaseSync native "*DatabaseSync" {
|
| -
|
| - /// @domName DatabaseSync.lastErrorMessage; @docsEditable true
|
| - final String lastErrorMessage;
|
| -
|
| - /// @domName DatabaseSync.version; @docsEditable true
|
| - final String version;
|
| -
|
| - /// @domName DatabaseSync.changeVersion; @docsEditable true
|
| - void changeVersion(String oldVersion, String newVersion, [SQLTransactionSyncCallback callback]) native;
|
| -
|
| - /// @domName DatabaseSync.readTransaction; @docsEditable true
|
| - void readTransaction(SQLTransactionSyncCallback callback) native;
|
| -
|
| - /// @domName DatabaseSync.transaction; @docsEditable true
|
| - void transaction(SQLTransactionSyncCallback callback) native;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| -/// @domName DedicatedWorkerContext; @docsEditable true
|
| -class DedicatedWorkerContext extends WorkerContext native "*DedicatedWorkerContext" {
|
| -
|
| - /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
|
| - DedicatedWorkerContextEvents get on =>
|
| - new DedicatedWorkerContextEvents(this);
|
| -
|
| - /// @domName DedicatedWorkerContext.postMessage; @docsEditable true
|
| - void postMessage(/*any*/ message, [List messagePorts]) {
|
| - if (?messagePorts) {
|
| - var message_1 = convertDartToNative_SerializedScriptValue(message);
|
| - _postMessage_1(message_1, messagePorts);
|
| - return;
|
| - }
|
| - var message_2 = convertDartToNative_SerializedScriptValue(message);
|
| - _postMessage_2(message_2);
|
| - return;
|
| - }
|
| - @JSName('postMessage')
|
| - void _postMessage_1(message, List messagePorts) native;
|
| - @JSName('postMessage')
|
| - void _postMessage_2(message) native;
|
| -}
|
| -
|
| -class DedicatedWorkerContextEvents extends WorkerContextEvents {
|
| - DedicatedWorkerContextEvents(EventTarget _ptr) : super(_ptr);
|
| -
|
| - EventListenerList get message => this['message'];
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| -/// @domName HTMLDetailsElement; @docsEditable true
|
| -class DetailsElement extends Element implements Element native "*HTMLDetailsElement" {
|
| -
|
| - factory DetailsElement() => document.$dom_createElement("details");
|
| -
|
| - /// @domName HTMLDetailsElement.open; @docsEditable true
|
| - bool open;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| -/// @domName DeviceMotionEvent; @docsEditable true
|
| -class DeviceMotionEvent extends Event native "*DeviceMotionEvent" {
|
| -
|
| - /// @domName DeviceMotionEvent.interval; @docsEditable true
|
| - final num interval;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| -/// @domName DeviceOrientationEvent; @docsEditable true
|
| -class DeviceOrientationEvent extends Event native "*DeviceOrientationEvent" {
|
| -
|
| - /// @domName DeviceOrientationEvent.absolute; @docsEditable true
|
| - final bool absolute;
|
| -
|
| - /// @domName DeviceOrientationEvent.alpha; @docsEditable true
|
| - final num alpha;
|
| -
|
| - /// @domName DeviceOrientationEvent.beta; @docsEditable true
|
| - final num beta;
|
| -
|
| - /// @domName DeviceOrientationEvent.gamma; @docsEditable true
|
| - final num gamma;
|
| -
|
| - /// @domName DeviceOrientationEvent.initDeviceOrientationEvent; @docsEditable true
|
| - void initDeviceOrientationEvent(String type, bool bubbles, bool cancelable, num alpha, num beta, num gamma, bool absolute) native;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| -/// @domName HTMLDirectoryElement; @docsEditable true
|
| -class DirectoryElement extends Element implements Element native "*HTMLDirectoryElement" {
|
| -
|
| - /// @domName HTMLDirectoryElement.compact; @docsEditable true
|
| - bool compact;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| -/// @domName DirectoryEntry; @docsEditable true
|
| -class DirectoryEntry extends Entry native "*DirectoryEntry" {
|
| -
|
| - /// @domName DirectoryEntry.createReader; @docsEditable true
|
| - DirectoryReader createReader() native;
|
| -
|
| - /// @domName DirectoryEntry.getDirectory; @docsEditable true
|
| - void getDirectory(String path, {Map options, EntryCallback successCallback, ErrorCallback errorCallback}) {
|
| - if (?errorCallback) {
|
| - var options_1 = convertDartToNative_Dictionary(options);
|
| - _getDirectory_1(path, options_1, successCallback, errorCallback);
|
| - return;
|
| - }
|
| - if (?successCallback) {
|
| - var options_2 = convertDartToNative_Dictionary(options);
|
| - _getDirectory_2(path, options_2, successCallback);
|
| - return;
|
| - }
|
| - if (?options) {
|
| - var options_3 = convertDartToNative_Dictionary(options);
|
| - _getDirectory_3(path, options_3);
|
| - return;
|
| - }
|
| - _getDirectory_4(path);
|
| - return;
|
| + void appendHtml(String text) {
|
| + this.insertAdjacentHtml('beforeend', text);
|
| }
|
| - @JSName('getDirectory')
|
| - void _getDirectory_1(path, options, EntryCallback successCallback, ErrorCallback errorCallback) native;
|
| - @JSName('getDirectory')
|
| - void _getDirectory_2(path, options, EntryCallback successCallback) native;
|
| - @JSName('getDirectory')
|
| - void _getDirectory_3(path, options) native;
|
| - @JSName('getDirectory')
|
| - void _getDirectory_4(path) native;
|
|
|
| - /// @domName DirectoryEntry.getFile; @docsEditable true
|
| - void getFile(String path, {Map options, EntryCallback successCallback, ErrorCallback errorCallback}) {
|
| - if (?errorCallback) {
|
| - var options_1 = convertDartToNative_Dictionary(options);
|
| - _getFile_1(path, options_1, successCallback, errorCallback);
|
| - return;
|
| - }
|
| - if (?successCallback) {
|
| - var options_2 = convertDartToNative_Dictionary(options);
|
| - _getFile_2(path, options_2, successCallback);
|
| - return;
|
| - }
|
| - if (?options) {
|
| - var options_3 = convertDartToNative_Dictionary(options);
|
| - _getFile_3(path, options_3);
|
| - return;
|
| + // If we can come up with a semi-reasonable default value for an Element
|
| + // getter, we'll use it. In general, these return the same values as an
|
| + // element that has no parent.
|
| + String get contentEditable => "false";
|
| + bool get isContentEditable => false;
|
| + bool get draggable => false;
|
| + bool get hidden => false;
|
| + bool get spellcheck => false;
|
| + bool get translate => false;
|
| + int get tabIndex => -1;
|
| + String get id => "";
|
| + String get title => "";
|
| + String get tagName => "";
|
| + String get webkitdropzone => "";
|
| + String get webkitRegionOverflow => "";
|
| + Element get $m_firstElementChild {
|
| + if (elements.length > 0) {
|
| + return elements[0];
|
| }
|
| - _getFile_4(path);
|
| - return;
|
| + return null;
|
| }
|
| - @JSName('getFile')
|
| - void _getFile_1(path, options, EntryCallback successCallback, ErrorCallback errorCallback) native;
|
| - @JSName('getFile')
|
| - void _getFile_2(path, options, EntryCallback successCallback) native;
|
| - @JSName('getFile')
|
| - void _getFile_3(path, options) native;
|
| - @JSName('getFile')
|
| - void _getFile_4(path) native;
|
| -
|
| - /// @domName DirectoryEntry.removeRecursively; @docsEditable true
|
| - void removeRecursively(VoidCallback successCallback, [ErrorCallback errorCallback]) native;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| -/// @domName DirectoryEntrySync; @docsEditable true
|
| -class DirectoryEntrySync extends EntrySync native "*DirectoryEntrySync" {
|
| + Element get $m_lastElementChild => elements.last;
|
| + Element get nextElementSibling => null;
|
| + Element get previousElementSibling => null;
|
| + Element get offsetParent => null;
|
| + Element get parent => null;
|
| + Map<String, String> get attributes => const {};
|
| + CssClassSet get classes => new _FrozenCssClassSet();
|
| + Map<String, String> get dataAttributes => const {};
|
| + CssStyleDeclaration get style => new Element.tag('div').style;
|
| + Future<CssStyleDeclaration> get computedStyle =>
|
| + _emptyStyleFuture();
|
| + Future<CssStyleDeclaration> getComputedStyle(String pseudoElement) =>
|
| + _emptyStyleFuture();
|
| + bool matchesSelector(String selectors) => false;
|
|
|
| - /// @domName DirectoryEntrySync.createReader; @docsEditable true
|
| - DirectoryReaderSync createReader() native;
|
| + // Imperative Element methods are made into no-ops, as they are on parentless
|
| + // elements.
|
| + void blur() {}
|
| + void focus() {}
|
| + void click() {}
|
| + void scrollByLines(int lines) {}
|
| + void scrollByPages(int pages) {}
|
| + void scrollIntoView([bool centerIfNeeded]) {}
|
| + void webkitRequestFullScreen(int flags) {}
|
| + void webkitRequestFullscreen() {}
|
|
|
| - /// @domName DirectoryEntrySync.getDirectory; @docsEditable true
|
| - DirectoryEntrySync getDirectory(String path, Map flags) {
|
| - var flags_1 = convertDartToNative_Dictionary(flags);
|
| - return _getDirectory_1(path, flags_1);
|
| + // Setters throw errors rather than being no-ops because we aren't going to
|
| + // retain the values that were set, and erroring out seems clearer.
|
| + void set attributes(Map<String, String> value) {
|
| + throw new UnsupportedError(
|
| + "Attributes can't be set for document fragments.");
|
| }
|
| - @JSName('getDirectory')
|
| - DirectoryEntrySync _getDirectory_1(path, flags) native;
|
|
|
| - /// @domName DirectoryEntrySync.getFile; @docsEditable true
|
| - FileEntrySync getFile(String path, Map flags) {
|
| - var flags_1 = convertDartToNative_Dictionary(flags);
|
| - return _getFile_1(path, flags_1);
|
| + void set classes(Collection<String> value) {
|
| + throw new UnsupportedError(
|
| + "Classes can't be set for document fragments.");
|
| }
|
| - @JSName('getFile')
|
| - FileEntrySync _getFile_1(path, flags) native;
|
| -
|
| - /// @domName DirectoryEntrySync.removeRecursively; @docsEditable true
|
| - void removeRecursively() native;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| -/// @domName DirectoryReader; @docsEditable true
|
| -class DirectoryReader native "*DirectoryReader" {
|
| -
|
| - /// @domName DirectoryReader.readEntries; @docsEditable true
|
| - void readEntries(EntriesCallback successCallback, [ErrorCallback errorCallback]) native;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
|
|
| + void set dataAttributes(Map<String, String> value) {
|
| + throw new UnsupportedError(
|
| + "Data attributes can't be set for document fragments.");
|
| + }
|
|
|
| -/// @domName DirectoryReaderSync; @docsEditable true
|
| -class DirectoryReaderSync native "*DirectoryReaderSync" {
|
| -
|
| - /// @domName DirectoryReaderSync.readEntries; @docsEditable true
|
| - @Returns('_EntryArraySync') @Creates('_EntryArraySync')
|
| - List<EntrySync> readEntries() native;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| -/**
|
| - * Represents an HTML <div> element.
|
| - *
|
| - * The [DivElement] is a generic container for content and does not have any
|
| - * special significance. It is functionally similar to [SpanElement].
|
| - *
|
| - * The [DivElement] is a block-level element, as opposed to [SpanElement],
|
| - * which is an inline-level element.
|
| - *
|
| - * Example usage:
|
| - *
|
| - * DivElement div = new DivElement();
|
| - * div.text = 'Here's my new DivElem
|
| - * document.body.elements.add(elem);
|
| - *
|
| - * See also:
|
| - *
|
| - * * [HTML <div> element](http://www.w3.org/TR/html-markup/div.html) from W3C.
|
| - * * [Block-level element](http://www.w3.org/TR/CSS2/visuren.html#block-boxes) from W3C.
|
| - * * [Inline-level element](http://www.w3.org/TR/CSS2/visuren.html#inline-boxes) from W3C.
|
| - */
|
| -/// @domName HTMLDivElement; @docsEditable true
|
| -class DivElement extends Element implements Element native "*HTMLDivElement" {
|
| -
|
| - factory DivElement() => document.$dom_createElement("div");
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| + void set contentEditable(String value) {
|
| + throw new UnsupportedError(
|
| + "Content editable can't be set for document fragments.");
|
| + }
|
|
|
| -/// @domName Document
|
| -/**
|
| - * The base class for all documents.
|
| - *
|
| - * Each web page loaded in the browser has its own [Document] object, which is
|
| - * typically an [HtmlDocument].
|
| - *
|
| - * If you aren't comfortable with DOM concepts, see the Dart tutorial
|
| - * [Target 2: Connect Dart & HTML](http://www.dartlang.org/docs/tutorials/connect-dart-html/).
|
| - */
|
| -class Document extends Node native "*Document"
|
| -{
|
| + String get dir {
|
| + throw new UnsupportedError(
|
| + "Document fragments don't support text direction.");
|
| + }
|
|
|
| + void set dir(String value) {
|
| + throw new UnsupportedError(
|
| + "Document fragments don't support text direction.");
|
| + }
|
|
|
| - /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
|
| - DocumentEvents get on =>
|
| - new DocumentEvents(this);
|
| + void set draggable(bool value) {
|
| + throw new UnsupportedError(
|
| + "Draggable can't be set for document fragments.");
|
| + }
|
|
|
| - /// @domName Document.body; @docsEditable true
|
| - @JSName('body')
|
| - Element $dom_body;
|
| + void set hidden(bool value) {
|
| + throw new UnsupportedError(
|
| + "Hidden can't be set for document fragments.");
|
| + }
|
|
|
| - /// @domName Document.charset; @docsEditable true
|
| - String charset;
|
| + void set id(String value) {
|
| + throw new UnsupportedError(
|
| + "ID can't be set for document fragments.");
|
| + }
|
|
|
| - /// @domName Document.cookie; @docsEditable true
|
| - String cookie;
|
| + String get lang {
|
| + throw new UnsupportedError(
|
| + "Document fragments don't support language.");
|
| + }
|
|
|
| - /// Returns the [Window] associated with the document.
|
| - /// @domName Document.defaultView; @docsEditable true
|
| - Window get window => _convertNativeToDart_Window(this._window);
|
| - @JSName('defaultView')
|
| - @Creates('LocalWindow|=Object') @Returns('LocalWindow|=Object')
|
| - final dynamic _window;
|
| + void set lang(String value) {
|
| + throw new UnsupportedError(
|
| + "Document fragments don't support language.");
|
| + }
|
|
|
| - /// @domName Document.documentElement; @docsEditable true
|
| - final Element documentElement;
|
| + void set scrollLeft(int value) {
|
| + throw new UnsupportedError(
|
| + "Document fragments don't support scrolling.");
|
| + }
|
|
|
| - /// @domName Document.domain; @docsEditable true
|
| - final String domain;
|
| + void set scrollTop(int value) {
|
| + throw new UnsupportedError(
|
| + "Document fragments don't support scrolling.");
|
| + }
|
|
|
| - /// @domName Document.head; @docsEditable true
|
| - @JSName('head')
|
| - final HeadElement $dom_head;
|
| + void set spellcheck(bool value) {
|
| + throw new UnsupportedError(
|
| + "Spellcheck can't be set for document fragments.");
|
| + }
|
|
|
| - /// @domName Document.implementation; @docsEditable true
|
| - final DOMImplementation implementation;
|
| + void set translate(bool value) {
|
| + throw new UnsupportedError(
|
| + "Spellcheck can't be set for document fragments.");
|
| + }
|
|
|
| - /// @domName Document.lastModified; @docsEditable true
|
| - @JSName('lastModified')
|
| - final String $dom_lastModified;
|
| + void set tabIndex(int value) {
|
| + throw new UnsupportedError(
|
| + "Tab index can't be set for document fragments.");
|
| + }
|
|
|
| - /// @domName Document.preferredStylesheetSet; @docsEditable true
|
| - final String preferredStylesheetSet;
|
| + void set title(String value) {
|
| + throw new UnsupportedError(
|
| + "Title can't be set for document fragments.");
|
| + }
|
|
|
| - /// @domName Document.readyState; @docsEditable true
|
| - final String readyState;
|
| + void set webkitdropzone(String value) {
|
| + throw new UnsupportedError(
|
| + "WebKit drop zone can't be set for document fragments.");
|
| + }
|
|
|
| - /// @domName Document.referrer; @docsEditable true
|
| - @JSName('referrer')
|
| - final String $dom_referrer;
|
| + void set webkitRegionOverflow(String value) {
|
| + throw new UnsupportedError(
|
| + "WebKit region overflow can't be set for document fragments.");
|
| + }
|
|
|
| - /// @domName Document.selectedStylesheetSet; @docsEditable true
|
| - String selectedStylesheetSet;
|
|
|
| - /// @domName Document.styleSheets; @docsEditable true
|
| - @JSName('styleSheets')
|
| - @Returns('_StyleSheetList') @Creates('_StyleSheetList')
|
| - final List<StyleSheet> $dom_styleSheets;
|
| + /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
|
| + ElementEvents get on =>
|
| + new ElementEvents(this);
|
|
|
| - /// @domName Document.title; @docsEditable true
|
| - @JSName('title')
|
| - String $dom_title;
|
| + /// @domName DocumentFragment.querySelector; @docsEditable true
|
| + @JSName('querySelector')
|
| + Element $dom_querySelector(String selectors) native;
|
|
|
| - /// @domName Document.webkitFullscreenElement; @docsEditable true
|
| - @JSName('webkitFullscreenElement')
|
| - final Element $dom_webkitFullscreenElement;
|
| + /// @domName DocumentFragment.querySelectorAll; @docsEditable true
|
| + @JSName('querySelectorAll')
|
| + @Returns('NodeList') @Creates('NodeList')
|
| + List<Node> $dom_querySelectorAll(String selectors) native;
|
|
|
| - /// @domName Document.webkitFullscreenEnabled; @docsEditable true
|
| - @JSName('webkitFullscreenEnabled')
|
| - final bool $dom_webkitFullscreenEnabled;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - /// @domName Document.webkitHidden; @docsEditable true
|
| - @JSName('webkitHidden')
|
| - final bool $dom_webkitHidden;
|
|
|
| - /// @domName Document.webkitIsFullScreen; @docsEditable true
|
| - @JSName('webkitIsFullScreen')
|
| - final bool $dom_webkitIsFullScreen;
|
| +/// @domName DocumentType; @docsEditable true
|
| +class DocumentType extends Node native "*DocumentType" {
|
|
|
| - /// @domName Document.webkitPointerLockElement; @docsEditable true
|
| - @JSName('webkitPointerLockElement')
|
| - final Element $dom_webkitPointerLockElement;
|
| + /// @domName DocumentType.entities; @docsEditable true
|
| + final NamedNodeMap entities;
|
|
|
| - /// @domName Document.webkitVisibilityState; @docsEditable true
|
| - @JSName('webkitVisibilityState')
|
| - final String $dom_webkitVisibilityState;
|
| + /// @domName DocumentType.internalSubset; @docsEditable true
|
| + final String internalSubset;
|
|
|
| - /// @domName Document.caretRangeFromPoint; @docsEditable true
|
| - @JSName('caretRangeFromPoint')
|
| - Range $dom_caretRangeFromPoint(int x, int y) native;
|
| + /// @domName DocumentType.name; @docsEditable true
|
| + final String name;
|
|
|
| - /// @domName Document.createCDATASection; @docsEditable true
|
| - @JSName('createCDATASection')
|
| - CDATASection createCDataSection(String data) native;
|
| + /// @domName DocumentType.notations; @docsEditable true
|
| + final NamedNodeMap notations;
|
|
|
| - /// @domName Document.createDocumentFragment; @docsEditable true
|
| - DocumentFragment createDocumentFragment() native;
|
| + /// @domName DocumentType.publicId; @docsEditable true
|
| + final String publicId;
|
|
|
| - /// @domName Document.createElement; @docsEditable true
|
| - @JSName('createElement')
|
| - Element $dom_createElement(String tagName) native;
|
| + /// @domName DocumentType.systemId; @docsEditable true
|
| + final String systemId;
|
|
|
| - /// @domName Document.createElementNS; @docsEditable true
|
| - @JSName('createElementNS')
|
| - Element $dom_createElementNS(String namespaceURI, String qualifiedName) native;
|
| + /// @domName DocumentType.remove; @docsEditable true
|
| + void remove() native;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - /// @domName Document.createEvent; @docsEditable true
|
| - @JSName('createEvent')
|
| - Event $dom_createEvent(String eventType) native;
|
|
|
| - /// @domName Document.createRange; @docsEditable true
|
| - Range createRange() native;
|
| +/// @domName DOMError; @docsEditable true
|
| +class DomError native "*DOMError" {
|
|
|
| - /// @domName Document.createTextNode; @docsEditable true
|
| - @JSName('createTextNode')
|
| - Text $dom_createTextNode(String data) native;
|
| + /// @domName DOMError.name; @docsEditable true
|
| + final String name;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - /// @domName Document.createTouch; @docsEditable true
|
| - Touch createTouch(LocalWindow window, EventTarget target, int identifier, int pageX, int pageY, int screenX, int screenY, int webkitRadiusX, int webkitRadiusY, num webkitRotationAngle, num webkitForce) {
|
| - var target_1 = _convertDartToNative_EventTarget(target);
|
| - return _createTouch_1(window, target_1, identifier, pageX, pageY, screenX, screenY, webkitRadiusX, webkitRadiusY, webkitRotationAngle, webkitForce);
|
| - }
|
| - @JSName('createTouch')
|
| - Touch _createTouch_1(LocalWindow window, target, identifier, pageX, pageY, screenX, screenY, webkitRadiusX, webkitRadiusY, webkitRotationAngle, webkitForce) native;
|
|
|
| - /// @domName Document.createTouchList; @docsEditable true
|
| - @JSName('createTouchList')
|
| - TouchList $dom_createTouchList() native;
|
| +/// @domName DOMException; @docsEditable true
|
| +class DomException native "*DOMException" {
|
|
|
| - /// @domName Document.elementFromPoint; @docsEditable true
|
| - @JSName('elementFromPoint')
|
| - Element $dom_elementFromPoint(int x, int y) native;
|
| + static const int ABORT_ERR = 20;
|
|
|
| - /// @domName Document.execCommand; @docsEditable true
|
| - bool execCommand(String command, bool userInterface, String value) native;
|
| + static const int DATA_CLONE_ERR = 25;
|
|
|
| - /// @domName Document.getCSSCanvasContext; @docsEditable true
|
| - @JSName('getCSSCanvasContext')
|
| - CanvasRenderingContext getCssCanvasContext(String contextId, String name, int width, int height) native;
|
| + static const int DOMSTRING_SIZE_ERR = 2;
|
|
|
| - /// @domName Document.getElementById; @docsEditable true
|
| - @JSName('getElementById')
|
| - Element $dom_getElementById(String elementId) native;
|
| + static const int HIERARCHY_REQUEST_ERR = 3;
|
|
|
| - /// @domName Document.getElementsByClassName; @docsEditable true
|
| - @JSName('getElementsByClassName')
|
| - @Returns('NodeList') @Creates('NodeList')
|
| - List<Node> $dom_getElementsByClassName(String tagname) native;
|
| + static const int INDEX_SIZE_ERR = 1;
|
|
|
| - /// @domName Document.getElementsByName; @docsEditable true
|
| - @JSName('getElementsByName')
|
| - @Returns('NodeList') @Creates('NodeList')
|
| - List<Node> $dom_getElementsByName(String elementName) native;
|
| + static const int INUSE_ATTRIBUTE_ERR = 10;
|
|
|
| - /// @domName Document.getElementsByTagName; @docsEditable true
|
| - @JSName('getElementsByTagName')
|
| - @Returns('NodeList') @Creates('NodeList')
|
| - List<Node> $dom_getElementsByTagName(String tagname) native;
|
| + static const int INVALID_ACCESS_ERR = 15;
|
|
|
| - /// @domName Document.queryCommandEnabled; @docsEditable true
|
| - bool queryCommandEnabled(String command) native;
|
| + static const int INVALID_CHARACTER_ERR = 5;
|
|
|
| - /// @domName Document.queryCommandIndeterm; @docsEditable true
|
| - bool queryCommandIndeterm(String command) native;
|
| + static const int INVALID_MODIFICATION_ERR = 13;
|
|
|
| - /// @domName Document.queryCommandState; @docsEditable true
|
| - bool queryCommandState(String command) native;
|
| + static const int INVALID_NODE_TYPE_ERR = 24;
|
|
|
| - /// @domName Document.queryCommandSupported; @docsEditable true
|
| - bool queryCommandSupported(String command) native;
|
| + static const int INVALID_STATE_ERR = 11;
|
|
|
| - /// @domName Document.queryCommandValue; @docsEditable true
|
| - String queryCommandValue(String command) native;
|
| + static const int NAMESPACE_ERR = 14;
|
|
|
| - /// @domName Document.querySelector; @docsEditable true
|
| - @JSName('querySelector')
|
| - Element $dom_querySelector(String selectors) native;
|
| + static const int NETWORK_ERR = 19;
|
|
|
| - /// @domName Document.querySelectorAll; @docsEditable true
|
| - @JSName('querySelectorAll')
|
| - @Returns('NodeList') @Creates('NodeList')
|
| - List<Node> $dom_querySelectorAll(String selectors) native;
|
| + static const int NOT_FOUND_ERR = 8;
|
|
|
| - /// @domName Document.webkitCancelFullScreen; @docsEditable true
|
| - @JSName('webkitCancelFullScreen')
|
| - void $dom_webkitCancelFullScreen() native;
|
| + static const int NOT_SUPPORTED_ERR = 9;
|
|
|
| - /// @domName Document.webkitExitFullscreen; @docsEditable true
|
| - @JSName('webkitExitFullscreen')
|
| - void $dom_webkitExitFullscreen() native;
|
| + static const int NO_DATA_ALLOWED_ERR = 6;
|
|
|
| - /// @domName Document.webkitExitPointerLock; @docsEditable true
|
| - @JSName('webkitExitPointerLock')
|
| - void $dom_webkitExitPointerLock() native;
|
| + static const int NO_MODIFICATION_ALLOWED_ERR = 7;
|
|
|
| + static const int QUOTA_EXCEEDED_ERR = 22;
|
|
|
| - /**
|
| - * Finds the first descendant element of this document that matches the
|
| - * specified group of selectors.
|
| - *
|
| - * Unless your webpage contains multiple documents, the top-level query
|
| - * method behaves the same as this method, so you should use it instead to
|
| - * save typing a few characters.
|
| - *
|
| - * [selectors] should be a string using CSS selector syntax.
|
| - * var element1 = document.query('.className');
|
| - * var element2 = document.query('#id');
|
| - *
|
| - * For details about CSS selector syntax, see the
|
| - * [CSS selector specification](http://www.w3.org/TR/css3-selectors/).
|
| - */
|
| - Element query(String selectors) {
|
| - // It is fine for our RegExp to detect element id query selectors to have
|
| - // false negatives but not false positives.
|
| - if (new RegExp("^#[_a-zA-Z]\\w*\$").hasMatch(selectors)) {
|
| - return $dom_getElementById(selectors.substring(1));
|
| - }
|
| - return $dom_querySelector(selectors);
|
| - }
|
| + static const int SECURITY_ERR = 18;
|
|
|
| - /**
|
| - * Finds all descendant elements of this document that match the specified
|
| - * group of selectors.
|
| - *
|
| - * Unless your webpage contains multiple documents, the top-level queryAll
|
| - * method behaves the same as this method, so you should use it instead to
|
| - * save typing a few characters.
|
| - *
|
| - * [selectors] should be a string using CSS selector syntax.
|
| - * var items = document.queryAll('.itemClassName');
|
| - *
|
| - * For details about CSS selector syntax, see the
|
| - * [CSS selector specification](http://www.w3.org/TR/css3-selectors/).
|
| - */
|
| - List<Element> queryAll(String selectors) {
|
| - if (new RegExp("""^\\[name=["'][^'"]+['"]\\]\$""").hasMatch(selectors)) {
|
| - final mutableMatches = $dom_getElementsByName(
|
| - selectors.substring(7,selectors.length - 2));
|
| - int len = mutableMatches.length;
|
| - final copyOfMatches = new List<Element>(len);
|
| - for (int i = 0; i < len; ++i) {
|
| - copyOfMatches[i] = mutableMatches[i];
|
| - }
|
| - return new _FrozenElementList._wrap(copyOfMatches);
|
| - } else if (new RegExp("^[*a-zA-Z0-9]+\$").hasMatch(selectors)) {
|
| - final mutableMatches = $dom_getElementsByTagName(selectors);
|
| - int len = mutableMatches.length;
|
| - final copyOfMatches = new List<Element>(len);
|
| - for (int i = 0; i < len; ++i) {
|
| - copyOfMatches[i] = mutableMatches[i];
|
| - }
|
| - return new _FrozenElementList._wrap(copyOfMatches);
|
| - } else {
|
| - return new _FrozenElementList._wrap($dom_querySelectorAll(selectors));
|
| - }
|
| - }
|
| -}
|
| + static const int SYNTAX_ERR = 12;
|
|
|
| -class DocumentEvents extends ElementEvents {
|
| - DocumentEvents(EventTarget _ptr) : super(_ptr);
|
| + static const int TIMEOUT_ERR = 23;
|
|
|
| - EventListenerList get readyStateChange => this['readystatechange'];
|
| + static const int TYPE_MISMATCH_ERR = 17;
|
|
|
| - EventListenerList get selectionChange => this['selectionchange'];
|
| + static const int URL_MISMATCH_ERR = 21;
|
|
|
| - EventListenerList get pointerLockChange => this['webkitpointerlockchange'];
|
| + static const int VALIDATION_ERR = 16;
|
|
|
| - EventListenerList get pointerLockError => this['webkitpointerlockerror'];
|
| + static const int WRONG_DOCUMENT_ERR = 4;
|
| +
|
| + /// @domName DOMException.code; @docsEditable true
|
| + final int code;
|
| +
|
| + /// @domName DOMException.message; @docsEditable true
|
| + final String message;
|
| +
|
| + /// @domName DOMException.name; @docsEditable true
|
| + final String name;
|
| +
|
| + /// @domName DOMException.toString; @docsEditable true
|
| + String toString() native;
|
| }
|
| -// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -Future<CSSStyleDeclaration> _emptyStyleFuture() {
|
| - return _createMeasurementFuture(() => new Element.tag('div').style,
|
| - new Completer<CSSStyleDeclaration>());
|
| +/// @domName DOMImplementation; @docsEditable true
|
| +class DomImplementation native "*DOMImplementation" {
|
| +
|
| + /// @domName DOMImplementation.createCSSStyleSheet; @docsEditable true
|
| + @JSName('createCSSStyleSheet')
|
| + CssStyleSheet createCssStyleSheet(String title, String media) native;
|
| +
|
| + /// @domName DOMImplementation.createDocument; @docsEditable true
|
| + Document createDocument(String namespaceURI, String qualifiedName, DocumentType doctype) native;
|
| +
|
| + /// @domName DOMImplementation.createDocumentType; @docsEditable true
|
| + DocumentType createDocumentType(String qualifiedName, String publicId, String systemId) native;
|
| +
|
| + /// @domName DOMImplementation.createHTMLDocument; @docsEditable true
|
| + @JSName('createHTMLDocument')
|
| + HtmlDocument createHtmlDocument(String title) native;
|
| +
|
| + /// @domName DOMImplementation.hasFeature; @docsEditable true
|
| + bool hasFeature(String feature, String version) native;
|
| }
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| -class _FrozenCssClassSet extends CssClassSet {
|
| - void writeClasses(Set s) {
|
| - throw new UnsupportedError(
|
| - 'frozen class set cannot be modified');
|
| - }
|
| - Set<String> readClasses() => new Set<String>();
|
|
|
| - bool get frozen => true;
|
| +/// @domName MimeType; @docsEditable true
|
| +class DomMimeType native "*MimeType" {
|
| +
|
| + /// @domName MimeType.description; @docsEditable true
|
| + final String description;
|
| +
|
| + /// @domName MimeType.enabledPlugin; @docsEditable true
|
| + final DomPlugin enabledPlugin;
|
| +
|
| + /// @domName MimeType.suffixes; @docsEditable true
|
| + final String suffixes;
|
| +
|
| + /// @domName MimeType.type; @docsEditable true
|
| + final String type;
|
| }
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| -/// @domName DocumentFragment
|
| -class DocumentFragment extends Node native "*DocumentFragment" {
|
| - factory DocumentFragment() => _DocumentFragmentFactoryProvider.createDocumentFragment();
|
|
|
| - factory DocumentFragment.html(String html) =>
|
| - _DocumentFragmentFactoryProvider.createDocumentFragment_html(html);
|
| +/// @domName MimeTypeArray; @docsEditable true
|
| +class DomMimeTypeArray implements JavaScriptIndexingBehavior, List<DomMimeType> native "*MimeTypeArray" {
|
|
|
| - factory DocumentFragment.svg(String svgContent) =>
|
| - _DocumentFragmentFactoryProvider.createDocumentFragment_svg(svgContent);
|
| + /// @domName MimeTypeArray.length; @docsEditable true
|
| + final int length;
|
|
|
| - List<Element> get elements => this.children;
|
| + DomMimeType operator[](int index) => JS("DomMimeType", "#[#]", this, index);
|
|
|
| - // TODO: The type of value should be Collection<Element>. See http://b/5392897
|
| - void set elements(value) {
|
| - this.children = value;
|
| + void operator[]=(int index, DomMimeType value) {
|
| + throw new UnsupportedError("Cannot assign element of immutable List.");
|
| }
|
| + // -- start List<DomMimeType> mixins.
|
| + // DomMimeType is the element type.
|
|
|
| - // Native field is used only by Dart code so does not lead to instantiation
|
| - // of native classes
|
| - @Creates('Null')
|
| - List<Element> _children;
|
| + // From Iterable<DomMimeType>:
|
|
|
| - List<Element> get children {
|
| - if (_children == null) {
|
| - _children = new FilteredElementList(this);
|
| - }
|
| - return _children;
|
| + Iterator<DomMimeType> iterator() {
|
| + // Note: NodeLists are not fixed size. And most probably length shouldn't
|
| + // be cached in both iterator _and_ forEach method. For now caching it
|
| + // for consistency.
|
| + return new FixedSizeListIterator<DomMimeType>(this);
|
| }
|
|
|
| - void set children(Collection<Element> value) {
|
| - // Copy list first since we don't want liveness during iteration.
|
| - List copy = new List.from(value);
|
| - var children = this.children;
|
| - children.clear();
|
| - children.addAll(copy);
|
| + // From Collection<DomMimeType>:
|
| +
|
| + void add(DomMimeType value) {
|
| + throw new UnsupportedError("Cannot add to immutable List.");
|
| }
|
|
|
| - Element query(String selectors) => $dom_querySelector(selectors);
|
| + void addLast(DomMimeType value) {
|
| + throw new UnsupportedError("Cannot add to immutable List.");
|
| + }
|
|
|
| - List<Element> queryAll(String selectors) =>
|
| - new _FrozenElementList._wrap($dom_querySelectorAll(selectors));
|
| + void addAll(Collection<DomMimeType> collection) {
|
| + throw new UnsupportedError("Cannot add to immutable List.");
|
| + }
|
|
|
| - String get innerHtml {
|
| - final e = new Element.tag("div");
|
| - e.nodes.add(this.clone(true));
|
| - return e.innerHtml;
|
| + dynamic reduce(dynamic initialValue, dynamic combine(dynamic, DomMimeType)) {
|
| + return Collections.reduce(this, initialValue, combine);
|
| }
|
|
|
| - String get outerHtml => innerHtml;
|
| + bool contains(DomMimeType element) => Collections.contains(this, element);
|
|
|
| - // TODO(nweiz): Do we want to support some variant of innerHtml for XML and/or
|
| - // SVG strings?
|
| - void set innerHtml(String value) {
|
| - this.nodes.clear();
|
| + void forEach(void f(DomMimeType element)) => Collections.forEach(this, f);
|
|
|
| - final e = new Element.tag("div");
|
| - e.innerHtml = value;
|
| + Collection map(f(DomMimeType element)) => Collections.map(this, [], f);
|
|
|
| - // Copy list first since we don't want liveness during iteration.
|
| - List nodes = new List.from(e.nodes);
|
| - this.nodes.addAll(nodes);
|
| - }
|
| + Collection<DomMimeType> filter(bool f(DomMimeType element)) =>
|
| + Collections.filter(this, <DomMimeType>[], f);
|
|
|
| - Node _insertAdjacentNode(String where, Node node) {
|
| - switch (where.toLowerCase()) {
|
| - case "beforebegin": return null;
|
| - case "afterend": return null;
|
| - case "afterbegin":
|
| - var first = this.nodes.length > 0 ? this.nodes[0] : null;
|
| - this.insertBefore(node, first);
|
| - return node;
|
| - case "beforeend":
|
| - this.nodes.add(node);
|
| - return node;
|
| - default:
|
| - throw new ArgumentError("Invalid position ${where}");
|
| - }
|
| + bool every(bool f(DomMimeType element)) => Collections.every(this, f);
|
| +
|
| + bool some(bool f(DomMimeType element)) => Collections.some(this, f);
|
| +
|
| + bool get isEmpty => this.length == 0;
|
| +
|
| + // From List<DomMimeType>:
|
| +
|
| + void sort([Comparator<DomMimeType> compare = Comparable.compare]) {
|
| + throw new UnsupportedError("Cannot sort immutable List.");
|
| }
|
|
|
| - Element insertAdjacentElement(String where, Element element)
|
| - => this._insertAdjacentNode(where, element);
|
| + int indexOf(DomMimeType element, [int start = 0]) =>
|
| + Lists.indexOf(this, element, start, this.length);
|
|
|
| - void insertAdjacentText(String where, String text) {
|
| - this._insertAdjacentNode(where, new Text(text));
|
| + int lastIndexOf(DomMimeType element, [int start]) {
|
| + if (start == null) start = length - 1;
|
| + return Lists.lastIndexOf(this, element, start);
|
| }
|
|
|
| - void insertAdjacentHtml(String where, String text) {
|
| - this._insertAdjacentNode(where, new DocumentFragment.html(text));
|
| + DomMimeType get first => this[0];
|
| +
|
| + DomMimeType get last => this[length - 1];
|
| +
|
| + DomMimeType removeAt(int pos) {
|
| + throw new UnsupportedError("Cannot removeAt on immutable List.");
|
| }
|
|
|
| - void append(Element element) {
|
| - this.children.add(element);
|
| + DomMimeType removeLast() {
|
| + throw new UnsupportedError("Cannot removeLast on immutable List.");
|
| }
|
|
|
| - void appendText(String text) {
|
| - this.insertAdjacentText('beforeend', text);
|
| + void setRange(int start, int rangeLength, List<DomMimeType> from, [int startFrom]) {
|
| + throw new UnsupportedError("Cannot setRange on immutable List.");
|
| }
|
|
|
| - void appendHtml(String text) {
|
| - this.insertAdjacentHtml('beforeend', text);
|
| + void removeRange(int start, int rangeLength) {
|
| + throw new UnsupportedError("Cannot removeRange on immutable List.");
|
| }
|
|
|
| - // If we can come up with a semi-reasonable default value for an Element
|
| - // getter, we'll use it. In general, these return the same values as an
|
| - // element that has no parent.
|
| - String get contentEditable => "false";
|
| - bool get isContentEditable => false;
|
| - bool get draggable => false;
|
| - bool get hidden => false;
|
| - bool get spellcheck => false;
|
| - bool get translate => false;
|
| - int get tabIndex => -1;
|
| - String get id => "";
|
| - String get title => "";
|
| - String get tagName => "";
|
| - String get webkitdropzone => "";
|
| - String get webkitRegionOverflow => "";
|
| - Element get $m_firstElementChild {
|
| - if (elements.length > 0) {
|
| - return elements[0];
|
| - }
|
| - return null;
|
| + void insertRange(int start, int rangeLength, [DomMimeType initialValue]) {
|
| + throw new UnsupportedError("Cannot insertRange on immutable List.");
|
| }
|
| - Element get $m_lastElementChild => elements.last;
|
| - Element get nextElementSibling => null;
|
| - Element get previousElementSibling => null;
|
| - Element get offsetParent => null;
|
| - Element get parent => null;
|
| - Map<String, String> get attributes => const {};
|
| - CssClassSet get classes => new _FrozenCssClassSet();
|
| - Map<String, String> get dataAttributes => const {};
|
| - CSSStyleDeclaration get style => new Element.tag('div').style;
|
| - Future<CSSStyleDeclaration> get computedStyle =>
|
| - _emptyStyleFuture();
|
| - Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement) =>
|
| - _emptyStyleFuture();
|
| - bool matchesSelector(String selectors) => false;
|
|
|
| - // Imperative Element methods are made into no-ops, as they are on parentless
|
| - // elements.
|
| - void blur() {}
|
| - void focus() {}
|
| - void click() {}
|
| - void scrollByLines(int lines) {}
|
| - void scrollByPages(int pages) {}
|
| - void scrollIntoView([bool centerIfNeeded]) {}
|
| - void webkitRequestFullScreen(int flags) {}
|
| - void webkitRequestFullscreen() {}
|
| + List<DomMimeType> getRange(int start, int rangeLength) =>
|
| + Lists.getRange(this, start, rangeLength, <DomMimeType>[]);
|
| +
|
| + // -- end List<DomMimeType> mixins.
|
| +
|
| + /// @domName MimeTypeArray.item; @docsEditable true
|
| + DomMimeType item(int index) native;
|
| +
|
| + /// @domName MimeTypeArray.namedItem; @docsEditable true
|
| + DomMimeType namedItem(String name) native;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +
|
| +/// @domName DOMParser; @docsEditable true
|
| +class DomParser native "*DOMParser" {
|
| +
|
| + factory DomParser() => _DomParserFactoryProvider.createDomParser();
|
| +
|
| + /// @domName DOMParser.parseFromString; @docsEditable true
|
| + Document parseFromString(String str, String contentType) native;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +
|
| +/// @domName Plugin; @docsEditable true
|
| +class DomPlugin native "*Plugin" {
|
| +
|
| + /// @domName Plugin.description; @docsEditable true
|
| + final String description;
|
| +
|
| + /// @domName Plugin.filename; @docsEditable true
|
| + final String filename;
|
| +
|
| + /// @domName Plugin.length; @docsEditable true
|
| + final int length;
|
| +
|
| + /// @domName Plugin.name; @docsEditable true
|
| + final String name;
|
| +
|
| + /// @domName Plugin.item; @docsEditable true
|
| + DomMimeType item(int index) native;
|
| +
|
| + /// @domName Plugin.namedItem; @docsEditable true
|
| + DomMimeType namedItem(String name) native;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +
|
| +/// @domName PluginArray; @docsEditable true
|
| +class DomPluginArray implements JavaScriptIndexingBehavior, List<DomPlugin> native "*PluginArray" {
|
|
|
| - // Setters throw errors rather than being no-ops because we aren't going to
|
| - // retain the values that were set, and erroring out seems clearer.
|
| - void set attributes(Map<String, String> value) {
|
| - throw new UnsupportedError(
|
| - "Attributes can't be set for document fragments.");
|
| - }
|
| + /// @domName PluginArray.length; @docsEditable true
|
| + final int length;
|
|
|
| - void set classes(Collection<String> value) {
|
| - throw new UnsupportedError(
|
| - "Classes can't be set for document fragments.");
|
| - }
|
| + DomPlugin operator[](int index) => JS("DomPlugin", "#[#]", this, index);
|
|
|
| - void set dataAttributes(Map<String, String> value) {
|
| - throw new UnsupportedError(
|
| - "Data attributes can't be set for document fragments.");
|
| + void operator[]=(int index, DomPlugin value) {
|
| + throw new UnsupportedError("Cannot assign element of immutable List.");
|
| }
|
| + // -- start List<DomPlugin> mixins.
|
| + // DomPlugin is the element type.
|
|
|
| - void set contentEditable(String value) {
|
| - throw new UnsupportedError(
|
| - "Content editable can't be set for document fragments.");
|
| - }
|
| + // From Iterable<DomPlugin>:
|
|
|
| - String get dir {
|
| - throw new UnsupportedError(
|
| - "Document fragments don't support text direction.");
|
| + Iterator<DomPlugin> iterator() {
|
| + // Note: NodeLists are not fixed size. And most probably length shouldn't
|
| + // be cached in both iterator _and_ forEach method. For now caching it
|
| + // for consistency.
|
| + return new FixedSizeListIterator<DomPlugin>(this);
|
| }
|
|
|
| - void set dir(String value) {
|
| - throw new UnsupportedError(
|
| - "Document fragments don't support text direction.");
|
| - }
|
| + // From Collection<DomPlugin>:
|
|
|
| - void set draggable(bool value) {
|
| - throw new UnsupportedError(
|
| - "Draggable can't be set for document fragments.");
|
| + void add(DomPlugin value) {
|
| + throw new UnsupportedError("Cannot add to immutable List.");
|
| }
|
|
|
| - void set hidden(bool value) {
|
| - throw new UnsupportedError(
|
| - "Hidden can't be set for document fragments.");
|
| + void addLast(DomPlugin value) {
|
| + throw new UnsupportedError("Cannot add to immutable List.");
|
| }
|
|
|
| - void set id(String value) {
|
| - throw new UnsupportedError(
|
| - "ID can't be set for document fragments.");
|
| + void addAll(Collection<DomPlugin> collection) {
|
| + throw new UnsupportedError("Cannot add to immutable List.");
|
| }
|
|
|
| - String get lang {
|
| - throw new UnsupportedError(
|
| - "Document fragments don't support language.");
|
| + dynamic reduce(dynamic initialValue, dynamic combine(dynamic, DomPlugin)) {
|
| + return Collections.reduce(this, initialValue, combine);
|
| }
|
|
|
| - void set lang(String value) {
|
| - throw new UnsupportedError(
|
| - "Document fragments don't support language.");
|
| - }
|
| + bool contains(DomPlugin element) => Collections.contains(this, element);
|
|
|
| - void set scrollLeft(int value) {
|
| - throw new UnsupportedError(
|
| - "Document fragments don't support scrolling.");
|
| - }
|
| + void forEach(void f(DomPlugin element)) => Collections.forEach(this, f);
|
|
|
| - void set scrollTop(int value) {
|
| - throw new UnsupportedError(
|
| - "Document fragments don't support scrolling.");
|
| + Collection map(f(DomPlugin element)) => Collections.map(this, [], f);
|
| +
|
| + Collection<DomPlugin> filter(bool f(DomPlugin element)) =>
|
| + Collections.filter(this, <DomPlugin>[], f);
|
| +
|
| + bool every(bool f(DomPlugin element)) => Collections.every(this, f);
|
| +
|
| + bool some(bool f(DomPlugin element)) => Collections.some(this, f);
|
| +
|
| + bool get isEmpty => this.length == 0;
|
| +
|
| + // From List<DomPlugin>:
|
| +
|
| + void sort([Comparator<DomPlugin> compare = Comparable.compare]) {
|
| + throw new UnsupportedError("Cannot sort immutable List.");
|
| }
|
|
|
| - void set spellcheck(bool value) {
|
| - throw new UnsupportedError(
|
| - "Spellcheck can't be set for document fragments.");
|
| + int indexOf(DomPlugin element, [int start = 0]) =>
|
| + Lists.indexOf(this, element, start, this.length);
|
| +
|
| + int lastIndexOf(DomPlugin element, [int start]) {
|
| + if (start == null) start = length - 1;
|
| + return Lists.lastIndexOf(this, element, start);
|
| }
|
|
|
| - void set translate(bool value) {
|
| - throw new UnsupportedError(
|
| - "Spellcheck can't be set for document fragments.");
|
| + DomPlugin get first => this[0];
|
| +
|
| + DomPlugin get last => this[length - 1];
|
| +
|
| + DomPlugin removeAt(int pos) {
|
| + throw new UnsupportedError("Cannot removeAt on immutable List.");
|
| }
|
|
|
| - void set tabIndex(int value) {
|
| - throw new UnsupportedError(
|
| - "Tab index can't be set for document fragments.");
|
| + DomPlugin removeLast() {
|
| + throw new UnsupportedError("Cannot removeLast on immutable List.");
|
| }
|
|
|
| - void set title(String value) {
|
| - throw new UnsupportedError(
|
| - "Title can't be set for document fragments.");
|
| + void setRange(int start, int rangeLength, List<DomPlugin> from, [int startFrom]) {
|
| + throw new UnsupportedError("Cannot setRange on immutable List.");
|
| }
|
|
|
| - void set webkitdropzone(String value) {
|
| - throw new UnsupportedError(
|
| - "WebKit drop zone can't be set for document fragments.");
|
| + void removeRange(int start, int rangeLength) {
|
| + throw new UnsupportedError("Cannot removeRange on immutable List.");
|
| }
|
|
|
| - void set webkitRegionOverflow(String value) {
|
| - throw new UnsupportedError(
|
| - "WebKit region overflow can't be set for document fragments.");
|
| + void insertRange(int start, int rangeLength, [DomPlugin initialValue]) {
|
| + throw new UnsupportedError("Cannot insertRange on immutable List.");
|
| }
|
|
|
| + List<DomPlugin> getRange(int start, int rangeLength) =>
|
| + Lists.getRange(this, start, rangeLength, <DomPlugin>[]);
|
|
|
| - /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
|
| - ElementEvents get on =>
|
| - new ElementEvents(this);
|
| + // -- end List<DomPlugin> mixins.
|
|
|
| - /// @domName DocumentFragment.querySelector; @docsEditable true
|
| - @JSName('querySelector')
|
| - Element $dom_querySelector(String selectors) native;
|
| + /// @domName PluginArray.item; @docsEditable true
|
| + DomPlugin item(int index) native;
|
|
|
| - /// @domName DocumentFragment.querySelectorAll; @docsEditable true
|
| - @JSName('querySelectorAll')
|
| - @Returns('NodeList') @Creates('NodeList')
|
| - List<Node> $dom_querySelectorAll(String selectors) native;
|
| + /// @domName PluginArray.namedItem; @docsEditable true
|
| + DomPlugin namedItem(String name) native;
|
|
|
| + /// @domName PluginArray.refresh; @docsEditable true
|
| + void refresh(bool reload) native;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -/// @domName DocumentType; @docsEditable true
|
| -class DocumentType extends Node native "*DocumentType" {
|
| +/// @domName Selection; @docsEditable true
|
| +class DomSelection native "*Selection" {
|
|
|
| - /// @domName DocumentType.entities; @docsEditable true
|
| - final NamedNodeMap entities;
|
| + /// @domName Selection.anchorNode; @docsEditable true
|
| + final Node anchorNode;
|
|
|
| - /// @domName DocumentType.internalSubset; @docsEditable true
|
| - final String internalSubset;
|
| + /// @domName Selection.anchorOffset; @docsEditable true
|
| + final int anchorOffset;
|
|
|
| - /// @domName DocumentType.name; @docsEditable true
|
| - final String name;
|
| + /// @domName Selection.baseNode; @docsEditable true
|
| + final Node baseNode;
|
|
|
| - /// @domName DocumentType.notations; @docsEditable true
|
| - final NamedNodeMap notations;
|
| + /// @domName Selection.baseOffset; @docsEditable true
|
| + final int baseOffset;
|
|
|
| - /// @domName DocumentType.publicId; @docsEditable true
|
| - final String publicId;
|
| + /// @domName Selection.extentNode; @docsEditable true
|
| + final Node extentNode;
|
|
|
| - /// @domName DocumentType.systemId; @docsEditable true
|
| - final String systemId;
|
| + /// @domName Selection.extentOffset; @docsEditable true
|
| + final int extentOffset;
|
|
|
| - /// @domName DocumentType.remove; @docsEditable true
|
| - void remove() native;
|
| + /// @domName Selection.focusNode; @docsEditable true
|
| + final Node focusNode;
|
| +
|
| + /// @domName Selection.focusOffset; @docsEditable true
|
| + final int focusOffset;
|
| +
|
| + /// @domName Selection.isCollapsed; @docsEditable true
|
| + final bool isCollapsed;
|
| +
|
| + /// @domName Selection.rangeCount; @docsEditable true
|
| + final int rangeCount;
|
| +
|
| + /// @domName Selection.type; @docsEditable true
|
| + final String type;
|
| +
|
| + /// @domName Selection.addRange; @docsEditable true
|
| + void addRange(Range range) native;
|
| +
|
| + /// @domName Selection.collapse; @docsEditable true
|
| + void collapse(Node node, int index) native;
|
| +
|
| + /// @domName Selection.collapseToEnd; @docsEditable true
|
| + void collapseToEnd() native;
|
| +
|
| + /// @domName Selection.collapseToStart; @docsEditable true
|
| + void collapseToStart() native;
|
| +
|
| + /// @domName Selection.containsNode; @docsEditable true
|
| + bool containsNode(Node node, bool allowPartial) native;
|
| +
|
| + /// @domName Selection.deleteFromDocument; @docsEditable true
|
| + void deleteFromDocument() native;
|
| +
|
| + /// @domName Selection.empty; @docsEditable true
|
| + void empty() native;
|
| +
|
| + /// @domName Selection.extend; @docsEditable true
|
| + void extend(Node node, int offset) native;
|
| +
|
| + /// @domName Selection.getRangeAt; @docsEditable true
|
| + Range getRangeAt(int index) native;
|
| +
|
| + /// @domName Selection.modify; @docsEditable true
|
| + void modify(String alter, String direction, String granularity) native;
|
| +
|
| + /// @domName Selection.removeAllRanges; @docsEditable true
|
| + void removeAllRanges() native;
|
| +
|
| + /// @domName Selection.selectAllChildren; @docsEditable true
|
| + void selectAllChildren(Node node) native;
|
| +
|
| + /// @domName Selection.setBaseAndExtent; @docsEditable true
|
| + void setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int extentOffset) native;
|
| +
|
| + /// @domName Selection.setPosition; @docsEditable true
|
| + void setPosition(Node node, int offset) native;
|
| +
|
| + /// @domName Selection.toString; @docsEditable true
|
| + String toString() native;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -/// @domName EXTTextureFilterAnisotropic; @docsEditable true
|
| -class EXTTextureFilterAnisotropic native "*EXTTextureFilterAnisotropic" {
|
| +/// @domName DOMSettableTokenList; @docsEditable true
|
| +class DomSettableTokenList extends DomTokenList native "*DOMSettableTokenList" {
|
|
|
| - static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF;
|
| + /// @domName DOMSettableTokenList.value; @docsEditable true
|
| + String value;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - static const int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE;
|
| +
|
| +/// @domName DOMStringMap
|
| +abstract class DomStringMap {
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +
|
| +/// @domName DOMTokenList; @docsEditable true
|
| +class DomTokenList native "*DOMTokenList" {
|
| +
|
| + /// @domName DOMTokenList.length; @docsEditable true
|
| + final int length;
|
| +
|
| + /// @domName DOMTokenList.contains; @docsEditable true
|
| + bool contains(String token) native;
|
| +
|
| + /// @domName DOMTokenList.item; @docsEditable true
|
| + String item(int index) native;
|
| +
|
| + /// @domName DOMTokenList.toString; @docsEditable true
|
| + String toString() native;
|
| +
|
| + /// @domName DOMTokenList.toggle; @docsEditable true
|
| + bool toggle(String token, [bool force]) native;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| @@ -6693,7 +6653,7 @@ class EXTTextureFilterAnisotropic native "*EXTTextureFilterAnisotropic" {
|
| class _ChildrenElementList implements List {
|
| // Raw Element.
|
| final Element _element;
|
| - final HTMLCollection _childElements;
|
| + final HtmlCollection _childElements;
|
|
|
| _ChildrenElementList._wrap(Element element)
|
| : _childElements = element.$dom_children,
|
| @@ -7097,16 +7057,16 @@ abstract class Element extends Node implements ElementTraversal native "*Element
|
| }
|
|
|
| /** @domName Window.getComputedStyle */
|
| - Future<CSSStyleDeclaration> get computedStyle {
|
| + Future<CssStyleDeclaration> get computedStyle {
|
| // TODO(jacobr): last param should be null, see b/5045788
|
| return getComputedStyle('');
|
| }
|
|
|
| /** @domName Window.getComputedStyle */
|
| - Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement) {
|
| + Future<CssStyleDeclaration> getComputedStyle(String pseudoElement) {
|
| return _createMeasurementFuture(
|
| () => window.$dom_getComputedStyle(this, pseudoElement),
|
| - new Completer<CSSStyleDeclaration>());
|
| + new Completer<CssStyleDeclaration>());
|
| }
|
|
|
| /**
|
| @@ -7211,7 +7171,7 @@ abstract class Element extends Node implements ElementTraversal native "*Element
|
|
|
| /// @domName HTMLElement.children; @docsEditable true
|
| @JSName('children')
|
| - final HTMLCollection $dom_children;
|
| + final HtmlCollection $dom_children;
|
|
|
| /// @domName HTMLElement.contentEditable; @docsEditable true
|
| String contentEditable;
|
| @@ -7327,7 +7287,7 @@ abstract class Element extends Node implements ElementTraversal native "*Element
|
| final int scrollWidth;
|
|
|
| /// @domName Element.style; @docsEditable true
|
| - final CSSStyleDeclaration style;
|
| + final CssStyleDeclaration style;
|
|
|
| /// @domName Element.tagName; @docsEditable true
|
| final String tagName;
|
| @@ -7668,7 +7628,7 @@ typedef void EntriesCallback(List<Entry> entries);
|
| class Entry native "*Entry" {
|
|
|
| /// @domName Entry.filesystem; @docsEditable true
|
| - final DOMFileSystem filesystem;
|
| + final FileSystem filesystem;
|
|
|
| /// @domName Entry.fullPath; @docsEditable true
|
| final String fullPath;
|
| @@ -7718,7 +7678,7 @@ typedef void EntryCallback(Entry entry);
|
| class EntrySync native "*EntrySync" {
|
|
|
| /// @domName EntrySync.filesystem; @docsEditable true
|
| - final DOMFileSystemSync filesystem;
|
| + final FileSystemSync filesystem;
|
|
|
| /// @domName EntrySync.fullPath; @docsEditable true
|
| final String fullPath;
|
| @@ -8060,6 +8020,18 @@ class EventTarget native "*EventTarget" {
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| +/// @domName EXTTextureFilterAnisotropic; @docsEditable true
|
| +class ExtTextureFilterAnisotropic native "*EXTTextureFilterAnisotropic" {
|
| +
|
| + static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF;
|
| +
|
| + static const int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +
|
| /// @domName HTMLFieldSetElement; @docsEditable true
|
| class FieldSetElement extends Element implements Element native "*HTMLFieldSetElement" {
|
|
|
| @@ -8069,7 +8041,7 @@ class FieldSetElement extends Element implements Element native "*HTMLFieldSetEl
|
| bool disabled;
|
|
|
| /// @domName HTMLFieldSetElement.elements; @docsEditable true
|
| - final HTMLCollection elements;
|
| + final HtmlCollection elements;
|
|
|
| /// @domName HTMLFieldSetElement.form; @docsEditable true
|
| final FormElement form;
|
| @@ -8428,8 +8400,22 @@ class FileReaderSync native "*FileReaderSync" {
|
| @JSName('readAsDataURL')
|
| String readAsDataUrl(Blob blob) native;
|
|
|
| - /// @domName FileReaderSync.readAsText; @docsEditable true
|
| - String readAsText(Blob blob, [String encoding]) native;
|
| + /// @domName FileReaderSync.readAsText; @docsEditable true
|
| + String readAsText(Blob blob, [String encoding]) native;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +
|
| +/// @domName DOMFileSystem; @docsEditable true
|
| +class FileSystem native "*DOMFileSystem" {
|
| +
|
| + /// @domName DOMFileSystem.name; @docsEditable true
|
| + final String name;
|
| +
|
| + /// @domName DOMFileSystem.root; @docsEditable true
|
| + final DirectoryEntry root;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| @@ -8438,7 +8424,21 @@ class FileReaderSync native "*FileReaderSync" {
|
| // WARNING: Do not edit - generated code.
|
|
|
|
|
| -typedef void FileSystemCallback(DOMFileSystem fileSystem);
|
| +typedef void FileSystemCallback(FileSystem fileSystem);
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +
|
| +/// @domName DOMFileSystemSync; @docsEditable true
|
| +class FileSystemSync native "*DOMFileSystemSync" {
|
| +
|
| + /// @domName DOMFileSystemSync.name; @docsEditable true
|
| + final String name;
|
| +
|
| + /// @domName DOMFileSystemSync.root; @docsEditable true
|
| + final DirectoryEntrySync root;
|
| +}
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
| @@ -9038,8 +9038,63 @@ class HRElement extends Element implements Element native "*HTMLHRElement" {
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| +/// @domName HashChangeEvent; @docsEditable true
|
| +class HashChangeEvent extends Event native "*HashChangeEvent" {
|
| +
|
| + /// @domName HashChangeEvent.newURL; @docsEditable true
|
| + @JSName('newURL')
|
| + final String newUrl;
|
| +
|
| + /// @domName HashChangeEvent.oldURL; @docsEditable true
|
| + @JSName('oldURL')
|
| + final String oldUrl;
|
| +
|
| + /// @domName HashChangeEvent.initHashChangeEvent; @docsEditable true
|
| + void initHashChangeEvent(String type, bool canBubble, bool cancelable, String oldURL, String newURL) native;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +
|
| +/// @domName HTMLHeadElement; @docsEditable true
|
| +class HeadElement extends Element implements Element native "*HTMLHeadElement" {
|
| +
|
| + factory HeadElement() => document.$dom_createElement("head");
|
| +
|
| + /// @domName HTMLHeadElement.profile; @docsEditable true
|
| + String profile;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +
|
| +/// @domName HTMLHeadingElement; @docsEditable true
|
| +class HeadingElement extends Element implements Element native "*HTMLHeadingElement" {
|
| +
|
| + factory HeadingElement.h1() => document.$dom_createElement("h1");
|
| +
|
| + factory HeadingElement.h2() => document.$dom_createElement("h2");
|
| +
|
| + factory HeadingElement.h3() => document.$dom_createElement("h3");
|
| +
|
| + factory HeadingElement.h4() => document.$dom_createElement("h4");
|
| +
|
| + factory HeadingElement.h5() => document.$dom_createElement("h5");
|
| +
|
| + factory HeadingElement.h6() => document.$dom_createElement("h6");
|
| +
|
| + /// @domName HTMLHeadingElement.align; @docsEditable true
|
| + String align;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +
|
| /// @domName HTMLAllCollection; @docsEditable true
|
| -class HTMLAllCollection implements JavaScriptIndexingBehavior, List<Node> native "*HTMLAllCollection" {
|
| +class HtmlAllCollection implements JavaScriptIndexingBehavior, List<Node> native "*HTMLAllCollection" {
|
|
|
| /// @domName HTMLAllCollection.length; @docsEditable true
|
| final int length;
|
| @@ -9153,7 +9208,7 @@ class HTMLAllCollection implements JavaScriptIndexingBehavior, List<Node> native
|
|
|
|
|
| /// @domName HTMLCollection; @docsEditable true
|
| -class HTMLCollection implements JavaScriptIndexingBehavior, List<Node> native "*HTMLCollection" {
|
| +class HtmlCollection implements JavaScriptIndexingBehavior, List<Node> native "*HTMLCollection" {
|
|
|
| /// @domName HTMLCollection.length; @docsEditable true
|
| final int length;
|
| @@ -9261,84 +9316,6 @@ class HTMLCollection implements JavaScriptIndexingBehavior, List<Node> native "*
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| -/// @domName HTMLOptionsCollection; @docsEditable true
|
| -class HTMLOptionsCollection extends HTMLCollection native "*HTMLOptionsCollection" {
|
| -
|
| - // Shadowing definition.
|
| - /// @domName HTMLOptionsCollection.length; @docsEditable true
|
| - int get length => JS("int", "#.length", this);
|
| -
|
| - /// @domName HTMLOptionsCollection.length; @docsEditable true
|
| - void set length(int value) {
|
| - JS("void", "#.length = #", this, value);
|
| - }
|
| -
|
| - /// @domName HTMLOptionsCollection.selectedIndex; @docsEditable true
|
| - int selectedIndex;
|
| -
|
| - /// @domName HTMLOptionsCollection.remove; @docsEditable true
|
| - void remove(int index) native;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| -/// @domName HashChangeEvent; @docsEditable true
|
| -class HashChangeEvent extends Event native "*HashChangeEvent" {
|
| -
|
| - /// @domName HashChangeEvent.newURL; @docsEditable true
|
| - @JSName('newURL')
|
| - final String newUrl;
|
| -
|
| - /// @domName HashChangeEvent.oldURL; @docsEditable true
|
| - @JSName('oldURL')
|
| - final String oldUrl;
|
| -
|
| - /// @domName HashChangeEvent.initHashChangeEvent; @docsEditable true
|
| - void initHashChangeEvent(String type, bool canBubble, bool cancelable, String oldURL, String newURL) native;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| -/// @domName HTMLHeadElement; @docsEditable true
|
| -class HeadElement extends Element implements Element native "*HTMLHeadElement" {
|
| -
|
| - factory HeadElement() => document.$dom_createElement("head");
|
| -
|
| - /// @domName HTMLHeadElement.profile; @docsEditable true
|
| - String profile;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| -/// @domName HTMLHeadingElement; @docsEditable true
|
| -class HeadingElement extends Element implements Element native "*HTMLHeadingElement" {
|
| -
|
| - factory HeadingElement.h1() => document.$dom_createElement("h1");
|
| -
|
| - factory HeadingElement.h2() => document.$dom_createElement("h2");
|
| -
|
| - factory HeadingElement.h3() => document.$dom_createElement("h3");
|
| -
|
| - factory HeadingElement.h4() => document.$dom_createElement("h4");
|
| -
|
| - factory HeadingElement.h5() => document.$dom_createElement("h5");
|
| -
|
| - factory HeadingElement.h6() => document.$dom_createElement("h6");
|
| -
|
| - /// @domName HTMLHeadingElement.align; @docsEditable true
|
| - String align;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| // WARNING: Do not edit - generated code.
|
|
|
|
|
| @@ -9435,6 +9412,29 @@ class HtmlElement extends Element implements Element native "*HTMLHtmlElement" {
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| +/// @domName HTMLOptionsCollection; @docsEditable true
|
| +class HtmlOptionsCollection extends HtmlCollection native "*HTMLOptionsCollection" {
|
| +
|
| + // Shadowing definition.
|
| + /// @domName HTMLOptionsCollection.length; @docsEditable true
|
| + int get length => JS("int", "#.length", this);
|
| +
|
| + /// @domName HTMLOptionsCollection.length; @docsEditable true
|
| + void set length(int value) {
|
| + JS("void", "#.length = #", this, value);
|
| + }
|
| +
|
| + /// @domName HTMLOptionsCollection.selectedIndex; @docsEditable true
|
| + int selectedIndex;
|
| +
|
| + /// @domName HTMLOptionsCollection.remove; @docsEditable true
|
| + void remove(int index) native;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +
|
| /// @domName XMLHttpRequest
|
| class HttpRequest extends EventTarget native "*XMLHttpRequest" {
|
| factory HttpRequest.get(String url, onComplete(HttpRequest request)) =>
|
| @@ -10596,7 +10596,7 @@ class LinkElement extends Element implements Element native "*HTMLLinkElement" {
|
| final StyleSheet sheet;
|
|
|
| /// @domName HTMLLinkElement.sizes; @docsEditable true
|
| - DOMSettableTokenList sizes;
|
| + DomSettableTokenList sizes;
|
|
|
| /// @domName HTMLLinkElement.target; @docsEditable true
|
| String target;
|
| @@ -10645,7 +10645,7 @@ class LocalHistory implements History native "*History" {
|
| class LocalLocation implements Location native "*Location" {
|
|
|
| /// @domName Location.ancestorOrigins; @docsEditable true
|
| - @Returns('_DOMStringList') @Creates('_DOMStringList')
|
| + @Returns('_DomStringList') @Creates('_DomStringList')
|
| final List<String> ancestorOrigins;
|
|
|
| /// @domName Location.hash; @docsEditable true
|
| @@ -10856,7 +10856,7 @@ class LocalWindow extends EventTarget implements Window native "@*DOMWindow" {
|
| static const int TEMPORARY = 0;
|
|
|
| /// @domName Window.applicationCache; @docsEditable true
|
| - final DOMApplicationCache applicationCache;
|
| + final ApplicationCache applicationCache;
|
|
|
| /// @domName Window.closed; @docsEditable true
|
| final bool closed;
|
| @@ -11039,15 +11039,15 @@ class LocalWindow extends EventTarget implements Window native "@*DOMWindow" {
|
|
|
| /// @domName Window.getComputedStyle; @docsEditable true
|
| @JSName('getComputedStyle')
|
| - CSSStyleDeclaration $dom_getComputedStyle(Element element, String pseudoElement) native;
|
| + CssStyleDeclaration $dom_getComputedStyle(Element element, String pseudoElement) native;
|
|
|
| /// @domName Window.getMatchedCSSRules; @docsEditable true
|
| @JSName('getMatchedCSSRules')
|
| - @Returns('_CSSRuleList') @Creates('_CSSRuleList')
|
| - List<CSSRule> getMatchedCssRules(Element element, String pseudoElement) native;
|
| + @Returns('_CssRuleList') @Creates('_CssRuleList')
|
| + List<CssRule> getMatchedCssRules(Element element, String pseudoElement) native;
|
|
|
| /// @domName Window.getSelection; @docsEditable true
|
| - DOMSelection getSelection() native;
|
| + DomSelection getSelection() native;
|
|
|
| /// @domName Window.matchMedia; @docsEditable true
|
| MediaQueryList matchMedia(String query) native;
|
| @@ -11294,7 +11294,7 @@ class MapElement extends Element implements Element native "*HTMLMapElement" {
|
| factory MapElement() => document.$dom_createElement("map");
|
|
|
| /// @domName HTMLMapElement.areas; @docsEditable true
|
| - final HTMLCollection areas;
|
| + final HtmlCollection areas;
|
|
|
| /// @domName HTMLMapElement.name; @docsEditable true
|
| String name;
|
| @@ -12601,7 +12601,7 @@ class Navigator native "*Navigator" {
|
| final Geolocation geolocation;
|
|
|
| /// @domName Navigator.mimeTypes; @docsEditable true
|
| - final DOMMimeTypeArray mimeTypes;
|
| + final DomMimeTypeArray mimeTypes;
|
|
|
| /// @domName Navigator.onLine; @docsEditable true
|
| final bool onLine;
|
| @@ -12610,7 +12610,7 @@ class Navigator native "*Navigator" {
|
| final String platform;
|
|
|
| /// @domName Navigator.plugins; @docsEditable true
|
| - final DOMPluginArray plugins;
|
| + final DomPluginArray plugins;
|
|
|
| /// @domName Navigator.product; @docsEditable true
|
| final String product;
|
| @@ -13263,58 +13263,6 @@ typedef void NotificationPermissionCallback(String permission);
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -/// @domName OESElementIndexUint; @docsEditable true
|
| -class OESElementIndexUint native "*OESElementIndexUint" {
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| -/// @domName OESStandardDerivatives; @docsEditable true
|
| -class OESStandardDerivatives native "*OESStandardDerivatives" {
|
| -
|
| - static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| -/// @domName OESTextureFloat; @docsEditable true
|
| -class OESTextureFloat native "*OESTextureFloat" {
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| -/// @domName OESVertexArrayObject; @docsEditable true
|
| -class OESVertexArrayObject native "*OESVertexArrayObject" {
|
| -
|
| - static const int VERTEX_ARRAY_BINDING_OES = 0x85B5;
|
| -
|
| - /// @domName OESVertexArrayObject.bindVertexArrayOES; @docsEditable true
|
| - @JSName('bindVertexArrayOES')
|
| - void bindVertexArray(WebGLVertexArrayObjectOES arrayObject) native;
|
| -
|
| - /// @domName OESVertexArrayObject.createVertexArrayOES; @docsEditable true
|
| - @JSName('createVertexArrayOES')
|
| - WebGLVertexArrayObjectOES createVertexArray() native;
|
| -
|
| - /// @domName OESVertexArrayObject.deleteVertexArrayOES; @docsEditable true
|
| - @JSName('deleteVertexArrayOES')
|
| - void deleteVertexArray(WebGLVertexArrayObjectOES arrayObject) native;
|
| -
|
| - /// @domName OESVertexArrayObject.isVertexArrayOES; @docsEditable true
|
| - @JSName('isVertexArrayOES')
|
| - bool isVertexArray(WebGLVertexArrayObjectOES arrayObject) native;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| /// @domName HTMLOListElement; @docsEditable true
|
| class OListElement extends Element implements Element native "*HTMLOListElement" {
|
|
|
| @@ -13402,11 +13350,63 @@ class ObjectElement extends Element implements Element native "*HTMLObjectElemen
|
| /// @domName HTMLObjectElement.willValidate; @docsEditable true
|
| final bool willValidate;
|
|
|
| - /// @domName HTMLObjectElement.checkValidity; @docsEditable true
|
| - bool checkValidity() native;
|
| + /// @domName HTMLObjectElement.checkValidity; @docsEditable true
|
| + bool checkValidity() native;
|
| +
|
| + /// @domName HTMLObjectElement.setCustomValidity; @docsEditable true
|
| + void setCustomValidity(String error) native;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +
|
| +/// @domName OESElementIndexUint; @docsEditable true
|
| +class OesElementIndexUint native "*OESElementIndexUint" {
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +
|
| +/// @domName OESStandardDerivatives; @docsEditable true
|
| +class OesStandardDerivatives native "*OESStandardDerivatives" {
|
| +
|
| + static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +
|
| +/// @domName OESTextureFloat; @docsEditable true
|
| +class OesTextureFloat native "*OESTextureFloat" {
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +
|
| +/// @domName OESVertexArrayObject; @docsEditable true
|
| +class OesVertexArrayObject native "*OESVertexArrayObject" {
|
| +
|
| + static const int VERTEX_ARRAY_BINDING_OES = 0x85B5;
|
| +
|
| + /// @domName OESVertexArrayObject.bindVertexArrayOES; @docsEditable true
|
| + @JSName('bindVertexArrayOES')
|
| + void bindVertexArray(WebGLVertexArrayObject arrayObject) native;
|
| +
|
| + /// @domName OESVertexArrayObject.createVertexArrayOES; @docsEditable true
|
| + @JSName('createVertexArrayOES')
|
| + WebGLVertexArrayObject createVertexArray() native;
|
|
|
| - /// @domName HTMLObjectElement.setCustomValidity; @docsEditable true
|
| - void setCustomValidity(String error) native;
|
| + /// @domName OESVertexArrayObject.deleteVertexArrayOES; @docsEditable true
|
| + @JSName('deleteVertexArrayOES')
|
| + void deleteVertexArray(WebGLVertexArrayObject arrayObject) native;
|
| +
|
| + /// @domName OESVertexArrayObject.isVertexArrayOES; @docsEditable true
|
| + @JSName('isVertexArrayOES')
|
| + bool isVertexArray(WebGLVertexArrayObject arrayObject) native;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| @@ -13486,7 +13486,7 @@ class OutputElement extends Element implements Element native "*HTMLOutputElemen
|
| final FormElement form;
|
|
|
| /// @domName HTMLOutputElement.htmlFor; @docsEditable true
|
| - DOMSettableTokenList htmlFor;
|
| + DomSettableTokenList htmlFor;
|
|
|
| /// @domName HTMLOutputElement.labels; @docsEditable true
|
| @Returns('NodeList') @Creates('NodeList')
|
| @@ -13713,678 +13713,340 @@ class PeerConnection00 extends EventTarget native "*PeerConnection00" {
|
| @JSName('dispatchEvent')
|
| bool $dom_dispatchEvent(Event event) native;
|
|
|
| - /// @domName PeerConnection00.processIceMessage; @docsEditable true
|
| - void processIceMessage(IceCandidate candidate) native;
|
| -
|
| - /// @domName PeerConnection00.removeEventListener; @docsEditable true
|
| - @JSName('removeEventListener')
|
| - void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native;
|
| -
|
| - /// @domName PeerConnection00.removeStream; @docsEditable true
|
| - void removeStream(MediaStream stream) native;
|
| -
|
| - /// @domName PeerConnection00.setLocalDescription; @docsEditable true
|
| - void setLocalDescription(int action, SessionDescription desc) native;
|
| -
|
| - /// @domName PeerConnection00.setRemoteDescription; @docsEditable true
|
| - void setRemoteDescription(int action, SessionDescription desc) native;
|
| -
|
| - /// @domName PeerConnection00.startIce; @docsEditable true
|
| - void startIce([Map iceOptions]) {
|
| - if (?iceOptions) {
|
| - var iceOptions_1 = convertDartToNative_Dictionary(iceOptions);
|
| - _startIce_1(iceOptions_1);
|
| - return;
|
| - }
|
| - _startIce_2();
|
| - return;
|
| - }
|
| - @JSName('startIce')
|
| - void _startIce_1(iceOptions) native;
|
| - @JSName('startIce')
|
| - void _startIce_2() native;
|
| -}
|
| -
|
| -class PeerConnection00Events extends Events {
|
| - PeerConnection00Events(EventTarget _ptr) : super(_ptr);
|
| -
|
| - EventListenerList get addStream => this['addstream'];
|
| -
|
| - EventListenerList get connecting => this['connecting'];
|
| -
|
| - EventListenerList get open => this['open'];
|
| -
|
| - EventListenerList get removeStream => this['removestream'];
|
| -
|
| - EventListenerList get stateChange => this['statechange'];
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| -/// @domName Performance; @docsEditable true
|
| -class Performance extends EventTarget native "*Performance" {
|
| -
|
| - /// @domName Performance.memory; @docsEditable true
|
| - final MemoryInfo memory;
|
| -
|
| - /// @domName Performance.navigation; @docsEditable true
|
| - final PerformanceNavigation navigation;
|
| -
|
| - /// @domName Performance.timing; @docsEditable true
|
| - final PerformanceTiming timing;
|
| -
|
| - /// @domName Performance.now; @docsEditable true
|
| - num now() native;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| -/// @domName PerformanceNavigation; @docsEditable true
|
| -class PerformanceNavigation native "*PerformanceNavigation" {
|
| -
|
| - static const int TYPE_BACK_FORWARD = 2;
|
| -
|
| - static const int TYPE_NAVIGATE = 0;
|
| -
|
| - static const int TYPE_RELOAD = 1;
|
| -
|
| - static const int TYPE_RESERVED = 255;
|
| -
|
| - /// @domName PerformanceNavigation.redirectCount; @docsEditable true
|
| - final int redirectCount;
|
| -
|
| - /// @domName PerformanceNavigation.type; @docsEditable true
|
| - final int type;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| -/// @domName PerformanceTiming; @docsEditable true
|
| -class PerformanceTiming native "*PerformanceTiming" {
|
| -
|
| - /// @domName PerformanceTiming.connectEnd; @docsEditable true
|
| - final int connectEnd;
|
| -
|
| - /// @domName PerformanceTiming.connectStart; @docsEditable true
|
| - final int connectStart;
|
| -
|
| - /// @domName PerformanceTiming.domComplete; @docsEditable true
|
| - final int domComplete;
|
| -
|
| - /// @domName PerformanceTiming.domContentLoadedEventEnd; @docsEditable true
|
| - final int domContentLoadedEventEnd;
|
| -
|
| - /// @domName PerformanceTiming.domContentLoadedEventStart; @docsEditable true
|
| - final int domContentLoadedEventStart;
|
| -
|
| - /// @domName PerformanceTiming.domInteractive; @docsEditable true
|
| - final int domInteractive;
|
| -
|
| - /// @domName PerformanceTiming.domLoading; @docsEditable true
|
| - final int domLoading;
|
| -
|
| - /// @domName PerformanceTiming.domainLookupEnd; @docsEditable true
|
| - final int domainLookupEnd;
|
| -
|
| - /// @domName PerformanceTiming.domainLookupStart; @docsEditable true
|
| - final int domainLookupStart;
|
| -
|
| - /// @domName PerformanceTiming.fetchStart; @docsEditable true
|
| - final int fetchStart;
|
| -
|
| - /// @domName PerformanceTiming.loadEventEnd; @docsEditable true
|
| - final int loadEventEnd;
|
| -
|
| - /// @domName PerformanceTiming.loadEventStart; @docsEditable true
|
| - final int loadEventStart;
|
| -
|
| - /// @domName PerformanceTiming.navigationStart; @docsEditable true
|
| - final int navigationStart;
|
| -
|
| - /// @domName PerformanceTiming.redirectEnd; @docsEditable true
|
| - final int redirectEnd;
|
| -
|
| - /// @domName PerformanceTiming.redirectStart; @docsEditable true
|
| - final int redirectStart;
|
| -
|
| - /// @domName PerformanceTiming.requestStart; @docsEditable true
|
| - final int requestStart;
|
| -
|
| - /// @domName PerformanceTiming.responseEnd; @docsEditable true
|
| - final int responseEnd;
|
| -
|
| - /// @domName PerformanceTiming.responseStart; @docsEditable true
|
| - final int responseStart;
|
| -
|
| - /// @domName PerformanceTiming.secureConnectionStart; @docsEditable true
|
| - final int secureConnectionStart;
|
| -
|
| - /// @domName PerformanceTiming.unloadEventEnd; @docsEditable true
|
| - final int unloadEventEnd;
|
| -
|
| - /// @domName PerformanceTiming.unloadEventStart; @docsEditable true
|
| - final int unloadEventStart;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -// WARNING: Do not edit - generated code.
|
| -
|
| -
|
| -/// @domName WebKitPoint
|
| -class Point native "*WebKitPoint" {
|
| - factory Point(num x, num y) => _PointFactoryProvider.createPoint(x, y);
|
| -
|
| - /// @domName WebKitPoint.x; @docsEditable true
|
| - num x;
|
| -
|
| - /// @domName WebKitPoint.y; @docsEditable true
|
| - num y;
|
| -
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| -/// @domName PopStateEvent; @docsEditable true
|
| -class PopStateEvent extends Event native "*PopStateEvent" {
|
| -
|
| - /// @domName PopStateEvent.state; @docsEditable true
|
| - dynamic get state => convertNativeToDart_SerializedScriptValue(this._state);
|
| - @JSName('state')
|
| - @annotation_Creates_SerializedScriptValue @annotation_Returns_SerializedScriptValue
|
| - final dynamic _state;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -// WARNING: Do not edit - generated code.
|
| -
|
| -
|
| -typedef void PositionCallback(Geoposition position);
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| -/// @domName PositionError; @docsEditable true
|
| -class PositionError native "*PositionError" {
|
| -
|
| - static const int PERMISSION_DENIED = 1;
|
| -
|
| - static const int POSITION_UNAVAILABLE = 2;
|
| -
|
| - static const int TIMEOUT = 3;
|
| -
|
| - /// @domName PositionError.code; @docsEditable true
|
| - final int code;
|
| -
|
| - /// @domName PositionError.message; @docsEditable true
|
| - final String message;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -// WARNING: Do not edit - generated code.
|
| -
|
| -
|
| -typedef void PositionErrorCallback(PositionError error);
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| -/// @domName HTMLPreElement; @docsEditable true
|
| -class PreElement extends Element implements Element native "*HTMLPreElement" {
|
| -
|
| - factory PreElement() => document.$dom_createElement("pre");
|
| -
|
| - /// @domName HTMLPreElement.width; @docsEditable true
|
| - int width;
|
| -
|
| - /// @domName HTMLPreElement.wrap; @docsEditable true
|
| - bool wrap;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| + /// @domName PeerConnection00.processIceMessage; @docsEditable true
|
| + void processIceMessage(IceCandidate candidate) native;
|
|
|
| + /// @domName PeerConnection00.removeEventListener; @docsEditable true
|
| + @JSName('removeEventListener')
|
| + void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native;
|
|
|
| -/// @domName ProcessingInstruction; @docsEditable true
|
| -class ProcessingInstruction extends Node native "*ProcessingInstruction" {
|
| + /// @domName PeerConnection00.removeStream; @docsEditable true
|
| + void removeStream(MediaStream stream) native;
|
|
|
| - /// @domName ProcessingInstruction.data; @docsEditable true
|
| - String data;
|
| + /// @domName PeerConnection00.setLocalDescription; @docsEditable true
|
| + void setLocalDescription(int action, SessionDescription desc) native;
|
|
|
| - /// @domName ProcessingInstruction.sheet; @docsEditable true
|
| - final StyleSheet sheet;
|
| + /// @domName PeerConnection00.setRemoteDescription; @docsEditable true
|
| + void setRemoteDescription(int action, SessionDescription desc) native;
|
|
|
| - /// @domName ProcessingInstruction.target; @docsEditable true
|
| - final String target;
|
| + /// @domName PeerConnection00.startIce; @docsEditable true
|
| + void startIce([Map iceOptions]) {
|
| + if (?iceOptions) {
|
| + var iceOptions_1 = convertDartToNative_Dictionary(iceOptions);
|
| + _startIce_1(iceOptions_1);
|
| + return;
|
| + }
|
| + _startIce_2();
|
| + return;
|
| + }
|
| + @JSName('startIce')
|
| + void _startIce_1(iceOptions) native;
|
| + @JSName('startIce')
|
| + void _startIce_2() native;
|
| }
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
|
|
| +class PeerConnection00Events extends Events {
|
| + PeerConnection00Events(EventTarget _ptr) : super(_ptr);
|
|
|
| -/// @domName HTMLProgressElement; @docsEditable true
|
| -class ProgressElement extends Element implements Element native "*HTMLProgressElement" {
|
| -
|
| - factory ProgressElement() => document.$dom_createElement("progress");
|
| + EventListenerList get addStream => this['addstream'];
|
|
|
| - /// @domName HTMLProgressElement.labels; @docsEditable true
|
| - @Returns('NodeList') @Creates('NodeList')
|
| - final List<Node> labels;
|
| + EventListenerList get connecting => this['connecting'];
|
|
|
| - /// @domName HTMLProgressElement.max; @docsEditable true
|
| - num max;
|
| + EventListenerList get open => this['open'];
|
|
|
| - /// @domName HTMLProgressElement.position; @docsEditable true
|
| - final num position;
|
| + EventListenerList get removeStream => this['removestream'];
|
|
|
| - /// @domName HTMLProgressElement.value; @docsEditable true
|
| - num value;
|
| + EventListenerList get stateChange => this['statechange'];
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -/// @domName ProgressEvent; @docsEditable true
|
| -class ProgressEvent extends Event native "*ProgressEvent" {
|
| +/// @domName Performance; @docsEditable true
|
| +class Performance extends EventTarget native "*Performance" {
|
|
|
| - /// @domName ProgressEvent.lengthComputable; @docsEditable true
|
| - final bool lengthComputable;
|
| + /// @domName Performance.memory; @docsEditable true
|
| + final MemoryInfo memory;
|
|
|
| - /// @domName ProgressEvent.loaded; @docsEditable true
|
| - final int loaded;
|
| + /// @domName Performance.navigation; @docsEditable true
|
| + final PerformanceNavigation navigation;
|
|
|
| - /// @domName ProgressEvent.total; @docsEditable true
|
| - final int total;
|
| + /// @domName Performance.timing; @docsEditable true
|
| + final PerformanceTiming timing;
|
| +
|
| + /// @domName Performance.now; @docsEditable true
|
| + num now() native;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -/// @domName HTMLQuoteElement; @docsEditable true
|
| -class QuoteElement extends Element implements Element native "*HTMLQuoteElement" {
|
| +/// @domName PerformanceNavigation; @docsEditable true
|
| +class PerformanceNavigation native "*PerformanceNavigation" {
|
|
|
| - /// @domName HTMLQuoteElement.cite; @docsEditable true
|
| - String cite;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| + static const int TYPE_BACK_FORWARD = 2;
|
|
|
| + static const int TYPE_NAVIGATE = 0;
|
|
|
| -/// @domName RGBColor; @docsEditable true
|
| -class RGBColor native "*RGBColor" {
|
| + static const int TYPE_RELOAD = 1;
|
|
|
| - /// @domName RGBColor.blue; @docsEditable true
|
| - final CSSPrimitiveValue blue;
|
| + static const int TYPE_RESERVED = 255;
|
|
|
| - /// @domName RGBColor.green; @docsEditable true
|
| - final CSSPrimitiveValue green;
|
| + /// @domName PerformanceNavigation.redirectCount; @docsEditable true
|
| + final int redirectCount;
|
|
|
| - /// @domName RGBColor.red; @docsEditable true
|
| - final CSSPrimitiveValue red;
|
| + /// @domName PerformanceNavigation.type; @docsEditable true
|
| + final int type;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -/// @domName RTCDataChannel; @docsEditable true
|
| -class RTCDataChannel extends EventTarget native "*RTCDataChannel" {
|
| -
|
| - /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
|
| - RTCDataChannelEvents get on =>
|
| - new RTCDataChannelEvents(this);
|
| +/// @domName PerformanceTiming; @docsEditable true
|
| +class PerformanceTiming native "*PerformanceTiming" {
|
|
|
| - /// @domName RTCDataChannel.binaryType; @docsEditable true
|
| - String binaryType;
|
| + /// @domName PerformanceTiming.connectEnd; @docsEditable true
|
| + final int connectEnd;
|
|
|
| - /// @domName RTCDataChannel.bufferedAmount; @docsEditable true
|
| - final int bufferedAmount;
|
| + /// @domName PerformanceTiming.connectStart; @docsEditable true
|
| + final int connectStart;
|
|
|
| - /// @domName RTCDataChannel.label; @docsEditable true
|
| - final String label;
|
| + /// @domName PerformanceTiming.domComplete; @docsEditable true
|
| + final int domComplete;
|
|
|
| - /// @domName RTCDataChannel.readyState; @docsEditable true
|
| - final String readyState;
|
| + /// @domName PerformanceTiming.domContentLoadedEventEnd; @docsEditable true
|
| + final int domContentLoadedEventEnd;
|
|
|
| - /// @domName RTCDataChannel.reliable; @docsEditable true
|
| - final bool reliable;
|
| + /// @domName PerformanceTiming.domContentLoadedEventStart; @docsEditable true
|
| + final int domContentLoadedEventStart;
|
|
|
| - /// @domName RTCDataChannel.addEventListener; @docsEditable true
|
| - @JSName('addEventListener')
|
| - void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native;
|
| + /// @domName PerformanceTiming.domInteractive; @docsEditable true
|
| + final int domInteractive;
|
|
|
| - /// @domName RTCDataChannel.close; @docsEditable true
|
| - void close() native;
|
| + /// @domName PerformanceTiming.domLoading; @docsEditable true
|
| + final int domLoading;
|
|
|
| - /// @domName RTCDataChannel.dispatchEvent; @docsEditable true
|
| - @JSName('dispatchEvent')
|
| - bool $dom_dispatchEvent(Event event) native;
|
| + /// @domName PerformanceTiming.domainLookupEnd; @docsEditable true
|
| + final int domainLookupEnd;
|
|
|
| - /// @domName RTCDataChannel.removeEventListener; @docsEditable true
|
| - @JSName('removeEventListener')
|
| - void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native;
|
| + /// @domName PerformanceTiming.domainLookupStart; @docsEditable true
|
| + final int domainLookupStart;
|
|
|
| - /// @domName RTCDataChannel.send; @docsEditable true
|
| - void send(data) native;
|
| -}
|
| + /// @domName PerformanceTiming.fetchStart; @docsEditable true
|
| + final int fetchStart;
|
|
|
| -class RTCDataChannelEvents extends Events {
|
| - RTCDataChannelEvents(EventTarget _ptr) : super(_ptr);
|
| + /// @domName PerformanceTiming.loadEventEnd; @docsEditable true
|
| + final int loadEventEnd;
|
|
|
| - EventListenerList get close => this['close'];
|
| + /// @domName PerformanceTiming.loadEventStart; @docsEditable true
|
| + final int loadEventStart;
|
|
|
| - EventListenerList get error => this['error'];
|
| + /// @domName PerformanceTiming.navigationStart; @docsEditable true
|
| + final int navigationStart;
|
|
|
| - EventListenerList get message => this['message'];
|
| + /// @domName PerformanceTiming.redirectEnd; @docsEditable true
|
| + final int redirectEnd;
|
|
|
| - EventListenerList get open => this['open'];
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| + /// @domName PerformanceTiming.redirectStart; @docsEditable true
|
| + final int redirectStart;
|
|
|
| + /// @domName PerformanceTiming.requestStart; @docsEditable true
|
| + final int requestStart;
|
|
|
| -/// @domName RTCDataChannelEvent; @docsEditable true
|
| -class RTCDataChannelEvent extends Event native "*RTCDataChannelEvent" {
|
| + /// @domName PerformanceTiming.responseEnd; @docsEditable true
|
| + final int responseEnd;
|
|
|
| - /// @domName RTCDataChannelEvent.channel; @docsEditable true
|
| - final RTCDataChannel channel;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| + /// @domName PerformanceTiming.responseStart; @docsEditable true
|
| + final int responseStart;
|
|
|
| -// WARNING: Do not edit - generated code.
|
| + /// @domName PerformanceTiming.secureConnectionStart; @docsEditable true
|
| + final int secureConnectionStart;
|
|
|
| + /// @domName PerformanceTiming.unloadEventEnd; @docsEditable true
|
| + final int unloadEventEnd;
|
|
|
| -typedef void RTCErrorCallback(String errorInformation);
|
| + /// @domName PerformanceTiming.unloadEventStart; @docsEditable true
|
| + final int unloadEventStart;
|
| +}
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| +// WARNING: Do not edit - generated code.
|
|
|
| -/// @domName RTCIceCandidate; @docsEditable true
|
| -class RTCIceCandidate native "*RTCIceCandidate" {
|
| -
|
| - factory RTCIceCandidate(Map dictionary) => _RTCIceCandidateFactoryProvider.createRTCIceCandidate(dictionary);
|
| -
|
| - /// @domName RTCIceCandidate.candidate; @docsEditable true
|
| - final String candidate;
|
| -
|
| - /// @domName RTCIceCandidate.sdpMLineIndex; @docsEditable true
|
| - final int sdpMLineIndex;
|
|
|
| - /// @domName RTCIceCandidate.sdpMid; @docsEditable true
|
| - final String sdpMid;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| +/// @domName WebKitPoint
|
| +class Point native "*WebKitPoint" {
|
| + factory Point(num x, num y) => _PointFactoryProvider.createPoint(x, y);
|
|
|
| + /// @domName WebKitPoint.x; @docsEditable true
|
| + num x;
|
|
|
| -/// @domName RTCIceCandidateEvent; @docsEditable true
|
| -class RTCIceCandidateEvent extends Event native "*RTCIceCandidateEvent" {
|
| + /// @domName WebKitPoint.y; @docsEditable true
|
| + num y;
|
|
|
| - /// @domName RTCIceCandidateEvent.candidate; @docsEditable true
|
| - final RTCIceCandidate candidate;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -/// @domName RTCPeerConnection; @docsEditable true
|
| -class RTCPeerConnection extends EventTarget native "*RTCPeerConnection" {
|
| -
|
| - factory RTCPeerConnection(Map rtcIceServers, [Map mediaConstraints]) {
|
| - if (!?mediaConstraints) {
|
| - return _RTCPeerConnectionFactoryProvider.createRTCPeerConnection(rtcIceServers);
|
| - }
|
| - return _RTCPeerConnectionFactoryProvider.createRTCPeerConnection(rtcIceServers, mediaConstraints);
|
| - }
|
| -
|
| - /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
|
| - RTCPeerConnectionEvents get on =>
|
| - new RTCPeerConnectionEvents(this);
|
| -
|
| - /// @domName RTCPeerConnection.iceState; @docsEditable true
|
| - final String iceState;
|
| -
|
| - /// @domName RTCPeerConnection.localDescription; @docsEditable true
|
| - final RTCSessionDescription localDescription;
|
| -
|
| - /// @domName RTCPeerConnection.localStreams; @docsEditable true
|
| - @Returns('_MediaStreamList') @Creates('_MediaStreamList')
|
| - final List<MediaStream> localStreams;
|
| -
|
| - /// @domName RTCPeerConnection.readyState; @docsEditable true
|
| - final String readyState;
|
| -
|
| - /// @domName RTCPeerConnection.remoteDescription; @docsEditable true
|
| - final RTCSessionDescription remoteDescription;
|
| -
|
| - /// @domName RTCPeerConnection.remoteStreams; @docsEditable true
|
| - @Returns('_MediaStreamList') @Creates('_MediaStreamList')
|
| - final List<MediaStream> remoteStreams;
|
| -
|
| - /// @domName RTCPeerConnection.addEventListener; @docsEditable true
|
| - @JSName('addEventListener')
|
| - void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native;
|
| -
|
| - /// @domName RTCPeerConnection.addIceCandidate; @docsEditable true
|
| - void addIceCandidate(RTCIceCandidate candidate) native;
|
| -
|
| - /// @domName RTCPeerConnection.addStream; @docsEditable true
|
| - void addStream(MediaStream stream, [Map mediaConstraints]) {
|
| - if (?mediaConstraints) {
|
| - var mediaConstraints_1 = convertDartToNative_Dictionary(mediaConstraints);
|
| - _addStream_1(stream, mediaConstraints_1);
|
| - return;
|
| - }
|
| - _addStream_2(stream);
|
| - return;
|
| - }
|
| - @JSName('addStream')
|
| - void _addStream_1(MediaStream stream, mediaConstraints) native;
|
| - @JSName('addStream')
|
| - void _addStream_2(MediaStream stream) native;
|
| +/// @domName PopStateEvent; @docsEditable true
|
| +class PopStateEvent extends Event native "*PopStateEvent" {
|
|
|
| - /// @domName RTCPeerConnection.close; @docsEditable true
|
| - void close() native;
|
| + /// @domName PopStateEvent.state; @docsEditable true
|
| + dynamic get state => convertNativeToDart_SerializedScriptValue(this._state);
|
| + @JSName('state')
|
| + @annotation_Creates_SerializedScriptValue @annotation_Returns_SerializedScriptValue
|
| + final dynamic _state;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - /// @domName RTCPeerConnection.createAnswer; @docsEditable true
|
| - void createAnswer(RTCSessionDescriptionCallback successCallback, [RTCErrorCallback failureCallback, Map mediaConstraints]) {
|
| - if (?mediaConstraints) {
|
| - var mediaConstraints_1 = convertDartToNative_Dictionary(mediaConstraints);
|
| - _createAnswer_1(successCallback, failureCallback, mediaConstraints_1);
|
| - return;
|
| - }
|
| - _createAnswer_2(successCallback, failureCallback);
|
| - return;
|
| - }
|
| - @JSName('createAnswer')
|
| - void _createAnswer_1(RTCSessionDescriptionCallback successCallback, RTCErrorCallback failureCallback, mediaConstraints) native;
|
| - @JSName('createAnswer')
|
| - void _createAnswer_2(RTCSessionDescriptionCallback successCallback, RTCErrorCallback failureCallback) native;
|
| +// WARNING: Do not edit - generated code.
|
|
|
| - /// @domName RTCPeerConnection.createDataChannel; @docsEditable true
|
| - RTCDataChannel createDataChannel(String label, [Map options]) {
|
| - if (?options) {
|
| - var options_1 = convertDartToNative_Dictionary(options);
|
| - return _createDataChannel_1(label, options_1);
|
| - }
|
| - return _createDataChannel_2(label);
|
| - }
|
| - @JSName('createDataChannel')
|
| - RTCDataChannel _createDataChannel_1(label, options) native;
|
| - @JSName('createDataChannel')
|
| - RTCDataChannel _createDataChannel_2(label) native;
|
|
|
| - /// @domName RTCPeerConnection.createOffer; @docsEditable true
|
| - void createOffer(RTCSessionDescriptionCallback successCallback, [RTCErrorCallback failureCallback, Map mediaConstraints]) {
|
| - if (?mediaConstraints) {
|
| - var mediaConstraints_1 = convertDartToNative_Dictionary(mediaConstraints);
|
| - _createOffer_1(successCallback, failureCallback, mediaConstraints_1);
|
| - return;
|
| - }
|
| - _createOffer_2(successCallback, failureCallback);
|
| - return;
|
| - }
|
| - @JSName('createOffer')
|
| - void _createOffer_1(RTCSessionDescriptionCallback successCallback, RTCErrorCallback failureCallback, mediaConstraints) native;
|
| - @JSName('createOffer')
|
| - void _createOffer_2(RTCSessionDescriptionCallback successCallback, RTCErrorCallback failureCallback) native;
|
| +typedef void PositionCallback(Geoposition position);
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - /// @domName RTCPeerConnection.dispatchEvent; @docsEditable true
|
| - @JSName('dispatchEvent')
|
| - bool $dom_dispatchEvent(Event event) native;
|
|
|
| - /// @domName RTCPeerConnection.getStats; @docsEditable true
|
| - void getStats(RTCStatsCallback successCallback, MediaStreamTrack selector) native;
|
| +/// @domName PositionError; @docsEditable true
|
| +class PositionError native "*PositionError" {
|
|
|
| - /// @domName RTCPeerConnection.removeEventListener; @docsEditable true
|
| - @JSName('removeEventListener')
|
| - void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native;
|
| + static const int PERMISSION_DENIED = 1;
|
|
|
| - /// @domName RTCPeerConnection.removeStream; @docsEditable true
|
| - void removeStream(MediaStream stream) native;
|
| + static const int POSITION_UNAVAILABLE = 2;
|
|
|
| - /// @domName RTCPeerConnection.setLocalDescription; @docsEditable true
|
| - void setLocalDescription(RTCSessionDescription description, [VoidCallback successCallback, RTCErrorCallback failureCallback]) native;
|
| + static const int TIMEOUT = 3;
|
|
|
| - /// @domName RTCPeerConnection.setRemoteDescription; @docsEditable true
|
| - void setRemoteDescription(RTCSessionDescription description, [VoidCallback successCallback, RTCErrorCallback failureCallback]) native;
|
| + /// @domName PositionError.code; @docsEditable true
|
| + final int code;
|
|
|
| - /// @domName RTCPeerConnection.updateIce; @docsEditable true
|
| - void updateIce([Map configuration, Map mediaConstraints]) {
|
| - if (?mediaConstraints) {
|
| - var configuration_1 = convertDartToNative_Dictionary(configuration);
|
| - var mediaConstraints_2 = convertDartToNative_Dictionary(mediaConstraints);
|
| - _updateIce_1(configuration_1, mediaConstraints_2);
|
| - return;
|
| - }
|
| - if (?configuration) {
|
| - var configuration_3 = convertDartToNative_Dictionary(configuration);
|
| - _updateIce_2(configuration_3);
|
| - return;
|
| - }
|
| - _updateIce_3();
|
| - return;
|
| - }
|
| - @JSName('updateIce')
|
| - void _updateIce_1(configuration, mediaConstraints) native;
|
| - @JSName('updateIce')
|
| - void _updateIce_2(configuration) native;
|
| - @JSName('updateIce')
|
| - void _updateIce_3() native;
|
| + /// @domName PositionError.message; @docsEditable true
|
| + final String message;
|
| }
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| -class RTCPeerConnectionEvents extends Events {
|
| - RTCPeerConnectionEvents(EventTarget _ptr) : super(_ptr);
|
| +// WARNING: Do not edit - generated code.
|
|
|
| - EventListenerList get addStream => this['addstream'];
|
|
|
| - EventListenerList get iceCandidate => this['icecandidate'];
|
| +typedef void PositionErrorCallback(PositionError error);
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - EventListenerList get iceChange => this['icechange'];
|
|
|
| - EventListenerList get negotiationNeeded => this['negotiationneeded'];
|
| +/// @domName HTMLPreElement; @docsEditable true
|
| +class PreElement extends Element implements Element native "*HTMLPreElement" {
|
|
|
| - EventListenerList get open => this['open'];
|
| + factory PreElement() => document.$dom_createElement("pre");
|
|
|
| - EventListenerList get removeStream => this['removestream'];
|
| + /// @domName HTMLPreElement.width; @docsEditable true
|
| + int width;
|
|
|
| - EventListenerList get stateChange => this['statechange'];
|
| + /// @domName HTMLPreElement.wrap; @docsEditable true
|
| + bool wrap;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -/// @domName RTCSessionDescription; @docsEditable true
|
| -class RTCSessionDescription native "*RTCSessionDescription" {
|
| +/// @domName ProcessingInstruction; @docsEditable true
|
| +class ProcessingInstruction extends Node native "*ProcessingInstruction" {
|
|
|
| - factory RTCSessionDescription(Map dictionary) => _RTCSessionDescriptionFactoryProvider.createRTCSessionDescription(dictionary);
|
| + /// @domName ProcessingInstruction.data; @docsEditable true
|
| + String data;
|
|
|
| - /// @domName RTCSessionDescription.sdp; @docsEditable true
|
| - String sdp;
|
| + /// @domName ProcessingInstruction.sheet; @docsEditable true
|
| + final StyleSheet sheet;
|
|
|
| - /// @domName RTCSessionDescription.type; @docsEditable true
|
| - String type;
|
| + /// @domName ProcessingInstruction.target; @docsEditable true
|
| + final String target;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -// WARNING: Do not edit - generated code.
|
|
|
| +/// @domName HTMLProgressElement; @docsEditable true
|
| +class ProgressElement extends Element implements Element native "*HTMLProgressElement" {
|
| +
|
| + factory ProgressElement() => document.$dom_createElement("progress");
|
| +
|
| + /// @domName HTMLProgressElement.labels; @docsEditable true
|
| + @Returns('NodeList') @Creates('NodeList')
|
| + final List<Node> labels;
|
| +
|
| + /// @domName HTMLProgressElement.max; @docsEditable true
|
| + num max;
|
| +
|
| + /// @domName HTMLProgressElement.position; @docsEditable true
|
| + final num position;
|
|
|
| -typedef void RTCSessionDescriptionCallback(RTCSessionDescription sdp);
|
| + /// @domName HTMLProgressElement.value; @docsEditable true
|
| + num value;
|
| +}
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -// WARNING: Do not edit - generated code.
|
|
|
| +/// @domName ProgressEvent; @docsEditable true
|
| +class ProgressEvent extends Event native "*ProgressEvent" {
|
| +
|
| + /// @domName ProgressEvent.lengthComputable; @docsEditable true
|
| + final bool lengthComputable;
|
| +
|
| + /// @domName ProgressEvent.loaded; @docsEditable true
|
| + final int loaded;
|
|
|
| -typedef void RTCStatsCallback(RTCStatsResponse response);
|
| + /// @domName ProgressEvent.total; @docsEditable true
|
| + final int total;
|
| +}
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -/// @domName RTCStatsElement; @docsEditable true
|
| -class RTCStatsElement native "*RTCStatsElement" {
|
| -
|
| - /// @domName RTCStatsElement.timestamp; @docsEditable true
|
| - final Date timestamp;
|
| +/// @domName HTMLQuoteElement; @docsEditable true
|
| +class QuoteElement extends Element implements Element native "*HTMLQuoteElement" {
|
|
|
| - /// @domName RTCStatsElement.stat; @docsEditable true
|
| - String stat(String name) native;
|
| + /// @domName HTMLQuoteElement.cite; @docsEditable true
|
| + String cite;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| +// WARNING: Do not edit - generated code.
|
|
|
| -/// @domName RTCStatsReport; @docsEditable true
|
| -class RTCStatsReport native "*RTCStatsReport" {
|
|
|
| - /// @domName RTCStatsReport.local; @docsEditable true
|
| - final RTCStatsElement local;
|
| +typedef void RTCErrorCallback(String errorInformation);
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - /// @domName RTCStatsReport.remote; @docsEditable true
|
| - final RTCStatsElement remote;
|
| -}
|
| +// WARNING: Do not edit - generated code.
|
| +
|
| +
|
| +typedef void RTCSessionDescriptionCallback(RtcSessionDescription sdp);
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| +// WARNING: Do not edit - generated code.
|
|
|
| -/// @domName RTCStatsResponse; @docsEditable true
|
| -class RTCStatsResponse native "*RTCStatsResponse" {
|
|
|
| - /// @domName RTCStatsResponse.result; @docsEditable true
|
| - List<RTCStatsReport> result() native;
|
| -}
|
| +typedef void RTCStatsCallback(RtcStatsResponse response);
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
| @@ -14543,244 +14205,366 @@ class RangeException native "*RangeException" {
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -/// @domName Rect; @docsEditable true
|
| -class Rect native "*Rect" {
|
| +/// @domName Rect; @docsEditable true
|
| +class Rect native "*Rect" {
|
| +
|
| + /// @domName Rect.bottom; @docsEditable true
|
| + final CssPrimitiveValue bottom;
|
| +
|
| + /// @domName Rect.left; @docsEditable true
|
| + final CssPrimitiveValue left;
|
| +
|
| + /// @domName Rect.right; @docsEditable true
|
| + final CssPrimitiveValue right;
|
| +
|
| + /// @domName Rect.top; @docsEditable true
|
| + final CssPrimitiveValue top;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +// WARNING: Do not edit - generated code.
|
| +
|
| +
|
| +typedef void RequestAnimationFrameCallback(num highResTime);
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +
|
| +/// @domName RGBColor; @docsEditable true
|
| +class RgbColor native "*RGBColor" {
|
| +
|
| + /// @domName RGBColor.blue; @docsEditable true
|
| + final CssPrimitiveValue blue;
|
| +
|
| + /// @domName RGBColor.green; @docsEditable true
|
| + final CssPrimitiveValue green;
|
| +
|
| + /// @domName RGBColor.red; @docsEditable true
|
| + final CssPrimitiveValue red;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +
|
| +/// @domName RTCDataChannel; @docsEditable true
|
| +class RtcDataChannel extends EventTarget native "*RTCDataChannel" {
|
| +
|
| + /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
|
| + RtcDataChannelEvents get on =>
|
| + new RtcDataChannelEvents(this);
|
| +
|
| + /// @domName RTCDataChannel.binaryType; @docsEditable true
|
| + String binaryType;
|
| +
|
| + /// @domName RTCDataChannel.bufferedAmount; @docsEditable true
|
| + final int bufferedAmount;
|
| +
|
| + /// @domName RTCDataChannel.label; @docsEditable true
|
| + final String label;
|
| +
|
| + /// @domName RTCDataChannel.readyState; @docsEditable true
|
| + final String readyState;
|
| +
|
| + /// @domName RTCDataChannel.reliable; @docsEditable true
|
| + final bool reliable;
|
| +
|
| + /// @domName RTCDataChannel.addEventListener; @docsEditable true
|
| + @JSName('addEventListener')
|
| + void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native;
|
| +
|
| + /// @domName RTCDataChannel.close; @docsEditable true
|
| + void close() native;
|
| +
|
| + /// @domName RTCDataChannel.dispatchEvent; @docsEditable true
|
| + @JSName('dispatchEvent')
|
| + bool $dom_dispatchEvent(Event event) native;
|
| +
|
| + /// @domName RTCDataChannel.removeEventListener; @docsEditable true
|
| + @JSName('removeEventListener')
|
| + void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native;
|
| +
|
| + /// @domName RTCDataChannel.send; @docsEditable true
|
| + void send(data) native;
|
| +}
|
|
|
| - /// @domName Rect.bottom; @docsEditable true
|
| - final CSSPrimitiveValue bottom;
|
| +class RtcDataChannelEvents extends Events {
|
| + RtcDataChannelEvents(EventTarget _ptr) : super(_ptr);
|
|
|
| - /// @domName Rect.left; @docsEditable true
|
| - final CSSPrimitiveValue left;
|
| + EventListenerList get close => this['close'];
|
|
|
| - /// @domName Rect.right; @docsEditable true
|
| - final CSSPrimitiveValue right;
|
| + EventListenerList get error => this['error'];
|
|
|
| - /// @domName Rect.top; @docsEditable true
|
| - final CSSPrimitiveValue top;
|
| + EventListenerList get message => this['message'];
|
| +
|
| + EventListenerList get open => this['open'];
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -// WARNING: Do not edit - generated code.
|
|
|
| +/// @domName RTCDataChannelEvent; @docsEditable true
|
| +class RtcDataChannelEvent extends Event native "*RTCDataChannelEvent" {
|
|
|
| -typedef void RequestAnimationFrameCallback(num highResTime);
|
| + /// @domName RTCDataChannelEvent.channel; @docsEditable true
|
| + final RtcDataChannel channel;
|
| +}
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -/// @domName SQLError; @docsEditable true
|
| -class SQLError native "*SQLError" {
|
| -
|
| - static const int CONSTRAINT_ERR = 6;
|
| -
|
| - static const int DATABASE_ERR = 1;
|
| -
|
| - static const int QUOTA_ERR = 4;
|
| -
|
| - static const int SYNTAX_ERR = 5;
|
| -
|
| - static const int TIMEOUT_ERR = 7;
|
| -
|
| - static const int TOO_LARGE_ERR = 3;
|
| +/// @domName RTCIceCandidate; @docsEditable true
|
| +class RtcIceCandidate native "*RTCIceCandidate" {
|
|
|
| - static const int UNKNOWN_ERR = 0;
|
| + factory RtcIceCandidate(Map dictionary) => _RtcIceCandidateFactoryProvider.createRtcIceCandidate(dictionary);
|
|
|
| - static const int VERSION_ERR = 2;
|
| + /// @domName RTCIceCandidate.candidate; @docsEditable true
|
| + final String candidate;
|
|
|
| - /// @domName SQLError.code; @docsEditable true
|
| - final int code;
|
| + /// @domName RTCIceCandidate.sdpMLineIndex; @docsEditable true
|
| + final int sdpMLineIndex;
|
|
|
| - /// @domName SQLError.message; @docsEditable true
|
| - final String message;
|
| + /// @domName RTCIceCandidate.sdpMid; @docsEditable true
|
| + final String sdpMid;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -/// @domName SQLException; @docsEditable true
|
| -class SQLException native "*SQLException" {
|
| -
|
| - static const int CONSTRAINT_ERR = 6;
|
| -
|
| - static const int DATABASE_ERR = 1;
|
| -
|
| - static const int QUOTA_ERR = 4;
|
| -
|
| - static const int SYNTAX_ERR = 5;
|
| -
|
| - static const int TIMEOUT_ERR = 7;
|
| -
|
| - static const int TOO_LARGE_ERR = 3;
|
| -
|
| - static const int UNKNOWN_ERR = 0;
|
| -
|
| - static const int VERSION_ERR = 2;
|
| -
|
| - /// @domName SQLException.code; @docsEditable true
|
| - final int code;
|
| +/// @domName RTCIceCandidateEvent; @docsEditable true
|
| +class RtcIceCandidateEvent extends Event native "*RTCIceCandidateEvent" {
|
|
|
| - /// @domName SQLException.message; @docsEditable true
|
| - final String message;
|
| + /// @domName RTCIceCandidateEvent.candidate; @docsEditable true
|
| + final RtcIceCandidate candidate;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -/// @domName SQLResultSet; @docsEditable true
|
| -class SQLResultSet native "*SQLResultSet" {
|
| -
|
| - /// @domName SQLResultSet.insertId; @docsEditable true
|
| - final int insertId;
|
| +/// @domName RTCPeerConnection; @docsEditable true
|
| +class RtcPeerConnection extends EventTarget native "*RTCPeerConnection" {
|
|
|
| - /// @domName SQLResultSet.rows; @docsEditable true
|
| - final SQLResultSetRowList rows;
|
| + factory RtcPeerConnection(Map rtcIceServers, [Map mediaConstraints]) {
|
| + if (!?mediaConstraints) {
|
| + return _RtcPeerConnectionFactoryProvider.createRtcPeerConnection(rtcIceServers);
|
| + }
|
| + return _RtcPeerConnectionFactoryProvider.createRtcPeerConnection(rtcIceServers, mediaConstraints);
|
| + }
|
|
|
| - /// @domName SQLResultSet.rowsAffected; @docsEditable true
|
| - final int rowsAffected;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| + /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true
|
| + RtcPeerConnectionEvents get on =>
|
| + new RtcPeerConnectionEvents(this);
|
|
|
| + /// @domName RTCPeerConnection.iceState; @docsEditable true
|
| + final String iceState;
|
|
|
| -/// @domName SQLResultSetRowList; @docsEditable true
|
| -class SQLResultSetRowList implements JavaScriptIndexingBehavior, List<Map> native "*SQLResultSetRowList" {
|
| + /// @domName RTCPeerConnection.localDescription; @docsEditable true
|
| + final RtcSessionDescription localDescription;
|
|
|
| - /// @domName SQLResultSetRowList.length; @docsEditable true
|
| - final int length;
|
| + /// @domName RTCPeerConnection.localStreams; @docsEditable true
|
| + @Returns('_MediaStreamList') @Creates('_MediaStreamList')
|
| + final List<MediaStream> localStreams;
|
|
|
| - Map operator[](int index) => JS("Map", "#[#]", this, index);
|
| + /// @domName RTCPeerConnection.readyState; @docsEditable true
|
| + final String readyState;
|
|
|
| - void operator[]=(int index, Map value) {
|
| - throw new UnsupportedError("Cannot assign element of immutable List.");
|
| - }
|
| - // -- start List<Map> mixins.
|
| - // Map is the element type.
|
| + /// @domName RTCPeerConnection.remoteDescription; @docsEditable true
|
| + final RtcSessionDescription remoteDescription;
|
|
|
| - // From Iterable<Map>:
|
| + /// @domName RTCPeerConnection.remoteStreams; @docsEditable true
|
| + @Returns('_MediaStreamList') @Creates('_MediaStreamList')
|
| + final List<MediaStream> remoteStreams;
|
|
|
| - Iterator<Map> iterator() {
|
| - // Note: NodeLists are not fixed size. And most probably length shouldn't
|
| - // be cached in both iterator _and_ forEach method. For now caching it
|
| - // for consistency.
|
| - return new FixedSizeListIterator<Map>(this);
|
| - }
|
| + /// @domName RTCPeerConnection.addEventListener; @docsEditable true
|
| + @JSName('addEventListener')
|
| + void $dom_addEventListener(String type, EventListener listener, [bool useCapture]) native;
|
|
|
| - // From Collection<Map>:
|
| + /// @domName RTCPeerConnection.addIceCandidate; @docsEditable true
|
| + void addIceCandidate(RtcIceCandidate candidate) native;
|
|
|
| - void add(Map value) {
|
| - throw new UnsupportedError("Cannot add to immutable List.");
|
| + /// @domName RTCPeerConnection.addStream; @docsEditable true
|
| + void addStream(MediaStream stream, [Map mediaConstraints]) {
|
| + if (?mediaConstraints) {
|
| + var mediaConstraints_1 = convertDartToNative_Dictionary(mediaConstraints);
|
| + _addStream_1(stream, mediaConstraints_1);
|
| + return;
|
| + }
|
| + _addStream_2(stream);
|
| + return;
|
| }
|
| + @JSName('addStream')
|
| + void _addStream_1(MediaStream stream, mediaConstraints) native;
|
| + @JSName('addStream')
|
| + void _addStream_2(MediaStream stream) native;
|
|
|
| - void addLast(Map value) {
|
| - throw new UnsupportedError("Cannot add to immutable List.");
|
| - }
|
| + /// @domName RTCPeerConnection.close; @docsEditable true
|
| + void close() native;
|
|
|
| - void addAll(Collection<Map> collection) {
|
| - throw new UnsupportedError("Cannot add to immutable List.");
|
| + /// @domName RTCPeerConnection.createAnswer; @docsEditable true
|
| + void createAnswer(RTCSessionDescriptionCallback successCallback, [RTCErrorCallback failureCallback, Map mediaConstraints]) {
|
| + if (?mediaConstraints) {
|
| + var mediaConstraints_1 = convertDartToNative_Dictionary(mediaConstraints);
|
| + _createAnswer_1(successCallback, failureCallback, mediaConstraints_1);
|
| + return;
|
| + }
|
| + _createAnswer_2(successCallback, failureCallback);
|
| + return;
|
| }
|
| + @JSName('createAnswer')
|
| + void _createAnswer_1(RTCSessionDescriptionCallback successCallback, RTCErrorCallback failureCallback, mediaConstraints) native;
|
| + @JSName('createAnswer')
|
| + void _createAnswer_2(RTCSessionDescriptionCallback successCallback, RTCErrorCallback failureCallback) native;
|
|
|
| - dynamic reduce(dynamic initialValue, dynamic combine(dynamic, Map)) {
|
| - return Collections.reduce(this, initialValue, combine);
|
| + /// @domName RTCPeerConnection.createDataChannel; @docsEditable true
|
| + RtcDataChannel createDataChannel(String label, [Map options]) {
|
| + if (?options) {
|
| + var options_1 = convertDartToNative_Dictionary(options);
|
| + return _createDataChannel_1(label, options_1);
|
| + }
|
| + return _createDataChannel_2(label);
|
| }
|
| + @JSName('createDataChannel')
|
| + RtcDataChannel _createDataChannel_1(label, options) native;
|
| + @JSName('createDataChannel')
|
| + RtcDataChannel _createDataChannel_2(label) native;
|
|
|
| - bool contains(Map element) => Collections.contains(this, element);
|
| -
|
| - void forEach(void f(Map element)) => Collections.forEach(this, f);
|
| + /// @domName RTCPeerConnection.createOffer; @docsEditable true
|
| + void createOffer(RTCSessionDescriptionCallback successCallback, [RTCErrorCallback failureCallback, Map mediaConstraints]) {
|
| + if (?mediaConstraints) {
|
| + var mediaConstraints_1 = convertDartToNative_Dictionary(mediaConstraints);
|
| + _createOffer_1(successCallback, failureCallback, mediaConstraints_1);
|
| + return;
|
| + }
|
| + _createOffer_2(successCallback, failureCallback);
|
| + return;
|
| + }
|
| + @JSName('createOffer')
|
| + void _createOffer_1(RTCSessionDescriptionCallback successCallback, RTCErrorCallback failureCallback, mediaConstraints) native;
|
| + @JSName('createOffer')
|
| + void _createOffer_2(RTCSessionDescriptionCallback successCallback, RTCErrorCallback failureCallback) native;
|
|
|
| - Collection map(f(Map element)) => Collections.map(this, [], f);
|
| + /// @domName RTCPeerConnection.dispatchEvent; @docsEditable true
|
| + @JSName('dispatchEvent')
|
| + bool $dom_dispatchEvent(Event event) native;
|
|
|
| - Collection<Map> filter(bool f(Map element)) =>
|
| - Collections.filter(this, <Map>[], f);
|
| + /// @domName RTCPeerConnection.getStats; @docsEditable true
|
| + void getStats(RTCStatsCallback successCallback, MediaStreamTrack selector) native;
|
|
|
| - bool every(bool f(Map element)) => Collections.every(this, f);
|
| + /// @domName RTCPeerConnection.removeEventListener; @docsEditable true
|
| + @JSName('removeEventListener')
|
| + void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native;
|
|
|
| - bool some(bool f(Map element)) => Collections.some(this, f);
|
| + /// @domName RTCPeerConnection.removeStream; @docsEditable true
|
| + void removeStream(MediaStream stream) native;
|
|
|
| - bool get isEmpty => this.length == 0;
|
| + /// @domName RTCPeerConnection.setLocalDescription; @docsEditable true
|
| + void setLocalDescription(RtcSessionDescription description, [VoidCallback successCallback, RTCErrorCallback failureCallback]) native;
|
|
|
| - // From List<Map>:
|
| + /// @domName RTCPeerConnection.setRemoteDescription; @docsEditable true
|
| + void setRemoteDescription(RtcSessionDescription description, [VoidCallback successCallback, RTCErrorCallback failureCallback]) native;
|
|
|
| - void sort([Comparator<Map> compare = Comparable.compare]) {
|
| - throw new UnsupportedError("Cannot sort immutable List.");
|
| + /// @domName RTCPeerConnection.updateIce; @docsEditable true
|
| + void updateIce([Map configuration, Map mediaConstraints]) {
|
| + if (?mediaConstraints) {
|
| + var configuration_1 = convertDartToNative_Dictionary(configuration);
|
| + var mediaConstraints_2 = convertDartToNative_Dictionary(mediaConstraints);
|
| + _updateIce_1(configuration_1, mediaConstraints_2);
|
| + return;
|
| + }
|
| + if (?configuration) {
|
| + var configuration_3 = convertDartToNative_Dictionary(configuration);
|
| + _updateIce_2(configuration_3);
|
| + return;
|
| + }
|
| + _updateIce_3();
|
| + return;
|
| }
|
| + @JSName('updateIce')
|
| + void _updateIce_1(configuration, mediaConstraints) native;
|
| + @JSName('updateIce')
|
| + void _updateIce_2(configuration) native;
|
| + @JSName('updateIce')
|
| + void _updateIce_3() native;
|
| +}
|
|
|
| - int indexOf(Map element, [int start = 0]) =>
|
| - Lists.indexOf(this, element, start, this.length);
|
| +class RtcPeerConnectionEvents extends Events {
|
| + RtcPeerConnectionEvents(EventTarget _ptr) : super(_ptr);
|
|
|
| - int lastIndexOf(Map element, [int start]) {
|
| - if (start == null) start = length - 1;
|
| - return Lists.lastIndexOf(this, element, start);
|
| - }
|
| + EventListenerList get addStream => this['addstream'];
|
|
|
| - Map get first => this[0];
|
| + EventListenerList get iceCandidate => this['icecandidate'];
|
|
|
| - Map get last => this[length - 1];
|
| + EventListenerList get iceChange => this['icechange'];
|
|
|
| - Map removeAt(int pos) {
|
| - throw new UnsupportedError("Cannot removeAt on immutable List.");
|
| - }
|
| + EventListenerList get negotiationNeeded => this['negotiationneeded'];
|
|
|
| - Map removeLast() {
|
| - throw new UnsupportedError("Cannot removeLast on immutable List.");
|
| - }
|
| + EventListenerList get open => this['open'];
|
|
|
| - void setRange(int start, int rangeLength, List<Map> from, [int startFrom]) {
|
| - throw new UnsupportedError("Cannot setRange on immutable List.");
|
| - }
|
| + EventListenerList get removeStream => this['removestream'];
|
|
|
| - void removeRange(int start, int rangeLength) {
|
| - throw new UnsupportedError("Cannot removeRange on immutable List.");
|
| - }
|
| + EventListenerList get stateChange => this['statechange'];
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - void insertRange(int start, int rangeLength, [Map initialValue]) {
|
| - throw new UnsupportedError("Cannot insertRange on immutable List.");
|
| - }
|
|
|
| - List<Map> getRange(int start, int rangeLength) =>
|
| - Lists.getRange(this, start, rangeLength, <Map>[]);
|
| +/// @domName RTCSessionDescription; @docsEditable true
|
| +class RtcSessionDescription native "*RTCSessionDescription" {
|
|
|
| - // -- end List<Map> mixins.
|
| + factory RtcSessionDescription(Map dictionary) => _RtcSessionDescriptionFactoryProvider.createRtcSessionDescription(dictionary);
|
|
|
| - /// @domName SQLResultSetRowList.item; @docsEditable true
|
| - Map item(int index) {
|
| - return convertNativeToDart_Dictionary(_item_1(index));
|
| - }
|
| - @JSName('item')
|
| - @Creates('=Object')
|
| - _item_1(index) native;
|
| + /// @domName RTCSessionDescription.sdp; @docsEditable true
|
| + String sdp;
|
| +
|
| + /// @domName RTCSessionDescription.type; @docsEditable true
|
| + String type;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -// WARNING: Do not edit - generated code.
|
|
|
| +/// @domName RTCStatsElement; @docsEditable true
|
| +class RtcStatsElement native "*RTCStatsElement" {
|
| +
|
| + /// @domName RTCStatsElement.timestamp; @docsEditable true
|
| + final Date timestamp;
|
|
|
| -typedef void SQLStatementCallback(SQLTransaction transaction, SQLResultSet resultSet);
|
| + /// @domName RTCStatsElement.stat; @docsEditable true
|
| + String stat(String name) native;
|
| +}
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -// WARNING: Do not edit - generated code.
|
|
|
| +/// @domName RTCStatsReport; @docsEditable true
|
| +class RtcStatsReport native "*RTCStatsReport" {
|
| +
|
| + /// @domName RTCStatsReport.local; @docsEditable true
|
| + final RtcStatsElement local;
|
|
|
| -typedef void SQLStatementErrorCallback(SQLTransaction transaction, SQLError error);
|
| + /// @domName RTCStatsReport.remote; @docsEditable true
|
| + final RtcStatsElement remote;
|
| +}
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -/// @domName SQLTransaction; @docsEditable true
|
| -class SQLTransaction native "*SQLTransaction" {
|
| +/// @domName RTCStatsResponse; @docsEditable true
|
| +class RtcStatsResponse native "*RTCStatsResponse" {
|
|
|
| - /// @domName SQLTransaction.executeSql; @docsEditable true
|
| - void executeSql(String sqlStatement, List arguments, [SQLStatementCallback callback, SQLStatementErrorCallback errorCallback]) native;
|
| + /// @domName RTCStatsResponse.result; @docsEditable true
|
| + List<RtcStatsReport> result() native;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| @@ -14789,7 +14573,7 @@ class SQLTransaction native "*SQLTransaction" {
|
| // WARNING: Do not edit - generated code.
|
|
|
|
|
| -typedef void SQLTransactionCallback(SQLTransaction transaction);
|
| +typedef void SQLStatementCallback(SqlTransaction transaction, SqlResultSet resultSet);
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
| @@ -14797,18 +14581,23 @@ typedef void SQLTransactionCallback(SQLTransaction transaction);
|
| // WARNING: Do not edit - generated code.
|
|
|
|
|
| -typedef void SQLTransactionErrorCallback(SQLError error);
|
| +typedef void SQLStatementErrorCallback(SqlTransaction transaction, SqlError error);
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| +// WARNING: Do not edit - generated code.
|
| +
|
|
|
| -/// @domName SQLTransactionSync; @docsEditable true
|
| -class SQLTransactionSync native "*SQLTransactionSync" {
|
| +typedef void SQLTransactionCallback(SqlTransaction transaction);
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - /// @domName SQLTransactionSync.executeSql; @docsEditable true
|
| - SQLResultSet executeSql(String sqlStatement, List arguments) native;
|
| -}
|
| +// WARNING: Do not edit - generated code.
|
| +
|
| +
|
| +typedef void SQLTransactionErrorCallback(SqlError error);
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
| @@ -14816,7 +14605,7 @@ class SQLTransactionSync native "*SQLTransactionSync" {
|
| // WARNING: Do not edit - generated code.
|
|
|
|
|
| -typedef void SQLTransactionSyncCallback(SQLTransactionSync transaction);
|
| +typedef void SQLTransactionSyncCallback(SqlTransactionSync transaction);
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
| @@ -15091,7 +14880,7 @@ class ShadowRoot extends DocumentFragment native "*ShadowRoot" {
|
| List<Node> $dom_getElementsByTagName(String tagName) native;
|
|
|
| /// @domName ShadowRoot.getSelection; @docsEditable true
|
| - DOMSelection getSelection() native;
|
| + DomSelection getSelection() native;
|
|
|
| static bool get supported =>
|
| JS('bool', '!!(window.ShadowRoot || window.WebKitShadowRoot)');
|
| @@ -15544,82 +15333,293 @@ class SpeechRecognitionEvents extends Events {
|
| /// @domName SpeechRecognitionAlternative; @docsEditable true
|
| class SpeechRecognitionAlternative native "*SpeechRecognitionAlternative" {
|
|
|
| - /// @domName SpeechRecognitionAlternative.confidence; @docsEditable true
|
| - final num confidence;
|
| + /// @domName SpeechRecognitionAlternative.confidence; @docsEditable true
|
| + final num confidence;
|
| +
|
| + /// @domName SpeechRecognitionAlternative.transcript; @docsEditable true
|
| + final String transcript;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +
|
| +/// @domName SpeechRecognitionError; @docsEditable true
|
| +class SpeechRecognitionError extends Event native "*SpeechRecognitionError" {
|
| +
|
| + static const int ABORTED = 2;
|
| +
|
| + static const int AUDIO_CAPTURE = 3;
|
| +
|
| + static const int BAD_GRAMMAR = 7;
|
| +
|
| + static const int LANGUAGE_NOT_SUPPORTED = 8;
|
| +
|
| + static const int NETWORK = 4;
|
| +
|
| + static const int NOT_ALLOWED = 5;
|
| +
|
| + static const int NO_SPEECH = 1;
|
| +
|
| + static const int OTHER = 0;
|
| +
|
| + static const int SERVICE_NOT_ALLOWED = 6;
|
| +
|
| + /// @domName SpeechRecognitionError.code; @docsEditable true
|
| + final int code;
|
| +
|
| + /// @domName SpeechRecognitionError.message; @docsEditable true
|
| + final String message;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +
|
| +/// @domName SpeechRecognitionEvent; @docsEditable true
|
| +class SpeechRecognitionEvent extends Event native "*SpeechRecognitionEvent" {
|
| +
|
| + /// @domName SpeechRecognitionEvent.result; @docsEditable true
|
| + final SpeechRecognitionResult result;
|
| +
|
| + /// @domName SpeechRecognitionEvent.resultHistory; @docsEditable true
|
| + @Returns('_SpeechRecognitionResultList') @Creates('_SpeechRecognitionResultList')
|
| + final List<SpeechRecognitionResult> resultHistory;
|
| +
|
| + /// @domName SpeechRecognitionEvent.resultIndex; @docsEditable true
|
| + final int resultIndex;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +
|
| +/// @domName SpeechRecognitionResult; @docsEditable true
|
| +class SpeechRecognitionResult native "*SpeechRecognitionResult" {
|
| +
|
| + /// @domName SpeechRecognitionResult.emma; @docsEditable true
|
| + final Document emma;
|
| +
|
| + /// @domName SpeechRecognitionResult.finalValue; @docsEditable true
|
| + @JSName('final')
|
| + final bool finalValue;
|
| +
|
| + /// @domName SpeechRecognitionResult.length; @docsEditable true
|
| + final int length;
|
| +
|
| + /// @domName SpeechRecognitionResult.item; @docsEditable true
|
| + SpeechRecognitionAlternative item(int index) native;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +
|
| +/// @domName SQLError; @docsEditable true
|
| +class SqlError native "*SQLError" {
|
| +
|
| + static const int CONSTRAINT_ERR = 6;
|
| +
|
| + static const int DATABASE_ERR = 1;
|
| +
|
| + static const int QUOTA_ERR = 4;
|
| +
|
| + static const int SYNTAX_ERR = 5;
|
| +
|
| + static const int TIMEOUT_ERR = 7;
|
| +
|
| + static const int TOO_LARGE_ERR = 3;
|
| +
|
| + static const int UNKNOWN_ERR = 0;
|
| +
|
| + static const int VERSION_ERR = 2;
|
| +
|
| + /// @domName SQLError.code; @docsEditable true
|
| + final int code;
|
| +
|
| + /// @domName SQLError.message; @docsEditable true
|
| + final String message;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +
|
| +/// @domName SQLException; @docsEditable true
|
| +class SqlException native "*SQLException" {
|
| +
|
| + static const int CONSTRAINT_ERR = 6;
|
| +
|
| + static const int DATABASE_ERR = 1;
|
| +
|
| + static const int QUOTA_ERR = 4;
|
| +
|
| + static const int SYNTAX_ERR = 5;
|
| +
|
| + static const int TIMEOUT_ERR = 7;
|
| +
|
| + static const int TOO_LARGE_ERR = 3;
|
| +
|
| + static const int UNKNOWN_ERR = 0;
|
| +
|
| + static const int VERSION_ERR = 2;
|
| +
|
| + /// @domName SQLException.code; @docsEditable true
|
| + final int code;
|
| +
|
| + /// @domName SQLException.message; @docsEditable true
|
| + final String message;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +
|
| +/// @domName SQLResultSet; @docsEditable true
|
| +class SqlResultSet native "*SQLResultSet" {
|
| +
|
| + /// @domName SQLResultSet.insertId; @docsEditable true
|
| + final int insertId;
|
| +
|
| + /// @domName SQLResultSet.rows; @docsEditable true
|
| + final SqlResultSetRowList rows;
|
| +
|
| + /// @domName SQLResultSet.rowsAffected; @docsEditable true
|
| + final int rowsAffected;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +
|
| +/// @domName SQLResultSetRowList; @docsEditable true
|
| +class SqlResultSetRowList implements JavaScriptIndexingBehavior, List<Map> native "*SQLResultSetRowList" {
|
| +
|
| + /// @domName SQLResultSetRowList.length; @docsEditable true
|
| + final int length;
|
| +
|
| + Map operator[](int index) => JS("Map", "#[#]", this, index);
|
| +
|
| + void operator[]=(int index, Map value) {
|
| + throw new UnsupportedError("Cannot assign element of immutable List.");
|
| + }
|
| + // -- start List<Map> mixins.
|
| + // Map is the element type.
|
| +
|
| + // From Iterable<Map>:
|
| +
|
| + Iterator<Map> iterator() {
|
| + // Note: NodeLists are not fixed size. And most probably length shouldn't
|
| + // be cached in both iterator _and_ forEach method. For now caching it
|
| + // for consistency.
|
| + return new FixedSizeListIterator<Map>(this);
|
| + }
|
| +
|
| + // From Collection<Map>:
|
| +
|
| + void add(Map value) {
|
| + throw new UnsupportedError("Cannot add to immutable List.");
|
| + }
|
| +
|
| + void addLast(Map value) {
|
| + throw new UnsupportedError("Cannot add to immutable List.");
|
| + }
|
| +
|
| + void addAll(Collection<Map> collection) {
|
| + throw new UnsupportedError("Cannot add to immutable List.");
|
| + }
|
| +
|
| + dynamic reduce(dynamic initialValue, dynamic combine(dynamic, Map)) {
|
| + return Collections.reduce(this, initialValue, combine);
|
| + }
|
| +
|
| + bool contains(Map element) => Collections.contains(this, element);
|
| +
|
| + void forEach(void f(Map element)) => Collections.forEach(this, f);
|
| +
|
| + Collection map(f(Map element)) => Collections.map(this, [], f);
|
| +
|
| + Collection<Map> filter(bool f(Map element)) =>
|
| + Collections.filter(this, <Map>[], f);
|
| +
|
| + bool every(bool f(Map element)) => Collections.every(this, f);
|
| +
|
| + bool some(bool f(Map element)) => Collections.some(this, f);
|
|
|
| - /// @domName SpeechRecognitionAlternative.transcript; @docsEditable true
|
| - final String transcript;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| + bool get isEmpty => this.length == 0;
|
|
|
| + // From List<Map>:
|
|
|
| -/// @domName SpeechRecognitionError; @docsEditable true
|
| -class SpeechRecognitionError extends Event native "*SpeechRecognitionError" {
|
| + void sort([Comparator<Map> compare = Comparable.compare]) {
|
| + throw new UnsupportedError("Cannot sort immutable List.");
|
| + }
|
|
|
| - static const int ABORTED = 2;
|
| + int indexOf(Map element, [int start = 0]) =>
|
| + Lists.indexOf(this, element, start, this.length);
|
|
|
| - static const int AUDIO_CAPTURE = 3;
|
| + int lastIndexOf(Map element, [int start]) {
|
| + if (start == null) start = length - 1;
|
| + return Lists.lastIndexOf(this, element, start);
|
| + }
|
|
|
| - static const int BAD_GRAMMAR = 7;
|
| + Map get first => this[0];
|
|
|
| - static const int LANGUAGE_NOT_SUPPORTED = 8;
|
| + Map get last => this[length - 1];
|
|
|
| - static const int NETWORK = 4;
|
| + Map removeAt(int pos) {
|
| + throw new UnsupportedError("Cannot removeAt on immutable List.");
|
| + }
|
|
|
| - static const int NOT_ALLOWED = 5;
|
| + Map removeLast() {
|
| + throw new UnsupportedError("Cannot removeLast on immutable List.");
|
| + }
|
|
|
| - static const int NO_SPEECH = 1;
|
| + void setRange(int start, int rangeLength, List<Map> from, [int startFrom]) {
|
| + throw new UnsupportedError("Cannot setRange on immutable List.");
|
| + }
|
|
|
| - static const int OTHER = 0;
|
| + void removeRange(int start, int rangeLength) {
|
| + throw new UnsupportedError("Cannot removeRange on immutable List.");
|
| + }
|
|
|
| - static const int SERVICE_NOT_ALLOWED = 6;
|
| + void insertRange(int start, int rangeLength, [Map initialValue]) {
|
| + throw new UnsupportedError("Cannot insertRange on immutable List.");
|
| + }
|
|
|
| - /// @domName SpeechRecognitionError.code; @docsEditable true
|
| - final int code;
|
| + List<Map> getRange(int start, int rangeLength) =>
|
| + Lists.getRange(this, start, rangeLength, <Map>[]);
|
|
|
| - /// @domName SpeechRecognitionError.message; @docsEditable true
|
| - final String message;
|
| + // -- end List<Map> mixins.
|
| +
|
| + /// @domName SQLResultSetRowList.item; @docsEditable true
|
| + Map item(int index) {
|
| + return convertNativeToDart_Dictionary(_item_1(index));
|
| + }
|
| + @JSName('item')
|
| + @Creates('=Object')
|
| + _item_1(index) native;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -/// @domName SpeechRecognitionEvent; @docsEditable true
|
| -class SpeechRecognitionEvent extends Event native "*SpeechRecognitionEvent" {
|
| -
|
| - /// @domName SpeechRecognitionEvent.result; @docsEditable true
|
| - final SpeechRecognitionResult result;
|
| -
|
| - /// @domName SpeechRecognitionEvent.resultHistory; @docsEditable true
|
| - @Returns('_SpeechRecognitionResultList') @Creates('_SpeechRecognitionResultList')
|
| - final List<SpeechRecognitionResult> resultHistory;
|
| +/// @domName SQLTransaction; @docsEditable true
|
| +class SqlTransaction native "*SQLTransaction" {
|
|
|
| - /// @domName SpeechRecognitionEvent.resultIndex; @docsEditable true
|
| - final int resultIndex;
|
| + /// @domName SQLTransaction.executeSql; @docsEditable true
|
| + void executeSql(String sqlStatement, List arguments, [SQLStatementCallback callback, SQLStatementErrorCallback errorCallback]) native;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -/// @domName SpeechRecognitionResult; @docsEditable true
|
| -class SpeechRecognitionResult native "*SpeechRecognitionResult" {
|
| -
|
| - /// @domName SpeechRecognitionResult.emma; @docsEditable true
|
| - final Document emma;
|
| -
|
| - /// @domName SpeechRecognitionResult.finalValue; @docsEditable true
|
| - @JSName('final')
|
| - final bool finalValue;
|
| -
|
| - /// @domName SpeechRecognitionResult.length; @docsEditable true
|
| - final int length;
|
| +/// @domName SQLTransactionSync; @docsEditable true
|
| +class SqlTransactionSync native "*SQLTransactionSync" {
|
|
|
| - /// @domName SpeechRecognitionResult.item; @docsEditable true
|
| - SpeechRecognitionAlternative item(int index) native;
|
| + /// @domName SQLTransactionSync.executeSql; @docsEditable true
|
| + SqlResultSet executeSql(String sqlStatement, List arguments) native;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| @@ -15752,7 +15752,7 @@ class StorageInfo native "*StorageInfo" {
|
| // WARNING: Do not edit - generated code.
|
|
|
|
|
| -typedef void StorageInfoErrorCallback(DOMException error);
|
| +typedef void StorageInfoErrorCallback(DomException error);
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
| @@ -15973,7 +15973,7 @@ class TableElement extends Element implements Element native "*HTMLTableElement"
|
| String frame;
|
|
|
| /// @domName HTMLTableElement.rows; @docsEditable true
|
| - final HTMLCollection rows;
|
| + final HtmlCollection rows;
|
|
|
| /// @domName HTMLTableElement.rules; @docsEditable true
|
| String rules;
|
| @@ -15982,7 +15982,7 @@ class TableElement extends Element implements Element native "*HTMLTableElement"
|
| String summary;
|
|
|
| /// @domName HTMLTableElement.tBodies; @docsEditable true
|
| - final HTMLCollection tBodies;
|
| + final HtmlCollection tBodies;
|
|
|
| /// @domName HTMLTableElement.tFoot; @docsEditable true
|
| TableSectionElement tFoot;
|
| @@ -16047,7 +16047,7 @@ class TableRowElement extends Element implements Element native "*HTMLTableRowEl
|
| String bgColor;
|
|
|
| /// @domName HTMLTableRowElement.cells; @docsEditable true
|
| - final HTMLCollection cells;
|
| + final HtmlCollection cells;
|
|
|
| /// @domName HTMLTableRowElement.ch; @docsEditable true
|
| String ch;
|
| @@ -16088,7 +16088,7 @@ class TableSectionElement extends Element implements Element native "*HTMLTableS
|
| String chOff;
|
|
|
| /// @domName HTMLTableSectionElement.rows; @docsEditable true
|
| - final HTMLCollection rows;
|
| + final HtmlCollection rows;
|
|
|
| /// @domName HTMLTableSectionElement.vAlign; @docsEditable true
|
| String vAlign;
|
| @@ -18811,7 +18811,7 @@ class WebGLUniformLocation native "*WebGLUniformLocation" {
|
|
|
|
|
| /// @domName WebGLVertexArrayObjectOES; @docsEditable true
|
| -class WebGLVertexArrayObjectOES native "*WebGLVertexArrayObjectOES" {
|
| +class WebGLVertexArrayObject native "*WebGLVertexArrayObjectOES" {
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| @@ -18819,7 +18819,7 @@ class WebGLVertexArrayObjectOES native "*WebGLVertexArrayObjectOES" {
|
|
|
|
|
| /// @domName WebKitCSSFilterValue; @docsEditable true
|
| -class WebKitCSSFilterValue extends _CSSValueList native "*WebKitCSSFilterValue" {
|
| +class WebKitCssFilterValue extends _CssValueList native "*WebKitCSSFilterValue" {
|
|
|
| static const int CSS_FILTER_BLUR = 10;
|
|
|
| @@ -19160,7 +19160,7 @@ class WorkerContext extends EventTarget native "*WorkerContext" {
|
| void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCallback, ErrorCallback errorCallback]) native;
|
|
|
| /// @domName WorkerContext.webkitRequestFileSystemSync; @docsEditable true
|
| - DOMFileSystemSync webkitRequestFileSystemSync(int type, int size) native;
|
| + FileSystemSync webkitRequestFileSystemSync(int type, int size) native;
|
|
|
| /// @domName WorkerContext.webkitResolveLocalFileSystemSyncURL; @docsEditable true
|
| @JSName('webkitResolveLocalFileSystemSyncURL')
|
| @@ -19245,19 +19245,6 @@ class WorkerNavigator native "*WorkerNavigator" {
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -/// @domName XMLSerializer; @docsEditable true
|
| -class XMLSerializer native "*XMLSerializer" {
|
| -
|
| - factory XMLSerializer() => _XMLSerializerFactoryProvider.createXMLSerializer();
|
| -
|
| - /// @domName XMLSerializer.serializeToString; @docsEditable true
|
| - String serializeToString(Node node) native;
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| /// @domName XPathEvaluator; @docsEditable true
|
| class XPathEvaluator native "*XPathEvaluator" {
|
|
|
| @@ -19379,10 +19366,23 @@ class XPathResult native "*XPathResult" {
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| +/// @domName XMLSerializer; @docsEditable true
|
| +class XmlSerializer native "*XMLSerializer" {
|
| +
|
| + factory XmlSerializer() => _XmlSerializerFactoryProvider.createXmlSerializer();
|
| +
|
| + /// @domName XMLSerializer.serializeToString; @docsEditable true
|
| + String serializeToString(Node node) native;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +
|
| /// @domName XSLTProcessor; @docsEditable true
|
| -class XSLTProcessor native "*XSLTProcessor" {
|
| +class XsltProcessor native "*XSLTProcessor" {
|
|
|
| - factory XSLTProcessor() => _XSLTProcessorFactoryProvider.createXSLTProcessor();
|
| + factory XsltProcessor() => _XsltProcessorFactoryProvider.createXsltProcessor();
|
|
|
| /// @domName XSLTProcessor.clearParameters; @docsEditable true
|
| void clearParameters() native;
|
| @@ -19458,98 +19458,89 @@ class _BlobFactoryProvider {
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -class _CSSMatrixFactoryProvider {
|
| - static CSSMatrix createCSSMatrix([String cssValue = '']) =>
|
| - JS('CSSMatrix', 'new WebKitCSSMatrix(#)', cssValue);
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| -/// @domName CSSRuleList; @docsEditable true
|
| -class _CSSRuleList implements JavaScriptIndexingBehavior, List<CSSRule> native "*CSSRuleList" {
|
| +/// @domName ClientRectList; @docsEditable true
|
| +class _ClientRectList implements JavaScriptIndexingBehavior, List<ClientRect> native "*ClientRectList" {
|
|
|
| - /// @domName CSSRuleList.length; @docsEditable true
|
| + /// @domName ClientRectList.length; @docsEditable true
|
| final int length;
|
|
|
| - CSSRule operator[](int index) => JS("CSSRule", "#[#]", this, index);
|
| + ClientRect operator[](int index) => JS("ClientRect", "#[#]", this, index);
|
|
|
| - void operator[]=(int index, CSSRule value) {
|
| + void operator[]=(int index, ClientRect value) {
|
| throw new UnsupportedError("Cannot assign element of immutable List.");
|
| }
|
| - // -- start List<CSSRule> mixins.
|
| - // CSSRule is the element type.
|
| + // -- start List<ClientRect> mixins.
|
| + // ClientRect is the element type.
|
|
|
| - // From Iterable<CSSRule>:
|
| + // From Iterable<ClientRect>:
|
|
|
| - Iterator<CSSRule> iterator() {
|
| + Iterator<ClientRect> iterator() {
|
| // Note: NodeLists are not fixed size. And most probably length shouldn't
|
| // be cached in both iterator _and_ forEach method. For now caching it
|
| // for consistency.
|
| - return new FixedSizeListIterator<CSSRule>(this);
|
| + return new FixedSizeListIterator<ClientRect>(this);
|
| }
|
|
|
| - // From Collection<CSSRule>:
|
| + // From Collection<ClientRect>:
|
|
|
| - void add(CSSRule value) {
|
| + void add(ClientRect value) {
|
| throw new UnsupportedError("Cannot add to immutable List.");
|
| }
|
|
|
| - void addLast(CSSRule value) {
|
| + void addLast(ClientRect value) {
|
| throw new UnsupportedError("Cannot add to immutable List.");
|
| }
|
|
|
| - void addAll(Collection<CSSRule> collection) {
|
| + void addAll(Collection<ClientRect> collection) {
|
| throw new UnsupportedError("Cannot add to immutable List.");
|
| }
|
|
|
| - dynamic reduce(dynamic initialValue, dynamic combine(dynamic, CSSRule)) {
|
| + dynamic reduce(dynamic initialValue, dynamic combine(dynamic, ClientRect)) {
|
| return Collections.reduce(this, initialValue, combine);
|
| }
|
|
|
| - bool contains(CSSRule element) => Collections.contains(this, element);
|
| + bool contains(ClientRect element) => Collections.contains(this, element);
|
|
|
| - void forEach(void f(CSSRule element)) => Collections.forEach(this, f);
|
| + void forEach(void f(ClientRect element)) => Collections.forEach(this, f);
|
|
|
| - Collection map(f(CSSRule element)) => Collections.map(this, [], f);
|
| + Collection map(f(ClientRect element)) => Collections.map(this, [], f);
|
|
|
| - Collection<CSSRule> filter(bool f(CSSRule element)) =>
|
| - Collections.filter(this, <CSSRule>[], f);
|
| + Collection<ClientRect> filter(bool f(ClientRect element)) =>
|
| + Collections.filter(this, <ClientRect>[], f);
|
|
|
| - bool every(bool f(CSSRule element)) => Collections.every(this, f);
|
| + bool every(bool f(ClientRect element)) => Collections.every(this, f);
|
|
|
| - bool some(bool f(CSSRule element)) => Collections.some(this, f);
|
| + bool some(bool f(ClientRect element)) => Collections.some(this, f);
|
|
|
| bool get isEmpty => this.length == 0;
|
|
|
| - // From List<CSSRule>:
|
| + // From List<ClientRect>:
|
|
|
| - void sort([Comparator<CSSRule> compare = Comparable.compare]) {
|
| + void sort([Comparator<ClientRect> compare = Comparable.compare]) {
|
| throw new UnsupportedError("Cannot sort immutable List.");
|
| }
|
|
|
| - int indexOf(CSSRule element, [int start = 0]) =>
|
| + int indexOf(ClientRect element, [int start = 0]) =>
|
| Lists.indexOf(this, element, start, this.length);
|
|
|
| - int lastIndexOf(CSSRule element, [int start]) {
|
| + int lastIndexOf(ClientRect element, [int start]) {
|
| if (start == null) start = length - 1;
|
| return Lists.lastIndexOf(this, element, start);
|
| }
|
|
|
| - CSSRule get first => this[0];
|
| + ClientRect get first => this[0];
|
|
|
| - CSSRule get last => this[length - 1];
|
| + ClientRect get last => this[length - 1];
|
|
|
| - CSSRule removeAt(int pos) {
|
| + ClientRect removeAt(int pos) {
|
| throw new UnsupportedError("Cannot removeAt on immutable List.");
|
| }
|
|
|
| - CSSRule removeLast() {
|
| + ClientRect removeLast() {
|
| throw new UnsupportedError("Cannot removeLast on immutable List.");
|
| }
|
|
|
| - void setRange(int start, int rangeLength, List<CSSRule> from, [int startFrom]) {
|
| + void setRange(int start, int rangeLength, List<ClientRect> from, [int startFrom]) {
|
| throw new UnsupportedError("Cannot setRange on immutable List.");
|
| }
|
|
|
| @@ -19557,106 +19548,115 @@ class _CSSRuleList implements JavaScriptIndexingBehavior, List<CSSRule> native "
|
| throw new UnsupportedError("Cannot removeRange on immutable List.");
|
| }
|
|
|
| - void insertRange(int start, int rangeLength, [CSSRule initialValue]) {
|
| + void insertRange(int start, int rangeLength, [ClientRect initialValue]) {
|
| throw new UnsupportedError("Cannot insertRange on immutable List.");
|
| }
|
|
|
| - List<CSSRule> getRange(int start, int rangeLength) =>
|
| - Lists.getRange(this, start, rangeLength, <CSSRule>[]);
|
| + List<ClientRect> getRange(int start, int rangeLength) =>
|
| + Lists.getRange(this, start, rangeLength, <ClientRect>[]);
|
|
|
| - // -- end List<CSSRule> mixins.
|
| + // -- end List<ClientRect> mixins.
|
|
|
| - /// @domName CSSRuleList.item; @docsEditable true
|
| - CSSRule item(int index) native;
|
| + /// @domName ClientRectList.item; @docsEditable true
|
| + ClientRect item(int index) native;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -/// @domName CSSValueList; @docsEditable true
|
| -class _CSSValueList extends CSSValue implements List<CSSValue>, JavaScriptIndexingBehavior native "*CSSValueList" {
|
| +class _CssMatrixFactoryProvider {
|
| + static CssMatrix createCssMatrix([String cssValue = '']) =>
|
| + JS('CssMatrix', 'new WebKitCSSMatrix(#)', cssValue);
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
|
|
| - /// @domName CSSValueList.length; @docsEditable true
|
| +
|
| +/// @domName CSSRuleList; @docsEditable true
|
| +class _CssRuleList implements JavaScriptIndexingBehavior, List<CssRule> native "*CSSRuleList" {
|
| +
|
| + /// @domName CSSRuleList.length; @docsEditable true
|
| final int length;
|
|
|
| - CSSValue operator[](int index) => JS("CSSValue", "#[#]", this, index);
|
| + CssRule operator[](int index) => JS("CssRule", "#[#]", this, index);
|
|
|
| - void operator[]=(int index, CSSValue value) {
|
| + void operator[]=(int index, CssRule value) {
|
| throw new UnsupportedError("Cannot assign element of immutable List.");
|
| }
|
| - // -- start List<CSSValue> mixins.
|
| - // CSSValue is the element type.
|
| + // -- start List<CssRule> mixins.
|
| + // CssRule is the element type.
|
|
|
| - // From Iterable<CSSValue>:
|
| + // From Iterable<CssRule>:
|
|
|
| - Iterator<CSSValue> iterator() {
|
| + Iterator<CssRule> iterator() {
|
| // Note: NodeLists are not fixed size. And most probably length shouldn't
|
| // be cached in both iterator _and_ forEach method. For now caching it
|
| // for consistency.
|
| - return new FixedSizeListIterator<CSSValue>(this);
|
| + return new FixedSizeListIterator<CssRule>(this);
|
| }
|
|
|
| - // From Collection<CSSValue>:
|
| + // From Collection<CssRule>:
|
|
|
| - void add(CSSValue value) {
|
| + void add(CssRule value) {
|
| throw new UnsupportedError("Cannot add to immutable List.");
|
| }
|
|
|
| - void addLast(CSSValue value) {
|
| + void addLast(CssRule value) {
|
| throw new UnsupportedError("Cannot add to immutable List.");
|
| }
|
|
|
| - void addAll(Collection<CSSValue> collection) {
|
| + void addAll(Collection<CssRule> collection) {
|
| throw new UnsupportedError("Cannot add to immutable List.");
|
| }
|
|
|
| - dynamic reduce(dynamic initialValue, dynamic combine(dynamic, CSSValue)) {
|
| + dynamic reduce(dynamic initialValue, dynamic combine(dynamic, CssRule)) {
|
| return Collections.reduce(this, initialValue, combine);
|
| }
|
|
|
| - bool contains(CSSValue element) => Collections.contains(this, element);
|
| + bool contains(CssRule element) => Collections.contains(this, element);
|
|
|
| - void forEach(void f(CSSValue element)) => Collections.forEach(this, f);
|
| + void forEach(void f(CssRule element)) => Collections.forEach(this, f);
|
|
|
| - Collection map(f(CSSValue element)) => Collections.map(this, [], f);
|
| + Collection map(f(CssRule element)) => Collections.map(this, [], f);
|
|
|
| - Collection<CSSValue> filter(bool f(CSSValue element)) =>
|
| - Collections.filter(this, <CSSValue>[], f);
|
| + Collection<CssRule> filter(bool f(CssRule element)) =>
|
| + Collections.filter(this, <CssRule>[], f);
|
|
|
| - bool every(bool f(CSSValue element)) => Collections.every(this, f);
|
| + bool every(bool f(CssRule element)) => Collections.every(this, f);
|
|
|
| - bool some(bool f(CSSValue element)) => Collections.some(this, f);
|
| + bool some(bool f(CssRule element)) => Collections.some(this, f);
|
|
|
| bool get isEmpty => this.length == 0;
|
|
|
| - // From List<CSSValue>:
|
| + // From List<CssRule>:
|
|
|
| - void sort([Comparator<CSSValue> compare = Comparable.compare]) {
|
| + void sort([Comparator<CssRule> compare = Comparable.compare]) {
|
| throw new UnsupportedError("Cannot sort immutable List.");
|
| }
|
|
|
| - int indexOf(CSSValue element, [int start = 0]) =>
|
| + int indexOf(CssRule element, [int start = 0]) =>
|
| Lists.indexOf(this, element, start, this.length);
|
|
|
| - int lastIndexOf(CSSValue element, [int start]) {
|
| + int lastIndexOf(CssRule element, [int start]) {
|
| if (start == null) start = length - 1;
|
| return Lists.lastIndexOf(this, element, start);
|
| }
|
|
|
| - CSSValue get first => this[0];
|
| + CssRule get first => this[0];
|
|
|
| - CSSValue get last => this[length - 1];
|
| + CssRule get last => this[length - 1];
|
|
|
| - CSSValue removeAt(int pos) {
|
| + CssRule removeAt(int pos) {
|
| throw new UnsupportedError("Cannot removeAt on immutable List.");
|
| }
|
|
|
| - CSSValue removeLast() {
|
| + CssRule removeLast() {
|
| throw new UnsupportedError("Cannot removeLast on immutable List.");
|
| }
|
|
|
| - void setRange(int start, int rangeLength, List<CSSValue> from, [int startFrom]) {
|
| + void setRange(int start, int rangeLength, List<CssRule> from, [int startFrom]) {
|
| throw new UnsupportedError("Cannot setRange on immutable List.");
|
| }
|
|
|
| @@ -19664,106 +19664,106 @@ class _CSSValueList extends CSSValue implements List<CSSValue>, JavaScriptIndexi
|
| throw new UnsupportedError("Cannot removeRange on immutable List.");
|
| }
|
|
|
| - void insertRange(int start, int rangeLength, [CSSValue initialValue]) {
|
| + void insertRange(int start, int rangeLength, [CssRule initialValue]) {
|
| throw new UnsupportedError("Cannot insertRange on immutable List.");
|
| }
|
|
|
| - List<CSSValue> getRange(int start, int rangeLength) =>
|
| - Lists.getRange(this, start, rangeLength, <CSSValue>[]);
|
| + List<CssRule> getRange(int start, int rangeLength) =>
|
| + Lists.getRange(this, start, rangeLength, <CssRule>[]);
|
|
|
| - // -- end List<CSSValue> mixins.
|
| + // -- end List<CssRule> mixins.
|
|
|
| - /// @domName CSSValueList.item; @docsEditable true
|
| - CSSValue item(int index) native;
|
| + /// @domName CSSRuleList.item; @docsEditable true
|
| + CssRule item(int index) native;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -/// @domName ClientRectList; @docsEditable true
|
| -class _ClientRectList implements JavaScriptIndexingBehavior, List<ClientRect> native "*ClientRectList" {
|
| +/// @domName CSSValueList; @docsEditable true
|
| +class _CssValueList extends CssValue implements List<CssValue>, JavaScriptIndexingBehavior native "*CSSValueList" {
|
|
|
| - /// @domName ClientRectList.length; @docsEditable true
|
| + /// @domName CSSValueList.length; @docsEditable true
|
| final int length;
|
|
|
| - ClientRect operator[](int index) => JS("ClientRect", "#[#]", this, index);
|
| + CssValue operator[](int index) => JS("CssValue", "#[#]", this, index);
|
|
|
| - void operator[]=(int index, ClientRect value) {
|
| + void operator[]=(int index, CssValue value) {
|
| throw new UnsupportedError("Cannot assign element of immutable List.");
|
| }
|
| - // -- start List<ClientRect> mixins.
|
| - // ClientRect is the element type.
|
| + // -- start List<CssValue> mixins.
|
| + // CssValue is the element type.
|
|
|
| - // From Iterable<ClientRect>:
|
| + // From Iterable<CssValue>:
|
|
|
| - Iterator<ClientRect> iterator() {
|
| + Iterator<CssValue> iterator() {
|
| // Note: NodeLists are not fixed size. And most probably length shouldn't
|
| // be cached in both iterator _and_ forEach method. For now caching it
|
| // for consistency.
|
| - return new FixedSizeListIterator<ClientRect>(this);
|
| + return new FixedSizeListIterator<CssValue>(this);
|
| }
|
|
|
| - // From Collection<ClientRect>:
|
| + // From Collection<CssValue>:
|
|
|
| - void add(ClientRect value) {
|
| + void add(CssValue value) {
|
| throw new UnsupportedError("Cannot add to immutable List.");
|
| }
|
|
|
| - void addLast(ClientRect value) {
|
| + void addLast(CssValue value) {
|
| throw new UnsupportedError("Cannot add to immutable List.");
|
| }
|
|
|
| - void addAll(Collection<ClientRect> collection) {
|
| + void addAll(Collection<CssValue> collection) {
|
| throw new UnsupportedError("Cannot add to immutable List.");
|
| }
|
|
|
| - dynamic reduce(dynamic initialValue, dynamic combine(dynamic, ClientRect)) {
|
| + dynamic reduce(dynamic initialValue, dynamic combine(dynamic, CssValue)) {
|
| return Collections.reduce(this, initialValue, combine);
|
| }
|
|
|
| - bool contains(ClientRect element) => Collections.contains(this, element);
|
| + bool contains(CssValue element) => Collections.contains(this, element);
|
|
|
| - void forEach(void f(ClientRect element)) => Collections.forEach(this, f);
|
| + void forEach(void f(CssValue element)) => Collections.forEach(this, f);
|
|
|
| - Collection map(f(ClientRect element)) => Collections.map(this, [], f);
|
| + Collection map(f(CssValue element)) => Collections.map(this, [], f);
|
|
|
| - Collection<ClientRect> filter(bool f(ClientRect element)) =>
|
| - Collections.filter(this, <ClientRect>[], f);
|
| + Collection<CssValue> filter(bool f(CssValue element)) =>
|
| + Collections.filter(this, <CssValue>[], f);
|
|
|
| - bool every(bool f(ClientRect element)) => Collections.every(this, f);
|
| + bool every(bool f(CssValue element)) => Collections.every(this, f);
|
|
|
| - bool some(bool f(ClientRect element)) => Collections.some(this, f);
|
| + bool some(bool f(CssValue element)) => Collections.some(this, f);
|
|
|
| bool get isEmpty => this.length == 0;
|
|
|
| - // From List<ClientRect>:
|
| + // From List<CssValue>:
|
|
|
| - void sort([Comparator<ClientRect> compare = Comparable.compare]) {
|
| + void sort([Comparator<CssValue> compare = Comparable.compare]) {
|
| throw new UnsupportedError("Cannot sort immutable List.");
|
| }
|
|
|
| - int indexOf(ClientRect element, [int start = 0]) =>
|
| + int indexOf(CssValue element, [int start = 0]) =>
|
| Lists.indexOf(this, element, start, this.length);
|
|
|
| - int lastIndexOf(ClientRect element, [int start]) {
|
| + int lastIndexOf(CssValue element, [int start]) {
|
| if (start == null) start = length - 1;
|
| return Lists.lastIndexOf(this, element, start);
|
| }
|
|
|
| - ClientRect get first => this[0];
|
| + CssValue get first => this[0];
|
|
|
| - ClientRect get last => this[length - 1];
|
| + CssValue get last => this[length - 1];
|
|
|
| - ClientRect removeAt(int pos) {
|
| + CssValue removeAt(int pos) {
|
| throw new UnsupportedError("Cannot removeAt on immutable List.");
|
| }
|
|
|
| - ClientRect removeLast() {
|
| + CssValue removeLast() {
|
| throw new UnsupportedError("Cannot removeLast on immutable List.");
|
| }
|
|
|
| - void setRange(int start, int rangeLength, List<ClientRect> from, [int startFrom]) {
|
| + void setRange(int start, int rangeLength, List<CssValue> from, [int startFrom]) {
|
| throw new UnsupportedError("Cannot setRange on immutable List.");
|
| }
|
|
|
| @@ -19771,26 +19771,43 @@ class _ClientRectList implements JavaScriptIndexingBehavior, List<ClientRect> na
|
| throw new UnsupportedError("Cannot removeRange on immutable List.");
|
| }
|
|
|
| - void insertRange(int start, int rangeLength, [ClientRect initialValue]) {
|
| + void insertRange(int start, int rangeLength, [CssValue initialValue]) {
|
| throw new UnsupportedError("Cannot insertRange on immutable List.");
|
| }
|
|
|
| - List<ClientRect> getRange(int start, int rangeLength) =>
|
| - Lists.getRange(this, start, rangeLength, <ClientRect>[]);
|
| + List<CssValue> getRange(int start, int rangeLength) =>
|
| + Lists.getRange(this, start, rangeLength, <CssValue>[]);
|
|
|
| - // -- end List<ClientRect> mixins.
|
| + // -- end List<CssValue> mixins.
|
|
|
| - /// @domName ClientRectList.item; @docsEditable true
|
| - ClientRect item(int index) native;
|
| + /// @domName CSSValueList.item; @docsEditable true
|
| + CssValue item(int index) native;
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +
|
| +class _DataViewFactoryProvider {
|
| + static DataView createDataView(
|
| + ArrayBuffer buffer, [int byteOffset = null, int byteLength = null]) {
|
| + if (byteOffset == null) {
|
| + return JS('DataView', 'new DataView(#)', buffer);
|
| + }
|
| + if (byteLength == null) {
|
| + return JS('DataView', 'new DataView(#,#)', buffer, byteOffset);
|
| + }
|
| + return JS('DataView', 'new DataView(#,#,#)', buffer, byteOffset, byteLength);
|
| + }
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -class _DOMParserFactoryProvider {
|
| - static DOMParser createDOMParser() =>
|
| - JS('DOMParser', 'new DOMParser()' );
|
| +class _DomParserFactoryProvider {
|
| + static DomParser createDomParser() =>
|
| + JS('DomParser', 'new DOMParser()' );
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| @@ -19798,7 +19815,7 @@ class _DOMParserFactoryProvider {
|
|
|
|
|
| /// @domName DOMStringList; @docsEditable true
|
| -class _DOMStringList implements JavaScriptIndexingBehavior, List<String> native "*DOMStringList" {
|
| +class _DomStringList implements JavaScriptIndexingBehavior, List<String> native "*DOMStringList" {
|
|
|
| /// @domName DOMStringList.length; @docsEditable true
|
| final int length;
|
| @@ -19907,23 +19924,6 @@ class _DOMStringList implements JavaScriptIndexingBehavior, List<String> native
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -class _DataViewFactoryProvider {
|
| - static DataView createDataView(
|
| - ArrayBuffer buffer, [int byteOffset = null, int byteLength = null]) {
|
| - if (byteOffset == null) {
|
| - return JS('DataView', 'new DataView(#)', buffer);
|
| - }
|
| - if (byteLength == null) {
|
| - return JS('DataView', 'new DataView(#,#)', buffer, byteOffset);
|
| - }
|
| - return JS('DataView', 'new DataView(#,#,#)', buffer, byteOffset, byteLength);
|
| - }
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| /// @domName EntryArray; @docsEditable true
|
| class _EntryArray implements JavaScriptIndexingBehavior, List<Entry> native "*EntryArray" {
|
|
|
| @@ -20521,27 +20521,27 @@ class _PeerConnection00FactoryProvider {
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -class _RTCIceCandidateFactoryProvider {
|
| - static RTCIceCandidate createRTCIceCandidate(Map dictionary) =>
|
| - JS('RTCIceCandidate', 'new RTCIceCandidate(#)', dictionary);
|
| +class _RtcIceCandidateFactoryProvider {
|
| + static RtcIceCandidate createRtcIceCandidate(Map dictionary) =>
|
| + JS('RtcIceCandidate', 'new RTCIceCandidate(#)', dictionary);
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -class _RTCPeerConnectionFactoryProvider {
|
| - static RTCPeerConnection createRTCPeerConnection(Map rtcIceServers, [Map mediaConstraints]) =>
|
| - JS('RTCPeerConnection', 'new RTCPeerConnection(#,#)', rtcIceServers, mediaConstraints);
|
| +class _RtcPeerConnectionFactoryProvider {
|
| + static RtcPeerConnection createRtcPeerConnection(Map rtcIceServers, [Map mediaConstraints]) =>
|
| + JS('RtcPeerConnection', 'new RTCPeerConnection(#,#)', rtcIceServers, mediaConstraints);
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -class _RTCSessionDescriptionFactoryProvider {
|
| - static RTCSessionDescription createRTCSessionDescription(Map dictionary) =>
|
| - JS('RTCSessionDescription', 'new RTCSessionDescription(#)', dictionary);
|
| +class _RtcSessionDescriptionFactoryProvider {
|
| + static RtcSessionDescription createRtcSessionDescription(Map dictionary) =>
|
| + JS('RtcSessionDescription', 'new RTCSessionDescription(#)', dictionary);
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| @@ -21066,27 +21066,27 @@ class _WorkerFactoryProvider {
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -class _XMLSerializerFactoryProvider {
|
| - static XMLSerializer createXMLSerializer() =>
|
| - JS('XMLSerializer', 'new XMLSerializer()' );
|
| +class _XPathEvaluatorFactoryProvider {
|
| + static XPathEvaluator createXPathEvaluator() =>
|
| + JS('XPathEvaluator', 'new XPathEvaluator()' );
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -class _XPathEvaluatorFactoryProvider {
|
| - static XPathEvaluator createXPathEvaluator() =>
|
| - JS('XPathEvaluator', 'new XPathEvaluator()' );
|
| +class _XmlSerializerFactoryProvider {
|
| + static XmlSerializer createXmlSerializer() =>
|
| + JS('XmlSerializer', 'new XMLSerializer()' );
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -class _XSLTProcessorFactoryProvider {
|
| - static XSLTProcessor createXSLTProcessor() =>
|
| - JS('XSLTProcessor', 'new XSLTProcessor()' );
|
| +class _XsltProcessorFactoryProvider {
|
| + static XsltProcessor createXsltProcessor() =>
|
| + JS('XsltProcessor', 'new XSLTProcessor()' );
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| @@ -23595,15 +23595,15 @@ class _MouseEventFactoryProvider {
|
| }
|
| }
|
|
|
| -class _CSSStyleDeclarationFactoryProvider {
|
| - static CSSStyleDeclaration createCSSStyleDeclaration_css(String css) {
|
| +class _CssStyleDeclarationFactoryProvider {
|
| + static CssStyleDeclaration createCssStyleDeclaration_css(String css) {
|
| final style = new Element.tag('div').style;
|
| style.cssText = css;
|
| return style;
|
| }
|
|
|
| - static CSSStyleDeclaration createCSSStyleDeclaration() {
|
| - return new CSSStyleDeclaration.css('');
|
| + static CssStyleDeclaration createCssStyleDeclaration() {
|
| + return new CssStyleDeclaration.css('');
|
| }
|
| }
|
|
|
| @@ -23632,7 +23632,7 @@ class _DocumentFragmentFactoryProvider {
|
|
|
| static DocumentFragment createDocumentFragment_svg(String svgContent) {
|
| final fragment = new DocumentFragment();
|
| - final e = new svg.SVGSVGElement();
|
| + final e = new svg.SvgSvgElement();
|
| e.innerHtml = svgContent;
|
|
|
| // Copy list first since we don't want liveness during iteration.
|
| @@ -23646,23 +23646,6 @@ class _DocumentFragmentFactoryProvider {
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -// Conversions for IDBKey.
|
| -//
|
| -// Per http://www.w3.org/TR/IndexedDB/#key-construct
|
| -//
|
| -// "A value is said to be a valid key if it is one of the following types: Array
|
| -// JavaScript objects [ECMA-262], DOMString [WEBIDL], Date [ECMA-262] or float
|
| -// [WEBIDL]. However Arrays are only valid keys if every item in the array is
|
| -// defined and is a valid key (i.e. sparse arrays can not be valid keys) and if
|
| -// the Array doesn't directly or indirectly contain itself. Any non-numeric
|
| -// properties are ignored, and thus does not affect whether the Array is a valid
|
| -// key. Additionally, if the value is of type float, it is only a valid key if
|
| -// it is not NaN, and if the value is of type Date it is only a valid key if its
|
| -// [[PrimitiveValue]] internal property, as defined by [ECMA-262], is not NaN."
|
| -
|
| -// What is required is to ensure that an Lists in the key are actually
|
| -// JavaScript arrays, and any Dates are JavaScript Dates.
|
| -
|
| // Conversions for Window. These check if the window is the local
|
| // window, and if it's not, wraps or unwraps it with a secure wrapper.
|
| // We need to test for EventTarget here as well as it's a base type.
|
|
|