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

Side by Side Diff: sdk/lib/html/dart2js/html_dart2js.dart

Issue 11419300: Dartifying dart:html type names. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Unminifying & fixing Stephen's feedback. Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | sdk/lib/html/scripts/htmlrenamer.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 library html; 1 library html;
2 2
3 import 'dart:collection'; 3 import 'dart:collection';
4 import 'dart:html_common'; 4 import 'dart:html_common';
5 import 'dart:indexed_db'; 5 import 'dart:indexed_db';
6 import 'dart:isolate'; 6 import 'dart:isolate';
7 import 'dart:json'; 7 import 'dart:json';
8 import 'dart:svg' as svg; 8 import 'dart:svg' as svg;
9 import 'dart:web_audio' as web_audio; 9 import 'dart:web_audio' as web_audio;
10 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 10 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 String vspace; 261 String vspace;
262 262
263 /// @domName HTMLAppletElement.width; @docsEditable true 263 /// @domName HTMLAppletElement.width; @docsEditable true
264 String width; 264 String width;
265 } 265 }
266 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 266 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
267 // for details. All rights reserved. Use of this source code is governed by a 267 // for details. All rights reserved. Use of this source code is governed by a
268 // BSD-style license that can be found in the LICENSE file. 268 // BSD-style license that can be found in the LICENSE file.
269 269
270 270
271 /// @domName DOMApplicationCache; @docsEditable true
272 class ApplicationCache extends EventTarget native "*DOMApplicationCache" {
273
274 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
275 ApplicationCacheEvents get on =>
276 new ApplicationCacheEvents(this);
277
278 static const int CHECKING = 2;
279
280 static const int DOWNLOADING = 3;
281
282 static const int IDLE = 1;
283
284 static const int OBSOLETE = 5;
285
286 static const int UNCACHED = 0;
287
288 static const int UPDATEREADY = 4;
289
290 /// @domName DOMApplicationCache.status; @docsEditable true
291 final int status;
292
293 /// @domName DOMApplicationCache.abort; @docsEditable true
294 void abort() native;
295
296 /// @domName DOMApplicationCache.addEventListener; @docsEditable true
297 @JSName('addEventListener')
298 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native;
299
300 /// @domName DOMApplicationCache.dispatchEvent; @docsEditable true
301 @JSName('dispatchEvent')
302 bool $dom_dispatchEvent(Event evt) native;
303
304 /// @domName DOMApplicationCache.removeEventListener; @docsEditable true
305 @JSName('removeEventListener')
306 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native;
307
308 /// @domName DOMApplicationCache.swapCache; @docsEditable true
309 void swapCache() native;
310
311 /// @domName DOMApplicationCache.update; @docsEditable true
312 void update() native;
313 }
314
315 class ApplicationCacheEvents extends Events {
316 ApplicationCacheEvents(EventTarget _ptr) : super(_ptr);
317
318 EventListenerList get cached => this['cached'];
319
320 EventListenerList get checking => this['checking'];
321
322 EventListenerList get downloading => this['downloading'];
323
324 EventListenerList get error => this['error'];
325
326 EventListenerList get noUpdate => this['noupdate'];
327
328 EventListenerList get obsolete => this['obsolete'];
329
330 EventListenerList get progress => this['progress'];
331
332 EventListenerList get updateReady => this['updateready'];
333 }
334 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
335 // for details. All rights reserved. Use of this source code is governed by a
336 // BSD-style license that can be found in the LICENSE file.
337
338
271 /// @domName HTMLAreaElement; @docsEditable true 339 /// @domName HTMLAreaElement; @docsEditable true
272 class AreaElement extends Element implements Element native "*HTMLAreaElement" { 340 class AreaElement extends Element implements Element native "*HTMLAreaElement" {
273 341
274 factory AreaElement() => document.$dom_createElement("area"); 342 factory AreaElement() => document.$dom_createElement("area");
275 343
276 /// @domName HTMLAreaElement.alt; @docsEditable true 344 /// @domName HTMLAreaElement.alt; @docsEditable true
277 String alt; 345 String alt;
278 346
279 /// @domName HTMLAreaElement.coords; @docsEditable true 347 /// @domName HTMLAreaElement.coords; @docsEditable true
280 String coords; 348 String coords;
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
649 717
650 /// @domName HTMLButtonElement.setCustomValidity; @docsEditable true 718 /// @domName HTMLButtonElement.setCustomValidity; @docsEditable true
651 void setCustomValidity(String error) native; 719 void setCustomValidity(String error) native;
652 } 720 }
653 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 721 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
654 // for details. All rights reserved. Use of this source code is governed by a 722 // for details. All rights reserved. Use of this source code is governed by a
655 // BSD-style license that can be found in the LICENSE file. 723 // BSD-style license that can be found in the LICENSE file.
656 724
657 725
658 /// @domName CDATASection; @docsEditable true 726 /// @domName CDATASection; @docsEditable true
659 class CDATASection extends Text native "*CDATASection" { 727 class CDataSection extends Text native "*CDATASection" {
660 }
661 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
662 // for details. All rights reserved. Use of this source code is governed by a
663 // BSD-style license that can be found in the LICENSE file.
664
665
666 /// @domName CSSCharsetRule; @docsEditable true
667 class CSSCharsetRule extends CSSRule native "*CSSCharsetRule" {
668
669 /// @domName CSSCharsetRule.encoding; @docsEditable true
670 String encoding;
671 }
672 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
673 // for details. All rights reserved. Use of this source code is governed by a
674 // BSD-style license that can be found in the LICENSE file.
675
676
677 /// @domName CSSFontFaceRule; @docsEditable true
678 class CSSFontFaceRule extends CSSRule native "*CSSFontFaceRule" {
679
680 /// @domName CSSFontFaceRule.style; @docsEditable true
681 final CSSStyleDeclaration style;
682 }
683 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
684 // for details. All rights reserved. Use of this source code is governed by a
685 // BSD-style license that can be found in the LICENSE file.
686
687
688 /// @domName CSSImportRule; @docsEditable true
689 class CSSImportRule extends CSSRule native "*CSSImportRule" {
690
691 /// @domName CSSImportRule.href; @docsEditable true
692 final String href;
693
694 /// @domName CSSImportRule.media; @docsEditable true
695 final MediaList media;
696
697 /// @domName CSSImportRule.styleSheet; @docsEditable true
698 final CSSStyleSheet styleSheet;
699 }
700 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
701 // for details. All rights reserved. Use of this source code is governed by a
702 // BSD-style license that can be found in the LICENSE file.
703
704
705 /// @domName WebKitCSSKeyframeRule; @docsEditable true
706 class CSSKeyframeRule extends CSSRule native "*WebKitCSSKeyframeRule" {
707
708 /// @domName WebKitCSSKeyframeRule.keyText; @docsEditable true
709 String keyText;
710
711 /// @domName WebKitCSSKeyframeRule.style; @docsEditable true
712 final CSSStyleDeclaration style;
713 }
714 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
715 // for details. All rights reserved. Use of this source code is governed by a
716 // BSD-style license that can be found in the LICENSE file.
717
718
719 /// @domName WebKitCSSKeyframesRule; @docsEditable true
720 class CSSKeyframesRule extends CSSRule native "*WebKitCSSKeyframesRule" {
721
722 /// @domName WebKitCSSKeyframesRule.cssRules; @docsEditable true
723 @Returns('_CSSRuleList') @Creates('_CSSRuleList')
724 final List<CSSRule> cssRules;
725
726 /// @domName WebKitCSSKeyframesRule.name; @docsEditable true
727 String name;
728
729 /// @domName WebKitCSSKeyframesRule.deleteRule; @docsEditable true
730 void deleteRule(String key) native;
731
732 /// @domName WebKitCSSKeyframesRule.findRule; @docsEditable true
733 CSSKeyframeRule findRule(String key) native;
734
735 /// @domName WebKitCSSKeyframesRule.insertRule; @docsEditable true
736 void insertRule(String rule) native;
737 }
738 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
739 // for details. All rights reserved. Use of this source code is governed by a
740 // BSD-style license that can be found in the LICENSE file.
741
742
743 /// @domName WebKitCSSMatrix; @docsEditable true
744 class CSSMatrix native "*WebKitCSSMatrix" {
745
746 factory CSSMatrix([String cssValue]) {
747 if (!?cssValue) {
748 return _CSSMatrixFactoryProvider.createCSSMatrix();
749 }
750 return _CSSMatrixFactoryProvider.createCSSMatrix(cssValue);
751 }
752
753 /// @domName WebKitCSSMatrix.a; @docsEditable true
754 num a;
755
756 /// @domName WebKitCSSMatrix.b; @docsEditable true
757 num b;
758
759 /// @domName WebKitCSSMatrix.c; @docsEditable true
760 num c;
761
762 /// @domName WebKitCSSMatrix.d; @docsEditable true
763 num d;
764
765 /// @domName WebKitCSSMatrix.e; @docsEditable true
766 num e;
767
768 /// @domName WebKitCSSMatrix.f; @docsEditable true
769 num f;
770
771 /// @domName WebKitCSSMatrix.m11; @docsEditable true
772 num m11;
773
774 /// @domName WebKitCSSMatrix.m12; @docsEditable true
775 num m12;
776
777 /// @domName WebKitCSSMatrix.m13; @docsEditable true
778 num m13;
779
780 /// @domName WebKitCSSMatrix.m14; @docsEditable true
781 num m14;
782
783 /// @domName WebKitCSSMatrix.m21; @docsEditable true
784 num m21;
785
786 /// @domName WebKitCSSMatrix.m22; @docsEditable true
787 num m22;
788
789 /// @domName WebKitCSSMatrix.m23; @docsEditable true
790 num m23;
791
792 /// @domName WebKitCSSMatrix.m24; @docsEditable true
793 num m24;
794
795 /// @domName WebKitCSSMatrix.m31; @docsEditable true
796 num m31;
797
798 /// @domName WebKitCSSMatrix.m32; @docsEditable true
799 num m32;
800
801 /// @domName WebKitCSSMatrix.m33; @docsEditable true
802 num m33;
803
804 /// @domName WebKitCSSMatrix.m34; @docsEditable true
805 num m34;
806
807 /// @domName WebKitCSSMatrix.m41; @docsEditable true
808 num m41;
809
810 /// @domName WebKitCSSMatrix.m42; @docsEditable true
811 num m42;
812
813 /// @domName WebKitCSSMatrix.m43; @docsEditable true
814 num m43;
815
816 /// @domName WebKitCSSMatrix.m44; @docsEditable true
817 num m44;
818
819 /// @domName WebKitCSSMatrix.inverse; @docsEditable true
820 CSSMatrix inverse() native;
821
822 /// @domName WebKitCSSMatrix.multiply; @docsEditable true
823 CSSMatrix multiply(CSSMatrix secondMatrix) native;
824
825 /// @domName WebKitCSSMatrix.rotate; @docsEditable true
826 CSSMatrix rotate(num rotX, num rotY, num rotZ) native;
827
828 /// @domName WebKitCSSMatrix.rotateAxisAngle; @docsEditable true
829 CSSMatrix rotateAxisAngle(num x, num y, num z, num angle) native;
830
831 /// @domName WebKitCSSMatrix.scale; @docsEditable true
832 CSSMatrix scale(num scaleX, num scaleY, num scaleZ) native;
833
834 /// @domName WebKitCSSMatrix.setMatrixValue; @docsEditable true
835 void setMatrixValue(String string) native;
836
837 /// @domName WebKitCSSMatrix.skewX; @docsEditable true
838 CSSMatrix skewX(num angle) native;
839
840 /// @domName WebKitCSSMatrix.skewY; @docsEditable true
841 CSSMatrix skewY(num angle) native;
842
843 /// @domName WebKitCSSMatrix.toString; @docsEditable true
844 String toString() native;
845
846 /// @domName WebKitCSSMatrix.translate; @docsEditable true
847 CSSMatrix translate(num x, num y, num z) native;
848 }
849 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
850 // for details. All rights reserved. Use of this source code is governed by a
851 // BSD-style license that can be found in the LICENSE file.
852
853
854 /// @domName CSSMediaRule; @docsEditable true
855 class CSSMediaRule extends CSSRule native "*CSSMediaRule" {
856
857 /// @domName CSSMediaRule.cssRules; @docsEditable true
858 @Returns('_CSSRuleList') @Creates('_CSSRuleList')
859 final List<CSSRule> cssRules;
860
861 /// @domName CSSMediaRule.media; @docsEditable true
862 final MediaList media;
863
864 /// @domName CSSMediaRule.deleteRule; @docsEditable true
865 void deleteRule(int index) native;
866
867 /// @domName CSSMediaRule.insertRule; @docsEditable true
868 int insertRule(String rule, int index) native;
869 }
870 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
871 // for details. All rights reserved. Use of this source code is governed by a
872 // BSD-style license that can be found in the LICENSE file.
873
874
875 /// @domName CSSPageRule; @docsEditable true
876 class CSSPageRule extends CSSRule native "*CSSPageRule" {
877
878 /// @domName CSSPageRule.selectorText; @docsEditable true
879 String selectorText;
880
881 /// @domName CSSPageRule.style; @docsEditable true
882 final CSSStyleDeclaration style;
883 }
884 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
885 // for details. All rights reserved. Use of this source code is governed by a
886 // BSD-style license that can be found in the LICENSE file.
887
888
889 /// @domName CSSPrimitiveValue; @docsEditable true
890 class CSSPrimitiveValue extends CSSValue native "*CSSPrimitiveValue" {
891
892 static const int CSS_ATTR = 22;
893
894 static const int CSS_CM = 6;
895
896 static const int CSS_COUNTER = 23;
897
898 static const int CSS_DEG = 11;
899
900 static const int CSS_DIMENSION = 18;
901
902 static const int CSS_EMS = 3;
903
904 static const int CSS_EXS = 4;
905
906 static const int CSS_GRAD = 13;
907
908 static const int CSS_HZ = 16;
909
910 static const int CSS_IDENT = 21;
911
912 static const int CSS_IN = 8;
913
914 static const int CSS_KHZ = 17;
915
916 static const int CSS_MM = 7;
917
918 static const int CSS_MS = 14;
919
920 static const int CSS_NUMBER = 1;
921
922 static const int CSS_PC = 10;
923
924 static const int CSS_PERCENTAGE = 2;
925
926 static const int CSS_PT = 9;
927
928 static const int CSS_PX = 5;
929
930 static const int CSS_RAD = 12;
931
932 static const int CSS_RECT = 24;
933
934 static const int CSS_RGBCOLOR = 25;
935
936 static const int CSS_S = 15;
937
938 static const int CSS_STRING = 19;
939
940 static const int CSS_UNKNOWN = 0;
941
942 static const int CSS_URI = 20;
943
944 static const int CSS_VH = 27;
945
946 static const int CSS_VMIN = 28;
947
948 static const int CSS_VW = 26;
949
950 /// @domName CSSPrimitiveValue.primitiveType; @docsEditable true
951 final int primitiveType;
952
953 /// @domName CSSPrimitiveValue.getCounterValue; @docsEditable true
954 Counter getCounterValue() native;
955
956 /// @domName CSSPrimitiveValue.getFloatValue; @docsEditable true
957 num getFloatValue(int unitType) native;
958
959 /// @domName CSSPrimitiveValue.getRGBColorValue; @docsEditable true
960 @JSName('getRGBColorValue')
961 RGBColor getRgbColorValue() native;
962
963 /// @domName CSSPrimitiveValue.getRectValue; @docsEditable true
964 Rect getRectValue() native;
965
966 /// @domName CSSPrimitiveValue.getStringValue; @docsEditable true
967 String getStringValue() native;
968
969 /// @domName CSSPrimitiveValue.setFloatValue; @docsEditable true
970 void setFloatValue(int unitType, num floatValue) native;
971
972 /// @domName CSSPrimitiveValue.setStringValue; @docsEditable true
973 void setStringValue(int stringType, String stringValue) native;
974 }
975 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
976 // for details. All rights reserved. Use of this source code is governed by a
977 // BSD-style license that can be found in the LICENSE file.
978
979
980 /// @domName CSSRule; @docsEditable true
981 class CSSRule native "*CSSRule" {
982
983 static const int CHARSET_RULE = 2;
984
985 static const int FONT_FACE_RULE = 5;
986
987 static const int IMPORT_RULE = 3;
988
989 static const int MEDIA_RULE = 4;
990
991 static const int PAGE_RULE = 6;
992
993 static const int STYLE_RULE = 1;
994
995 static const int UNKNOWN_RULE = 0;
996
997 static const int WEBKIT_KEYFRAMES_RULE = 7;
998
999 static const int WEBKIT_KEYFRAME_RULE = 8;
1000
1001 /// @domName CSSRule.cssText; @docsEditable true
1002 String cssText;
1003
1004 /// @domName CSSRule.parentRule; @docsEditable true
1005 final CSSRule parentRule;
1006
1007 /// @domName CSSRule.parentStyleSheet; @docsEditable true
1008 final CSSStyleSheet parentStyleSheet;
1009
1010 /// @domName CSSRule.type; @docsEditable true
1011 final int type;
1012 }
1013 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1014 // for details. All rights reserved. Use of this source code is governed by a
1015 // BSD-style license that can be found in the LICENSE file.
1016
1017
1018 String _cachedBrowserPrefix;
1019
1020 String get _browserPrefix {
1021 if (_cachedBrowserPrefix == null) {
1022 if (_Device.isFirefox) {
1023 _cachedBrowserPrefix = '-moz-';
1024 } else if (_Device.isIE) {
1025 _cachedBrowserPrefix = '-ms-';
1026 } else if (_Device.isOpera) {
1027 _cachedBrowserPrefix = '-o-';
1028 } else {
1029 _cachedBrowserPrefix = '-webkit-';
1030 }
1031 }
1032 return _cachedBrowserPrefix;
1033 }
1034
1035 /// @domName CSSStyleDeclaration
1036 class CSSStyleDeclaration native "*CSSStyleDeclaration" {
1037 factory CSSStyleDeclaration() => _CSSStyleDeclarationFactoryProvider.createCSS StyleDeclaration();
1038 factory CSSStyleDeclaration.css(String css) =>
1039 _CSSStyleDeclarationFactoryProvider.createCSSStyleDeclaration_css(css);
1040
1041
1042 /// @domName CSSStyleDeclaration.cssText; @docsEditable true
1043 String cssText;
1044
1045 /// @domName CSSStyleDeclaration.length; @docsEditable true
1046 final int length;
1047
1048 /// @domName CSSStyleDeclaration.parentRule; @docsEditable true
1049 final CSSRule parentRule;
1050
1051 /// @domName CSSStyleDeclaration.getPropertyCSSValue; @docsEditable true
1052 @JSName('getPropertyCSSValue')
1053 CSSValue getPropertyCssValue(String propertyName) native;
1054
1055 /// @domName CSSStyleDeclaration.getPropertyPriority; @docsEditable true
1056 String getPropertyPriority(String propertyName) native;
1057
1058 /// @domName CSSStyleDeclaration.getPropertyShorthand; @docsEditable true
1059 String getPropertyShorthand(String propertyName) native;
1060
1061 /// @domName CSSStyleDeclaration._getPropertyValue; @docsEditable true
1062 @JSName('getPropertyValue')
1063 String _getPropertyValue(String propertyName) native;
1064
1065 /// @domName CSSStyleDeclaration.isPropertyImplicit; @docsEditable true
1066 bool isPropertyImplicit(String propertyName) native;
1067
1068 /// @domName CSSStyleDeclaration.item; @docsEditable true
1069 String item(int index) native;
1070
1071 /// @domName CSSStyleDeclaration.removeProperty; @docsEditable true
1072 String removeProperty(String propertyName) native;
1073
1074
1075 String getPropertyValue(String propertyName) {
1076 var propValue = _getPropertyValue(propertyName);
1077 return propValue != null ? propValue : '';
1078 }
1079
1080 void setProperty(String propertyName, String value, [String priority]) {
1081 JS('void', '#.setProperty(#, #, #)', this, propertyName, value, priority);
1082 // Bug #2772, IE9 requires a poke to actually apply the value.
1083 if (JS('bool', '!!#.setAttribute', this)) {
1084 JS('void', '#.setAttribute(#, #)', this, propertyName, value);
1085 }
1086 }
1087
1088 // TODO(jacobr): generate this list of properties using the existing script.
1089 /** Gets the value of "align-content" */
1090 String get alignContent =>
1091 getPropertyValue('${_browserPrefix}align-content');
1092
1093 /** Sets the value of "align-content" */
1094 void set alignContent(String value) {
1095 setProperty('${_browserPrefix}align-content', value, '');
1096 }
1097
1098 /** Gets the value of "align-items" */
1099 String get alignItems =>
1100 getPropertyValue('${_browserPrefix}align-items');
1101
1102 /** Sets the value of "align-items" */
1103 void set alignItems(String value) {
1104 setProperty('${_browserPrefix}align-items', value, '');
1105 }
1106
1107 /** Gets the value of "align-self" */
1108 String get alignSelf =>
1109 getPropertyValue('${_browserPrefix}align-self');
1110
1111 /** Sets the value of "align-self" */
1112 void set alignSelf(String value) {
1113 setProperty('${_browserPrefix}align-self', value, '');
1114 }
1115
1116 /** Gets the value of "animation" */
1117 String get animation =>
1118 getPropertyValue('${_browserPrefix}animation');
1119
1120 /** Sets the value of "animation" */
1121 void set animation(String value) {
1122 setProperty('${_browserPrefix}animation', value, '');
1123 }
1124
1125 /** Gets the value of "animation-delay" */
1126 String get animationDelay =>
1127 getPropertyValue('${_browserPrefix}animation-delay');
1128
1129 /** Sets the value of "animation-delay" */
1130 void set animationDelay(String value) {
1131 setProperty('${_browserPrefix}animation-delay', value, '');
1132 }
1133
1134 /** Gets the value of "animation-direction" */
1135 String get animationDirection =>
1136 getPropertyValue('${_browserPrefix}animation-direction');
1137
1138 /** Sets the value of "animation-direction" */
1139 void set animationDirection(String value) {
1140 setProperty('${_browserPrefix}animation-direction', value, '');
1141 }
1142
1143 /** Gets the value of "animation-duration" */
1144 String get animationDuration =>
1145 getPropertyValue('${_browserPrefix}animation-duration');
1146
1147 /** Sets the value of "animation-duration" */
1148 void set animationDuration(String value) {
1149 setProperty('${_browserPrefix}animation-duration', value, '');
1150 }
1151
1152 /** Gets the value of "animation-fill-mode" */
1153 String get animationFillMode =>
1154 getPropertyValue('${_browserPrefix}animation-fill-mode');
1155
1156 /** Sets the value of "animation-fill-mode" */
1157 void set animationFillMode(String value) {
1158 setProperty('${_browserPrefix}animation-fill-mode', value, '');
1159 }
1160
1161 /** Gets the value of "animation-iteration-count" */
1162 String get animationIterationCount =>
1163 getPropertyValue('${_browserPrefix}animation-iteration-count');
1164
1165 /** Sets the value of "animation-iteration-count" */
1166 void set animationIterationCount(String value) {
1167 setProperty('${_browserPrefix}animation-iteration-count', value, '');
1168 }
1169
1170 /** Gets the value of "animation-name" */
1171 String get animationName =>
1172 getPropertyValue('${_browserPrefix}animation-name');
1173
1174 /** Sets the value of "animation-name" */
1175 void set animationName(String value) {
1176 setProperty('${_browserPrefix}animation-name', value, '');
1177 }
1178
1179 /** Gets the value of "animation-play-state" */
1180 String get animationPlayState =>
1181 getPropertyValue('${_browserPrefix}animation-play-state');
1182
1183 /** Sets the value of "animation-play-state" */
1184 void set animationPlayState(String value) {
1185 setProperty('${_browserPrefix}animation-play-state', value, '');
1186 }
1187
1188 /** Gets the value of "animation-timing-function" */
1189 String get animationTimingFunction =>
1190 getPropertyValue('${_browserPrefix}animation-timing-function');
1191
1192 /** Sets the value of "animation-timing-function" */
1193 void set animationTimingFunction(String value) {
1194 setProperty('${_browserPrefix}animation-timing-function', value, '');
1195 }
1196
1197 /** Gets the value of "app-region" */
1198 String get appRegion =>
1199 getPropertyValue('${_browserPrefix}app-region');
1200
1201 /** Sets the value of "app-region" */
1202 void set appRegion(String value) {
1203 setProperty('${_browserPrefix}app-region', value, '');
1204 }
1205
1206 /** Gets the value of "appearance" */
1207 String get appearance =>
1208 getPropertyValue('${_browserPrefix}appearance');
1209
1210 /** Sets the value of "appearance" */
1211 void set appearance(String value) {
1212 setProperty('${_browserPrefix}appearance', value, '');
1213 }
1214
1215 /** Gets the value of "aspect-ratio" */
1216 String get aspectRatio =>
1217 getPropertyValue('${_browserPrefix}aspect-ratio');
1218
1219 /** Sets the value of "aspect-ratio" */
1220 void set aspectRatio(String value) {
1221 setProperty('${_browserPrefix}aspect-ratio', value, '');
1222 }
1223
1224 /** Gets the value of "backface-visibility" */
1225 String get backfaceVisibility =>
1226 getPropertyValue('${_browserPrefix}backface-visibility');
1227
1228 /** Sets the value of "backface-visibility" */
1229 void set backfaceVisibility(String value) {
1230 setProperty('${_browserPrefix}backface-visibility', value, '');
1231 }
1232
1233 /** Gets the value of "background" */
1234 String get background =>
1235 getPropertyValue('background');
1236
1237 /** Sets the value of "background" */
1238 void set background(String value) {
1239 setProperty('background', value, '');
1240 }
1241
1242 /** Gets the value of "background-attachment" */
1243 String get backgroundAttachment =>
1244 getPropertyValue('background-attachment');
1245
1246 /** Sets the value of "background-attachment" */
1247 void set backgroundAttachment(String value) {
1248 setProperty('background-attachment', value, '');
1249 }
1250
1251 /** Gets the value of "background-clip" */
1252 String get backgroundClip =>
1253 getPropertyValue('background-clip');
1254
1255 /** Sets the value of "background-clip" */
1256 void set backgroundClip(String value) {
1257 setProperty('background-clip', value, '');
1258 }
1259
1260 /** Gets the value of "background-color" */
1261 String get backgroundColor =>
1262 getPropertyValue('background-color');
1263
1264 /** Sets the value of "background-color" */
1265 void set backgroundColor(String value) {
1266 setProperty('background-color', value, '');
1267 }
1268
1269 /** Gets the value of "background-composite" */
1270 String get backgroundComposite =>
1271 getPropertyValue('${_browserPrefix}background-composite');
1272
1273 /** Sets the value of "background-composite" */
1274 void set backgroundComposite(String value) {
1275 setProperty('${_browserPrefix}background-composite', value, '');
1276 }
1277
1278 /** Gets the value of "background-image" */
1279 String get backgroundImage =>
1280 getPropertyValue('background-image');
1281
1282 /** Sets the value of "background-image" */
1283 void set backgroundImage(String value) {
1284 setProperty('background-image', value, '');
1285 }
1286
1287 /** Gets the value of "background-origin" */
1288 String get backgroundOrigin =>
1289 getPropertyValue('background-origin');
1290
1291 /** Sets the value of "background-origin" */
1292 void set backgroundOrigin(String value) {
1293 setProperty('background-origin', value, '');
1294 }
1295
1296 /** Gets the value of "background-position" */
1297 String get backgroundPosition =>
1298 getPropertyValue('background-position');
1299
1300 /** Sets the value of "background-position" */
1301 void set backgroundPosition(String value) {
1302 setProperty('background-position', value, '');
1303 }
1304
1305 /** Gets the value of "background-position-x" */
1306 String get backgroundPositionX =>
1307 getPropertyValue('background-position-x');
1308
1309 /** Sets the value of "background-position-x" */
1310 void set backgroundPositionX(String value) {
1311 setProperty('background-position-x', value, '');
1312 }
1313
1314 /** Gets the value of "background-position-y" */
1315 String get backgroundPositionY =>
1316 getPropertyValue('background-position-y');
1317
1318 /** Sets the value of "background-position-y" */
1319 void set backgroundPositionY(String value) {
1320 setProperty('background-position-y', value, '');
1321 }
1322
1323 /** Gets the value of "background-repeat" */
1324 String get backgroundRepeat =>
1325 getPropertyValue('background-repeat');
1326
1327 /** Sets the value of "background-repeat" */
1328 void set backgroundRepeat(String value) {
1329 setProperty('background-repeat', value, '');
1330 }
1331
1332 /** Gets the value of "background-repeat-x" */
1333 String get backgroundRepeatX =>
1334 getPropertyValue('background-repeat-x');
1335
1336 /** Sets the value of "background-repeat-x" */
1337 void set backgroundRepeatX(String value) {
1338 setProperty('background-repeat-x', value, '');
1339 }
1340
1341 /** Gets the value of "background-repeat-y" */
1342 String get backgroundRepeatY =>
1343 getPropertyValue('background-repeat-y');
1344
1345 /** Sets the value of "background-repeat-y" */
1346 void set backgroundRepeatY(String value) {
1347 setProperty('background-repeat-y', value, '');
1348 }
1349
1350 /** Gets the value of "background-size" */
1351 String get backgroundSize =>
1352 getPropertyValue('background-size');
1353
1354 /** Sets the value of "background-size" */
1355 void set backgroundSize(String value) {
1356 setProperty('background-size', value, '');
1357 }
1358
1359 /** Gets the value of "blend-mode" */
1360 String get blendMode =>
1361 getPropertyValue('${_browserPrefix}blend-mode');
1362
1363 /** Sets the value of "blend-mode" */
1364 void set blendMode(String value) {
1365 setProperty('${_browserPrefix}blend-mode', value, '');
1366 }
1367
1368 /** Gets the value of "border" */
1369 String get border =>
1370 getPropertyValue('border');
1371
1372 /** Sets the value of "border" */
1373 void set border(String value) {
1374 setProperty('border', value, '');
1375 }
1376
1377 /** Gets the value of "border-after" */
1378 String get borderAfter =>
1379 getPropertyValue('${_browserPrefix}border-after');
1380
1381 /** Sets the value of "border-after" */
1382 void set borderAfter(String value) {
1383 setProperty('${_browserPrefix}border-after', value, '');
1384 }
1385
1386 /** Gets the value of "border-after-color" */
1387 String get borderAfterColor =>
1388 getPropertyValue('${_browserPrefix}border-after-color');
1389
1390 /** Sets the value of "border-after-color" */
1391 void set borderAfterColor(String value) {
1392 setProperty('${_browserPrefix}border-after-color', value, '');
1393 }
1394
1395 /** Gets the value of "border-after-style" */
1396 String get borderAfterStyle =>
1397 getPropertyValue('${_browserPrefix}border-after-style');
1398
1399 /** Sets the value of "border-after-style" */
1400 void set borderAfterStyle(String value) {
1401 setProperty('${_browserPrefix}border-after-style', value, '');
1402 }
1403
1404 /** Gets the value of "border-after-width" */
1405 String get borderAfterWidth =>
1406 getPropertyValue('${_browserPrefix}border-after-width');
1407
1408 /** Sets the value of "border-after-width" */
1409 void set borderAfterWidth(String value) {
1410 setProperty('${_browserPrefix}border-after-width', value, '');
1411 }
1412
1413 /** Gets the value of "border-before" */
1414 String get borderBefore =>
1415 getPropertyValue('${_browserPrefix}border-before');
1416
1417 /** Sets the value of "border-before" */
1418 void set borderBefore(String value) {
1419 setProperty('${_browserPrefix}border-before', value, '');
1420 }
1421
1422 /** Gets the value of "border-before-color" */
1423 String get borderBeforeColor =>
1424 getPropertyValue('${_browserPrefix}border-before-color');
1425
1426 /** Sets the value of "border-before-color" */
1427 void set borderBeforeColor(String value) {
1428 setProperty('${_browserPrefix}border-before-color', value, '');
1429 }
1430
1431 /** Gets the value of "border-before-style" */
1432 String get borderBeforeStyle =>
1433 getPropertyValue('${_browserPrefix}border-before-style');
1434
1435 /** Sets the value of "border-before-style" */
1436 void set borderBeforeStyle(String value) {
1437 setProperty('${_browserPrefix}border-before-style', value, '');
1438 }
1439
1440 /** Gets the value of "border-before-width" */
1441 String get borderBeforeWidth =>
1442 getPropertyValue('${_browserPrefix}border-before-width');
1443
1444 /** Sets the value of "border-before-width" */
1445 void set borderBeforeWidth(String value) {
1446 setProperty('${_browserPrefix}border-before-width', value, '');
1447 }
1448
1449 /** Gets the value of "border-bottom" */
1450 String get borderBottom =>
1451 getPropertyValue('border-bottom');
1452
1453 /** Sets the value of "border-bottom" */
1454 void set borderBottom(String value) {
1455 setProperty('border-bottom', value, '');
1456 }
1457
1458 /** Gets the value of "border-bottom-color" */
1459 String get borderBottomColor =>
1460 getPropertyValue('border-bottom-color');
1461
1462 /** Sets the value of "border-bottom-color" */
1463 void set borderBottomColor(String value) {
1464 setProperty('border-bottom-color', value, '');
1465 }
1466
1467 /** Gets the value of "border-bottom-left-radius" */
1468 String get borderBottomLeftRadius =>
1469 getPropertyValue('border-bottom-left-radius');
1470
1471 /** Sets the value of "border-bottom-left-radius" */
1472 void set borderBottomLeftRadius(String value) {
1473 setProperty('border-bottom-left-radius', value, '');
1474 }
1475
1476 /** Gets the value of "border-bottom-right-radius" */
1477 String get borderBottomRightRadius =>
1478 getPropertyValue('border-bottom-right-radius');
1479
1480 /** Sets the value of "border-bottom-right-radius" */
1481 void set borderBottomRightRadius(String value) {
1482 setProperty('border-bottom-right-radius', value, '');
1483 }
1484
1485 /** Gets the value of "border-bottom-style" */
1486 String get borderBottomStyle =>
1487 getPropertyValue('border-bottom-style');
1488
1489 /** Sets the value of "border-bottom-style" */
1490 void set borderBottomStyle(String value) {
1491 setProperty('border-bottom-style', value, '');
1492 }
1493
1494 /** Gets the value of "border-bottom-width" */
1495 String get borderBottomWidth =>
1496 getPropertyValue('border-bottom-width');
1497
1498 /** Sets the value of "border-bottom-width" */
1499 void set borderBottomWidth(String value) {
1500 setProperty('border-bottom-width', value, '');
1501 }
1502
1503 /** Gets the value of "border-collapse" */
1504 String get borderCollapse =>
1505 getPropertyValue('border-collapse');
1506
1507 /** Sets the value of "border-collapse" */
1508 void set borderCollapse(String value) {
1509 setProperty('border-collapse', value, '');
1510 }
1511
1512 /** Gets the value of "border-color" */
1513 String get borderColor =>
1514 getPropertyValue('border-color');
1515
1516 /** Sets the value of "border-color" */
1517 void set borderColor(String value) {
1518 setProperty('border-color', value, '');
1519 }
1520
1521 /** Gets the value of "border-end" */
1522 String get borderEnd =>
1523 getPropertyValue('${_browserPrefix}border-end');
1524
1525 /** Sets the value of "border-end" */
1526 void set borderEnd(String value) {
1527 setProperty('${_browserPrefix}border-end', value, '');
1528 }
1529
1530 /** Gets the value of "border-end-color" */
1531 String get borderEndColor =>
1532 getPropertyValue('${_browserPrefix}border-end-color');
1533
1534 /** Sets the value of "border-end-color" */
1535 void set borderEndColor(String value) {
1536 setProperty('${_browserPrefix}border-end-color', value, '');
1537 }
1538
1539 /** Gets the value of "border-end-style" */
1540 String get borderEndStyle =>
1541 getPropertyValue('${_browserPrefix}border-end-style');
1542
1543 /** Sets the value of "border-end-style" */
1544 void set borderEndStyle(String value) {
1545 setProperty('${_browserPrefix}border-end-style', value, '');
1546 }
1547
1548 /** Gets the value of "border-end-width" */
1549 String get borderEndWidth =>
1550 getPropertyValue('${_browserPrefix}border-end-width');
1551
1552 /** Sets the value of "border-end-width" */
1553 void set borderEndWidth(String value) {
1554 setProperty('${_browserPrefix}border-end-width', value, '');
1555 }
1556
1557 /** Gets the value of "border-fit" */
1558 String get borderFit =>
1559 getPropertyValue('${_browserPrefix}border-fit');
1560
1561 /** Sets the value of "border-fit" */
1562 void set borderFit(String value) {
1563 setProperty('${_browserPrefix}border-fit', value, '');
1564 }
1565
1566 /** Gets the value of "border-horizontal-spacing" */
1567 String get borderHorizontalSpacing =>
1568 getPropertyValue('${_browserPrefix}border-horizontal-spacing');
1569
1570 /** Sets the value of "border-horizontal-spacing" */
1571 void set borderHorizontalSpacing(String value) {
1572 setProperty('${_browserPrefix}border-horizontal-spacing', value, '');
1573 }
1574
1575 /** Gets the value of "border-image" */
1576 String get borderImage =>
1577 getPropertyValue('border-image');
1578
1579 /** Sets the value of "border-image" */
1580 void set borderImage(String value) {
1581 setProperty('border-image', value, '');
1582 }
1583
1584 /** Gets the value of "border-image-outset" */
1585 String get borderImageOutset =>
1586 getPropertyValue('border-image-outset');
1587
1588 /** Sets the value of "border-image-outset" */
1589 void set borderImageOutset(String value) {
1590 setProperty('border-image-outset', value, '');
1591 }
1592
1593 /** Gets the value of "border-image-repeat" */
1594 String get borderImageRepeat =>
1595 getPropertyValue('border-image-repeat');
1596
1597 /** Sets the value of "border-image-repeat" */
1598 void set borderImageRepeat(String value) {
1599 setProperty('border-image-repeat', value, '');
1600 }
1601
1602 /** Gets the value of "border-image-slice" */
1603 String get borderImageSlice =>
1604 getPropertyValue('border-image-slice');
1605
1606 /** Sets the value of "border-image-slice" */
1607 void set borderImageSlice(String value) {
1608 setProperty('border-image-slice', value, '');
1609 }
1610
1611 /** Gets the value of "border-image-source" */
1612 String get borderImageSource =>
1613 getPropertyValue('border-image-source');
1614
1615 /** Sets the value of "border-image-source" */
1616 void set borderImageSource(String value) {
1617 setProperty('border-image-source', value, '');
1618 }
1619
1620 /** Gets the value of "border-image-width" */
1621 String get borderImageWidth =>
1622 getPropertyValue('border-image-width');
1623
1624 /** Sets the value of "border-image-width" */
1625 void set borderImageWidth(String value) {
1626 setProperty('border-image-width', value, '');
1627 }
1628
1629 /** Gets the value of "border-left" */
1630 String get borderLeft =>
1631 getPropertyValue('border-left');
1632
1633 /** Sets the value of "border-left" */
1634 void set borderLeft(String value) {
1635 setProperty('border-left', value, '');
1636 }
1637
1638 /** Gets the value of "border-left-color" */
1639 String get borderLeftColor =>
1640 getPropertyValue('border-left-color');
1641
1642 /** Sets the value of "border-left-color" */
1643 void set borderLeftColor(String value) {
1644 setProperty('border-left-color', value, '');
1645 }
1646
1647 /** Gets the value of "border-left-style" */
1648 String get borderLeftStyle =>
1649 getPropertyValue('border-left-style');
1650
1651 /** Sets the value of "border-left-style" */
1652 void set borderLeftStyle(String value) {
1653 setProperty('border-left-style', value, '');
1654 }
1655
1656 /** Gets the value of "border-left-width" */
1657 String get borderLeftWidth =>
1658 getPropertyValue('border-left-width');
1659
1660 /** Sets the value of "border-left-width" */
1661 void set borderLeftWidth(String value) {
1662 setProperty('border-left-width', value, '');
1663 }
1664
1665 /** Gets the value of "border-radius" */
1666 String get borderRadius =>
1667 getPropertyValue('border-radius');
1668
1669 /** Sets the value of "border-radius" */
1670 void set borderRadius(String value) {
1671 setProperty('border-radius', value, '');
1672 }
1673
1674 /** Gets the value of "border-right" */
1675 String get borderRight =>
1676 getPropertyValue('border-right');
1677
1678 /** Sets the value of "border-right" */
1679 void set borderRight(String value) {
1680 setProperty('border-right', value, '');
1681 }
1682
1683 /** Gets the value of "border-right-color" */
1684 String get borderRightColor =>
1685 getPropertyValue('border-right-color');
1686
1687 /** Sets the value of "border-right-color" */
1688 void set borderRightColor(String value) {
1689 setProperty('border-right-color', value, '');
1690 }
1691
1692 /** Gets the value of "border-right-style" */
1693 String get borderRightStyle =>
1694 getPropertyValue('border-right-style');
1695
1696 /** Sets the value of "border-right-style" */
1697 void set borderRightStyle(String value) {
1698 setProperty('border-right-style', value, '');
1699 }
1700
1701 /** Gets the value of "border-right-width" */
1702 String get borderRightWidth =>
1703 getPropertyValue('border-right-width');
1704
1705 /** Sets the value of "border-right-width" */
1706 void set borderRightWidth(String value) {
1707 setProperty('border-right-width', value, '');
1708 }
1709
1710 /** Gets the value of "border-spacing" */
1711 String get borderSpacing =>
1712 getPropertyValue('border-spacing');
1713
1714 /** Sets the value of "border-spacing" */
1715 void set borderSpacing(String value) {
1716 setProperty('border-spacing', value, '');
1717 }
1718
1719 /** Gets the value of "border-start" */
1720 String get borderStart =>
1721 getPropertyValue('${_browserPrefix}border-start');
1722
1723 /** Sets the value of "border-start" */
1724 void set borderStart(String value) {
1725 setProperty('${_browserPrefix}border-start', value, '');
1726 }
1727
1728 /** Gets the value of "border-start-color" */
1729 String get borderStartColor =>
1730 getPropertyValue('${_browserPrefix}border-start-color');
1731
1732 /** Sets the value of "border-start-color" */
1733 void set borderStartColor(String value) {
1734 setProperty('${_browserPrefix}border-start-color', value, '');
1735 }
1736
1737 /** Gets the value of "border-start-style" */
1738 String get borderStartStyle =>
1739 getPropertyValue('${_browserPrefix}border-start-style');
1740
1741 /** Sets the value of "border-start-style" */
1742 void set borderStartStyle(String value) {
1743 setProperty('${_browserPrefix}border-start-style', value, '');
1744 }
1745
1746 /** Gets the value of "border-start-width" */
1747 String get borderStartWidth =>
1748 getPropertyValue('${_browserPrefix}border-start-width');
1749
1750 /** Sets the value of "border-start-width" */
1751 void set borderStartWidth(String value) {
1752 setProperty('${_browserPrefix}border-start-width', value, '');
1753 }
1754
1755 /** Gets the value of "border-style" */
1756 String get borderStyle =>
1757 getPropertyValue('border-style');
1758
1759 /** Sets the value of "border-style" */
1760 void set borderStyle(String value) {
1761 setProperty('border-style', value, '');
1762 }
1763
1764 /** Gets the value of "border-top" */
1765 String get borderTop =>
1766 getPropertyValue('border-top');
1767
1768 /** Sets the value of "border-top" */
1769 void set borderTop(String value) {
1770 setProperty('border-top', value, '');
1771 }
1772
1773 /** Gets the value of "border-top-color" */
1774 String get borderTopColor =>
1775 getPropertyValue('border-top-color');
1776
1777 /** Sets the value of "border-top-color" */
1778 void set borderTopColor(String value) {
1779 setProperty('border-top-color', value, '');
1780 }
1781
1782 /** Gets the value of "border-top-left-radius" */
1783 String get borderTopLeftRadius =>
1784 getPropertyValue('border-top-left-radius');
1785
1786 /** Sets the value of "border-top-left-radius" */
1787 void set borderTopLeftRadius(String value) {
1788 setProperty('border-top-left-radius', value, '');
1789 }
1790
1791 /** Gets the value of "border-top-right-radius" */
1792 String get borderTopRightRadius =>
1793 getPropertyValue('border-top-right-radius');
1794
1795 /** Sets the value of "border-top-right-radius" */
1796 void set borderTopRightRadius(String value) {
1797 setProperty('border-top-right-radius', value, '');
1798 }
1799
1800 /** Gets the value of "border-top-style" */
1801 String get borderTopStyle =>
1802 getPropertyValue('border-top-style');
1803
1804 /** Sets the value of "border-top-style" */
1805 void set borderTopStyle(String value) {
1806 setProperty('border-top-style', value, '');
1807 }
1808
1809 /** Gets the value of "border-top-width" */
1810 String get borderTopWidth =>
1811 getPropertyValue('border-top-width');
1812
1813 /** Sets the value of "border-top-width" */
1814 void set borderTopWidth(String value) {
1815 setProperty('border-top-width', value, '');
1816 }
1817
1818 /** Gets the value of "border-vertical-spacing" */
1819 String get borderVerticalSpacing =>
1820 getPropertyValue('${_browserPrefix}border-vertical-spacing');
1821
1822 /** Sets the value of "border-vertical-spacing" */
1823 void set borderVerticalSpacing(String value) {
1824 setProperty('${_browserPrefix}border-vertical-spacing', value, '');
1825 }
1826
1827 /** Gets the value of "border-width" */
1828 String get borderWidth =>
1829 getPropertyValue('border-width');
1830
1831 /** Sets the value of "border-width" */
1832 void set borderWidth(String value) {
1833 setProperty('border-width', value, '');
1834 }
1835
1836 /** Gets the value of "bottom" */
1837 String get bottom =>
1838 getPropertyValue('bottom');
1839
1840 /** Sets the value of "bottom" */
1841 void set bottom(String value) {
1842 setProperty('bottom', value, '');
1843 }
1844
1845 /** Gets the value of "box-align" */
1846 String get boxAlign =>
1847 getPropertyValue('${_browserPrefix}box-align');
1848
1849 /** Sets the value of "box-align" */
1850 void set boxAlign(String value) {
1851 setProperty('${_browserPrefix}box-align', value, '');
1852 }
1853
1854 /** Gets the value of "box-decoration-break" */
1855 String get boxDecorationBreak =>
1856 getPropertyValue('${_browserPrefix}box-decoration-break');
1857
1858 /** Sets the value of "box-decoration-break" */
1859 void set boxDecorationBreak(String value) {
1860 setProperty('${_browserPrefix}box-decoration-break', value, '');
1861 }
1862
1863 /** Gets the value of "box-direction" */
1864 String get boxDirection =>
1865 getPropertyValue('${_browserPrefix}box-direction');
1866
1867 /** Sets the value of "box-direction" */
1868 void set boxDirection(String value) {
1869 setProperty('${_browserPrefix}box-direction', value, '');
1870 }
1871
1872 /** Gets the value of "box-flex" */
1873 String get boxFlex =>
1874 getPropertyValue('${_browserPrefix}box-flex');
1875
1876 /** Sets the value of "box-flex" */
1877 void set boxFlex(String value) {
1878 setProperty('${_browserPrefix}box-flex', value, '');
1879 }
1880
1881 /** Gets the value of "box-flex-group" */
1882 String get boxFlexGroup =>
1883 getPropertyValue('${_browserPrefix}box-flex-group');
1884
1885 /** Sets the value of "box-flex-group" */
1886 void set boxFlexGroup(String value) {
1887 setProperty('${_browserPrefix}box-flex-group', value, '');
1888 }
1889
1890 /** Gets the value of "box-lines" */
1891 String get boxLines =>
1892 getPropertyValue('${_browserPrefix}box-lines');
1893
1894 /** Sets the value of "box-lines" */
1895 void set boxLines(String value) {
1896 setProperty('${_browserPrefix}box-lines', value, '');
1897 }
1898
1899 /** Gets the value of "box-ordinal-group" */
1900 String get boxOrdinalGroup =>
1901 getPropertyValue('${_browserPrefix}box-ordinal-group');
1902
1903 /** Sets the value of "box-ordinal-group" */
1904 void set boxOrdinalGroup(String value) {
1905 setProperty('${_browserPrefix}box-ordinal-group', value, '');
1906 }
1907
1908 /** Gets the value of "box-orient" */
1909 String get boxOrient =>
1910 getPropertyValue('${_browserPrefix}box-orient');
1911
1912 /** Sets the value of "box-orient" */
1913 void set boxOrient(String value) {
1914 setProperty('${_browserPrefix}box-orient', value, '');
1915 }
1916
1917 /** Gets the value of "box-pack" */
1918 String get boxPack =>
1919 getPropertyValue('${_browserPrefix}box-pack');
1920
1921 /** Sets the value of "box-pack" */
1922 void set boxPack(String value) {
1923 setProperty('${_browserPrefix}box-pack', value, '');
1924 }
1925
1926 /** Gets the value of "box-reflect" */
1927 String get boxReflect =>
1928 getPropertyValue('${_browserPrefix}box-reflect');
1929
1930 /** Sets the value of "box-reflect" */
1931 void set boxReflect(String value) {
1932 setProperty('${_browserPrefix}box-reflect', value, '');
1933 }
1934
1935 /** Gets the value of "box-shadow" */
1936 String get boxShadow =>
1937 getPropertyValue('box-shadow');
1938
1939 /** Sets the value of "box-shadow" */
1940 void set boxShadow(String value) {
1941 setProperty('box-shadow', value, '');
1942 }
1943
1944 /** Gets the value of "box-sizing" */
1945 String get boxSizing =>
1946 getPropertyValue('box-sizing');
1947
1948 /** Sets the value of "box-sizing" */
1949 void set boxSizing(String value) {
1950 setProperty('box-sizing', value, '');
1951 }
1952
1953 /** Gets the value of "caption-side" */
1954 String get captionSide =>
1955 getPropertyValue('caption-side');
1956
1957 /** Sets the value of "caption-side" */
1958 void set captionSide(String value) {
1959 setProperty('caption-side', value, '');
1960 }
1961
1962 /** Gets the value of "clear" */
1963 String get clear =>
1964 getPropertyValue('clear');
1965
1966 /** Sets the value of "clear" */
1967 void set clear(String value) {
1968 setProperty('clear', value, '');
1969 }
1970
1971 /** Gets the value of "clip" */
1972 String get clip =>
1973 getPropertyValue('clip');
1974
1975 /** Sets the value of "clip" */
1976 void set clip(String value) {
1977 setProperty('clip', value, '');
1978 }
1979
1980 /** Gets the value of "clip-path" */
1981 String get clipPath =>
1982 getPropertyValue('${_browserPrefix}clip-path');
1983
1984 /** Sets the value of "clip-path" */
1985 void set clipPath(String value) {
1986 setProperty('${_browserPrefix}clip-path', value, '');
1987 }
1988
1989 /** Gets the value of "color" */
1990 String get color =>
1991 getPropertyValue('color');
1992
1993 /** Sets the value of "color" */
1994 void set color(String value) {
1995 setProperty('color', value, '');
1996 }
1997
1998 /** Gets the value of "color-correction" */
1999 String get colorCorrection =>
2000 getPropertyValue('${_browserPrefix}color-correction');
2001
2002 /** Sets the value of "color-correction" */
2003 void set colorCorrection(String value) {
2004 setProperty('${_browserPrefix}color-correction', value, '');
2005 }
2006
2007 /** Gets the value of "column-axis" */
2008 String get columnAxis =>
2009 getPropertyValue('${_browserPrefix}column-axis');
2010
2011 /** Sets the value of "column-axis" */
2012 void set columnAxis(String value) {
2013 setProperty('${_browserPrefix}column-axis', value, '');
2014 }
2015
2016 /** Gets the value of "column-break-after" */
2017 String get columnBreakAfter =>
2018 getPropertyValue('${_browserPrefix}column-break-after');
2019
2020 /** Sets the value of "column-break-after" */
2021 void set columnBreakAfter(String value) {
2022 setProperty('${_browserPrefix}column-break-after', value, '');
2023 }
2024
2025 /** Gets the value of "column-break-before" */
2026 String get columnBreakBefore =>
2027 getPropertyValue('${_browserPrefix}column-break-before');
2028
2029 /** Sets the value of "column-break-before" */
2030 void set columnBreakBefore(String value) {
2031 setProperty('${_browserPrefix}column-break-before', value, '');
2032 }
2033
2034 /** Gets the value of "column-break-inside" */
2035 String get columnBreakInside =>
2036 getPropertyValue('${_browserPrefix}column-break-inside');
2037
2038 /** Sets the value of "column-break-inside" */
2039 void set columnBreakInside(String value) {
2040 setProperty('${_browserPrefix}column-break-inside', value, '');
2041 }
2042
2043 /** Gets the value of "column-count" */
2044 String get columnCount =>
2045 getPropertyValue('${_browserPrefix}column-count');
2046
2047 /** Sets the value of "column-count" */
2048 void set columnCount(String value) {
2049 setProperty('${_browserPrefix}column-count', value, '');
2050 }
2051
2052 /** Gets the value of "column-gap" */
2053 String get columnGap =>
2054 getPropertyValue('${_browserPrefix}column-gap');
2055
2056 /** Sets the value of "column-gap" */
2057 void set columnGap(String value) {
2058 setProperty('${_browserPrefix}column-gap', value, '');
2059 }
2060
2061 /** Gets the value of "column-progression" */
2062 String get columnProgression =>
2063 getPropertyValue('${_browserPrefix}column-progression');
2064
2065 /** Sets the value of "column-progression" */
2066 void set columnProgression(String value) {
2067 setProperty('${_browserPrefix}column-progression', value, '');
2068 }
2069
2070 /** Gets the value of "column-rule" */
2071 String get columnRule =>
2072 getPropertyValue('${_browserPrefix}column-rule');
2073
2074 /** Sets the value of "column-rule" */
2075 void set columnRule(String value) {
2076 setProperty('${_browserPrefix}column-rule', value, '');
2077 }
2078
2079 /** Gets the value of "column-rule-color" */
2080 String get columnRuleColor =>
2081 getPropertyValue('${_browserPrefix}column-rule-color');
2082
2083 /** Sets the value of "column-rule-color" */
2084 void set columnRuleColor(String value) {
2085 setProperty('${_browserPrefix}column-rule-color', value, '');
2086 }
2087
2088 /** Gets the value of "column-rule-style" */
2089 String get columnRuleStyle =>
2090 getPropertyValue('${_browserPrefix}column-rule-style');
2091
2092 /** Sets the value of "column-rule-style" */
2093 void set columnRuleStyle(String value) {
2094 setProperty('${_browserPrefix}column-rule-style', value, '');
2095 }
2096
2097 /** Gets the value of "column-rule-width" */
2098 String get columnRuleWidth =>
2099 getPropertyValue('${_browserPrefix}column-rule-width');
2100
2101 /** Sets the value of "column-rule-width" */
2102 void set columnRuleWidth(String value) {
2103 setProperty('${_browserPrefix}column-rule-width', value, '');
2104 }
2105
2106 /** Gets the value of "column-span" */
2107 String get columnSpan =>
2108 getPropertyValue('${_browserPrefix}column-span');
2109
2110 /** Sets the value of "column-span" */
2111 void set columnSpan(String value) {
2112 setProperty('${_browserPrefix}column-span', value, '');
2113 }
2114
2115 /** Gets the value of "column-width" */
2116 String get columnWidth =>
2117 getPropertyValue('${_browserPrefix}column-width');
2118
2119 /** Sets the value of "column-width" */
2120 void set columnWidth(String value) {
2121 setProperty('${_browserPrefix}column-width', value, '');
2122 }
2123
2124 /** Gets the value of "columns" */
2125 String get columns =>
2126 getPropertyValue('${_browserPrefix}columns');
2127
2128 /** Sets the value of "columns" */
2129 void set columns(String value) {
2130 setProperty('${_browserPrefix}columns', value, '');
2131 }
2132
2133 /** Gets the value of "content" */
2134 String get content =>
2135 getPropertyValue('content');
2136
2137 /** Sets the value of "content" */
2138 void set content(String value) {
2139 setProperty('content', value, '');
2140 }
2141
2142 /** Gets the value of "counter-increment" */
2143 String get counterIncrement =>
2144 getPropertyValue('counter-increment');
2145
2146 /** Sets the value of "counter-increment" */
2147 void set counterIncrement(String value) {
2148 setProperty('counter-increment', value, '');
2149 }
2150
2151 /** Gets the value of "counter-reset" */
2152 String get counterReset =>
2153 getPropertyValue('counter-reset');
2154
2155 /** Sets the value of "counter-reset" */
2156 void set counterReset(String value) {
2157 setProperty('counter-reset', value, '');
2158 }
2159
2160 /** Gets the value of "cursor" */
2161 String get cursor =>
2162 getPropertyValue('cursor');
2163
2164 /** Sets the value of "cursor" */
2165 void set cursor(String value) {
2166 setProperty('cursor', value, '');
2167 }
2168
2169 /** Gets the value of "dashboard-region" */
2170 String get dashboardRegion =>
2171 getPropertyValue('${_browserPrefix}dashboard-region');
2172
2173 /** Sets the value of "dashboard-region" */
2174 void set dashboardRegion(String value) {
2175 setProperty('${_browserPrefix}dashboard-region', value, '');
2176 }
2177
2178 /** Gets the value of "direction" */
2179 String get direction =>
2180 getPropertyValue('direction');
2181
2182 /** Sets the value of "direction" */
2183 void set direction(String value) {
2184 setProperty('direction', value, '');
2185 }
2186
2187 /** Gets the value of "display" */
2188 String get display =>
2189 getPropertyValue('display');
2190
2191 /** Sets the value of "display" */
2192 void set display(String value) {
2193 setProperty('display', value, '');
2194 }
2195
2196 /** Gets the value of "empty-cells" */
2197 String get emptyCells =>
2198 getPropertyValue('empty-cells');
2199
2200 /** Sets the value of "empty-cells" */
2201 void set emptyCells(String value) {
2202 setProperty('empty-cells', value, '');
2203 }
2204
2205 /** Gets the value of "filter" */
2206 String get filter =>
2207 getPropertyValue('${_browserPrefix}filter');
2208
2209 /** Sets the value of "filter" */
2210 void set filter(String value) {
2211 setProperty('${_browserPrefix}filter', value, '');
2212 }
2213
2214 /** Gets the value of "flex" */
2215 String get flex =>
2216 getPropertyValue('${_browserPrefix}flex');
2217
2218 /** Sets the value of "flex" */
2219 void set flex(String value) {
2220 setProperty('${_browserPrefix}flex', value, '');
2221 }
2222
2223 /** Gets the value of "flex-basis" */
2224 String get flexBasis =>
2225 getPropertyValue('${_browserPrefix}flex-basis');
2226
2227 /** Sets the value of "flex-basis" */
2228 void set flexBasis(String value) {
2229 setProperty('${_browserPrefix}flex-basis', value, '');
2230 }
2231
2232 /** Gets the value of "flex-direction" */
2233 String get flexDirection =>
2234 getPropertyValue('${_browserPrefix}flex-direction');
2235
2236 /** Sets the value of "flex-direction" */
2237 void set flexDirection(String value) {
2238 setProperty('${_browserPrefix}flex-direction', value, '');
2239 }
2240
2241 /** Gets the value of "flex-flow" */
2242 String get flexFlow =>
2243 getPropertyValue('${_browserPrefix}flex-flow');
2244
2245 /** Sets the value of "flex-flow" */
2246 void set flexFlow(String value) {
2247 setProperty('${_browserPrefix}flex-flow', value, '');
2248 }
2249
2250 /** Gets the value of "flex-grow" */
2251 String get flexGrow =>
2252 getPropertyValue('${_browserPrefix}flex-grow');
2253
2254 /** Sets the value of "flex-grow" */
2255 void set flexGrow(String value) {
2256 setProperty('${_browserPrefix}flex-grow', value, '');
2257 }
2258
2259 /** Gets the value of "flex-shrink" */
2260 String get flexShrink =>
2261 getPropertyValue('${_browserPrefix}flex-shrink');
2262
2263 /** Sets the value of "flex-shrink" */
2264 void set flexShrink(String value) {
2265 setProperty('${_browserPrefix}flex-shrink', value, '');
2266 }
2267
2268 /** Gets the value of "flex-wrap" */
2269 String get flexWrap =>
2270 getPropertyValue('${_browserPrefix}flex-wrap');
2271
2272 /** Sets the value of "flex-wrap" */
2273 void set flexWrap(String value) {
2274 setProperty('${_browserPrefix}flex-wrap', value, '');
2275 }
2276
2277 /** Gets the value of "float" */
2278 String get float =>
2279 getPropertyValue('float');
2280
2281 /** Sets the value of "float" */
2282 void set float(String value) {
2283 setProperty('float', value, '');
2284 }
2285
2286 /** Gets the value of "flow-from" */
2287 String get flowFrom =>
2288 getPropertyValue('${_browserPrefix}flow-from');
2289
2290 /** Sets the value of "flow-from" */
2291 void set flowFrom(String value) {
2292 setProperty('${_browserPrefix}flow-from', value, '');
2293 }
2294
2295 /** Gets the value of "flow-into" */
2296 String get flowInto =>
2297 getPropertyValue('${_browserPrefix}flow-into');
2298
2299 /** Sets the value of "flow-into" */
2300 void set flowInto(String value) {
2301 setProperty('${_browserPrefix}flow-into', value, '');
2302 }
2303
2304 /** Gets the value of "font" */
2305 String get font =>
2306 getPropertyValue('font');
2307
2308 /** Sets the value of "font" */
2309 void set font(String value) {
2310 setProperty('font', value, '');
2311 }
2312
2313 /** Gets the value of "font-family" */
2314 String get fontFamily =>
2315 getPropertyValue('font-family');
2316
2317 /** Sets the value of "font-family" */
2318 void set fontFamily(String value) {
2319 setProperty('font-family', value, '');
2320 }
2321
2322 /** Gets the value of "font-feature-settings" */
2323 String get fontFeatureSettings =>
2324 getPropertyValue('${_browserPrefix}font-feature-settings');
2325
2326 /** Sets the value of "font-feature-settings" */
2327 void set fontFeatureSettings(String value) {
2328 setProperty('${_browserPrefix}font-feature-settings', value, '');
2329 }
2330
2331 /** Gets the value of "font-kerning" */
2332 String get fontKerning =>
2333 getPropertyValue('${_browserPrefix}font-kerning');
2334
2335 /** Sets the value of "font-kerning" */
2336 void set fontKerning(String value) {
2337 setProperty('${_browserPrefix}font-kerning', value, '');
2338 }
2339
2340 /** Gets the value of "font-size" */
2341 String get fontSize =>
2342 getPropertyValue('font-size');
2343
2344 /** Sets the value of "font-size" */
2345 void set fontSize(String value) {
2346 setProperty('font-size', value, '');
2347 }
2348
2349 /** Gets the value of "font-size-delta" */
2350 String get fontSizeDelta =>
2351 getPropertyValue('${_browserPrefix}font-size-delta');
2352
2353 /** Sets the value of "font-size-delta" */
2354 void set fontSizeDelta(String value) {
2355 setProperty('${_browserPrefix}font-size-delta', value, '');
2356 }
2357
2358 /** Gets the value of "font-smoothing" */
2359 String get fontSmoothing =>
2360 getPropertyValue('${_browserPrefix}font-smoothing');
2361
2362 /** Sets the value of "font-smoothing" */
2363 void set fontSmoothing(String value) {
2364 setProperty('${_browserPrefix}font-smoothing', value, '');
2365 }
2366
2367 /** Gets the value of "font-stretch" */
2368 String get fontStretch =>
2369 getPropertyValue('font-stretch');
2370
2371 /** Sets the value of "font-stretch" */
2372 void set fontStretch(String value) {
2373 setProperty('font-stretch', value, '');
2374 }
2375
2376 /** Gets the value of "font-style" */
2377 String get fontStyle =>
2378 getPropertyValue('font-style');
2379
2380 /** Sets the value of "font-style" */
2381 void set fontStyle(String value) {
2382 setProperty('font-style', value, '');
2383 }
2384
2385 /** Gets the value of "font-variant" */
2386 String get fontVariant =>
2387 getPropertyValue('font-variant');
2388
2389 /** Sets the value of "font-variant" */
2390 void set fontVariant(String value) {
2391 setProperty('font-variant', value, '');
2392 }
2393
2394 /** Gets the value of "font-variant-ligatures" */
2395 String get fontVariantLigatures =>
2396 getPropertyValue('${_browserPrefix}font-variant-ligatures');
2397
2398 /** Sets the value of "font-variant-ligatures" */
2399 void set fontVariantLigatures(String value) {
2400 setProperty('${_browserPrefix}font-variant-ligatures', value, '');
2401 }
2402
2403 /** Gets the value of "font-weight" */
2404 String get fontWeight =>
2405 getPropertyValue('font-weight');
2406
2407 /** Sets the value of "font-weight" */
2408 void set fontWeight(String value) {
2409 setProperty('font-weight', value, '');
2410 }
2411
2412 /** Gets the value of "grid-column" */
2413 String get gridColumn =>
2414 getPropertyValue('${_browserPrefix}grid-column');
2415
2416 /** Sets the value of "grid-column" */
2417 void set gridColumn(String value) {
2418 setProperty('${_browserPrefix}grid-column', value, '');
2419 }
2420
2421 /** Gets the value of "grid-columns" */
2422 String get gridColumns =>
2423 getPropertyValue('${_browserPrefix}grid-columns');
2424
2425 /** Sets the value of "grid-columns" */
2426 void set gridColumns(String value) {
2427 setProperty('${_browserPrefix}grid-columns', value, '');
2428 }
2429
2430 /** Gets the value of "grid-row" */
2431 String get gridRow =>
2432 getPropertyValue('${_browserPrefix}grid-row');
2433
2434 /** Sets the value of "grid-row" */
2435 void set gridRow(String value) {
2436 setProperty('${_browserPrefix}grid-row', value, '');
2437 }
2438
2439 /** Gets the value of "grid-rows" */
2440 String get gridRows =>
2441 getPropertyValue('${_browserPrefix}grid-rows');
2442
2443 /** Sets the value of "grid-rows" */
2444 void set gridRows(String value) {
2445 setProperty('${_browserPrefix}grid-rows', value, '');
2446 }
2447
2448 /** Gets the value of "height" */
2449 String get height =>
2450 getPropertyValue('height');
2451
2452 /** Sets the value of "height" */
2453 void set height(String value) {
2454 setProperty('height', value, '');
2455 }
2456
2457 /** Gets the value of "highlight" */
2458 String get highlight =>
2459 getPropertyValue('${_browserPrefix}highlight');
2460
2461 /** Sets the value of "highlight" */
2462 void set highlight(String value) {
2463 setProperty('${_browserPrefix}highlight', value, '');
2464 }
2465
2466 /** Gets the value of "hyphenate-character" */
2467 String get hyphenateCharacter =>
2468 getPropertyValue('${_browserPrefix}hyphenate-character');
2469
2470 /** Sets the value of "hyphenate-character" */
2471 void set hyphenateCharacter(String value) {
2472 setProperty('${_browserPrefix}hyphenate-character', value, '');
2473 }
2474
2475 /** Gets the value of "hyphenate-limit-after" */
2476 String get hyphenateLimitAfter =>
2477 getPropertyValue('${_browserPrefix}hyphenate-limit-after');
2478
2479 /** Sets the value of "hyphenate-limit-after" */
2480 void set hyphenateLimitAfter(String value) {
2481 setProperty('${_browserPrefix}hyphenate-limit-after', value, '');
2482 }
2483
2484 /** Gets the value of "hyphenate-limit-before" */
2485 String get hyphenateLimitBefore =>
2486 getPropertyValue('${_browserPrefix}hyphenate-limit-before');
2487
2488 /** Sets the value of "hyphenate-limit-before" */
2489 void set hyphenateLimitBefore(String value) {
2490 setProperty('${_browserPrefix}hyphenate-limit-before', value, '');
2491 }
2492
2493 /** Gets the value of "hyphenate-limit-lines" */
2494 String get hyphenateLimitLines =>
2495 getPropertyValue('${_browserPrefix}hyphenate-limit-lines');
2496
2497 /** Sets the value of "hyphenate-limit-lines" */
2498 void set hyphenateLimitLines(String value) {
2499 setProperty('${_browserPrefix}hyphenate-limit-lines', value, '');
2500 }
2501
2502 /** Gets the value of "hyphens" */
2503 String get hyphens =>
2504 getPropertyValue('${_browserPrefix}hyphens');
2505
2506 /** Sets the value of "hyphens" */
2507 void set hyphens(String value) {
2508 setProperty('${_browserPrefix}hyphens', value, '');
2509 }
2510
2511 /** Gets the value of "image-orientation" */
2512 String get imageOrientation =>
2513 getPropertyValue('image-orientation');
2514
2515 /** Sets the value of "image-orientation" */
2516 void set imageOrientation(String value) {
2517 setProperty('image-orientation', value, '');
2518 }
2519
2520 /** Gets the value of "image-rendering" */
2521 String get imageRendering =>
2522 getPropertyValue('image-rendering');
2523
2524 /** Sets the value of "image-rendering" */
2525 void set imageRendering(String value) {
2526 setProperty('image-rendering', value, '');
2527 }
2528
2529 /** Gets the value of "image-resolution" */
2530 String get imageResolution =>
2531 getPropertyValue('image-resolution');
2532
2533 /** Sets the value of "image-resolution" */
2534 void set imageResolution(String value) {
2535 setProperty('image-resolution', value, '');
2536 }
2537
2538 /** Gets the value of "justify-content" */
2539 String get justifyContent =>
2540 getPropertyValue('${_browserPrefix}justify-content');
2541
2542 /** Sets the value of "justify-content" */
2543 void set justifyContent(String value) {
2544 setProperty('${_browserPrefix}justify-content', value, '');
2545 }
2546
2547 /** Gets the value of "left" */
2548 String get left =>
2549 getPropertyValue('left');
2550
2551 /** Sets the value of "left" */
2552 void set left(String value) {
2553 setProperty('left', value, '');
2554 }
2555
2556 /** Gets the value of "letter-spacing" */
2557 String get letterSpacing =>
2558 getPropertyValue('letter-spacing');
2559
2560 /** Sets the value of "letter-spacing" */
2561 void set letterSpacing(String value) {
2562 setProperty('letter-spacing', value, '');
2563 }
2564
2565 /** Gets the value of "line-align" */
2566 String get lineAlign =>
2567 getPropertyValue('${_browserPrefix}line-align');
2568
2569 /** Sets the value of "line-align" */
2570 void set lineAlign(String value) {
2571 setProperty('${_browserPrefix}line-align', value, '');
2572 }
2573
2574 /** Gets the value of "line-box-contain" */
2575 String get lineBoxContain =>
2576 getPropertyValue('${_browserPrefix}line-box-contain');
2577
2578 /** Sets the value of "line-box-contain" */
2579 void set lineBoxContain(String value) {
2580 setProperty('${_browserPrefix}line-box-contain', value, '');
2581 }
2582
2583 /** Gets the value of "line-break" */
2584 String get lineBreak =>
2585 getPropertyValue('${_browserPrefix}line-break');
2586
2587 /** Sets the value of "line-break" */
2588 void set lineBreak(String value) {
2589 setProperty('${_browserPrefix}line-break', value, '');
2590 }
2591
2592 /** Gets the value of "line-clamp" */
2593 String get lineClamp =>
2594 getPropertyValue('${_browserPrefix}line-clamp');
2595
2596 /** Sets the value of "line-clamp" */
2597 void set lineClamp(String value) {
2598 setProperty('${_browserPrefix}line-clamp', value, '');
2599 }
2600
2601 /** Gets the value of "line-grid" */
2602 String get lineGrid =>
2603 getPropertyValue('${_browserPrefix}line-grid');
2604
2605 /** Sets the value of "line-grid" */
2606 void set lineGrid(String value) {
2607 setProperty('${_browserPrefix}line-grid', value, '');
2608 }
2609
2610 /** Gets the value of "line-height" */
2611 String get lineHeight =>
2612 getPropertyValue('line-height');
2613
2614 /** Sets the value of "line-height" */
2615 void set lineHeight(String value) {
2616 setProperty('line-height', value, '');
2617 }
2618
2619 /** Gets the value of "line-snap" */
2620 String get lineSnap =>
2621 getPropertyValue('${_browserPrefix}line-snap');
2622
2623 /** Sets the value of "line-snap" */
2624 void set lineSnap(String value) {
2625 setProperty('${_browserPrefix}line-snap', value, '');
2626 }
2627
2628 /** Gets the value of "list-style" */
2629 String get listStyle =>
2630 getPropertyValue('list-style');
2631
2632 /** Sets the value of "list-style" */
2633 void set listStyle(String value) {
2634 setProperty('list-style', value, '');
2635 }
2636
2637 /** Gets the value of "list-style-image" */
2638 String get listStyleImage =>
2639 getPropertyValue('list-style-image');
2640
2641 /** Sets the value of "list-style-image" */
2642 void set listStyleImage(String value) {
2643 setProperty('list-style-image', value, '');
2644 }
2645
2646 /** Gets the value of "list-style-position" */
2647 String get listStylePosition =>
2648 getPropertyValue('list-style-position');
2649
2650 /** Sets the value of "list-style-position" */
2651 void set listStylePosition(String value) {
2652 setProperty('list-style-position', value, '');
2653 }
2654
2655 /** Gets the value of "list-style-type" */
2656 String get listStyleType =>
2657 getPropertyValue('list-style-type');
2658
2659 /** Sets the value of "list-style-type" */
2660 void set listStyleType(String value) {
2661 setProperty('list-style-type', value, '');
2662 }
2663
2664 /** Gets the value of "locale" */
2665 String get locale =>
2666 getPropertyValue('${_browserPrefix}locale');
2667
2668 /** Sets the value of "locale" */
2669 void set locale(String value) {
2670 setProperty('${_browserPrefix}locale', value, '');
2671 }
2672
2673 /** Gets the value of "logical-height" */
2674 String get logicalHeight =>
2675 getPropertyValue('${_browserPrefix}logical-height');
2676
2677 /** Sets the value of "logical-height" */
2678 void set logicalHeight(String value) {
2679 setProperty('${_browserPrefix}logical-height', value, '');
2680 }
2681
2682 /** Gets the value of "logical-width" */
2683 String get logicalWidth =>
2684 getPropertyValue('${_browserPrefix}logical-width');
2685
2686 /** Sets the value of "logical-width" */
2687 void set logicalWidth(String value) {
2688 setProperty('${_browserPrefix}logical-width', value, '');
2689 }
2690
2691 /** Gets the value of "margin" */
2692 String get margin =>
2693 getPropertyValue('margin');
2694
2695 /** Sets the value of "margin" */
2696 void set margin(String value) {
2697 setProperty('margin', value, '');
2698 }
2699
2700 /** Gets the value of "margin-after" */
2701 String get marginAfter =>
2702 getPropertyValue('${_browserPrefix}margin-after');
2703
2704 /** Sets the value of "margin-after" */
2705 void set marginAfter(String value) {
2706 setProperty('${_browserPrefix}margin-after', value, '');
2707 }
2708
2709 /** Gets the value of "margin-after-collapse" */
2710 String get marginAfterCollapse =>
2711 getPropertyValue('${_browserPrefix}margin-after-collapse');
2712
2713 /** Sets the value of "margin-after-collapse" */
2714 void set marginAfterCollapse(String value) {
2715 setProperty('${_browserPrefix}margin-after-collapse', value, '');
2716 }
2717
2718 /** Gets the value of "margin-before" */
2719 String get marginBefore =>
2720 getPropertyValue('${_browserPrefix}margin-before');
2721
2722 /** Sets the value of "margin-before" */
2723 void set marginBefore(String value) {
2724 setProperty('${_browserPrefix}margin-before', value, '');
2725 }
2726
2727 /** Gets the value of "margin-before-collapse" */
2728 String get marginBeforeCollapse =>
2729 getPropertyValue('${_browserPrefix}margin-before-collapse');
2730
2731 /** Sets the value of "margin-before-collapse" */
2732 void set marginBeforeCollapse(String value) {
2733 setProperty('${_browserPrefix}margin-before-collapse', value, '');
2734 }
2735
2736 /** Gets the value of "margin-bottom" */
2737 String get marginBottom =>
2738 getPropertyValue('margin-bottom');
2739
2740 /** Sets the value of "margin-bottom" */
2741 void set marginBottom(String value) {
2742 setProperty('margin-bottom', value, '');
2743 }
2744
2745 /** Gets the value of "margin-bottom-collapse" */
2746 String get marginBottomCollapse =>
2747 getPropertyValue('${_browserPrefix}margin-bottom-collapse');
2748
2749 /** Sets the value of "margin-bottom-collapse" */
2750 void set marginBottomCollapse(String value) {
2751 setProperty('${_browserPrefix}margin-bottom-collapse', value, '');
2752 }
2753
2754 /** Gets the value of "margin-collapse" */
2755 String get marginCollapse =>
2756 getPropertyValue('${_browserPrefix}margin-collapse');
2757
2758 /** Sets the value of "margin-collapse" */
2759 void set marginCollapse(String value) {
2760 setProperty('${_browserPrefix}margin-collapse', value, '');
2761 }
2762
2763 /** Gets the value of "margin-end" */
2764 String get marginEnd =>
2765 getPropertyValue('${_browserPrefix}margin-end');
2766
2767 /** Sets the value of "margin-end" */
2768 void set marginEnd(String value) {
2769 setProperty('${_browserPrefix}margin-end', value, '');
2770 }
2771
2772 /** Gets the value of "margin-left" */
2773 String get marginLeft =>
2774 getPropertyValue('margin-left');
2775
2776 /** Sets the value of "margin-left" */
2777 void set marginLeft(String value) {
2778 setProperty('margin-left', value, '');
2779 }
2780
2781 /** Gets the value of "margin-right" */
2782 String get marginRight =>
2783 getPropertyValue('margin-right');
2784
2785 /** Sets the value of "margin-right" */
2786 void set marginRight(String value) {
2787 setProperty('margin-right', value, '');
2788 }
2789
2790 /** Gets the value of "margin-start" */
2791 String get marginStart =>
2792 getPropertyValue('${_browserPrefix}margin-start');
2793
2794 /** Sets the value of "margin-start" */
2795 void set marginStart(String value) {
2796 setProperty('${_browserPrefix}margin-start', value, '');
2797 }
2798
2799 /** Gets the value of "margin-top" */
2800 String get marginTop =>
2801 getPropertyValue('margin-top');
2802
2803 /** Sets the value of "margin-top" */
2804 void set marginTop(String value) {
2805 setProperty('margin-top', value, '');
2806 }
2807
2808 /** Gets the value of "margin-top-collapse" */
2809 String get marginTopCollapse =>
2810 getPropertyValue('${_browserPrefix}margin-top-collapse');
2811
2812 /** Sets the value of "margin-top-collapse" */
2813 void set marginTopCollapse(String value) {
2814 setProperty('${_browserPrefix}margin-top-collapse', value, '');
2815 }
2816
2817 /** Gets the value of "marquee" */
2818 String get marquee =>
2819 getPropertyValue('${_browserPrefix}marquee');
2820
2821 /** Sets the value of "marquee" */
2822 void set marquee(String value) {
2823 setProperty('${_browserPrefix}marquee', value, '');
2824 }
2825
2826 /** Gets the value of "marquee-direction" */
2827 String get marqueeDirection =>
2828 getPropertyValue('${_browserPrefix}marquee-direction');
2829
2830 /** Sets the value of "marquee-direction" */
2831 void set marqueeDirection(String value) {
2832 setProperty('${_browserPrefix}marquee-direction', value, '');
2833 }
2834
2835 /** Gets the value of "marquee-increment" */
2836 String get marqueeIncrement =>
2837 getPropertyValue('${_browserPrefix}marquee-increment');
2838
2839 /** Sets the value of "marquee-increment" */
2840 void set marqueeIncrement(String value) {
2841 setProperty('${_browserPrefix}marquee-increment', value, '');
2842 }
2843
2844 /** Gets the value of "marquee-repetition" */
2845 String get marqueeRepetition =>
2846 getPropertyValue('${_browserPrefix}marquee-repetition');
2847
2848 /** Sets the value of "marquee-repetition" */
2849 void set marqueeRepetition(String value) {
2850 setProperty('${_browserPrefix}marquee-repetition', value, '');
2851 }
2852
2853 /** Gets the value of "marquee-speed" */
2854 String get marqueeSpeed =>
2855 getPropertyValue('${_browserPrefix}marquee-speed');
2856
2857 /** Sets the value of "marquee-speed" */
2858 void set marqueeSpeed(String value) {
2859 setProperty('${_browserPrefix}marquee-speed', value, '');
2860 }
2861
2862 /** Gets the value of "marquee-style" */
2863 String get marqueeStyle =>
2864 getPropertyValue('${_browserPrefix}marquee-style');
2865
2866 /** Sets the value of "marquee-style" */
2867 void set marqueeStyle(String value) {
2868 setProperty('${_browserPrefix}marquee-style', value, '');
2869 }
2870
2871 /** Gets the value of "mask" */
2872 String get mask =>
2873 getPropertyValue('${_browserPrefix}mask');
2874
2875 /** Sets the value of "mask" */
2876 void set mask(String value) {
2877 setProperty('${_browserPrefix}mask', value, '');
2878 }
2879
2880 /** Gets the value of "mask-attachment" */
2881 String get maskAttachment =>
2882 getPropertyValue('${_browserPrefix}mask-attachment');
2883
2884 /** Sets the value of "mask-attachment" */
2885 void set maskAttachment(String value) {
2886 setProperty('${_browserPrefix}mask-attachment', value, '');
2887 }
2888
2889 /** Gets the value of "mask-box-image" */
2890 String get maskBoxImage =>
2891 getPropertyValue('${_browserPrefix}mask-box-image');
2892
2893 /** Sets the value of "mask-box-image" */
2894 void set maskBoxImage(String value) {
2895 setProperty('${_browserPrefix}mask-box-image', value, '');
2896 }
2897
2898 /** Gets the value of "mask-box-image-outset" */
2899 String get maskBoxImageOutset =>
2900 getPropertyValue('${_browserPrefix}mask-box-image-outset');
2901
2902 /** Sets the value of "mask-box-image-outset" */
2903 void set maskBoxImageOutset(String value) {
2904 setProperty('${_browserPrefix}mask-box-image-outset', value, '');
2905 }
2906
2907 /** Gets the value of "mask-box-image-repeat" */
2908 String get maskBoxImageRepeat =>
2909 getPropertyValue('${_browserPrefix}mask-box-image-repeat');
2910
2911 /** Sets the value of "mask-box-image-repeat" */
2912 void set maskBoxImageRepeat(String value) {
2913 setProperty('${_browserPrefix}mask-box-image-repeat', value, '');
2914 }
2915
2916 /** Gets the value of "mask-box-image-slice" */
2917 String get maskBoxImageSlice =>
2918 getPropertyValue('${_browserPrefix}mask-box-image-slice');
2919
2920 /** Sets the value of "mask-box-image-slice" */
2921 void set maskBoxImageSlice(String value) {
2922 setProperty('${_browserPrefix}mask-box-image-slice', value, '');
2923 }
2924
2925 /** Gets the value of "mask-box-image-source" */
2926 String get maskBoxImageSource =>
2927 getPropertyValue('${_browserPrefix}mask-box-image-source');
2928
2929 /** Sets the value of "mask-box-image-source" */
2930 void set maskBoxImageSource(String value) {
2931 setProperty('${_browserPrefix}mask-box-image-source', value, '');
2932 }
2933
2934 /** Gets the value of "mask-box-image-width" */
2935 String get maskBoxImageWidth =>
2936 getPropertyValue('${_browserPrefix}mask-box-image-width');
2937
2938 /** Sets the value of "mask-box-image-width" */
2939 void set maskBoxImageWidth(String value) {
2940 setProperty('${_browserPrefix}mask-box-image-width', value, '');
2941 }
2942
2943 /** Gets the value of "mask-clip" */
2944 String get maskClip =>
2945 getPropertyValue('${_browserPrefix}mask-clip');
2946
2947 /** Sets the value of "mask-clip" */
2948 void set maskClip(String value) {
2949 setProperty('${_browserPrefix}mask-clip', value, '');
2950 }
2951
2952 /** Gets the value of "mask-composite" */
2953 String get maskComposite =>
2954 getPropertyValue('${_browserPrefix}mask-composite');
2955
2956 /** Sets the value of "mask-composite" */
2957 void set maskComposite(String value) {
2958 setProperty('${_browserPrefix}mask-composite', value, '');
2959 }
2960
2961 /** Gets the value of "mask-image" */
2962 String get maskImage =>
2963 getPropertyValue('${_browserPrefix}mask-image');
2964
2965 /** Sets the value of "mask-image" */
2966 void set maskImage(String value) {
2967 setProperty('${_browserPrefix}mask-image', value, '');
2968 }
2969
2970 /** Gets the value of "mask-origin" */
2971 String get maskOrigin =>
2972 getPropertyValue('${_browserPrefix}mask-origin');
2973
2974 /** Sets the value of "mask-origin" */
2975 void set maskOrigin(String value) {
2976 setProperty('${_browserPrefix}mask-origin', value, '');
2977 }
2978
2979 /** Gets the value of "mask-position" */
2980 String get maskPosition =>
2981 getPropertyValue('${_browserPrefix}mask-position');
2982
2983 /** Sets the value of "mask-position" */
2984 void set maskPosition(String value) {
2985 setProperty('${_browserPrefix}mask-position', value, '');
2986 }
2987
2988 /** Gets the value of "mask-position-x" */
2989 String get maskPositionX =>
2990 getPropertyValue('${_browserPrefix}mask-position-x');
2991
2992 /** Sets the value of "mask-position-x" */
2993 void set maskPositionX(String value) {
2994 setProperty('${_browserPrefix}mask-position-x', value, '');
2995 }
2996
2997 /** Gets the value of "mask-position-y" */
2998 String get maskPositionY =>
2999 getPropertyValue('${_browserPrefix}mask-position-y');
3000
3001 /** Sets the value of "mask-position-y" */
3002 void set maskPositionY(String value) {
3003 setProperty('${_browserPrefix}mask-position-y', value, '');
3004 }
3005
3006 /** Gets the value of "mask-repeat" */
3007 String get maskRepeat =>
3008 getPropertyValue('${_browserPrefix}mask-repeat');
3009
3010 /** Sets the value of "mask-repeat" */
3011 void set maskRepeat(String value) {
3012 setProperty('${_browserPrefix}mask-repeat', value, '');
3013 }
3014
3015 /** Gets the value of "mask-repeat-x" */
3016 String get maskRepeatX =>
3017 getPropertyValue('${_browserPrefix}mask-repeat-x');
3018
3019 /** Sets the value of "mask-repeat-x" */
3020 void set maskRepeatX(String value) {
3021 setProperty('${_browserPrefix}mask-repeat-x', value, '');
3022 }
3023
3024 /** Gets the value of "mask-repeat-y" */
3025 String get maskRepeatY =>
3026 getPropertyValue('${_browserPrefix}mask-repeat-y');
3027
3028 /** Sets the value of "mask-repeat-y" */
3029 void set maskRepeatY(String value) {
3030 setProperty('${_browserPrefix}mask-repeat-y', value, '');
3031 }
3032
3033 /** Gets the value of "mask-size" */
3034 String get maskSize =>
3035 getPropertyValue('${_browserPrefix}mask-size');
3036
3037 /** Sets the value of "mask-size" */
3038 void set maskSize(String value) {
3039 setProperty('${_browserPrefix}mask-size', value, '');
3040 }
3041
3042 /** Gets the value of "max-height" */
3043 String get maxHeight =>
3044 getPropertyValue('max-height');
3045
3046 /** Sets the value of "max-height" */
3047 void set maxHeight(String value) {
3048 setProperty('max-height', value, '');
3049 }
3050
3051 /** Gets the value of "max-logical-height" */
3052 String get maxLogicalHeight =>
3053 getPropertyValue('${_browserPrefix}max-logical-height');
3054
3055 /** Sets the value of "max-logical-height" */
3056 void set maxLogicalHeight(String value) {
3057 setProperty('${_browserPrefix}max-logical-height', value, '');
3058 }
3059
3060 /** Gets the value of "max-logical-width" */
3061 String get maxLogicalWidth =>
3062 getPropertyValue('${_browserPrefix}max-logical-width');
3063
3064 /** Sets the value of "max-logical-width" */
3065 void set maxLogicalWidth(String value) {
3066 setProperty('${_browserPrefix}max-logical-width', value, '');
3067 }
3068
3069 /** Gets the value of "max-width" */
3070 String get maxWidth =>
3071 getPropertyValue('max-width');
3072
3073 /** Sets the value of "max-width" */
3074 void set maxWidth(String value) {
3075 setProperty('max-width', value, '');
3076 }
3077
3078 /** Gets the value of "max-zoom" */
3079 String get maxZoom =>
3080 getPropertyValue('max-zoom');
3081
3082 /** Sets the value of "max-zoom" */
3083 void set maxZoom(String value) {
3084 setProperty('max-zoom', value, '');
3085 }
3086
3087 /** Gets the value of "min-height" */
3088 String get minHeight =>
3089 getPropertyValue('min-height');
3090
3091 /** Sets the value of "min-height" */
3092 void set minHeight(String value) {
3093 setProperty('min-height', value, '');
3094 }
3095
3096 /** Gets the value of "min-logical-height" */
3097 String get minLogicalHeight =>
3098 getPropertyValue('${_browserPrefix}min-logical-height');
3099
3100 /** Sets the value of "min-logical-height" */
3101 void set minLogicalHeight(String value) {
3102 setProperty('${_browserPrefix}min-logical-height', value, '');
3103 }
3104
3105 /** Gets the value of "min-logical-width" */
3106 String get minLogicalWidth =>
3107 getPropertyValue('${_browserPrefix}min-logical-width');
3108
3109 /** Sets the value of "min-logical-width" */
3110 void set minLogicalWidth(String value) {
3111 setProperty('${_browserPrefix}min-logical-width', value, '');
3112 }
3113
3114 /** Gets the value of "min-width" */
3115 String get minWidth =>
3116 getPropertyValue('min-width');
3117
3118 /** Sets the value of "min-width" */
3119 void set minWidth(String value) {
3120 setProperty('min-width', value, '');
3121 }
3122
3123 /** Gets the value of "min-zoom" */
3124 String get minZoom =>
3125 getPropertyValue('min-zoom');
3126
3127 /** Sets the value of "min-zoom" */
3128 void set minZoom(String value) {
3129 setProperty('min-zoom', value, '');
3130 }
3131
3132 /** Gets the value of "nbsp-mode" */
3133 String get nbspMode =>
3134 getPropertyValue('${_browserPrefix}nbsp-mode');
3135
3136 /** Sets the value of "nbsp-mode" */
3137 void set nbspMode(String value) {
3138 setProperty('${_browserPrefix}nbsp-mode', value, '');
3139 }
3140
3141 /** Gets the value of "opacity" */
3142 String get opacity =>
3143 getPropertyValue('opacity');
3144
3145 /** Sets the value of "opacity" */
3146 void set opacity(String value) {
3147 setProperty('opacity', value, '');
3148 }
3149
3150 /** Gets the value of "order" */
3151 String get order =>
3152 getPropertyValue('${_browserPrefix}order');
3153
3154 /** Sets the value of "order" */
3155 void set order(String value) {
3156 setProperty('${_browserPrefix}order', value, '');
3157 }
3158
3159 /** Gets the value of "orientation" */
3160 String get orientation =>
3161 getPropertyValue('orientation');
3162
3163 /** Sets the value of "orientation" */
3164 void set orientation(String value) {
3165 setProperty('orientation', value, '');
3166 }
3167
3168 /** Gets the value of "orphans" */
3169 String get orphans =>
3170 getPropertyValue('orphans');
3171
3172 /** Sets the value of "orphans" */
3173 void set orphans(String value) {
3174 setProperty('orphans', value, '');
3175 }
3176
3177 /** Gets the value of "outline" */
3178 String get outline =>
3179 getPropertyValue('outline');
3180
3181 /** Sets the value of "outline" */
3182 void set outline(String value) {
3183 setProperty('outline', value, '');
3184 }
3185
3186 /** Gets the value of "outline-color" */
3187 String get outlineColor =>
3188 getPropertyValue('outline-color');
3189
3190 /** Sets the value of "outline-color" */
3191 void set outlineColor(String value) {
3192 setProperty('outline-color', value, '');
3193 }
3194
3195 /** Gets the value of "outline-offset" */
3196 String get outlineOffset =>
3197 getPropertyValue('outline-offset');
3198
3199 /** Sets the value of "outline-offset" */
3200 void set outlineOffset(String value) {
3201 setProperty('outline-offset', value, '');
3202 }
3203
3204 /** Gets the value of "outline-style" */
3205 String get outlineStyle =>
3206 getPropertyValue('outline-style');
3207
3208 /** Sets the value of "outline-style" */
3209 void set outlineStyle(String value) {
3210 setProperty('outline-style', value, '');
3211 }
3212
3213 /** Gets the value of "outline-width" */
3214 String get outlineWidth =>
3215 getPropertyValue('outline-width');
3216
3217 /** Sets the value of "outline-width" */
3218 void set outlineWidth(String value) {
3219 setProperty('outline-width', value, '');
3220 }
3221
3222 /** Gets the value of "overflow" */
3223 String get overflow =>
3224 getPropertyValue('overflow');
3225
3226 /** Sets the value of "overflow" */
3227 void set overflow(String value) {
3228 setProperty('overflow', value, '');
3229 }
3230
3231 /** Gets the value of "overflow-scrolling" */
3232 String get overflowScrolling =>
3233 getPropertyValue('${_browserPrefix}overflow-scrolling');
3234
3235 /** Sets the value of "overflow-scrolling" */
3236 void set overflowScrolling(String value) {
3237 setProperty('${_browserPrefix}overflow-scrolling', value, '');
3238 }
3239
3240 /** Gets the value of "overflow-wrap" */
3241 String get overflowWrap =>
3242 getPropertyValue('overflow-wrap');
3243
3244 /** Sets the value of "overflow-wrap" */
3245 void set overflowWrap(String value) {
3246 setProperty('overflow-wrap', value, '');
3247 }
3248
3249 /** Gets the value of "overflow-x" */
3250 String get overflowX =>
3251 getPropertyValue('overflow-x');
3252
3253 /** Sets the value of "overflow-x" */
3254 void set overflowX(String value) {
3255 setProperty('overflow-x', value, '');
3256 }
3257
3258 /** Gets the value of "overflow-y" */
3259 String get overflowY =>
3260 getPropertyValue('overflow-y');
3261
3262 /** Sets the value of "overflow-y" */
3263 void set overflowY(String value) {
3264 setProperty('overflow-y', value, '');
3265 }
3266
3267 /** Gets the value of "padding" */
3268 String get padding =>
3269 getPropertyValue('padding');
3270
3271 /** Sets the value of "padding" */
3272 void set padding(String value) {
3273 setProperty('padding', value, '');
3274 }
3275
3276 /** Gets the value of "padding-after" */
3277 String get paddingAfter =>
3278 getPropertyValue('${_browserPrefix}padding-after');
3279
3280 /** Sets the value of "padding-after" */
3281 void set paddingAfter(String value) {
3282 setProperty('${_browserPrefix}padding-after', value, '');
3283 }
3284
3285 /** Gets the value of "padding-before" */
3286 String get paddingBefore =>
3287 getPropertyValue('${_browserPrefix}padding-before');
3288
3289 /** Sets the value of "padding-before" */
3290 void set paddingBefore(String value) {
3291 setProperty('${_browserPrefix}padding-before', value, '');
3292 }
3293
3294 /** Gets the value of "padding-bottom" */
3295 String get paddingBottom =>
3296 getPropertyValue('padding-bottom');
3297
3298 /** Sets the value of "padding-bottom" */
3299 void set paddingBottom(String value) {
3300 setProperty('padding-bottom', value, '');
3301 }
3302
3303 /** Gets the value of "padding-end" */
3304 String get paddingEnd =>
3305 getPropertyValue('${_browserPrefix}padding-end');
3306
3307 /** Sets the value of "padding-end" */
3308 void set paddingEnd(String value) {
3309 setProperty('${_browserPrefix}padding-end', value, '');
3310 }
3311
3312 /** Gets the value of "padding-left" */
3313 String get paddingLeft =>
3314 getPropertyValue('padding-left');
3315
3316 /** Sets the value of "padding-left" */
3317 void set paddingLeft(String value) {
3318 setProperty('padding-left', value, '');
3319 }
3320
3321 /** Gets the value of "padding-right" */
3322 String get paddingRight =>
3323 getPropertyValue('padding-right');
3324
3325 /** Sets the value of "padding-right" */
3326 void set paddingRight(String value) {
3327 setProperty('padding-right', value, '');
3328 }
3329
3330 /** Gets the value of "padding-start" */
3331 String get paddingStart =>
3332 getPropertyValue('${_browserPrefix}padding-start');
3333
3334 /** Sets the value of "padding-start" */
3335 void set paddingStart(String value) {
3336 setProperty('${_browserPrefix}padding-start', value, '');
3337 }
3338
3339 /** Gets the value of "padding-top" */
3340 String get paddingTop =>
3341 getPropertyValue('padding-top');
3342
3343 /** Sets the value of "padding-top" */
3344 void set paddingTop(String value) {
3345 setProperty('padding-top', value, '');
3346 }
3347
3348 /** Gets the value of "page" */
3349 String get page =>
3350 getPropertyValue('page');
3351
3352 /** Sets the value of "page" */
3353 void set page(String value) {
3354 setProperty('page', value, '');
3355 }
3356
3357 /** Gets the value of "page-break-after" */
3358 String get pageBreakAfter =>
3359 getPropertyValue('page-break-after');
3360
3361 /** Sets the value of "page-break-after" */
3362 void set pageBreakAfter(String value) {
3363 setProperty('page-break-after', value, '');
3364 }
3365
3366 /** Gets the value of "page-break-before" */
3367 String get pageBreakBefore =>
3368 getPropertyValue('page-break-before');
3369
3370 /** Sets the value of "page-break-before" */
3371 void set pageBreakBefore(String value) {
3372 setProperty('page-break-before', value, '');
3373 }
3374
3375 /** Gets the value of "page-break-inside" */
3376 String get pageBreakInside =>
3377 getPropertyValue('page-break-inside');
3378
3379 /** Sets the value of "page-break-inside" */
3380 void set pageBreakInside(String value) {
3381 setProperty('page-break-inside', value, '');
3382 }
3383
3384 /** Gets the value of "perspective" */
3385 String get perspective =>
3386 getPropertyValue('${_browserPrefix}perspective');
3387
3388 /** Sets the value of "perspective" */
3389 void set perspective(String value) {
3390 setProperty('${_browserPrefix}perspective', value, '');
3391 }
3392
3393 /** Gets the value of "perspective-origin" */
3394 String get perspectiveOrigin =>
3395 getPropertyValue('${_browserPrefix}perspective-origin');
3396
3397 /** Sets the value of "perspective-origin" */
3398 void set perspectiveOrigin(String value) {
3399 setProperty('${_browserPrefix}perspective-origin', value, '');
3400 }
3401
3402 /** Gets the value of "perspective-origin-x" */
3403 String get perspectiveOriginX =>
3404 getPropertyValue('${_browserPrefix}perspective-origin-x');
3405
3406 /** Sets the value of "perspective-origin-x" */
3407 void set perspectiveOriginX(String value) {
3408 setProperty('${_browserPrefix}perspective-origin-x', value, '');
3409 }
3410
3411 /** Gets the value of "perspective-origin-y" */
3412 String get perspectiveOriginY =>
3413 getPropertyValue('${_browserPrefix}perspective-origin-y');
3414
3415 /** Sets the value of "perspective-origin-y" */
3416 void set perspectiveOriginY(String value) {
3417 setProperty('${_browserPrefix}perspective-origin-y', value, '');
3418 }
3419
3420 /** Gets the value of "pointer-events" */
3421 String get pointerEvents =>
3422 getPropertyValue('pointer-events');
3423
3424 /** Sets the value of "pointer-events" */
3425 void set pointerEvents(String value) {
3426 setProperty('pointer-events', value, '');
3427 }
3428
3429 /** Gets the value of "position" */
3430 String get position =>
3431 getPropertyValue('position');
3432
3433 /** Sets the value of "position" */
3434 void set position(String value) {
3435 setProperty('position', value, '');
3436 }
3437
3438 /** Gets the value of "print-color-adjust" */
3439 String get printColorAdjust =>
3440 getPropertyValue('${_browserPrefix}print-color-adjust');
3441
3442 /** Sets the value of "print-color-adjust" */
3443 void set printColorAdjust(String value) {
3444 setProperty('${_browserPrefix}print-color-adjust', value, '');
3445 }
3446
3447 /** Gets the value of "quotes" */
3448 String get quotes =>
3449 getPropertyValue('quotes');
3450
3451 /** Sets the value of "quotes" */
3452 void set quotes(String value) {
3453 setProperty('quotes', value, '');
3454 }
3455
3456 /** Gets the value of "region-break-after" */
3457 String get regionBreakAfter =>
3458 getPropertyValue('${_browserPrefix}region-break-after');
3459
3460 /** Sets the value of "region-break-after" */
3461 void set regionBreakAfter(String value) {
3462 setProperty('${_browserPrefix}region-break-after', value, '');
3463 }
3464
3465 /** Gets the value of "region-break-before" */
3466 String get regionBreakBefore =>
3467 getPropertyValue('${_browserPrefix}region-break-before');
3468
3469 /** Sets the value of "region-break-before" */
3470 void set regionBreakBefore(String value) {
3471 setProperty('${_browserPrefix}region-break-before', value, '');
3472 }
3473
3474 /** Gets the value of "region-break-inside" */
3475 String get regionBreakInside =>
3476 getPropertyValue('${_browserPrefix}region-break-inside');
3477
3478 /** Sets the value of "region-break-inside" */
3479 void set regionBreakInside(String value) {
3480 setProperty('${_browserPrefix}region-break-inside', value, '');
3481 }
3482
3483 /** Gets the value of "region-overflow" */
3484 String get regionOverflow =>
3485 getPropertyValue('${_browserPrefix}region-overflow');
3486
3487 /** Sets the value of "region-overflow" */
3488 void set regionOverflow(String value) {
3489 setProperty('${_browserPrefix}region-overflow', value, '');
3490 }
3491
3492 /** Gets the value of "resize" */
3493 String get resize =>
3494 getPropertyValue('resize');
3495
3496 /** Sets the value of "resize" */
3497 void set resize(String value) {
3498 setProperty('resize', value, '');
3499 }
3500
3501 /** Gets the value of "right" */
3502 String get right =>
3503 getPropertyValue('right');
3504
3505 /** Sets the value of "right" */
3506 void set right(String value) {
3507 setProperty('right', value, '');
3508 }
3509
3510 /** Gets the value of "rtl-ordering" */
3511 String get rtlOrdering =>
3512 getPropertyValue('${_browserPrefix}rtl-ordering');
3513
3514 /** Sets the value of "rtl-ordering" */
3515 void set rtlOrdering(String value) {
3516 setProperty('${_browserPrefix}rtl-ordering', value, '');
3517 }
3518
3519 /** Gets the value of "shape-inside" */
3520 String get shapeInside =>
3521 getPropertyValue('${_browserPrefix}shape-inside');
3522
3523 /** Sets the value of "shape-inside" */
3524 void set shapeInside(String value) {
3525 setProperty('${_browserPrefix}shape-inside', value, '');
3526 }
3527
3528 /** Gets the value of "shape-margin" */
3529 String get shapeMargin =>
3530 getPropertyValue('${_browserPrefix}shape-margin');
3531
3532 /** Sets the value of "shape-margin" */
3533 void set shapeMargin(String value) {
3534 setProperty('${_browserPrefix}shape-margin', value, '');
3535 }
3536
3537 /** Gets the value of "shape-outside" */
3538 String get shapeOutside =>
3539 getPropertyValue('${_browserPrefix}shape-outside');
3540
3541 /** Sets the value of "shape-outside" */
3542 void set shapeOutside(String value) {
3543 setProperty('${_browserPrefix}shape-outside', value, '');
3544 }
3545
3546 /** Gets the value of "shape-padding" */
3547 String get shapePadding =>
3548 getPropertyValue('${_browserPrefix}shape-padding');
3549
3550 /** Sets the value of "shape-padding" */
3551 void set shapePadding(String value) {
3552 setProperty('${_browserPrefix}shape-padding', value, '');
3553 }
3554
3555 /** Gets the value of "size" */
3556 String get size =>
3557 getPropertyValue('size');
3558
3559 /** Sets the value of "size" */
3560 void set size(String value) {
3561 setProperty('size', value, '');
3562 }
3563
3564 /** Gets the value of "speak" */
3565 String get speak =>
3566 getPropertyValue('speak');
3567
3568 /** Sets the value of "speak" */
3569 void set speak(String value) {
3570 setProperty('speak', value, '');
3571 }
3572
3573 /** Gets the value of "src" */
3574 String get src =>
3575 getPropertyValue('src');
3576
3577 /** Sets the value of "src" */
3578 void set src(String value) {
3579 setProperty('src', value, '');
3580 }
3581
3582 /** Gets the value of "tab-size" */
3583 String get tabSize =>
3584 getPropertyValue('tab-size');
3585
3586 /** Sets the value of "tab-size" */
3587 void set tabSize(String value) {
3588 setProperty('tab-size', value, '');
3589 }
3590
3591 /** Gets the value of "table-layout" */
3592 String get tableLayout =>
3593 getPropertyValue('table-layout');
3594
3595 /** Sets the value of "table-layout" */
3596 void set tableLayout(String value) {
3597 setProperty('table-layout', value, '');
3598 }
3599
3600 /** Gets the value of "tap-highlight-color" */
3601 String get tapHighlightColor =>
3602 getPropertyValue('${_browserPrefix}tap-highlight-color');
3603
3604 /** Sets the value of "tap-highlight-color" */
3605 void set tapHighlightColor(String value) {
3606 setProperty('${_browserPrefix}tap-highlight-color', value, '');
3607 }
3608
3609 /** Gets the value of "text-align" */
3610 String get textAlign =>
3611 getPropertyValue('text-align');
3612
3613 /** Sets the value of "text-align" */
3614 void set textAlign(String value) {
3615 setProperty('text-align', value, '');
3616 }
3617
3618 /** Gets the value of "text-align-last" */
3619 String get textAlignLast =>
3620 getPropertyValue('${_browserPrefix}text-align-last');
3621
3622 /** Sets the value of "text-align-last" */
3623 void set textAlignLast(String value) {
3624 setProperty('${_browserPrefix}text-align-last', value, '');
3625 }
3626
3627 /** Gets the value of "text-combine" */
3628 String get textCombine =>
3629 getPropertyValue('${_browserPrefix}text-combine');
3630
3631 /** Sets the value of "text-combine" */
3632 void set textCombine(String value) {
3633 setProperty('${_browserPrefix}text-combine', value, '');
3634 }
3635
3636 /** Gets the value of "text-decoration" */
3637 String get textDecoration =>
3638 getPropertyValue('text-decoration');
3639
3640 /** Sets the value of "text-decoration" */
3641 void set textDecoration(String value) {
3642 setProperty('text-decoration', value, '');
3643 }
3644
3645 /** Gets the value of "text-decoration-line" */
3646 String get textDecorationLine =>
3647 getPropertyValue('${_browserPrefix}text-decoration-line');
3648
3649 /** Sets the value of "text-decoration-line" */
3650 void set textDecorationLine(String value) {
3651 setProperty('${_browserPrefix}text-decoration-line', value, '');
3652 }
3653
3654 /** Gets the value of "text-decoration-style" */
3655 String get textDecorationStyle =>
3656 getPropertyValue('${_browserPrefix}text-decoration-style');
3657
3658 /** Sets the value of "text-decoration-style" */
3659 void set textDecorationStyle(String value) {
3660 setProperty('${_browserPrefix}text-decoration-style', value, '');
3661 }
3662
3663 /** Gets the value of "text-decorations-in-effect" */
3664 String get textDecorationsInEffect =>
3665 getPropertyValue('${_browserPrefix}text-decorations-in-effect');
3666
3667 /** Sets the value of "text-decorations-in-effect" */
3668 void set textDecorationsInEffect(String value) {
3669 setProperty('${_browserPrefix}text-decorations-in-effect', value, '');
3670 }
3671
3672 /** Gets the value of "text-emphasis" */
3673 String get textEmphasis =>
3674 getPropertyValue('${_browserPrefix}text-emphasis');
3675
3676 /** Sets the value of "text-emphasis" */
3677 void set textEmphasis(String value) {
3678 setProperty('${_browserPrefix}text-emphasis', value, '');
3679 }
3680
3681 /** Gets the value of "text-emphasis-color" */
3682 String get textEmphasisColor =>
3683 getPropertyValue('${_browserPrefix}text-emphasis-color');
3684
3685 /** Sets the value of "text-emphasis-color" */
3686 void set textEmphasisColor(String value) {
3687 setProperty('${_browserPrefix}text-emphasis-color', value, '');
3688 }
3689
3690 /** Gets the value of "text-emphasis-position" */
3691 String get textEmphasisPosition =>
3692 getPropertyValue('${_browserPrefix}text-emphasis-position');
3693
3694 /** Sets the value of "text-emphasis-position" */
3695 void set textEmphasisPosition(String value) {
3696 setProperty('${_browserPrefix}text-emphasis-position', value, '');
3697 }
3698
3699 /** Gets the value of "text-emphasis-style" */
3700 String get textEmphasisStyle =>
3701 getPropertyValue('${_browserPrefix}text-emphasis-style');
3702
3703 /** Sets the value of "text-emphasis-style" */
3704 void set textEmphasisStyle(String value) {
3705 setProperty('${_browserPrefix}text-emphasis-style', value, '');
3706 }
3707
3708 /** Gets the value of "text-fill-color" */
3709 String get textFillColor =>
3710 getPropertyValue('${_browserPrefix}text-fill-color');
3711
3712 /** Sets the value of "text-fill-color" */
3713 void set textFillColor(String value) {
3714 setProperty('${_browserPrefix}text-fill-color', value, '');
3715 }
3716
3717 /** Gets the value of "text-indent" */
3718 String get textIndent =>
3719 getPropertyValue('text-indent');
3720
3721 /** Sets the value of "text-indent" */
3722 void set textIndent(String value) {
3723 setProperty('text-indent', value, '');
3724 }
3725
3726 /** Gets the value of "text-line-through" */
3727 String get textLineThrough =>
3728 getPropertyValue('text-line-through');
3729
3730 /** Sets the value of "text-line-through" */
3731 void set textLineThrough(String value) {
3732 setProperty('text-line-through', value, '');
3733 }
3734
3735 /** Gets the value of "text-line-through-color" */
3736 String get textLineThroughColor =>
3737 getPropertyValue('text-line-through-color');
3738
3739 /** Sets the value of "text-line-through-color" */
3740 void set textLineThroughColor(String value) {
3741 setProperty('text-line-through-color', value, '');
3742 }
3743
3744 /** Gets the value of "text-line-through-mode" */
3745 String get textLineThroughMode =>
3746 getPropertyValue('text-line-through-mode');
3747
3748 /** Sets the value of "text-line-through-mode" */
3749 void set textLineThroughMode(String value) {
3750 setProperty('text-line-through-mode', value, '');
3751 }
3752
3753 /** Gets the value of "text-line-through-style" */
3754 String get textLineThroughStyle =>
3755 getPropertyValue('text-line-through-style');
3756
3757 /** Sets the value of "text-line-through-style" */
3758 void set textLineThroughStyle(String value) {
3759 setProperty('text-line-through-style', value, '');
3760 }
3761
3762 /** Gets the value of "text-line-through-width" */
3763 String get textLineThroughWidth =>
3764 getPropertyValue('text-line-through-width');
3765
3766 /** Sets the value of "text-line-through-width" */
3767 void set textLineThroughWidth(String value) {
3768 setProperty('text-line-through-width', value, '');
3769 }
3770
3771 /** Gets the value of "text-orientation" */
3772 String get textOrientation =>
3773 getPropertyValue('${_browserPrefix}text-orientation');
3774
3775 /** Sets the value of "text-orientation" */
3776 void set textOrientation(String value) {
3777 setProperty('${_browserPrefix}text-orientation', value, '');
3778 }
3779
3780 /** Gets the value of "text-overflow" */
3781 String get textOverflow =>
3782 getPropertyValue('text-overflow');
3783
3784 /** Sets the value of "text-overflow" */
3785 void set textOverflow(String value) {
3786 setProperty('text-overflow', value, '');
3787 }
3788
3789 /** Gets the value of "text-overline" */
3790 String get textOverline =>
3791 getPropertyValue('text-overline');
3792
3793 /** Sets the value of "text-overline" */
3794 void set textOverline(String value) {
3795 setProperty('text-overline', value, '');
3796 }
3797
3798 /** Gets the value of "text-overline-color" */
3799 String get textOverlineColor =>
3800 getPropertyValue('text-overline-color');
3801
3802 /** Sets the value of "text-overline-color" */
3803 void set textOverlineColor(String value) {
3804 setProperty('text-overline-color', value, '');
3805 }
3806
3807 /** Gets the value of "text-overline-mode" */
3808 String get textOverlineMode =>
3809 getPropertyValue('text-overline-mode');
3810
3811 /** Sets the value of "text-overline-mode" */
3812 void set textOverlineMode(String value) {
3813 setProperty('text-overline-mode', value, '');
3814 }
3815
3816 /** Gets the value of "text-overline-style" */
3817 String get textOverlineStyle =>
3818 getPropertyValue('text-overline-style');
3819
3820 /** Sets the value of "text-overline-style" */
3821 void set textOverlineStyle(String value) {
3822 setProperty('text-overline-style', value, '');
3823 }
3824
3825 /** Gets the value of "text-overline-width" */
3826 String get textOverlineWidth =>
3827 getPropertyValue('text-overline-width');
3828
3829 /** Sets the value of "text-overline-width" */
3830 void set textOverlineWidth(String value) {
3831 setProperty('text-overline-width', value, '');
3832 }
3833
3834 /** Gets the value of "text-rendering" */
3835 String get textRendering =>
3836 getPropertyValue('text-rendering');
3837
3838 /** Sets the value of "text-rendering" */
3839 void set textRendering(String value) {
3840 setProperty('text-rendering', value, '');
3841 }
3842
3843 /** Gets the value of "text-security" */
3844 String get textSecurity =>
3845 getPropertyValue('${_browserPrefix}text-security');
3846
3847 /** Sets the value of "text-security" */
3848 void set textSecurity(String value) {
3849 setProperty('${_browserPrefix}text-security', value, '');
3850 }
3851
3852 /** Gets the value of "text-shadow" */
3853 String get textShadow =>
3854 getPropertyValue('text-shadow');
3855
3856 /** Sets the value of "text-shadow" */
3857 void set textShadow(String value) {
3858 setProperty('text-shadow', value, '');
3859 }
3860
3861 /** Gets the value of "text-size-adjust" */
3862 String get textSizeAdjust =>
3863 getPropertyValue('${_browserPrefix}text-size-adjust');
3864
3865 /** Sets the value of "text-size-adjust" */
3866 void set textSizeAdjust(String value) {
3867 setProperty('${_browserPrefix}text-size-adjust', value, '');
3868 }
3869
3870 /** Gets the value of "text-stroke" */
3871 String get textStroke =>
3872 getPropertyValue('${_browserPrefix}text-stroke');
3873
3874 /** Sets the value of "text-stroke" */
3875 void set textStroke(String value) {
3876 setProperty('${_browserPrefix}text-stroke', value, '');
3877 }
3878
3879 /** Gets the value of "text-stroke-color" */
3880 String get textStrokeColor =>
3881 getPropertyValue('${_browserPrefix}text-stroke-color');
3882
3883 /** Sets the value of "text-stroke-color" */
3884 void set textStrokeColor(String value) {
3885 setProperty('${_browserPrefix}text-stroke-color', value, '');
3886 }
3887
3888 /** Gets the value of "text-stroke-width" */
3889 String get textStrokeWidth =>
3890 getPropertyValue('${_browserPrefix}text-stroke-width');
3891
3892 /** Sets the value of "text-stroke-width" */
3893 void set textStrokeWidth(String value) {
3894 setProperty('${_browserPrefix}text-stroke-width', value, '');
3895 }
3896
3897 /** Gets the value of "text-transform" */
3898 String get textTransform =>
3899 getPropertyValue('text-transform');
3900
3901 /** Sets the value of "text-transform" */
3902 void set textTransform(String value) {
3903 setProperty('text-transform', value, '');
3904 }
3905
3906 /** Gets the value of "text-underline" */
3907 String get textUnderline =>
3908 getPropertyValue('text-underline');
3909
3910 /** Sets the value of "text-underline" */
3911 void set textUnderline(String value) {
3912 setProperty('text-underline', value, '');
3913 }
3914
3915 /** Gets the value of "text-underline-color" */
3916 String get textUnderlineColor =>
3917 getPropertyValue('text-underline-color');
3918
3919 /** Sets the value of "text-underline-color" */
3920 void set textUnderlineColor(String value) {
3921 setProperty('text-underline-color', value, '');
3922 }
3923
3924 /** Gets the value of "text-underline-mode" */
3925 String get textUnderlineMode =>
3926 getPropertyValue('text-underline-mode');
3927
3928 /** Sets the value of "text-underline-mode" */
3929 void set textUnderlineMode(String value) {
3930 setProperty('text-underline-mode', value, '');
3931 }
3932
3933 /** Gets the value of "text-underline-style" */
3934 String get textUnderlineStyle =>
3935 getPropertyValue('text-underline-style');
3936
3937 /** Sets the value of "text-underline-style" */
3938 void set textUnderlineStyle(String value) {
3939 setProperty('text-underline-style', value, '');
3940 }
3941
3942 /** Gets the value of "text-underline-width" */
3943 String get textUnderlineWidth =>
3944 getPropertyValue('text-underline-width');
3945
3946 /** Sets the value of "text-underline-width" */
3947 void set textUnderlineWidth(String value) {
3948 setProperty('text-underline-width', value, '');
3949 }
3950
3951 /** Gets the value of "top" */
3952 String get top =>
3953 getPropertyValue('top');
3954
3955 /** Sets the value of "top" */
3956 void set top(String value) {
3957 setProperty('top', value, '');
3958 }
3959
3960 /** Gets the value of "transform" */
3961 String get transform =>
3962 getPropertyValue('${_browserPrefix}transform');
3963
3964 /** Sets the value of "transform" */
3965 void set transform(String value) {
3966 setProperty('${_browserPrefix}transform', value, '');
3967 }
3968
3969 /** Gets the value of "transform-origin" */
3970 String get transformOrigin =>
3971 getPropertyValue('${_browserPrefix}transform-origin');
3972
3973 /** Sets the value of "transform-origin" */
3974 void set transformOrigin(String value) {
3975 setProperty('${_browserPrefix}transform-origin', value, '');
3976 }
3977
3978 /** Gets the value of "transform-origin-x" */
3979 String get transformOriginX =>
3980 getPropertyValue('${_browserPrefix}transform-origin-x');
3981
3982 /** Sets the value of "transform-origin-x" */
3983 void set transformOriginX(String value) {
3984 setProperty('${_browserPrefix}transform-origin-x', value, '');
3985 }
3986
3987 /** Gets the value of "transform-origin-y" */
3988 String get transformOriginY =>
3989 getPropertyValue('${_browserPrefix}transform-origin-y');
3990
3991 /** Sets the value of "transform-origin-y" */
3992 void set transformOriginY(String value) {
3993 setProperty('${_browserPrefix}transform-origin-y', value, '');
3994 }
3995
3996 /** Gets the value of "transform-origin-z" */
3997 String get transformOriginZ =>
3998 getPropertyValue('${_browserPrefix}transform-origin-z');
3999
4000 /** Sets the value of "transform-origin-z" */
4001 void set transformOriginZ(String value) {
4002 setProperty('${_browserPrefix}transform-origin-z', value, '');
4003 }
4004
4005 /** Gets the value of "transform-style" */
4006 String get transformStyle =>
4007 getPropertyValue('${_browserPrefix}transform-style');
4008
4009 /** Sets the value of "transform-style" */
4010 void set transformStyle(String value) {
4011 setProperty('${_browserPrefix}transform-style', value, '');
4012 }
4013
4014 /** Gets the value of "transition" */
4015 String get transition =>
4016 getPropertyValue('${_browserPrefix}transition');
4017
4018 /** Sets the value of "transition" */
4019 void set transition(String value) {
4020 setProperty('${_browserPrefix}transition', value, '');
4021 }
4022
4023 /** Gets the value of "transition-delay" */
4024 String get transitionDelay =>
4025 getPropertyValue('${_browserPrefix}transition-delay');
4026
4027 /** Sets the value of "transition-delay" */
4028 void set transitionDelay(String value) {
4029 setProperty('${_browserPrefix}transition-delay', value, '');
4030 }
4031
4032 /** Gets the value of "transition-duration" */
4033 String get transitionDuration =>
4034 getPropertyValue('${_browserPrefix}transition-duration');
4035
4036 /** Sets the value of "transition-duration" */
4037 void set transitionDuration(String value) {
4038 setProperty('${_browserPrefix}transition-duration', value, '');
4039 }
4040
4041 /** Gets the value of "transition-property" */
4042 String get transitionProperty =>
4043 getPropertyValue('${_browserPrefix}transition-property');
4044
4045 /** Sets the value of "transition-property" */
4046 void set transitionProperty(String value) {
4047 setProperty('${_browserPrefix}transition-property', value, '');
4048 }
4049
4050 /** Gets the value of "transition-timing-function" */
4051 String get transitionTimingFunction =>
4052 getPropertyValue('${_browserPrefix}transition-timing-function');
4053
4054 /** Sets the value of "transition-timing-function" */
4055 void set transitionTimingFunction(String value) {
4056 setProperty('${_browserPrefix}transition-timing-function', value, '');
4057 }
4058
4059 /** Gets the value of "unicode-bidi" */
4060 String get unicodeBidi =>
4061 getPropertyValue('unicode-bidi');
4062
4063 /** Sets the value of "unicode-bidi" */
4064 void set unicodeBidi(String value) {
4065 setProperty('unicode-bidi', value, '');
4066 }
4067
4068 /** Gets the value of "unicode-range" */
4069 String get unicodeRange =>
4070 getPropertyValue('unicode-range');
4071
4072 /** Sets the value of "unicode-range" */
4073 void set unicodeRange(String value) {
4074 setProperty('unicode-range', value, '');
4075 }
4076
4077 /** Gets the value of "user-drag" */
4078 String get userDrag =>
4079 getPropertyValue('${_browserPrefix}user-drag');
4080
4081 /** Sets the value of "user-drag" */
4082 void set userDrag(String value) {
4083 setProperty('${_browserPrefix}user-drag', value, '');
4084 }
4085
4086 /** Gets the value of "user-modify" */
4087 String get userModify =>
4088 getPropertyValue('${_browserPrefix}user-modify');
4089
4090 /** Sets the value of "user-modify" */
4091 void set userModify(String value) {
4092 setProperty('${_browserPrefix}user-modify', value, '');
4093 }
4094
4095 /** Gets the value of "user-select" */
4096 String get userSelect =>
4097 getPropertyValue('${_browserPrefix}user-select');
4098
4099 /** Sets the value of "user-select" */
4100 void set userSelect(String value) {
4101 setProperty('${_browserPrefix}user-select', value, '');
4102 }
4103
4104 /** Gets the value of "user-zoom" */
4105 String get userZoom =>
4106 getPropertyValue('user-zoom');
4107
4108 /** Sets the value of "user-zoom" */
4109 void set userZoom(String value) {
4110 setProperty('user-zoom', value, '');
4111 }
4112
4113 /** Gets the value of "vertical-align" */
4114 String get verticalAlign =>
4115 getPropertyValue('vertical-align');
4116
4117 /** Sets the value of "vertical-align" */
4118 void set verticalAlign(String value) {
4119 setProperty('vertical-align', value, '');
4120 }
4121
4122 /** Gets the value of "visibility" */
4123 String get visibility =>
4124 getPropertyValue('visibility');
4125
4126 /** Sets the value of "visibility" */
4127 void set visibility(String value) {
4128 setProperty('visibility', value, '');
4129 }
4130
4131 /** Gets the value of "white-space" */
4132 String get whiteSpace =>
4133 getPropertyValue('white-space');
4134
4135 /** Sets the value of "white-space" */
4136 void set whiteSpace(String value) {
4137 setProperty('white-space', value, '');
4138 }
4139
4140 /** Gets the value of "widows" */
4141 String get widows =>
4142 getPropertyValue('widows');
4143
4144 /** Sets the value of "widows" */
4145 void set widows(String value) {
4146 setProperty('widows', value, '');
4147 }
4148
4149 /** Gets the value of "width" */
4150 String get width =>
4151 getPropertyValue('width');
4152
4153 /** Sets the value of "width" */
4154 void set width(String value) {
4155 setProperty('width', value, '');
4156 }
4157
4158 /** Gets the value of "word-break" */
4159 String get wordBreak =>
4160 getPropertyValue('word-break');
4161
4162 /** Sets the value of "word-break" */
4163 void set wordBreak(String value) {
4164 setProperty('word-break', value, '');
4165 }
4166
4167 /** Gets the value of "word-spacing" */
4168 String get wordSpacing =>
4169 getPropertyValue('word-spacing');
4170
4171 /** Sets the value of "word-spacing" */
4172 void set wordSpacing(String value) {
4173 setProperty('word-spacing', value, '');
4174 }
4175
4176 /** Gets the value of "word-wrap" */
4177 String get wordWrap =>
4178 getPropertyValue('word-wrap');
4179
4180 /** Sets the value of "word-wrap" */
4181 void set wordWrap(String value) {
4182 setProperty('word-wrap', value, '');
4183 }
4184
4185 /** Gets the value of "wrap" */
4186 String get wrap =>
4187 getPropertyValue('${_browserPrefix}wrap');
4188
4189 /** Sets the value of "wrap" */
4190 void set wrap(String value) {
4191 setProperty('${_browserPrefix}wrap', value, '');
4192 }
4193
4194 /** Gets the value of "wrap-flow" */
4195 String get wrapFlow =>
4196 getPropertyValue('${_browserPrefix}wrap-flow');
4197
4198 /** Sets the value of "wrap-flow" */
4199 void set wrapFlow(String value) {
4200 setProperty('${_browserPrefix}wrap-flow', value, '');
4201 }
4202
4203 /** Gets the value of "wrap-through" */
4204 String get wrapThrough =>
4205 getPropertyValue('${_browserPrefix}wrap-through');
4206
4207 /** Sets the value of "wrap-through" */
4208 void set wrapThrough(String value) {
4209 setProperty('${_browserPrefix}wrap-through', value, '');
4210 }
4211
4212 /** Gets the value of "writing-mode" */
4213 String get writingMode =>
4214 getPropertyValue('${_browserPrefix}writing-mode');
4215
4216 /** Sets the value of "writing-mode" */
4217 void set writingMode(String value) {
4218 setProperty('${_browserPrefix}writing-mode', value, '');
4219 }
4220
4221 /** Gets the value of "z-index" */
4222 String get zIndex =>
4223 getPropertyValue('z-index');
4224
4225 /** Sets the value of "z-index" */
4226 void set zIndex(String value) {
4227 setProperty('z-index', value, '');
4228 }
4229
4230 /** Gets the value of "zoom" */
4231 String get zoom =>
4232 getPropertyValue('zoom');
4233
4234 /** Sets the value of "zoom" */
4235 void set zoom(String value) {
4236 setProperty('zoom', value, '');
4237 }
4238 }
4239 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4240 // for details. All rights reserved. Use of this source code is governed by a
4241 // BSD-style license that can be found in the LICENSE file.
4242
4243
4244 /// @domName CSSStyleRule; @docsEditable true
4245 class CSSStyleRule extends CSSRule native "*CSSStyleRule" {
4246
4247 /// @domName CSSStyleRule.selectorText; @docsEditable true
4248 String selectorText;
4249
4250 /// @domName CSSStyleRule.style; @docsEditable true
4251 final CSSStyleDeclaration style;
4252 }
4253 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4254 // for details. All rights reserved. Use of this source code is governed by a
4255 // BSD-style license that can be found in the LICENSE file.
4256
4257
4258 /// @domName CSSStyleSheet; @docsEditable true
4259 class CSSStyleSheet extends StyleSheet native "*CSSStyleSheet" {
4260
4261 /// @domName CSSStyleSheet.cssRules; @docsEditable true
4262 @Returns('_CSSRuleList') @Creates('_CSSRuleList')
4263 final List<CSSRule> cssRules;
4264
4265 /// @domName CSSStyleSheet.ownerRule; @docsEditable true
4266 final CSSRule ownerRule;
4267
4268 /// @domName CSSStyleSheet.rules; @docsEditable true
4269 @Returns('_CSSRuleList') @Creates('_CSSRuleList')
4270 final List<CSSRule> rules;
4271
4272 /// @domName CSSStyleSheet.addRule; @docsEditable true
4273 int addRule(String selector, String style, [int index]) native;
4274
4275 /// @domName CSSStyleSheet.deleteRule; @docsEditable true
4276 void deleteRule(int index) native;
4277
4278 /// @domName CSSStyleSheet.insertRule; @docsEditable true
4279 int insertRule(String rule, int index) native;
4280
4281 /// @domName CSSStyleSheet.removeRule; @docsEditable true
4282 void removeRule(int index) native;
4283 }
4284 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4285 // for details. All rights reserved. Use of this source code is governed by a
4286 // BSD-style license that can be found in the LICENSE file.
4287
4288
4289 /// @domName WebKitCSSTransformValue; @docsEditable true
4290 class CSSTransformValue extends _CSSValueList native "*WebKitCSSTransformValue" {
4291
4292 static const int CSS_MATRIX = 11;
4293
4294 static const int CSS_MATRIX3D = 21;
4295
4296 static const int CSS_PERSPECTIVE = 20;
4297
4298 static const int CSS_ROTATE = 4;
4299
4300 static const int CSS_ROTATE3D = 17;
4301
4302 static const int CSS_ROTATEX = 14;
4303
4304 static const int CSS_ROTATEY = 15;
4305
4306 static const int CSS_ROTATEZ = 16;
4307
4308 static const int CSS_SCALE = 5;
4309
4310 static const int CSS_SCALE3D = 19;
4311
4312 static const int CSS_SCALEX = 6;
4313
4314 static const int CSS_SCALEY = 7;
4315
4316 static const int CSS_SCALEZ = 18;
4317
4318 static const int CSS_SKEW = 8;
4319
4320 static const int CSS_SKEWX = 9;
4321
4322 static const int CSS_SKEWY = 10;
4323
4324 static const int CSS_TRANSLATE = 1;
4325
4326 static const int CSS_TRANSLATE3D = 13;
4327
4328 static const int CSS_TRANSLATEX = 2;
4329
4330 static const int CSS_TRANSLATEY = 3;
4331
4332 static const int CSS_TRANSLATEZ = 12;
4333
4334 /// @domName WebKitCSSTransformValue.operationType; @docsEditable true
4335 final int operationType;
4336 }
4337 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4338 // for details. All rights reserved. Use of this source code is governed by a
4339 // BSD-style license that can be found in the LICENSE file.
4340
4341
4342 /// @domName CSSUnknownRule; @docsEditable true
4343 class CSSUnknownRule extends CSSRule native "*CSSUnknownRule" {
4344 }
4345 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4346 // for details. All rights reserved. Use of this source code is governed by a
4347 // BSD-style license that can be found in the LICENSE file.
4348
4349
4350 /// @domName CSSValue; @docsEditable true
4351 class CSSValue native "*CSSValue" {
4352
4353 static const int CSS_CUSTOM = 3;
4354
4355 static const int CSS_INHERIT = 0;
4356
4357 static const int CSS_PRIMITIVE_VALUE = 1;
4358
4359 static const int CSS_VALUE_LIST = 2;
4360
4361 /// @domName CSSValue.cssText; @docsEditable true
4362 String cssText;
4363
4364 /// @domName CSSValue.cssValueType; @docsEditable true
4365 final int cssValueType;
4366 } 728 }
4367 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 729 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4368 // for details. All rights reserved. Use of this source code is governed by a 730 // for details. All rights reserved. Use of this source code is governed by a
4369 // BSD-style license that can be found in the LICENSE file. 731 // BSD-style license that can be found in the LICENSE file.
4370 732
4371 733
4372 /// @domName HTMLCanvasElement 734 /// @domName HTMLCanvasElement
4373 class CanvasElement extends Element implements Element native "*HTMLCanvasElemen t" { 735 class CanvasElement extends Element implements Element native "*HTMLCanvasElemen t" {
4374 736
4375 factory CanvasElement({int width, int height}) { 737 factory CanvasElement({int width, int height}) {
(...skipping 628 matching lines...) Expand 10 before | Expand all | Expand 10 after
5004 1366
5005 1367
5006 /// @domName Crypto; @docsEditable true 1368 /// @domName Crypto; @docsEditable true
5007 class Crypto native "*Crypto" { 1369 class Crypto native "*Crypto" {
5008 1370
5009 /// @domName Crypto.getRandomValues; @docsEditable true 1371 /// @domName Crypto.getRandomValues; @docsEditable true
5010 void getRandomValues(ArrayBufferView array) native; 1372 void getRandomValues(ArrayBufferView array) native;
5011 } 1373 }
5012 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1374 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5013 // for details. All rights reserved. Use of this source code is governed by a 1375 // for details. All rights reserved. Use of this source code is governed by a
1376 // BSD-style license that can be found in the LICENSE file.
1377
1378
1379 /// @domName CSSCharsetRule; @docsEditable true
1380 class CssCharsetRule extends CssRule native "*CSSCharsetRule" {
1381
1382 /// @domName CSSCharsetRule.encoding; @docsEditable true
1383 String encoding;
1384 }
1385 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1386 // for details. All rights reserved. Use of this source code is governed by a
1387 // BSD-style license that can be found in the LICENSE file.
1388
1389
1390 /// @domName CSSFontFaceRule; @docsEditable true
1391 class CssFontFaceRule extends CssRule native "*CSSFontFaceRule" {
1392
1393 /// @domName CSSFontFaceRule.style; @docsEditable true
1394 final CssStyleDeclaration style;
1395 }
1396 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1397 // for details. All rights reserved. Use of this source code is governed by a
1398 // BSD-style license that can be found in the LICENSE file.
1399
1400
1401 /// @domName CSSImportRule; @docsEditable true
1402 class CssImportRule extends CssRule native "*CSSImportRule" {
1403
1404 /// @domName CSSImportRule.href; @docsEditable true
1405 final String href;
1406
1407 /// @domName CSSImportRule.media; @docsEditable true
1408 final MediaList media;
1409
1410 /// @domName CSSImportRule.styleSheet; @docsEditable true
1411 final CssStyleSheet styleSheet;
1412 }
1413 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1414 // for details. All rights reserved. Use of this source code is governed by a
1415 // BSD-style license that can be found in the LICENSE file.
1416
1417
1418 /// @domName WebKitCSSKeyframeRule; @docsEditable true
1419 class CssKeyframeRule extends CssRule native "*WebKitCSSKeyframeRule" {
1420
1421 /// @domName WebKitCSSKeyframeRule.keyText; @docsEditable true
1422 String keyText;
1423
1424 /// @domName WebKitCSSKeyframeRule.style; @docsEditable true
1425 final CssStyleDeclaration style;
1426 }
1427 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1428 // for details. All rights reserved. Use of this source code is governed by a
1429 // BSD-style license that can be found in the LICENSE file.
1430
1431
1432 /// @domName WebKitCSSKeyframesRule; @docsEditable true
1433 class CssKeyframesRule extends CssRule native "*WebKitCSSKeyframesRule" {
1434
1435 /// @domName WebKitCSSKeyframesRule.cssRules; @docsEditable true
1436 @Returns('_CssRuleList') @Creates('_CssRuleList')
1437 final List<CssRule> cssRules;
1438
1439 /// @domName WebKitCSSKeyframesRule.name; @docsEditable true
1440 String name;
1441
1442 /// @domName WebKitCSSKeyframesRule.deleteRule; @docsEditable true
1443 void deleteRule(String key) native;
1444
1445 /// @domName WebKitCSSKeyframesRule.findRule; @docsEditable true
1446 CssKeyframeRule findRule(String key) native;
1447
1448 /// @domName WebKitCSSKeyframesRule.insertRule; @docsEditable true
1449 void insertRule(String rule) native;
1450 }
1451 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1452 // for details. All rights reserved. Use of this source code is governed by a
1453 // BSD-style license that can be found in the LICENSE file.
1454
1455
1456 /// @domName WebKitCSSMatrix; @docsEditable true
1457 class CssMatrix native "*WebKitCSSMatrix" {
1458
1459 factory CssMatrix([String cssValue]) {
1460 if (!?cssValue) {
1461 return _CssMatrixFactoryProvider.createCssMatrix();
1462 }
1463 return _CssMatrixFactoryProvider.createCssMatrix(cssValue);
1464 }
1465
1466 /// @domName WebKitCSSMatrix.a; @docsEditable true
1467 num a;
1468
1469 /// @domName WebKitCSSMatrix.b; @docsEditable true
1470 num b;
1471
1472 /// @domName WebKitCSSMatrix.c; @docsEditable true
1473 num c;
1474
1475 /// @domName WebKitCSSMatrix.d; @docsEditable true
1476 num d;
1477
1478 /// @domName WebKitCSSMatrix.e; @docsEditable true
1479 num e;
1480
1481 /// @domName WebKitCSSMatrix.f; @docsEditable true
1482 num f;
1483
1484 /// @domName WebKitCSSMatrix.m11; @docsEditable true
1485 num m11;
1486
1487 /// @domName WebKitCSSMatrix.m12; @docsEditable true
1488 num m12;
1489
1490 /// @domName WebKitCSSMatrix.m13; @docsEditable true
1491 num m13;
1492
1493 /// @domName WebKitCSSMatrix.m14; @docsEditable true
1494 num m14;
1495
1496 /// @domName WebKitCSSMatrix.m21; @docsEditable true
1497 num m21;
1498
1499 /// @domName WebKitCSSMatrix.m22; @docsEditable true
1500 num m22;
1501
1502 /// @domName WebKitCSSMatrix.m23; @docsEditable true
1503 num m23;
1504
1505 /// @domName WebKitCSSMatrix.m24; @docsEditable true
1506 num m24;
1507
1508 /// @domName WebKitCSSMatrix.m31; @docsEditable true
1509 num m31;
1510
1511 /// @domName WebKitCSSMatrix.m32; @docsEditable true
1512 num m32;
1513
1514 /// @domName WebKitCSSMatrix.m33; @docsEditable true
1515 num m33;
1516
1517 /// @domName WebKitCSSMatrix.m34; @docsEditable true
1518 num m34;
1519
1520 /// @domName WebKitCSSMatrix.m41; @docsEditable true
1521 num m41;
1522
1523 /// @domName WebKitCSSMatrix.m42; @docsEditable true
1524 num m42;
1525
1526 /// @domName WebKitCSSMatrix.m43; @docsEditable true
1527 num m43;
1528
1529 /// @domName WebKitCSSMatrix.m44; @docsEditable true
1530 num m44;
1531
1532 /// @domName WebKitCSSMatrix.inverse; @docsEditable true
1533 CssMatrix inverse() native;
1534
1535 /// @domName WebKitCSSMatrix.multiply; @docsEditable true
1536 CssMatrix multiply(CssMatrix secondMatrix) native;
1537
1538 /// @domName WebKitCSSMatrix.rotate; @docsEditable true
1539 CssMatrix rotate(num rotX, num rotY, num rotZ) native;
1540
1541 /// @domName WebKitCSSMatrix.rotateAxisAngle; @docsEditable true
1542 CssMatrix rotateAxisAngle(num x, num y, num z, num angle) native;
1543
1544 /// @domName WebKitCSSMatrix.scale; @docsEditable true
1545 CssMatrix scale(num scaleX, num scaleY, num scaleZ) native;
1546
1547 /// @domName WebKitCSSMatrix.setMatrixValue; @docsEditable true
1548 void setMatrixValue(String string) native;
1549
1550 /// @domName WebKitCSSMatrix.skewX; @docsEditable true
1551 CssMatrix skewX(num angle) native;
1552
1553 /// @domName WebKitCSSMatrix.skewY; @docsEditable true
1554 CssMatrix skewY(num angle) native;
1555
1556 /// @domName WebKitCSSMatrix.toString; @docsEditable true
1557 String toString() native;
1558
1559 /// @domName WebKitCSSMatrix.translate; @docsEditable true
1560 CssMatrix translate(num x, num y, num z) native;
1561 }
1562 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1563 // for details. All rights reserved. Use of this source code is governed by a
1564 // BSD-style license that can be found in the LICENSE file.
1565
1566
1567 /// @domName CSSMediaRule; @docsEditable true
1568 class CssMediaRule extends CssRule native "*CSSMediaRule" {
1569
1570 /// @domName CSSMediaRule.cssRules; @docsEditable true
1571 @Returns('_CssRuleList') @Creates('_CssRuleList')
1572 final List<CssRule> cssRules;
1573
1574 /// @domName CSSMediaRule.media; @docsEditable true
1575 final MediaList media;
1576
1577 /// @domName CSSMediaRule.deleteRule; @docsEditable true
1578 void deleteRule(int index) native;
1579
1580 /// @domName CSSMediaRule.insertRule; @docsEditable true
1581 int insertRule(String rule, int index) native;
1582 }
1583 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1584 // for details. All rights reserved. Use of this source code is governed by a
1585 // BSD-style license that can be found in the LICENSE file.
1586
1587
1588 /// @domName CSSPageRule; @docsEditable true
1589 class CssPageRule extends CssRule native "*CSSPageRule" {
1590
1591 /// @domName CSSPageRule.selectorText; @docsEditable true
1592 String selectorText;
1593
1594 /// @domName CSSPageRule.style; @docsEditable true
1595 final CssStyleDeclaration style;
1596 }
1597 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1598 // for details. All rights reserved. Use of this source code is governed by a
1599 // BSD-style license that can be found in the LICENSE file.
1600
1601
1602 /// @domName CSSPrimitiveValue; @docsEditable true
1603 class CssPrimitiveValue extends CssValue native "*CSSPrimitiveValue" {
1604
1605 static const int CSS_ATTR = 22;
1606
1607 static const int CSS_CM = 6;
1608
1609 static const int CSS_COUNTER = 23;
1610
1611 static const int CSS_DEG = 11;
1612
1613 static const int CSS_DIMENSION = 18;
1614
1615 static const int CSS_EMS = 3;
1616
1617 static const int CSS_EXS = 4;
1618
1619 static const int CSS_GRAD = 13;
1620
1621 static const int CSS_HZ = 16;
1622
1623 static const int CSS_IDENT = 21;
1624
1625 static const int CSS_IN = 8;
1626
1627 static const int CSS_KHZ = 17;
1628
1629 static const int CSS_MM = 7;
1630
1631 static const int CSS_MS = 14;
1632
1633 static const int CSS_NUMBER = 1;
1634
1635 static const int CSS_PC = 10;
1636
1637 static const int CSS_PERCENTAGE = 2;
1638
1639 static const int CSS_PT = 9;
1640
1641 static const int CSS_PX = 5;
1642
1643 static const int CSS_RAD = 12;
1644
1645 static const int CSS_RECT = 24;
1646
1647 static const int CSS_RGBCOLOR = 25;
1648
1649 static const int CSS_S = 15;
1650
1651 static const int CSS_STRING = 19;
1652
1653 static const int CSS_UNKNOWN = 0;
1654
1655 static const int CSS_URI = 20;
1656
1657 static const int CSS_VH = 27;
1658
1659 static const int CSS_VMIN = 28;
1660
1661 static const int CSS_VW = 26;
1662
1663 /// @domName CSSPrimitiveValue.primitiveType; @docsEditable true
1664 final int primitiveType;
1665
1666 /// @domName CSSPrimitiveValue.getCounterValue; @docsEditable true
1667 Counter getCounterValue() native;
1668
1669 /// @domName CSSPrimitiveValue.getFloatValue; @docsEditable true
1670 num getFloatValue(int unitType) native;
1671
1672 /// @domName CSSPrimitiveValue.getRGBColorValue; @docsEditable true
1673 @JSName('getRGBColorValue')
1674 RgbColor getRgbColorValue() native;
1675
1676 /// @domName CSSPrimitiveValue.getRectValue; @docsEditable true
1677 Rect getRectValue() native;
1678
1679 /// @domName CSSPrimitiveValue.getStringValue; @docsEditable true
1680 String getStringValue() native;
1681
1682 /// @domName CSSPrimitiveValue.setFloatValue; @docsEditable true
1683 void setFloatValue(int unitType, num floatValue) native;
1684
1685 /// @domName CSSPrimitiveValue.setStringValue; @docsEditable true
1686 void setStringValue(int stringType, String stringValue) native;
1687 }
1688 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1689 // for details. All rights reserved. Use of this source code is governed by a
1690 // BSD-style license that can be found in the LICENSE file.
1691
1692
1693 /// @domName CSSRule; @docsEditable true
1694 class CssRule native "*CSSRule" {
1695
1696 static const int CHARSET_RULE = 2;
1697
1698 static const int FONT_FACE_RULE = 5;
1699
1700 static const int IMPORT_RULE = 3;
1701
1702 static const int MEDIA_RULE = 4;
1703
1704 static const int PAGE_RULE = 6;
1705
1706 static const int STYLE_RULE = 1;
1707
1708 static const int UNKNOWN_RULE = 0;
1709
1710 static const int WEBKIT_KEYFRAMES_RULE = 7;
1711
1712 static const int WEBKIT_KEYFRAME_RULE = 8;
1713
1714 /// @domName CSSRule.cssText; @docsEditable true
1715 String cssText;
1716
1717 /// @domName CSSRule.parentRule; @docsEditable true
1718 final CssRule parentRule;
1719
1720 /// @domName CSSRule.parentStyleSheet; @docsEditable true
1721 final CssStyleSheet parentStyleSheet;
1722
1723 /// @domName CSSRule.type; @docsEditable true
1724 final int type;
1725 }
1726 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1727 // for details. All rights reserved. Use of this source code is governed by a
1728 // BSD-style license that can be found in the LICENSE file.
1729
1730
1731 String _cachedBrowserPrefix;
1732
1733 String get _browserPrefix {
1734 if (_cachedBrowserPrefix == null) {
1735 if (_Device.isFirefox) {
1736 _cachedBrowserPrefix = '-moz-';
1737 } else if (_Device.isIE) {
1738 _cachedBrowserPrefix = '-ms-';
1739 } else if (_Device.isOpera) {
1740 _cachedBrowserPrefix = '-o-';
1741 } else {
1742 _cachedBrowserPrefix = '-webkit-';
1743 }
1744 }
1745 return _cachedBrowserPrefix;
1746 }
1747
1748 /// @domName CSSStyleDeclaration
1749 class CssStyleDeclaration native "*CSSStyleDeclaration" {
1750 factory CssStyleDeclaration() => _CssStyleDeclarationFactoryProvider.createCss StyleDeclaration();
1751 factory CssStyleDeclaration.css(String css) =>
1752 _CssStyleDeclarationFactoryProvider.createCssStyleDeclaration_css(css);
1753
1754
1755 /// @domName CSSStyleDeclaration.cssText; @docsEditable true
1756 String cssText;
1757
1758 /// @domName CSSStyleDeclaration.length; @docsEditable true
1759 final int length;
1760
1761 /// @domName CSSStyleDeclaration.parentRule; @docsEditable true
1762 final CssRule parentRule;
1763
1764 /// @domName CSSStyleDeclaration.getPropertyCSSValue; @docsEditable true
1765 @JSName('getPropertyCSSValue')
1766 CssValue getPropertyCssValue(String propertyName) native;
1767
1768 /// @domName CSSStyleDeclaration.getPropertyPriority; @docsEditable true
1769 String getPropertyPriority(String propertyName) native;
1770
1771 /// @domName CSSStyleDeclaration.getPropertyShorthand; @docsEditable true
1772 String getPropertyShorthand(String propertyName) native;
1773
1774 /// @domName CSSStyleDeclaration._getPropertyValue; @docsEditable true
1775 @JSName('getPropertyValue')
1776 String _getPropertyValue(String propertyName) native;
1777
1778 /// @domName CSSStyleDeclaration.isPropertyImplicit; @docsEditable true
1779 bool isPropertyImplicit(String propertyName) native;
1780
1781 /// @domName CSSStyleDeclaration.item; @docsEditable true
1782 String item(int index) native;
1783
1784 /// @domName CSSStyleDeclaration.removeProperty; @docsEditable true
1785 String removeProperty(String propertyName) native;
1786
1787
1788 String getPropertyValue(String propertyName) {
1789 var propValue = _getPropertyValue(propertyName);
1790 return propValue != null ? propValue : '';
1791 }
1792
1793 void setProperty(String propertyName, String value, [String priority]) {
1794 JS('void', '#.setProperty(#, #, #)', this, propertyName, value, priority);
1795 // Bug #2772, IE9 requires a poke to actually apply the value.
1796 if (JS('bool', '!!#.setAttribute', this)) {
1797 JS('void', '#.setAttribute(#, #)', this, propertyName, value);
1798 }
1799 }
1800
1801 // TODO(jacobr): generate this list of properties using the existing script.
1802 /** Gets the value of "align-content" */
1803 String get alignContent =>
1804 getPropertyValue('${_browserPrefix}align-content');
1805
1806 /** Sets the value of "align-content" */
1807 void set alignContent(String value) {
1808 setProperty('${_browserPrefix}align-content', value, '');
1809 }
1810
1811 /** Gets the value of "align-items" */
1812 String get alignItems =>
1813 getPropertyValue('${_browserPrefix}align-items');
1814
1815 /** Sets the value of "align-items" */
1816 void set alignItems(String value) {
1817 setProperty('${_browserPrefix}align-items', value, '');
1818 }
1819
1820 /** Gets the value of "align-self" */
1821 String get alignSelf =>
1822 getPropertyValue('${_browserPrefix}align-self');
1823
1824 /** Sets the value of "align-self" */
1825 void set alignSelf(String value) {
1826 setProperty('${_browserPrefix}align-self', value, '');
1827 }
1828
1829 /** Gets the value of "animation" */
1830 String get animation =>
1831 getPropertyValue('${_browserPrefix}animation');
1832
1833 /** Sets the value of "animation" */
1834 void set animation(String value) {
1835 setProperty('${_browserPrefix}animation', value, '');
1836 }
1837
1838 /** Gets the value of "animation-delay" */
1839 String get animationDelay =>
1840 getPropertyValue('${_browserPrefix}animation-delay');
1841
1842 /** Sets the value of "animation-delay" */
1843 void set animationDelay(String value) {
1844 setProperty('${_browserPrefix}animation-delay', value, '');
1845 }
1846
1847 /** Gets the value of "animation-direction" */
1848 String get animationDirection =>
1849 getPropertyValue('${_browserPrefix}animation-direction');
1850
1851 /** Sets the value of "animation-direction" */
1852 void set animationDirection(String value) {
1853 setProperty('${_browserPrefix}animation-direction', value, '');
1854 }
1855
1856 /** Gets the value of "animation-duration" */
1857 String get animationDuration =>
1858 getPropertyValue('${_browserPrefix}animation-duration');
1859
1860 /** Sets the value of "animation-duration" */
1861 void set animationDuration(String value) {
1862 setProperty('${_browserPrefix}animation-duration', value, '');
1863 }
1864
1865 /** Gets the value of "animation-fill-mode" */
1866 String get animationFillMode =>
1867 getPropertyValue('${_browserPrefix}animation-fill-mode');
1868
1869 /** Sets the value of "animation-fill-mode" */
1870 void set animationFillMode(String value) {
1871 setProperty('${_browserPrefix}animation-fill-mode', value, '');
1872 }
1873
1874 /** Gets the value of "animation-iteration-count" */
1875 String get animationIterationCount =>
1876 getPropertyValue('${_browserPrefix}animation-iteration-count');
1877
1878 /** Sets the value of "animation-iteration-count" */
1879 void set animationIterationCount(String value) {
1880 setProperty('${_browserPrefix}animation-iteration-count', value, '');
1881 }
1882
1883 /** Gets the value of "animation-name" */
1884 String get animationName =>
1885 getPropertyValue('${_browserPrefix}animation-name');
1886
1887 /** Sets the value of "animation-name" */
1888 void set animationName(String value) {
1889 setProperty('${_browserPrefix}animation-name', value, '');
1890 }
1891
1892 /** Gets the value of "animation-play-state" */
1893 String get animationPlayState =>
1894 getPropertyValue('${_browserPrefix}animation-play-state');
1895
1896 /** Sets the value of "animation-play-state" */
1897 void set animationPlayState(String value) {
1898 setProperty('${_browserPrefix}animation-play-state', value, '');
1899 }
1900
1901 /** Gets the value of "animation-timing-function" */
1902 String get animationTimingFunction =>
1903 getPropertyValue('${_browserPrefix}animation-timing-function');
1904
1905 /** Sets the value of "animation-timing-function" */
1906 void set animationTimingFunction(String value) {
1907 setProperty('${_browserPrefix}animation-timing-function', value, '');
1908 }
1909
1910 /** Gets the value of "app-region" */
1911 String get appRegion =>
1912 getPropertyValue('${_browserPrefix}app-region');
1913
1914 /** Sets the value of "app-region" */
1915 void set appRegion(String value) {
1916 setProperty('${_browserPrefix}app-region', value, '');
1917 }
1918
1919 /** Gets the value of "appearance" */
1920 String get appearance =>
1921 getPropertyValue('${_browserPrefix}appearance');
1922
1923 /** Sets the value of "appearance" */
1924 void set appearance(String value) {
1925 setProperty('${_browserPrefix}appearance', value, '');
1926 }
1927
1928 /** Gets the value of "aspect-ratio" */
1929 String get aspectRatio =>
1930 getPropertyValue('${_browserPrefix}aspect-ratio');
1931
1932 /** Sets the value of "aspect-ratio" */
1933 void set aspectRatio(String value) {
1934 setProperty('${_browserPrefix}aspect-ratio', value, '');
1935 }
1936
1937 /** Gets the value of "backface-visibility" */
1938 String get backfaceVisibility =>
1939 getPropertyValue('${_browserPrefix}backface-visibility');
1940
1941 /** Sets the value of "backface-visibility" */
1942 void set backfaceVisibility(String value) {
1943 setProperty('${_browserPrefix}backface-visibility', value, '');
1944 }
1945
1946 /** Gets the value of "background" */
1947 String get background =>
1948 getPropertyValue('background');
1949
1950 /** Sets the value of "background" */
1951 void set background(String value) {
1952 setProperty('background', value, '');
1953 }
1954
1955 /** Gets the value of "background-attachment" */
1956 String get backgroundAttachment =>
1957 getPropertyValue('background-attachment');
1958
1959 /** Sets the value of "background-attachment" */
1960 void set backgroundAttachment(String value) {
1961 setProperty('background-attachment', value, '');
1962 }
1963
1964 /** Gets the value of "background-clip" */
1965 String get backgroundClip =>
1966 getPropertyValue('background-clip');
1967
1968 /** Sets the value of "background-clip" */
1969 void set backgroundClip(String value) {
1970 setProperty('background-clip', value, '');
1971 }
1972
1973 /** Gets the value of "background-color" */
1974 String get backgroundColor =>
1975 getPropertyValue('background-color');
1976
1977 /** Sets the value of "background-color" */
1978 void set backgroundColor(String value) {
1979 setProperty('background-color', value, '');
1980 }
1981
1982 /** Gets the value of "background-composite" */
1983 String get backgroundComposite =>
1984 getPropertyValue('${_browserPrefix}background-composite');
1985
1986 /** Sets the value of "background-composite" */
1987 void set backgroundComposite(String value) {
1988 setProperty('${_browserPrefix}background-composite', value, '');
1989 }
1990
1991 /** Gets the value of "background-image" */
1992 String get backgroundImage =>
1993 getPropertyValue('background-image');
1994
1995 /** Sets the value of "background-image" */
1996 void set backgroundImage(String value) {
1997 setProperty('background-image', value, '');
1998 }
1999
2000 /** Gets the value of "background-origin" */
2001 String get backgroundOrigin =>
2002 getPropertyValue('background-origin');
2003
2004 /** Sets the value of "background-origin" */
2005 void set backgroundOrigin(String value) {
2006 setProperty('background-origin', value, '');
2007 }
2008
2009 /** Gets the value of "background-position" */
2010 String get backgroundPosition =>
2011 getPropertyValue('background-position');
2012
2013 /** Sets the value of "background-position" */
2014 void set backgroundPosition(String value) {
2015 setProperty('background-position', value, '');
2016 }
2017
2018 /** Gets the value of "background-position-x" */
2019 String get backgroundPositionX =>
2020 getPropertyValue('background-position-x');
2021
2022 /** Sets the value of "background-position-x" */
2023 void set backgroundPositionX(String value) {
2024 setProperty('background-position-x', value, '');
2025 }
2026
2027 /** Gets the value of "background-position-y" */
2028 String get backgroundPositionY =>
2029 getPropertyValue('background-position-y');
2030
2031 /** Sets the value of "background-position-y" */
2032 void set backgroundPositionY(String value) {
2033 setProperty('background-position-y', value, '');
2034 }
2035
2036 /** Gets the value of "background-repeat" */
2037 String get backgroundRepeat =>
2038 getPropertyValue('background-repeat');
2039
2040 /** Sets the value of "background-repeat" */
2041 void set backgroundRepeat(String value) {
2042 setProperty('background-repeat', value, '');
2043 }
2044
2045 /** Gets the value of "background-repeat-x" */
2046 String get backgroundRepeatX =>
2047 getPropertyValue('background-repeat-x');
2048
2049 /** Sets the value of "background-repeat-x" */
2050 void set backgroundRepeatX(String value) {
2051 setProperty('background-repeat-x', value, '');
2052 }
2053
2054 /** Gets the value of "background-repeat-y" */
2055 String get backgroundRepeatY =>
2056 getPropertyValue('background-repeat-y');
2057
2058 /** Sets the value of "background-repeat-y" */
2059 void set backgroundRepeatY(String value) {
2060 setProperty('background-repeat-y', value, '');
2061 }
2062
2063 /** Gets the value of "background-size" */
2064 String get backgroundSize =>
2065 getPropertyValue('background-size');
2066
2067 /** Sets the value of "background-size" */
2068 void set backgroundSize(String value) {
2069 setProperty('background-size', value, '');
2070 }
2071
2072 /** Gets the value of "blend-mode" */
2073 String get blendMode =>
2074 getPropertyValue('${_browserPrefix}blend-mode');
2075
2076 /** Sets the value of "blend-mode" */
2077 void set blendMode(String value) {
2078 setProperty('${_browserPrefix}blend-mode', value, '');
2079 }
2080
2081 /** Gets the value of "border" */
2082 String get border =>
2083 getPropertyValue('border');
2084
2085 /** Sets the value of "border" */
2086 void set border(String value) {
2087 setProperty('border', value, '');
2088 }
2089
2090 /** Gets the value of "border-after" */
2091 String get borderAfter =>
2092 getPropertyValue('${_browserPrefix}border-after');
2093
2094 /** Sets the value of "border-after" */
2095 void set borderAfter(String value) {
2096 setProperty('${_browserPrefix}border-after', value, '');
2097 }
2098
2099 /** Gets the value of "border-after-color" */
2100 String get borderAfterColor =>
2101 getPropertyValue('${_browserPrefix}border-after-color');
2102
2103 /** Sets the value of "border-after-color" */
2104 void set borderAfterColor(String value) {
2105 setProperty('${_browserPrefix}border-after-color', value, '');
2106 }
2107
2108 /** Gets the value of "border-after-style" */
2109 String get borderAfterStyle =>
2110 getPropertyValue('${_browserPrefix}border-after-style');
2111
2112 /** Sets the value of "border-after-style" */
2113 void set borderAfterStyle(String value) {
2114 setProperty('${_browserPrefix}border-after-style', value, '');
2115 }
2116
2117 /** Gets the value of "border-after-width" */
2118 String get borderAfterWidth =>
2119 getPropertyValue('${_browserPrefix}border-after-width');
2120
2121 /** Sets the value of "border-after-width" */
2122 void set borderAfterWidth(String value) {
2123 setProperty('${_browserPrefix}border-after-width', value, '');
2124 }
2125
2126 /** Gets the value of "border-before" */
2127 String get borderBefore =>
2128 getPropertyValue('${_browserPrefix}border-before');
2129
2130 /** Sets the value of "border-before" */
2131 void set borderBefore(String value) {
2132 setProperty('${_browserPrefix}border-before', value, '');
2133 }
2134
2135 /** Gets the value of "border-before-color" */
2136 String get borderBeforeColor =>
2137 getPropertyValue('${_browserPrefix}border-before-color');
2138
2139 /** Sets the value of "border-before-color" */
2140 void set borderBeforeColor(String value) {
2141 setProperty('${_browserPrefix}border-before-color', value, '');
2142 }
2143
2144 /** Gets the value of "border-before-style" */
2145 String get borderBeforeStyle =>
2146 getPropertyValue('${_browserPrefix}border-before-style');
2147
2148 /** Sets the value of "border-before-style" */
2149 void set borderBeforeStyle(String value) {
2150 setProperty('${_browserPrefix}border-before-style', value, '');
2151 }
2152
2153 /** Gets the value of "border-before-width" */
2154 String get borderBeforeWidth =>
2155 getPropertyValue('${_browserPrefix}border-before-width');
2156
2157 /** Sets the value of "border-before-width" */
2158 void set borderBeforeWidth(String value) {
2159 setProperty('${_browserPrefix}border-before-width', value, '');
2160 }
2161
2162 /** Gets the value of "border-bottom" */
2163 String get borderBottom =>
2164 getPropertyValue('border-bottom');
2165
2166 /** Sets the value of "border-bottom" */
2167 void set borderBottom(String value) {
2168 setProperty('border-bottom', value, '');
2169 }
2170
2171 /** Gets the value of "border-bottom-color" */
2172 String get borderBottomColor =>
2173 getPropertyValue('border-bottom-color');
2174
2175 /** Sets the value of "border-bottom-color" */
2176 void set borderBottomColor(String value) {
2177 setProperty('border-bottom-color', value, '');
2178 }
2179
2180 /** Gets the value of "border-bottom-left-radius" */
2181 String get borderBottomLeftRadius =>
2182 getPropertyValue('border-bottom-left-radius');
2183
2184 /** Sets the value of "border-bottom-left-radius" */
2185 void set borderBottomLeftRadius(String value) {
2186 setProperty('border-bottom-left-radius', value, '');
2187 }
2188
2189 /** Gets the value of "border-bottom-right-radius" */
2190 String get borderBottomRightRadius =>
2191 getPropertyValue('border-bottom-right-radius');
2192
2193 /** Sets the value of "border-bottom-right-radius" */
2194 void set borderBottomRightRadius(String value) {
2195 setProperty('border-bottom-right-radius', value, '');
2196 }
2197
2198 /** Gets the value of "border-bottom-style" */
2199 String get borderBottomStyle =>
2200 getPropertyValue('border-bottom-style');
2201
2202 /** Sets the value of "border-bottom-style" */
2203 void set borderBottomStyle(String value) {
2204 setProperty('border-bottom-style', value, '');
2205 }
2206
2207 /** Gets the value of "border-bottom-width" */
2208 String get borderBottomWidth =>
2209 getPropertyValue('border-bottom-width');
2210
2211 /** Sets the value of "border-bottom-width" */
2212 void set borderBottomWidth(String value) {
2213 setProperty('border-bottom-width', value, '');
2214 }
2215
2216 /** Gets the value of "border-collapse" */
2217 String get borderCollapse =>
2218 getPropertyValue('border-collapse');
2219
2220 /** Sets the value of "border-collapse" */
2221 void set borderCollapse(String value) {
2222 setProperty('border-collapse', value, '');
2223 }
2224
2225 /** Gets the value of "border-color" */
2226 String get borderColor =>
2227 getPropertyValue('border-color');
2228
2229 /** Sets the value of "border-color" */
2230 void set borderColor(String value) {
2231 setProperty('border-color', value, '');
2232 }
2233
2234 /** Gets the value of "border-end" */
2235 String get borderEnd =>
2236 getPropertyValue('${_browserPrefix}border-end');
2237
2238 /** Sets the value of "border-end" */
2239 void set borderEnd(String value) {
2240 setProperty('${_browserPrefix}border-end', value, '');
2241 }
2242
2243 /** Gets the value of "border-end-color" */
2244 String get borderEndColor =>
2245 getPropertyValue('${_browserPrefix}border-end-color');
2246
2247 /** Sets the value of "border-end-color" */
2248 void set borderEndColor(String value) {
2249 setProperty('${_browserPrefix}border-end-color', value, '');
2250 }
2251
2252 /** Gets the value of "border-end-style" */
2253 String get borderEndStyle =>
2254 getPropertyValue('${_browserPrefix}border-end-style');
2255
2256 /** Sets the value of "border-end-style" */
2257 void set borderEndStyle(String value) {
2258 setProperty('${_browserPrefix}border-end-style', value, '');
2259 }
2260
2261 /** Gets the value of "border-end-width" */
2262 String get borderEndWidth =>
2263 getPropertyValue('${_browserPrefix}border-end-width');
2264
2265 /** Sets the value of "border-end-width" */
2266 void set borderEndWidth(String value) {
2267 setProperty('${_browserPrefix}border-end-width', value, '');
2268 }
2269
2270 /** Gets the value of "border-fit" */
2271 String get borderFit =>
2272 getPropertyValue('${_browserPrefix}border-fit');
2273
2274 /** Sets the value of "border-fit" */
2275 void set borderFit(String value) {
2276 setProperty('${_browserPrefix}border-fit', value, '');
2277 }
2278
2279 /** Gets the value of "border-horizontal-spacing" */
2280 String get borderHorizontalSpacing =>
2281 getPropertyValue('${_browserPrefix}border-horizontal-spacing');
2282
2283 /** Sets the value of "border-horizontal-spacing" */
2284 void set borderHorizontalSpacing(String value) {
2285 setProperty('${_browserPrefix}border-horizontal-spacing', value, '');
2286 }
2287
2288 /** Gets the value of "border-image" */
2289 String get borderImage =>
2290 getPropertyValue('border-image');
2291
2292 /** Sets the value of "border-image" */
2293 void set borderImage(String value) {
2294 setProperty('border-image', value, '');
2295 }
2296
2297 /** Gets the value of "border-image-outset" */
2298 String get borderImageOutset =>
2299 getPropertyValue('border-image-outset');
2300
2301 /** Sets the value of "border-image-outset" */
2302 void set borderImageOutset(String value) {
2303 setProperty('border-image-outset', value, '');
2304 }
2305
2306 /** Gets the value of "border-image-repeat" */
2307 String get borderImageRepeat =>
2308 getPropertyValue('border-image-repeat');
2309
2310 /** Sets the value of "border-image-repeat" */
2311 void set borderImageRepeat(String value) {
2312 setProperty('border-image-repeat', value, '');
2313 }
2314
2315 /** Gets the value of "border-image-slice" */
2316 String get borderImageSlice =>
2317 getPropertyValue('border-image-slice');
2318
2319 /** Sets the value of "border-image-slice" */
2320 void set borderImageSlice(String value) {
2321 setProperty('border-image-slice', value, '');
2322 }
2323
2324 /** Gets the value of "border-image-source" */
2325 String get borderImageSource =>
2326 getPropertyValue('border-image-source');
2327
2328 /** Sets the value of "border-image-source" */
2329 void set borderImageSource(String value) {
2330 setProperty('border-image-source', value, '');
2331 }
2332
2333 /** Gets the value of "border-image-width" */
2334 String get borderImageWidth =>
2335 getPropertyValue('border-image-width');
2336
2337 /** Sets the value of "border-image-width" */
2338 void set borderImageWidth(String value) {
2339 setProperty('border-image-width', value, '');
2340 }
2341
2342 /** Gets the value of "border-left" */
2343 String get borderLeft =>
2344 getPropertyValue('border-left');
2345
2346 /** Sets the value of "border-left" */
2347 void set borderLeft(String value) {
2348 setProperty('border-left', value, '');
2349 }
2350
2351 /** Gets the value of "border-left-color" */
2352 String get borderLeftColor =>
2353 getPropertyValue('border-left-color');
2354
2355 /** Sets the value of "border-left-color" */
2356 void set borderLeftColor(String value) {
2357 setProperty('border-left-color', value, '');
2358 }
2359
2360 /** Gets the value of "border-left-style" */
2361 String get borderLeftStyle =>
2362 getPropertyValue('border-left-style');
2363
2364 /** Sets the value of "border-left-style" */
2365 void set borderLeftStyle(String value) {
2366 setProperty('border-left-style', value, '');
2367 }
2368
2369 /** Gets the value of "border-left-width" */
2370 String get borderLeftWidth =>
2371 getPropertyValue('border-left-width');
2372
2373 /** Sets the value of "border-left-width" */
2374 void set borderLeftWidth(String value) {
2375 setProperty('border-left-width', value, '');
2376 }
2377
2378 /** Gets the value of "border-radius" */
2379 String get borderRadius =>
2380 getPropertyValue('border-radius');
2381
2382 /** Sets the value of "border-radius" */
2383 void set borderRadius(String value) {
2384 setProperty('border-radius', value, '');
2385 }
2386
2387 /** Gets the value of "border-right" */
2388 String get borderRight =>
2389 getPropertyValue('border-right');
2390
2391 /** Sets the value of "border-right" */
2392 void set borderRight(String value) {
2393 setProperty('border-right', value, '');
2394 }
2395
2396 /** Gets the value of "border-right-color" */
2397 String get borderRightColor =>
2398 getPropertyValue('border-right-color');
2399
2400 /** Sets the value of "border-right-color" */
2401 void set borderRightColor(String value) {
2402 setProperty('border-right-color', value, '');
2403 }
2404
2405 /** Gets the value of "border-right-style" */
2406 String get borderRightStyle =>
2407 getPropertyValue('border-right-style');
2408
2409 /** Sets the value of "border-right-style" */
2410 void set borderRightStyle(String value) {
2411 setProperty('border-right-style', value, '');
2412 }
2413
2414 /** Gets the value of "border-right-width" */
2415 String get borderRightWidth =>
2416 getPropertyValue('border-right-width');
2417
2418 /** Sets the value of "border-right-width" */
2419 void set borderRightWidth(String value) {
2420 setProperty('border-right-width', value, '');
2421 }
2422
2423 /** Gets the value of "border-spacing" */
2424 String get borderSpacing =>
2425 getPropertyValue('border-spacing');
2426
2427 /** Sets the value of "border-spacing" */
2428 void set borderSpacing(String value) {
2429 setProperty('border-spacing', value, '');
2430 }
2431
2432 /** Gets the value of "border-start" */
2433 String get borderStart =>
2434 getPropertyValue('${_browserPrefix}border-start');
2435
2436 /** Sets the value of "border-start" */
2437 void set borderStart(String value) {
2438 setProperty('${_browserPrefix}border-start', value, '');
2439 }
2440
2441 /** Gets the value of "border-start-color" */
2442 String get borderStartColor =>
2443 getPropertyValue('${_browserPrefix}border-start-color');
2444
2445 /** Sets the value of "border-start-color" */
2446 void set borderStartColor(String value) {
2447 setProperty('${_browserPrefix}border-start-color', value, '');
2448 }
2449
2450 /** Gets the value of "border-start-style" */
2451 String get borderStartStyle =>
2452 getPropertyValue('${_browserPrefix}border-start-style');
2453
2454 /** Sets the value of "border-start-style" */
2455 void set borderStartStyle(String value) {
2456 setProperty('${_browserPrefix}border-start-style', value, '');
2457 }
2458
2459 /** Gets the value of "border-start-width" */
2460 String get borderStartWidth =>
2461 getPropertyValue('${_browserPrefix}border-start-width');
2462
2463 /** Sets the value of "border-start-width" */
2464 void set borderStartWidth(String value) {
2465 setProperty('${_browserPrefix}border-start-width', value, '');
2466 }
2467
2468 /** Gets the value of "border-style" */
2469 String get borderStyle =>
2470 getPropertyValue('border-style');
2471
2472 /** Sets the value of "border-style" */
2473 void set borderStyle(String value) {
2474 setProperty('border-style', value, '');
2475 }
2476
2477 /** Gets the value of "border-top" */
2478 String get borderTop =>
2479 getPropertyValue('border-top');
2480
2481 /** Sets the value of "border-top" */
2482 void set borderTop(String value) {
2483 setProperty('border-top', value, '');
2484 }
2485
2486 /** Gets the value of "border-top-color" */
2487 String get borderTopColor =>
2488 getPropertyValue('border-top-color');
2489
2490 /** Sets the value of "border-top-color" */
2491 void set borderTopColor(String value) {
2492 setProperty('border-top-color', value, '');
2493 }
2494
2495 /** Gets the value of "border-top-left-radius" */
2496 String get borderTopLeftRadius =>
2497 getPropertyValue('border-top-left-radius');
2498
2499 /** Sets the value of "border-top-left-radius" */
2500 void set borderTopLeftRadius(String value) {
2501 setProperty('border-top-left-radius', value, '');
2502 }
2503
2504 /** Gets the value of "border-top-right-radius" */
2505 String get borderTopRightRadius =>
2506 getPropertyValue('border-top-right-radius');
2507
2508 /** Sets the value of "border-top-right-radius" */
2509 void set borderTopRightRadius(String value) {
2510 setProperty('border-top-right-radius', value, '');
2511 }
2512
2513 /** Gets the value of "border-top-style" */
2514 String get borderTopStyle =>
2515 getPropertyValue('border-top-style');
2516
2517 /** Sets the value of "border-top-style" */
2518 void set borderTopStyle(String value) {
2519 setProperty('border-top-style', value, '');
2520 }
2521
2522 /** Gets the value of "border-top-width" */
2523 String get borderTopWidth =>
2524 getPropertyValue('border-top-width');
2525
2526 /** Sets the value of "border-top-width" */
2527 void set borderTopWidth(String value) {
2528 setProperty('border-top-width', value, '');
2529 }
2530
2531 /** Gets the value of "border-vertical-spacing" */
2532 String get borderVerticalSpacing =>
2533 getPropertyValue('${_browserPrefix}border-vertical-spacing');
2534
2535 /** Sets the value of "border-vertical-spacing" */
2536 void set borderVerticalSpacing(String value) {
2537 setProperty('${_browserPrefix}border-vertical-spacing', value, '');
2538 }
2539
2540 /** Gets the value of "border-width" */
2541 String get borderWidth =>
2542 getPropertyValue('border-width');
2543
2544 /** Sets the value of "border-width" */
2545 void set borderWidth(String value) {
2546 setProperty('border-width', value, '');
2547 }
2548
2549 /** Gets the value of "bottom" */
2550 String get bottom =>
2551 getPropertyValue('bottom');
2552
2553 /** Sets the value of "bottom" */
2554 void set bottom(String value) {
2555 setProperty('bottom', value, '');
2556 }
2557
2558 /** Gets the value of "box-align" */
2559 String get boxAlign =>
2560 getPropertyValue('${_browserPrefix}box-align');
2561
2562 /** Sets the value of "box-align" */
2563 void set boxAlign(String value) {
2564 setProperty('${_browserPrefix}box-align', value, '');
2565 }
2566
2567 /** Gets the value of "box-decoration-break" */
2568 String get boxDecorationBreak =>
2569 getPropertyValue('${_browserPrefix}box-decoration-break');
2570
2571 /** Sets the value of "box-decoration-break" */
2572 void set boxDecorationBreak(String value) {
2573 setProperty('${_browserPrefix}box-decoration-break', value, '');
2574 }
2575
2576 /** Gets the value of "box-direction" */
2577 String get boxDirection =>
2578 getPropertyValue('${_browserPrefix}box-direction');
2579
2580 /** Sets the value of "box-direction" */
2581 void set boxDirection(String value) {
2582 setProperty('${_browserPrefix}box-direction', value, '');
2583 }
2584
2585 /** Gets the value of "box-flex" */
2586 String get boxFlex =>
2587 getPropertyValue('${_browserPrefix}box-flex');
2588
2589 /** Sets the value of "box-flex" */
2590 void set boxFlex(String value) {
2591 setProperty('${_browserPrefix}box-flex', value, '');
2592 }
2593
2594 /** Gets the value of "box-flex-group" */
2595 String get boxFlexGroup =>
2596 getPropertyValue('${_browserPrefix}box-flex-group');
2597
2598 /** Sets the value of "box-flex-group" */
2599 void set boxFlexGroup(String value) {
2600 setProperty('${_browserPrefix}box-flex-group', value, '');
2601 }
2602
2603 /** Gets the value of "box-lines" */
2604 String get boxLines =>
2605 getPropertyValue('${_browserPrefix}box-lines');
2606
2607 /** Sets the value of "box-lines" */
2608 void set boxLines(String value) {
2609 setProperty('${_browserPrefix}box-lines', value, '');
2610 }
2611
2612 /** Gets the value of "box-ordinal-group" */
2613 String get boxOrdinalGroup =>
2614 getPropertyValue('${_browserPrefix}box-ordinal-group');
2615
2616 /** Sets the value of "box-ordinal-group" */
2617 void set boxOrdinalGroup(String value) {
2618 setProperty('${_browserPrefix}box-ordinal-group', value, '');
2619 }
2620
2621 /** Gets the value of "box-orient" */
2622 String get boxOrient =>
2623 getPropertyValue('${_browserPrefix}box-orient');
2624
2625 /** Sets the value of "box-orient" */
2626 void set boxOrient(String value) {
2627 setProperty('${_browserPrefix}box-orient', value, '');
2628 }
2629
2630 /** Gets the value of "box-pack" */
2631 String get boxPack =>
2632 getPropertyValue('${_browserPrefix}box-pack');
2633
2634 /** Sets the value of "box-pack" */
2635 void set boxPack(String value) {
2636 setProperty('${_browserPrefix}box-pack', value, '');
2637 }
2638
2639 /** Gets the value of "box-reflect" */
2640 String get boxReflect =>
2641 getPropertyValue('${_browserPrefix}box-reflect');
2642
2643 /** Sets the value of "box-reflect" */
2644 void set boxReflect(String value) {
2645 setProperty('${_browserPrefix}box-reflect', value, '');
2646 }
2647
2648 /** Gets the value of "box-shadow" */
2649 String get boxShadow =>
2650 getPropertyValue('box-shadow');
2651
2652 /** Sets the value of "box-shadow" */
2653 void set boxShadow(String value) {
2654 setProperty('box-shadow', value, '');
2655 }
2656
2657 /** Gets the value of "box-sizing" */
2658 String get boxSizing =>
2659 getPropertyValue('box-sizing');
2660
2661 /** Sets the value of "box-sizing" */
2662 void set boxSizing(String value) {
2663 setProperty('box-sizing', value, '');
2664 }
2665
2666 /** Gets the value of "caption-side" */
2667 String get captionSide =>
2668 getPropertyValue('caption-side');
2669
2670 /** Sets the value of "caption-side" */
2671 void set captionSide(String value) {
2672 setProperty('caption-side', value, '');
2673 }
2674
2675 /** Gets the value of "clear" */
2676 String get clear =>
2677 getPropertyValue('clear');
2678
2679 /** Sets the value of "clear" */
2680 void set clear(String value) {
2681 setProperty('clear', value, '');
2682 }
2683
2684 /** Gets the value of "clip" */
2685 String get clip =>
2686 getPropertyValue('clip');
2687
2688 /** Sets the value of "clip" */
2689 void set clip(String value) {
2690 setProperty('clip', value, '');
2691 }
2692
2693 /** Gets the value of "clip-path" */
2694 String get clipPath =>
2695 getPropertyValue('${_browserPrefix}clip-path');
2696
2697 /** Sets the value of "clip-path" */
2698 void set clipPath(String value) {
2699 setProperty('${_browserPrefix}clip-path', value, '');
2700 }
2701
2702 /** Gets the value of "color" */
2703 String get color =>
2704 getPropertyValue('color');
2705
2706 /** Sets the value of "color" */
2707 void set color(String value) {
2708 setProperty('color', value, '');
2709 }
2710
2711 /** Gets the value of "color-correction" */
2712 String get colorCorrection =>
2713 getPropertyValue('${_browserPrefix}color-correction');
2714
2715 /** Sets the value of "color-correction" */
2716 void set colorCorrection(String value) {
2717 setProperty('${_browserPrefix}color-correction', value, '');
2718 }
2719
2720 /** Gets the value of "column-axis" */
2721 String get columnAxis =>
2722 getPropertyValue('${_browserPrefix}column-axis');
2723
2724 /** Sets the value of "column-axis" */
2725 void set columnAxis(String value) {
2726 setProperty('${_browserPrefix}column-axis', value, '');
2727 }
2728
2729 /** Gets the value of "column-break-after" */
2730 String get columnBreakAfter =>
2731 getPropertyValue('${_browserPrefix}column-break-after');
2732
2733 /** Sets the value of "column-break-after" */
2734 void set columnBreakAfter(String value) {
2735 setProperty('${_browserPrefix}column-break-after', value, '');
2736 }
2737
2738 /** Gets the value of "column-break-before" */
2739 String get columnBreakBefore =>
2740 getPropertyValue('${_browserPrefix}column-break-before');
2741
2742 /** Sets the value of "column-break-before" */
2743 void set columnBreakBefore(String value) {
2744 setProperty('${_browserPrefix}column-break-before', value, '');
2745 }
2746
2747 /** Gets the value of "column-break-inside" */
2748 String get columnBreakInside =>
2749 getPropertyValue('${_browserPrefix}column-break-inside');
2750
2751 /** Sets the value of "column-break-inside" */
2752 void set columnBreakInside(String value) {
2753 setProperty('${_browserPrefix}column-break-inside', value, '');
2754 }
2755
2756 /** Gets the value of "column-count" */
2757 String get columnCount =>
2758 getPropertyValue('${_browserPrefix}column-count');
2759
2760 /** Sets the value of "column-count" */
2761 void set columnCount(String value) {
2762 setProperty('${_browserPrefix}column-count', value, '');
2763 }
2764
2765 /** Gets the value of "column-gap" */
2766 String get columnGap =>
2767 getPropertyValue('${_browserPrefix}column-gap');
2768
2769 /** Sets the value of "column-gap" */
2770 void set columnGap(String value) {
2771 setProperty('${_browserPrefix}column-gap', value, '');
2772 }
2773
2774 /** Gets the value of "column-progression" */
2775 String get columnProgression =>
2776 getPropertyValue('${_browserPrefix}column-progression');
2777
2778 /** Sets the value of "column-progression" */
2779 void set columnProgression(String value) {
2780 setProperty('${_browserPrefix}column-progression', value, '');
2781 }
2782
2783 /** Gets the value of "column-rule" */
2784 String get columnRule =>
2785 getPropertyValue('${_browserPrefix}column-rule');
2786
2787 /** Sets the value of "column-rule" */
2788 void set columnRule(String value) {
2789 setProperty('${_browserPrefix}column-rule', value, '');
2790 }
2791
2792 /** Gets the value of "column-rule-color" */
2793 String get columnRuleColor =>
2794 getPropertyValue('${_browserPrefix}column-rule-color');
2795
2796 /** Sets the value of "column-rule-color" */
2797 void set columnRuleColor(String value) {
2798 setProperty('${_browserPrefix}column-rule-color', value, '');
2799 }
2800
2801 /** Gets the value of "column-rule-style" */
2802 String get columnRuleStyle =>
2803 getPropertyValue('${_browserPrefix}column-rule-style');
2804
2805 /** Sets the value of "column-rule-style" */
2806 void set columnRuleStyle(String value) {
2807 setProperty('${_browserPrefix}column-rule-style', value, '');
2808 }
2809
2810 /** Gets the value of "column-rule-width" */
2811 String get columnRuleWidth =>
2812 getPropertyValue('${_browserPrefix}column-rule-width');
2813
2814 /** Sets the value of "column-rule-width" */
2815 void set columnRuleWidth(String value) {
2816 setProperty('${_browserPrefix}column-rule-width', value, '');
2817 }
2818
2819 /** Gets the value of "column-span" */
2820 String get columnSpan =>
2821 getPropertyValue('${_browserPrefix}column-span');
2822
2823 /** Sets the value of "column-span" */
2824 void set columnSpan(String value) {
2825 setProperty('${_browserPrefix}column-span', value, '');
2826 }
2827
2828 /** Gets the value of "column-width" */
2829 String get columnWidth =>
2830 getPropertyValue('${_browserPrefix}column-width');
2831
2832 /** Sets the value of "column-width" */
2833 void set columnWidth(String value) {
2834 setProperty('${_browserPrefix}column-width', value, '');
2835 }
2836
2837 /** Gets the value of "columns" */
2838 String get columns =>
2839 getPropertyValue('${_browserPrefix}columns');
2840
2841 /** Sets the value of "columns" */
2842 void set columns(String value) {
2843 setProperty('${_browserPrefix}columns', value, '');
2844 }
2845
2846 /** Gets the value of "content" */
2847 String get content =>
2848 getPropertyValue('content');
2849
2850 /** Sets the value of "content" */
2851 void set content(String value) {
2852 setProperty('content', value, '');
2853 }
2854
2855 /** Gets the value of "counter-increment" */
2856 String get counterIncrement =>
2857 getPropertyValue('counter-increment');
2858
2859 /** Sets the value of "counter-increment" */
2860 void set counterIncrement(String value) {
2861 setProperty('counter-increment', value, '');
2862 }
2863
2864 /** Gets the value of "counter-reset" */
2865 String get counterReset =>
2866 getPropertyValue('counter-reset');
2867
2868 /** Sets the value of "counter-reset" */
2869 void set counterReset(String value) {
2870 setProperty('counter-reset', value, '');
2871 }
2872
2873 /** Gets the value of "cursor" */
2874 String get cursor =>
2875 getPropertyValue('cursor');
2876
2877 /** Sets the value of "cursor" */
2878 void set cursor(String value) {
2879 setProperty('cursor', value, '');
2880 }
2881
2882 /** Gets the value of "dashboard-region" */
2883 String get dashboardRegion =>
2884 getPropertyValue('${_browserPrefix}dashboard-region');
2885
2886 /** Sets the value of "dashboard-region" */
2887 void set dashboardRegion(String value) {
2888 setProperty('${_browserPrefix}dashboard-region', value, '');
2889 }
2890
2891 /** Gets the value of "direction" */
2892 String get direction =>
2893 getPropertyValue('direction');
2894
2895 /** Sets the value of "direction" */
2896 void set direction(String value) {
2897 setProperty('direction', value, '');
2898 }
2899
2900 /** Gets the value of "display" */
2901 String get display =>
2902 getPropertyValue('display');
2903
2904 /** Sets the value of "display" */
2905 void set display(String value) {
2906 setProperty('display', value, '');
2907 }
2908
2909 /** Gets the value of "empty-cells" */
2910 String get emptyCells =>
2911 getPropertyValue('empty-cells');
2912
2913 /** Sets the value of "empty-cells" */
2914 void set emptyCells(String value) {
2915 setProperty('empty-cells', value, '');
2916 }
2917
2918 /** Gets the value of "filter" */
2919 String get filter =>
2920 getPropertyValue('${_browserPrefix}filter');
2921
2922 /** Sets the value of "filter" */
2923 void set filter(String value) {
2924 setProperty('${_browserPrefix}filter', value, '');
2925 }
2926
2927 /** Gets the value of "flex" */
2928 String get flex =>
2929 getPropertyValue('${_browserPrefix}flex');
2930
2931 /** Sets the value of "flex" */
2932 void set flex(String value) {
2933 setProperty('${_browserPrefix}flex', value, '');
2934 }
2935
2936 /** Gets the value of "flex-basis" */
2937 String get flexBasis =>
2938 getPropertyValue('${_browserPrefix}flex-basis');
2939
2940 /** Sets the value of "flex-basis" */
2941 void set flexBasis(String value) {
2942 setProperty('${_browserPrefix}flex-basis', value, '');
2943 }
2944
2945 /** Gets the value of "flex-direction" */
2946 String get flexDirection =>
2947 getPropertyValue('${_browserPrefix}flex-direction');
2948
2949 /** Sets the value of "flex-direction" */
2950 void set flexDirection(String value) {
2951 setProperty('${_browserPrefix}flex-direction', value, '');
2952 }
2953
2954 /** Gets the value of "flex-flow" */
2955 String get flexFlow =>
2956 getPropertyValue('${_browserPrefix}flex-flow');
2957
2958 /** Sets the value of "flex-flow" */
2959 void set flexFlow(String value) {
2960 setProperty('${_browserPrefix}flex-flow', value, '');
2961 }
2962
2963 /** Gets the value of "flex-grow" */
2964 String get flexGrow =>
2965 getPropertyValue('${_browserPrefix}flex-grow');
2966
2967 /** Sets the value of "flex-grow" */
2968 void set flexGrow(String value) {
2969 setProperty('${_browserPrefix}flex-grow', value, '');
2970 }
2971
2972 /** Gets the value of "flex-shrink" */
2973 String get flexShrink =>
2974 getPropertyValue('${_browserPrefix}flex-shrink');
2975
2976 /** Sets the value of "flex-shrink" */
2977 void set flexShrink(String value) {
2978 setProperty('${_browserPrefix}flex-shrink', value, '');
2979 }
2980
2981 /** Gets the value of "flex-wrap" */
2982 String get flexWrap =>
2983 getPropertyValue('${_browserPrefix}flex-wrap');
2984
2985 /** Sets the value of "flex-wrap" */
2986 void set flexWrap(String value) {
2987 setProperty('${_browserPrefix}flex-wrap', value, '');
2988 }
2989
2990 /** Gets the value of "float" */
2991 String get float =>
2992 getPropertyValue('float');
2993
2994 /** Sets the value of "float" */
2995 void set float(String value) {
2996 setProperty('float', value, '');
2997 }
2998
2999 /** Gets the value of "flow-from" */
3000 String get flowFrom =>
3001 getPropertyValue('${_browserPrefix}flow-from');
3002
3003 /** Sets the value of "flow-from" */
3004 void set flowFrom(String value) {
3005 setProperty('${_browserPrefix}flow-from', value, '');
3006 }
3007
3008 /** Gets the value of "flow-into" */
3009 String get flowInto =>
3010 getPropertyValue('${_browserPrefix}flow-into');
3011
3012 /** Sets the value of "flow-into" */
3013 void set flowInto(String value) {
3014 setProperty('${_browserPrefix}flow-into', value, '');
3015 }
3016
3017 /** Gets the value of "font" */
3018 String get font =>
3019 getPropertyValue('font');
3020
3021 /** Sets the value of "font" */
3022 void set font(String value) {
3023 setProperty('font', value, '');
3024 }
3025
3026 /** Gets the value of "font-family" */
3027 String get fontFamily =>
3028 getPropertyValue('font-family');
3029
3030 /** Sets the value of "font-family" */
3031 void set fontFamily(String value) {
3032 setProperty('font-family', value, '');
3033 }
3034
3035 /** Gets the value of "font-feature-settings" */
3036 String get fontFeatureSettings =>
3037 getPropertyValue('${_browserPrefix}font-feature-settings');
3038
3039 /** Sets the value of "font-feature-settings" */
3040 void set fontFeatureSettings(String value) {
3041 setProperty('${_browserPrefix}font-feature-settings', value, '');
3042 }
3043
3044 /** Gets the value of "font-kerning" */
3045 String get fontKerning =>
3046 getPropertyValue('${_browserPrefix}font-kerning');
3047
3048 /** Sets the value of "font-kerning" */
3049 void set fontKerning(String value) {
3050 setProperty('${_browserPrefix}font-kerning', value, '');
3051 }
3052
3053 /** Gets the value of "font-size" */
3054 String get fontSize =>
3055 getPropertyValue('font-size');
3056
3057 /** Sets the value of "font-size" */
3058 void set fontSize(String value) {
3059 setProperty('font-size', value, '');
3060 }
3061
3062 /** Gets the value of "font-size-delta" */
3063 String get fontSizeDelta =>
3064 getPropertyValue('${_browserPrefix}font-size-delta');
3065
3066 /** Sets the value of "font-size-delta" */
3067 void set fontSizeDelta(String value) {
3068 setProperty('${_browserPrefix}font-size-delta', value, '');
3069 }
3070
3071 /** Gets the value of "font-smoothing" */
3072 String get fontSmoothing =>
3073 getPropertyValue('${_browserPrefix}font-smoothing');
3074
3075 /** Sets the value of "font-smoothing" */
3076 void set fontSmoothing(String value) {
3077 setProperty('${_browserPrefix}font-smoothing', value, '');
3078 }
3079
3080 /** Gets the value of "font-stretch" */
3081 String get fontStretch =>
3082 getPropertyValue('font-stretch');
3083
3084 /** Sets the value of "font-stretch" */
3085 void set fontStretch(String value) {
3086 setProperty('font-stretch', value, '');
3087 }
3088
3089 /** Gets the value of "font-style" */
3090 String get fontStyle =>
3091 getPropertyValue('font-style');
3092
3093 /** Sets the value of "font-style" */
3094 void set fontStyle(String value) {
3095 setProperty('font-style', value, '');
3096 }
3097
3098 /** Gets the value of "font-variant" */
3099 String get fontVariant =>
3100 getPropertyValue('font-variant');
3101
3102 /** Sets the value of "font-variant" */
3103 void set fontVariant(String value) {
3104 setProperty('font-variant', value, '');
3105 }
3106
3107 /** Gets the value of "font-variant-ligatures" */
3108 String get fontVariantLigatures =>
3109 getPropertyValue('${_browserPrefix}font-variant-ligatures');
3110
3111 /** Sets the value of "font-variant-ligatures" */
3112 void set fontVariantLigatures(String value) {
3113 setProperty('${_browserPrefix}font-variant-ligatures', value, '');
3114 }
3115
3116 /** Gets the value of "font-weight" */
3117 String get fontWeight =>
3118 getPropertyValue('font-weight');
3119
3120 /** Sets the value of "font-weight" */
3121 void set fontWeight(String value) {
3122 setProperty('font-weight', value, '');
3123 }
3124
3125 /** Gets the value of "grid-column" */
3126 String get gridColumn =>
3127 getPropertyValue('${_browserPrefix}grid-column');
3128
3129 /** Sets the value of "grid-column" */
3130 void set gridColumn(String value) {
3131 setProperty('${_browserPrefix}grid-column', value, '');
3132 }
3133
3134 /** Gets the value of "grid-columns" */
3135 String get gridColumns =>
3136 getPropertyValue('${_browserPrefix}grid-columns');
3137
3138 /** Sets the value of "grid-columns" */
3139 void set gridColumns(String value) {
3140 setProperty('${_browserPrefix}grid-columns', value, '');
3141 }
3142
3143 /** Gets the value of "grid-row" */
3144 String get gridRow =>
3145 getPropertyValue('${_browserPrefix}grid-row');
3146
3147 /** Sets the value of "grid-row" */
3148 void set gridRow(String value) {
3149 setProperty('${_browserPrefix}grid-row', value, '');
3150 }
3151
3152 /** Gets the value of "grid-rows" */
3153 String get gridRows =>
3154 getPropertyValue('${_browserPrefix}grid-rows');
3155
3156 /** Sets the value of "grid-rows" */
3157 void set gridRows(String value) {
3158 setProperty('${_browserPrefix}grid-rows', value, '');
3159 }
3160
3161 /** Gets the value of "height" */
3162 String get height =>
3163 getPropertyValue('height');
3164
3165 /** Sets the value of "height" */
3166 void set height(String value) {
3167 setProperty('height', value, '');
3168 }
3169
3170 /** Gets the value of "highlight" */
3171 String get highlight =>
3172 getPropertyValue('${_browserPrefix}highlight');
3173
3174 /** Sets the value of "highlight" */
3175 void set highlight(String value) {
3176 setProperty('${_browserPrefix}highlight', value, '');
3177 }
3178
3179 /** Gets the value of "hyphenate-character" */
3180 String get hyphenateCharacter =>
3181 getPropertyValue('${_browserPrefix}hyphenate-character');
3182
3183 /** Sets the value of "hyphenate-character" */
3184 void set hyphenateCharacter(String value) {
3185 setProperty('${_browserPrefix}hyphenate-character', value, '');
3186 }
3187
3188 /** Gets the value of "hyphenate-limit-after" */
3189 String get hyphenateLimitAfter =>
3190 getPropertyValue('${_browserPrefix}hyphenate-limit-after');
3191
3192 /** Sets the value of "hyphenate-limit-after" */
3193 void set hyphenateLimitAfter(String value) {
3194 setProperty('${_browserPrefix}hyphenate-limit-after', value, '');
3195 }
3196
3197 /** Gets the value of "hyphenate-limit-before" */
3198 String get hyphenateLimitBefore =>
3199 getPropertyValue('${_browserPrefix}hyphenate-limit-before');
3200
3201 /** Sets the value of "hyphenate-limit-before" */
3202 void set hyphenateLimitBefore(String value) {
3203 setProperty('${_browserPrefix}hyphenate-limit-before', value, '');
3204 }
3205
3206 /** Gets the value of "hyphenate-limit-lines" */
3207 String get hyphenateLimitLines =>
3208 getPropertyValue('${_browserPrefix}hyphenate-limit-lines');
3209
3210 /** Sets the value of "hyphenate-limit-lines" */
3211 void set hyphenateLimitLines(String value) {
3212 setProperty('${_browserPrefix}hyphenate-limit-lines', value, '');
3213 }
3214
3215 /** Gets the value of "hyphens" */
3216 String get hyphens =>
3217 getPropertyValue('${_browserPrefix}hyphens');
3218
3219 /** Sets the value of "hyphens" */
3220 void set hyphens(String value) {
3221 setProperty('${_browserPrefix}hyphens', value, '');
3222 }
3223
3224 /** Gets the value of "image-orientation" */
3225 String get imageOrientation =>
3226 getPropertyValue('image-orientation');
3227
3228 /** Sets the value of "image-orientation" */
3229 void set imageOrientation(String value) {
3230 setProperty('image-orientation', value, '');
3231 }
3232
3233 /** Gets the value of "image-rendering" */
3234 String get imageRendering =>
3235 getPropertyValue('image-rendering');
3236
3237 /** Sets the value of "image-rendering" */
3238 void set imageRendering(String value) {
3239 setProperty('image-rendering', value, '');
3240 }
3241
3242 /** Gets the value of "image-resolution" */
3243 String get imageResolution =>
3244 getPropertyValue('image-resolution');
3245
3246 /** Sets the value of "image-resolution" */
3247 void set imageResolution(String value) {
3248 setProperty('image-resolution', value, '');
3249 }
3250
3251 /** Gets the value of "justify-content" */
3252 String get justifyContent =>
3253 getPropertyValue('${_browserPrefix}justify-content');
3254
3255 /** Sets the value of "justify-content" */
3256 void set justifyContent(String value) {
3257 setProperty('${_browserPrefix}justify-content', value, '');
3258 }
3259
3260 /** Gets the value of "left" */
3261 String get left =>
3262 getPropertyValue('left');
3263
3264 /** Sets the value of "left" */
3265 void set left(String value) {
3266 setProperty('left', value, '');
3267 }
3268
3269 /** Gets the value of "letter-spacing" */
3270 String get letterSpacing =>
3271 getPropertyValue('letter-spacing');
3272
3273 /** Sets the value of "letter-spacing" */
3274 void set letterSpacing(String value) {
3275 setProperty('letter-spacing', value, '');
3276 }
3277
3278 /** Gets the value of "line-align" */
3279 String get lineAlign =>
3280 getPropertyValue('${_browserPrefix}line-align');
3281
3282 /** Sets the value of "line-align" */
3283 void set lineAlign(String value) {
3284 setProperty('${_browserPrefix}line-align', value, '');
3285 }
3286
3287 /** Gets the value of "line-box-contain" */
3288 String get lineBoxContain =>
3289 getPropertyValue('${_browserPrefix}line-box-contain');
3290
3291 /** Sets the value of "line-box-contain" */
3292 void set lineBoxContain(String value) {
3293 setProperty('${_browserPrefix}line-box-contain', value, '');
3294 }
3295
3296 /** Gets the value of "line-break" */
3297 String get lineBreak =>
3298 getPropertyValue('${_browserPrefix}line-break');
3299
3300 /** Sets the value of "line-break" */
3301 void set lineBreak(String value) {
3302 setProperty('${_browserPrefix}line-break', value, '');
3303 }
3304
3305 /** Gets the value of "line-clamp" */
3306 String get lineClamp =>
3307 getPropertyValue('${_browserPrefix}line-clamp');
3308
3309 /** Sets the value of "line-clamp" */
3310 void set lineClamp(String value) {
3311 setProperty('${_browserPrefix}line-clamp', value, '');
3312 }
3313
3314 /** Gets the value of "line-grid" */
3315 String get lineGrid =>
3316 getPropertyValue('${_browserPrefix}line-grid');
3317
3318 /** Sets the value of "line-grid" */
3319 void set lineGrid(String value) {
3320 setProperty('${_browserPrefix}line-grid', value, '');
3321 }
3322
3323 /** Gets the value of "line-height" */
3324 String get lineHeight =>
3325 getPropertyValue('line-height');
3326
3327 /** Sets the value of "line-height" */
3328 void set lineHeight(String value) {
3329 setProperty('line-height', value, '');
3330 }
3331
3332 /** Gets the value of "line-snap" */
3333 String get lineSnap =>
3334 getPropertyValue('${_browserPrefix}line-snap');
3335
3336 /** Sets the value of "line-snap" */
3337 void set lineSnap(String value) {
3338 setProperty('${_browserPrefix}line-snap', value, '');
3339 }
3340
3341 /** Gets the value of "list-style" */
3342 String get listStyle =>
3343 getPropertyValue('list-style');
3344
3345 /** Sets the value of "list-style" */
3346 void set listStyle(String value) {
3347 setProperty('list-style', value, '');
3348 }
3349
3350 /** Gets the value of "list-style-image" */
3351 String get listStyleImage =>
3352 getPropertyValue('list-style-image');
3353
3354 /** Sets the value of "list-style-image" */
3355 void set listStyleImage(String value) {
3356 setProperty('list-style-image', value, '');
3357 }
3358
3359 /** Gets the value of "list-style-position" */
3360 String get listStylePosition =>
3361 getPropertyValue('list-style-position');
3362
3363 /** Sets the value of "list-style-position" */
3364 void set listStylePosition(String value) {
3365 setProperty('list-style-position', value, '');
3366 }
3367
3368 /** Gets the value of "list-style-type" */
3369 String get listStyleType =>
3370 getPropertyValue('list-style-type');
3371
3372 /** Sets the value of "list-style-type" */
3373 void set listStyleType(String value) {
3374 setProperty('list-style-type', value, '');
3375 }
3376
3377 /** Gets the value of "locale" */
3378 String get locale =>
3379 getPropertyValue('${_browserPrefix}locale');
3380
3381 /** Sets the value of "locale" */
3382 void set locale(String value) {
3383 setProperty('${_browserPrefix}locale', value, '');
3384 }
3385
3386 /** Gets the value of "logical-height" */
3387 String get logicalHeight =>
3388 getPropertyValue('${_browserPrefix}logical-height');
3389
3390 /** Sets the value of "logical-height" */
3391 void set logicalHeight(String value) {
3392 setProperty('${_browserPrefix}logical-height', value, '');
3393 }
3394
3395 /** Gets the value of "logical-width" */
3396 String get logicalWidth =>
3397 getPropertyValue('${_browserPrefix}logical-width');
3398
3399 /** Sets the value of "logical-width" */
3400 void set logicalWidth(String value) {
3401 setProperty('${_browserPrefix}logical-width', value, '');
3402 }
3403
3404 /** Gets the value of "margin" */
3405 String get margin =>
3406 getPropertyValue('margin');
3407
3408 /** Sets the value of "margin" */
3409 void set margin(String value) {
3410 setProperty('margin', value, '');
3411 }
3412
3413 /** Gets the value of "margin-after" */
3414 String get marginAfter =>
3415 getPropertyValue('${_browserPrefix}margin-after');
3416
3417 /** Sets the value of "margin-after" */
3418 void set marginAfter(String value) {
3419 setProperty('${_browserPrefix}margin-after', value, '');
3420 }
3421
3422 /** Gets the value of "margin-after-collapse" */
3423 String get marginAfterCollapse =>
3424 getPropertyValue('${_browserPrefix}margin-after-collapse');
3425
3426 /** Sets the value of "margin-after-collapse" */
3427 void set marginAfterCollapse(String value) {
3428 setProperty('${_browserPrefix}margin-after-collapse', value, '');
3429 }
3430
3431 /** Gets the value of "margin-before" */
3432 String get marginBefore =>
3433 getPropertyValue('${_browserPrefix}margin-before');
3434
3435 /** Sets the value of "margin-before" */
3436 void set marginBefore(String value) {
3437 setProperty('${_browserPrefix}margin-before', value, '');
3438 }
3439
3440 /** Gets the value of "margin-before-collapse" */
3441 String get marginBeforeCollapse =>
3442 getPropertyValue('${_browserPrefix}margin-before-collapse');
3443
3444 /** Sets the value of "margin-before-collapse" */
3445 void set marginBeforeCollapse(String value) {
3446 setProperty('${_browserPrefix}margin-before-collapse', value, '');
3447 }
3448
3449 /** Gets the value of "margin-bottom" */
3450 String get marginBottom =>
3451 getPropertyValue('margin-bottom');
3452
3453 /** Sets the value of "margin-bottom" */
3454 void set marginBottom(String value) {
3455 setProperty('margin-bottom', value, '');
3456 }
3457
3458 /** Gets the value of "margin-bottom-collapse" */
3459 String get marginBottomCollapse =>
3460 getPropertyValue('${_browserPrefix}margin-bottom-collapse');
3461
3462 /** Sets the value of "margin-bottom-collapse" */
3463 void set marginBottomCollapse(String value) {
3464 setProperty('${_browserPrefix}margin-bottom-collapse', value, '');
3465 }
3466
3467 /** Gets the value of "margin-collapse" */
3468 String get marginCollapse =>
3469 getPropertyValue('${_browserPrefix}margin-collapse');
3470
3471 /** Sets the value of "margin-collapse" */
3472 void set marginCollapse(String value) {
3473 setProperty('${_browserPrefix}margin-collapse', value, '');
3474 }
3475
3476 /** Gets the value of "margin-end" */
3477 String get marginEnd =>
3478 getPropertyValue('${_browserPrefix}margin-end');
3479
3480 /** Sets the value of "margin-end" */
3481 void set marginEnd(String value) {
3482 setProperty('${_browserPrefix}margin-end', value, '');
3483 }
3484
3485 /** Gets the value of "margin-left" */
3486 String get marginLeft =>
3487 getPropertyValue('margin-left');
3488
3489 /** Sets the value of "margin-left" */
3490 void set marginLeft(String value) {
3491 setProperty('margin-left', value, '');
3492 }
3493
3494 /** Gets the value of "margin-right" */
3495 String get marginRight =>
3496 getPropertyValue('margin-right');
3497
3498 /** Sets the value of "margin-right" */
3499 void set marginRight(String value) {
3500 setProperty('margin-right', value, '');
3501 }
3502
3503 /** Gets the value of "margin-start" */
3504 String get marginStart =>
3505 getPropertyValue('${_browserPrefix}margin-start');
3506
3507 /** Sets the value of "margin-start" */
3508 void set marginStart(String value) {
3509 setProperty('${_browserPrefix}margin-start', value, '');
3510 }
3511
3512 /** Gets the value of "margin-top" */
3513 String get marginTop =>
3514 getPropertyValue('margin-top');
3515
3516 /** Sets the value of "margin-top" */
3517 void set marginTop(String value) {
3518 setProperty('margin-top', value, '');
3519 }
3520
3521 /** Gets the value of "margin-top-collapse" */
3522 String get marginTopCollapse =>
3523 getPropertyValue('${_browserPrefix}margin-top-collapse');
3524
3525 /** Sets the value of "margin-top-collapse" */
3526 void set marginTopCollapse(String value) {
3527 setProperty('${_browserPrefix}margin-top-collapse', value, '');
3528 }
3529
3530 /** Gets the value of "marquee" */
3531 String get marquee =>
3532 getPropertyValue('${_browserPrefix}marquee');
3533
3534 /** Sets the value of "marquee" */
3535 void set marquee(String value) {
3536 setProperty('${_browserPrefix}marquee', value, '');
3537 }
3538
3539 /** Gets the value of "marquee-direction" */
3540 String get marqueeDirection =>
3541 getPropertyValue('${_browserPrefix}marquee-direction');
3542
3543 /** Sets the value of "marquee-direction" */
3544 void set marqueeDirection(String value) {
3545 setProperty('${_browserPrefix}marquee-direction', value, '');
3546 }
3547
3548 /** Gets the value of "marquee-increment" */
3549 String get marqueeIncrement =>
3550 getPropertyValue('${_browserPrefix}marquee-increment');
3551
3552 /** Sets the value of "marquee-increment" */
3553 void set marqueeIncrement(String value) {
3554 setProperty('${_browserPrefix}marquee-increment', value, '');
3555 }
3556
3557 /** Gets the value of "marquee-repetition" */
3558 String get marqueeRepetition =>
3559 getPropertyValue('${_browserPrefix}marquee-repetition');
3560
3561 /** Sets the value of "marquee-repetition" */
3562 void set marqueeRepetition(String value) {
3563 setProperty('${_browserPrefix}marquee-repetition', value, '');
3564 }
3565
3566 /** Gets the value of "marquee-speed" */
3567 String get marqueeSpeed =>
3568 getPropertyValue('${_browserPrefix}marquee-speed');
3569
3570 /** Sets the value of "marquee-speed" */
3571 void set marqueeSpeed(String value) {
3572 setProperty('${_browserPrefix}marquee-speed', value, '');
3573 }
3574
3575 /** Gets the value of "marquee-style" */
3576 String get marqueeStyle =>
3577 getPropertyValue('${_browserPrefix}marquee-style');
3578
3579 /** Sets the value of "marquee-style" */
3580 void set marqueeStyle(String value) {
3581 setProperty('${_browserPrefix}marquee-style', value, '');
3582 }
3583
3584 /** Gets the value of "mask" */
3585 String get mask =>
3586 getPropertyValue('${_browserPrefix}mask');
3587
3588 /** Sets the value of "mask" */
3589 void set mask(String value) {
3590 setProperty('${_browserPrefix}mask', value, '');
3591 }
3592
3593 /** Gets the value of "mask-attachment" */
3594 String get maskAttachment =>
3595 getPropertyValue('${_browserPrefix}mask-attachment');
3596
3597 /** Sets the value of "mask-attachment" */
3598 void set maskAttachment(String value) {
3599 setProperty('${_browserPrefix}mask-attachment', value, '');
3600 }
3601
3602 /** Gets the value of "mask-box-image" */
3603 String get maskBoxImage =>
3604 getPropertyValue('${_browserPrefix}mask-box-image');
3605
3606 /** Sets the value of "mask-box-image" */
3607 void set maskBoxImage(String value) {
3608 setProperty('${_browserPrefix}mask-box-image', value, '');
3609 }
3610
3611 /** Gets the value of "mask-box-image-outset" */
3612 String get maskBoxImageOutset =>
3613 getPropertyValue('${_browserPrefix}mask-box-image-outset');
3614
3615 /** Sets the value of "mask-box-image-outset" */
3616 void set maskBoxImageOutset(String value) {
3617 setProperty('${_browserPrefix}mask-box-image-outset', value, '');
3618 }
3619
3620 /** Gets the value of "mask-box-image-repeat" */
3621 String get maskBoxImageRepeat =>
3622 getPropertyValue('${_browserPrefix}mask-box-image-repeat');
3623
3624 /** Sets the value of "mask-box-image-repeat" */
3625 void set maskBoxImageRepeat(String value) {
3626 setProperty('${_browserPrefix}mask-box-image-repeat', value, '');
3627 }
3628
3629 /** Gets the value of "mask-box-image-slice" */
3630 String get maskBoxImageSlice =>
3631 getPropertyValue('${_browserPrefix}mask-box-image-slice');
3632
3633 /** Sets the value of "mask-box-image-slice" */
3634 void set maskBoxImageSlice(String value) {
3635 setProperty('${_browserPrefix}mask-box-image-slice', value, '');
3636 }
3637
3638 /** Gets the value of "mask-box-image-source" */
3639 String get maskBoxImageSource =>
3640 getPropertyValue('${_browserPrefix}mask-box-image-source');
3641
3642 /** Sets the value of "mask-box-image-source" */
3643 void set maskBoxImageSource(String value) {
3644 setProperty('${_browserPrefix}mask-box-image-source', value, '');
3645 }
3646
3647 /** Gets the value of "mask-box-image-width" */
3648 String get maskBoxImageWidth =>
3649 getPropertyValue('${_browserPrefix}mask-box-image-width');
3650
3651 /** Sets the value of "mask-box-image-width" */
3652 void set maskBoxImageWidth(String value) {
3653 setProperty('${_browserPrefix}mask-box-image-width', value, '');
3654 }
3655
3656 /** Gets the value of "mask-clip" */
3657 String get maskClip =>
3658 getPropertyValue('${_browserPrefix}mask-clip');
3659
3660 /** Sets the value of "mask-clip" */
3661 void set maskClip(String value) {
3662 setProperty('${_browserPrefix}mask-clip', value, '');
3663 }
3664
3665 /** Gets the value of "mask-composite" */
3666 String get maskComposite =>
3667 getPropertyValue('${_browserPrefix}mask-composite');
3668
3669 /** Sets the value of "mask-composite" */
3670 void set maskComposite(String value) {
3671 setProperty('${_browserPrefix}mask-composite', value, '');
3672 }
3673
3674 /** Gets the value of "mask-image" */
3675 String get maskImage =>
3676 getPropertyValue('${_browserPrefix}mask-image');
3677
3678 /** Sets the value of "mask-image" */
3679 void set maskImage(String value) {
3680 setProperty('${_browserPrefix}mask-image', value, '');
3681 }
3682
3683 /** Gets the value of "mask-origin" */
3684 String get maskOrigin =>
3685 getPropertyValue('${_browserPrefix}mask-origin');
3686
3687 /** Sets the value of "mask-origin" */
3688 void set maskOrigin(String value) {
3689 setProperty('${_browserPrefix}mask-origin', value, '');
3690 }
3691
3692 /** Gets the value of "mask-position" */
3693 String get maskPosition =>
3694 getPropertyValue('${_browserPrefix}mask-position');
3695
3696 /** Sets the value of "mask-position" */
3697 void set maskPosition(String value) {
3698 setProperty('${_browserPrefix}mask-position', value, '');
3699 }
3700
3701 /** Gets the value of "mask-position-x" */
3702 String get maskPositionX =>
3703 getPropertyValue('${_browserPrefix}mask-position-x');
3704
3705 /** Sets the value of "mask-position-x" */
3706 void set maskPositionX(String value) {
3707 setProperty('${_browserPrefix}mask-position-x', value, '');
3708 }
3709
3710 /** Gets the value of "mask-position-y" */
3711 String get maskPositionY =>
3712 getPropertyValue('${_browserPrefix}mask-position-y');
3713
3714 /** Sets the value of "mask-position-y" */
3715 void set maskPositionY(String value) {
3716 setProperty('${_browserPrefix}mask-position-y', value, '');
3717 }
3718
3719 /** Gets the value of "mask-repeat" */
3720 String get maskRepeat =>
3721 getPropertyValue('${_browserPrefix}mask-repeat');
3722
3723 /** Sets the value of "mask-repeat" */
3724 void set maskRepeat(String value) {
3725 setProperty('${_browserPrefix}mask-repeat', value, '');
3726 }
3727
3728 /** Gets the value of "mask-repeat-x" */
3729 String get maskRepeatX =>
3730 getPropertyValue('${_browserPrefix}mask-repeat-x');
3731
3732 /** Sets the value of "mask-repeat-x" */
3733 void set maskRepeatX(String value) {
3734 setProperty('${_browserPrefix}mask-repeat-x', value, '');
3735 }
3736
3737 /** Gets the value of "mask-repeat-y" */
3738 String get maskRepeatY =>
3739 getPropertyValue('${_browserPrefix}mask-repeat-y');
3740
3741 /** Sets the value of "mask-repeat-y" */
3742 void set maskRepeatY(String value) {
3743 setProperty('${_browserPrefix}mask-repeat-y', value, '');
3744 }
3745
3746 /** Gets the value of "mask-size" */
3747 String get maskSize =>
3748 getPropertyValue('${_browserPrefix}mask-size');
3749
3750 /** Sets the value of "mask-size" */
3751 void set maskSize(String value) {
3752 setProperty('${_browserPrefix}mask-size', value, '');
3753 }
3754
3755 /** Gets the value of "max-height" */
3756 String get maxHeight =>
3757 getPropertyValue('max-height');
3758
3759 /** Sets the value of "max-height" */
3760 void set maxHeight(String value) {
3761 setProperty('max-height', value, '');
3762 }
3763
3764 /** Gets the value of "max-logical-height" */
3765 String get maxLogicalHeight =>
3766 getPropertyValue('${_browserPrefix}max-logical-height');
3767
3768 /** Sets the value of "max-logical-height" */
3769 void set maxLogicalHeight(String value) {
3770 setProperty('${_browserPrefix}max-logical-height', value, '');
3771 }
3772
3773 /** Gets the value of "max-logical-width" */
3774 String get maxLogicalWidth =>
3775 getPropertyValue('${_browserPrefix}max-logical-width');
3776
3777 /** Sets the value of "max-logical-width" */
3778 void set maxLogicalWidth(String value) {
3779 setProperty('${_browserPrefix}max-logical-width', value, '');
3780 }
3781
3782 /** Gets the value of "max-width" */
3783 String get maxWidth =>
3784 getPropertyValue('max-width');
3785
3786 /** Sets the value of "max-width" */
3787 void set maxWidth(String value) {
3788 setProperty('max-width', value, '');
3789 }
3790
3791 /** Gets the value of "max-zoom" */
3792 String get maxZoom =>
3793 getPropertyValue('max-zoom');
3794
3795 /** Sets the value of "max-zoom" */
3796 void set maxZoom(String value) {
3797 setProperty('max-zoom', value, '');
3798 }
3799
3800 /** Gets the value of "min-height" */
3801 String get minHeight =>
3802 getPropertyValue('min-height');
3803
3804 /** Sets the value of "min-height" */
3805 void set minHeight(String value) {
3806 setProperty('min-height', value, '');
3807 }
3808
3809 /** Gets the value of "min-logical-height" */
3810 String get minLogicalHeight =>
3811 getPropertyValue('${_browserPrefix}min-logical-height');
3812
3813 /** Sets the value of "min-logical-height" */
3814 void set minLogicalHeight(String value) {
3815 setProperty('${_browserPrefix}min-logical-height', value, '');
3816 }
3817
3818 /** Gets the value of "min-logical-width" */
3819 String get minLogicalWidth =>
3820 getPropertyValue('${_browserPrefix}min-logical-width');
3821
3822 /** Sets the value of "min-logical-width" */
3823 void set minLogicalWidth(String value) {
3824 setProperty('${_browserPrefix}min-logical-width', value, '');
3825 }
3826
3827 /** Gets the value of "min-width" */
3828 String get minWidth =>
3829 getPropertyValue('min-width');
3830
3831 /** Sets the value of "min-width" */
3832 void set minWidth(String value) {
3833 setProperty('min-width', value, '');
3834 }
3835
3836 /** Gets the value of "min-zoom" */
3837 String get minZoom =>
3838 getPropertyValue('min-zoom');
3839
3840 /** Sets the value of "min-zoom" */
3841 void set minZoom(String value) {
3842 setProperty('min-zoom', value, '');
3843 }
3844
3845 /** Gets the value of "nbsp-mode" */
3846 String get nbspMode =>
3847 getPropertyValue('${_browserPrefix}nbsp-mode');
3848
3849 /** Sets the value of "nbsp-mode" */
3850 void set nbspMode(String value) {
3851 setProperty('${_browserPrefix}nbsp-mode', value, '');
3852 }
3853
3854 /** Gets the value of "opacity" */
3855 String get opacity =>
3856 getPropertyValue('opacity');
3857
3858 /** Sets the value of "opacity" */
3859 void set opacity(String value) {
3860 setProperty('opacity', value, '');
3861 }
3862
3863 /** Gets the value of "order" */
3864 String get order =>
3865 getPropertyValue('${_browserPrefix}order');
3866
3867 /** Sets the value of "order" */
3868 void set order(String value) {
3869 setProperty('${_browserPrefix}order', value, '');
3870 }
3871
3872 /** Gets the value of "orientation" */
3873 String get orientation =>
3874 getPropertyValue('orientation');
3875
3876 /** Sets the value of "orientation" */
3877 void set orientation(String value) {
3878 setProperty('orientation', value, '');
3879 }
3880
3881 /** Gets the value of "orphans" */
3882 String get orphans =>
3883 getPropertyValue('orphans');
3884
3885 /** Sets the value of "orphans" */
3886 void set orphans(String value) {
3887 setProperty('orphans', value, '');
3888 }
3889
3890 /** Gets the value of "outline" */
3891 String get outline =>
3892 getPropertyValue('outline');
3893
3894 /** Sets the value of "outline" */
3895 void set outline(String value) {
3896 setProperty('outline', value, '');
3897 }
3898
3899 /** Gets the value of "outline-color" */
3900 String get outlineColor =>
3901 getPropertyValue('outline-color');
3902
3903 /** Sets the value of "outline-color" */
3904 void set outlineColor(String value) {
3905 setProperty('outline-color', value, '');
3906 }
3907
3908 /** Gets the value of "outline-offset" */
3909 String get outlineOffset =>
3910 getPropertyValue('outline-offset');
3911
3912 /** Sets the value of "outline-offset" */
3913 void set outlineOffset(String value) {
3914 setProperty('outline-offset', value, '');
3915 }
3916
3917 /** Gets the value of "outline-style" */
3918 String get outlineStyle =>
3919 getPropertyValue('outline-style');
3920
3921 /** Sets the value of "outline-style" */
3922 void set outlineStyle(String value) {
3923 setProperty('outline-style', value, '');
3924 }
3925
3926 /** Gets the value of "outline-width" */
3927 String get outlineWidth =>
3928 getPropertyValue('outline-width');
3929
3930 /** Sets the value of "outline-width" */
3931 void set outlineWidth(String value) {
3932 setProperty('outline-width', value, '');
3933 }
3934
3935 /** Gets the value of "overflow" */
3936 String get overflow =>
3937 getPropertyValue('overflow');
3938
3939 /** Sets the value of "overflow" */
3940 void set overflow(String value) {
3941 setProperty('overflow', value, '');
3942 }
3943
3944 /** Gets the value of "overflow-scrolling" */
3945 String get overflowScrolling =>
3946 getPropertyValue('${_browserPrefix}overflow-scrolling');
3947
3948 /** Sets the value of "overflow-scrolling" */
3949 void set overflowScrolling(String value) {
3950 setProperty('${_browserPrefix}overflow-scrolling', value, '');
3951 }
3952
3953 /** Gets the value of "overflow-wrap" */
3954 String get overflowWrap =>
3955 getPropertyValue('overflow-wrap');
3956
3957 /** Sets the value of "overflow-wrap" */
3958 void set overflowWrap(String value) {
3959 setProperty('overflow-wrap', value, '');
3960 }
3961
3962 /** Gets the value of "overflow-x" */
3963 String get overflowX =>
3964 getPropertyValue('overflow-x');
3965
3966 /** Sets the value of "overflow-x" */
3967 void set overflowX(String value) {
3968 setProperty('overflow-x', value, '');
3969 }
3970
3971 /** Gets the value of "overflow-y" */
3972 String get overflowY =>
3973 getPropertyValue('overflow-y');
3974
3975 /** Sets the value of "overflow-y" */
3976 void set overflowY(String value) {
3977 setProperty('overflow-y', value, '');
3978 }
3979
3980 /** Gets the value of "padding" */
3981 String get padding =>
3982 getPropertyValue('padding');
3983
3984 /** Sets the value of "padding" */
3985 void set padding(String value) {
3986 setProperty('padding', value, '');
3987 }
3988
3989 /** Gets the value of "padding-after" */
3990 String get paddingAfter =>
3991 getPropertyValue('${_browserPrefix}padding-after');
3992
3993 /** Sets the value of "padding-after" */
3994 void set paddingAfter(String value) {
3995 setProperty('${_browserPrefix}padding-after', value, '');
3996 }
3997
3998 /** Gets the value of "padding-before" */
3999 String get paddingBefore =>
4000 getPropertyValue('${_browserPrefix}padding-before');
4001
4002 /** Sets the value of "padding-before" */
4003 void set paddingBefore(String value) {
4004 setProperty('${_browserPrefix}padding-before', value, '');
4005 }
4006
4007 /** Gets the value of "padding-bottom" */
4008 String get paddingBottom =>
4009 getPropertyValue('padding-bottom');
4010
4011 /** Sets the value of "padding-bottom" */
4012 void set paddingBottom(String value) {
4013 setProperty('padding-bottom', value, '');
4014 }
4015
4016 /** Gets the value of "padding-end" */
4017 String get paddingEnd =>
4018 getPropertyValue('${_browserPrefix}padding-end');
4019
4020 /** Sets the value of "padding-end" */
4021 void set paddingEnd(String value) {
4022 setProperty('${_browserPrefix}padding-end', value, '');
4023 }
4024
4025 /** Gets the value of "padding-left" */
4026 String get paddingLeft =>
4027 getPropertyValue('padding-left');
4028
4029 /** Sets the value of "padding-left" */
4030 void set paddingLeft(String value) {
4031 setProperty('padding-left', value, '');
4032 }
4033
4034 /** Gets the value of "padding-right" */
4035 String get paddingRight =>
4036 getPropertyValue('padding-right');
4037
4038 /** Sets the value of "padding-right" */
4039 void set paddingRight(String value) {
4040 setProperty('padding-right', value, '');
4041 }
4042
4043 /** Gets the value of "padding-start" */
4044 String get paddingStart =>
4045 getPropertyValue('${_browserPrefix}padding-start');
4046
4047 /** Sets the value of "padding-start" */
4048 void set paddingStart(String value) {
4049 setProperty('${_browserPrefix}padding-start', value, '');
4050 }
4051
4052 /** Gets the value of "padding-top" */
4053 String get paddingTop =>
4054 getPropertyValue('padding-top');
4055
4056 /** Sets the value of "padding-top" */
4057 void set paddingTop(String value) {
4058 setProperty('padding-top', value, '');
4059 }
4060
4061 /** Gets the value of "page" */
4062 String get page =>
4063 getPropertyValue('page');
4064
4065 /** Sets the value of "page" */
4066 void set page(String value) {
4067 setProperty('page', value, '');
4068 }
4069
4070 /** Gets the value of "page-break-after" */
4071 String get pageBreakAfter =>
4072 getPropertyValue('page-break-after');
4073
4074 /** Sets the value of "page-break-after" */
4075 void set pageBreakAfter(String value) {
4076 setProperty('page-break-after', value, '');
4077 }
4078
4079 /** Gets the value of "page-break-before" */
4080 String get pageBreakBefore =>
4081 getPropertyValue('page-break-before');
4082
4083 /** Sets the value of "page-break-before" */
4084 void set pageBreakBefore(String value) {
4085 setProperty('page-break-before', value, '');
4086 }
4087
4088 /** Gets the value of "page-break-inside" */
4089 String get pageBreakInside =>
4090 getPropertyValue('page-break-inside');
4091
4092 /** Sets the value of "page-break-inside" */
4093 void set pageBreakInside(String value) {
4094 setProperty('page-break-inside', value, '');
4095 }
4096
4097 /** Gets the value of "perspective" */
4098 String get perspective =>
4099 getPropertyValue('${_browserPrefix}perspective');
4100
4101 /** Sets the value of "perspective" */
4102 void set perspective(String value) {
4103 setProperty('${_browserPrefix}perspective', value, '');
4104 }
4105
4106 /** Gets the value of "perspective-origin" */
4107 String get perspectiveOrigin =>
4108 getPropertyValue('${_browserPrefix}perspective-origin');
4109
4110 /** Sets the value of "perspective-origin" */
4111 void set perspectiveOrigin(String value) {
4112 setProperty('${_browserPrefix}perspective-origin', value, '');
4113 }
4114
4115 /** Gets the value of "perspective-origin-x" */
4116 String get perspectiveOriginX =>
4117 getPropertyValue('${_browserPrefix}perspective-origin-x');
4118
4119 /** Sets the value of "perspective-origin-x" */
4120 void set perspectiveOriginX(String value) {
4121 setProperty('${_browserPrefix}perspective-origin-x', value, '');
4122 }
4123
4124 /** Gets the value of "perspective-origin-y" */
4125 String get perspectiveOriginY =>
4126 getPropertyValue('${_browserPrefix}perspective-origin-y');
4127
4128 /** Sets the value of "perspective-origin-y" */
4129 void set perspectiveOriginY(String value) {
4130 setProperty('${_browserPrefix}perspective-origin-y', value, '');
4131 }
4132
4133 /** Gets the value of "pointer-events" */
4134 String get pointerEvents =>
4135 getPropertyValue('pointer-events');
4136
4137 /** Sets the value of "pointer-events" */
4138 void set pointerEvents(String value) {
4139 setProperty('pointer-events', value, '');
4140 }
4141
4142 /** Gets the value of "position" */
4143 String get position =>
4144 getPropertyValue('position');
4145
4146 /** Sets the value of "position" */
4147 void set position(String value) {
4148 setProperty('position', value, '');
4149 }
4150
4151 /** Gets the value of "print-color-adjust" */
4152 String get printColorAdjust =>
4153 getPropertyValue('${_browserPrefix}print-color-adjust');
4154
4155 /** Sets the value of "print-color-adjust" */
4156 void set printColorAdjust(String value) {
4157 setProperty('${_browserPrefix}print-color-adjust', value, '');
4158 }
4159
4160 /** Gets the value of "quotes" */
4161 String get quotes =>
4162 getPropertyValue('quotes');
4163
4164 /** Sets the value of "quotes" */
4165 void set quotes(String value) {
4166 setProperty('quotes', value, '');
4167 }
4168
4169 /** Gets the value of "region-break-after" */
4170 String get regionBreakAfter =>
4171 getPropertyValue('${_browserPrefix}region-break-after');
4172
4173 /** Sets the value of "region-break-after" */
4174 void set regionBreakAfter(String value) {
4175 setProperty('${_browserPrefix}region-break-after', value, '');
4176 }
4177
4178 /** Gets the value of "region-break-before" */
4179 String get regionBreakBefore =>
4180 getPropertyValue('${_browserPrefix}region-break-before');
4181
4182 /** Sets the value of "region-break-before" */
4183 void set regionBreakBefore(String value) {
4184 setProperty('${_browserPrefix}region-break-before', value, '');
4185 }
4186
4187 /** Gets the value of "region-break-inside" */
4188 String get regionBreakInside =>
4189 getPropertyValue('${_browserPrefix}region-break-inside');
4190
4191 /** Sets the value of "region-break-inside" */
4192 void set regionBreakInside(String value) {
4193 setProperty('${_browserPrefix}region-break-inside', value, '');
4194 }
4195
4196 /** Gets the value of "region-overflow" */
4197 String get regionOverflow =>
4198 getPropertyValue('${_browserPrefix}region-overflow');
4199
4200 /** Sets the value of "region-overflow" */
4201 void set regionOverflow(String value) {
4202 setProperty('${_browserPrefix}region-overflow', value, '');
4203 }
4204
4205 /** Gets the value of "resize" */
4206 String get resize =>
4207 getPropertyValue('resize');
4208
4209 /** Sets the value of "resize" */
4210 void set resize(String value) {
4211 setProperty('resize', value, '');
4212 }
4213
4214 /** Gets the value of "right" */
4215 String get right =>
4216 getPropertyValue('right');
4217
4218 /** Sets the value of "right" */
4219 void set right(String value) {
4220 setProperty('right', value, '');
4221 }
4222
4223 /** Gets the value of "rtl-ordering" */
4224 String get rtlOrdering =>
4225 getPropertyValue('${_browserPrefix}rtl-ordering');
4226
4227 /** Sets the value of "rtl-ordering" */
4228 void set rtlOrdering(String value) {
4229 setProperty('${_browserPrefix}rtl-ordering', value, '');
4230 }
4231
4232 /** Gets the value of "shape-inside" */
4233 String get shapeInside =>
4234 getPropertyValue('${_browserPrefix}shape-inside');
4235
4236 /** Sets the value of "shape-inside" */
4237 void set shapeInside(String value) {
4238 setProperty('${_browserPrefix}shape-inside', value, '');
4239 }
4240
4241 /** Gets the value of "shape-margin" */
4242 String get shapeMargin =>
4243 getPropertyValue('${_browserPrefix}shape-margin');
4244
4245 /** Sets the value of "shape-margin" */
4246 void set shapeMargin(String value) {
4247 setProperty('${_browserPrefix}shape-margin', value, '');
4248 }
4249
4250 /** Gets the value of "shape-outside" */
4251 String get shapeOutside =>
4252 getPropertyValue('${_browserPrefix}shape-outside');
4253
4254 /** Sets the value of "shape-outside" */
4255 void set shapeOutside(String value) {
4256 setProperty('${_browserPrefix}shape-outside', value, '');
4257 }
4258
4259 /** Gets the value of "shape-padding" */
4260 String get shapePadding =>
4261 getPropertyValue('${_browserPrefix}shape-padding');
4262
4263 /** Sets the value of "shape-padding" */
4264 void set shapePadding(String value) {
4265 setProperty('${_browserPrefix}shape-padding', value, '');
4266 }
4267
4268 /** Gets the value of "size" */
4269 String get size =>
4270 getPropertyValue('size');
4271
4272 /** Sets the value of "size" */
4273 void set size(String value) {
4274 setProperty('size', value, '');
4275 }
4276
4277 /** Gets the value of "speak" */
4278 String get speak =>
4279 getPropertyValue('speak');
4280
4281 /** Sets the value of "speak" */
4282 void set speak(String value) {
4283 setProperty('speak', value, '');
4284 }
4285
4286 /** Gets the value of "src" */
4287 String get src =>
4288 getPropertyValue('src');
4289
4290 /** Sets the value of "src" */
4291 void set src(String value) {
4292 setProperty('src', value, '');
4293 }
4294
4295 /** Gets the value of "tab-size" */
4296 String get tabSize =>
4297 getPropertyValue('tab-size');
4298
4299 /** Sets the value of "tab-size" */
4300 void set tabSize(String value) {
4301 setProperty('tab-size', value, '');
4302 }
4303
4304 /** Gets the value of "table-layout" */
4305 String get tableLayout =>
4306 getPropertyValue('table-layout');
4307
4308 /** Sets the value of "table-layout" */
4309 void set tableLayout(String value) {
4310 setProperty('table-layout', value, '');
4311 }
4312
4313 /** Gets the value of "tap-highlight-color" */
4314 String get tapHighlightColor =>
4315 getPropertyValue('${_browserPrefix}tap-highlight-color');
4316
4317 /** Sets the value of "tap-highlight-color" */
4318 void set tapHighlightColor(String value) {
4319 setProperty('${_browserPrefix}tap-highlight-color', value, '');
4320 }
4321
4322 /** Gets the value of "text-align" */
4323 String get textAlign =>
4324 getPropertyValue('text-align');
4325
4326 /** Sets the value of "text-align" */
4327 void set textAlign(String value) {
4328 setProperty('text-align', value, '');
4329 }
4330
4331 /** Gets the value of "text-align-last" */
4332 String get textAlignLast =>
4333 getPropertyValue('${_browserPrefix}text-align-last');
4334
4335 /** Sets the value of "text-align-last" */
4336 void set textAlignLast(String value) {
4337 setProperty('${_browserPrefix}text-align-last', value, '');
4338 }
4339
4340 /** Gets the value of "text-combine" */
4341 String get textCombine =>
4342 getPropertyValue('${_browserPrefix}text-combine');
4343
4344 /** Sets the value of "text-combine" */
4345 void set textCombine(String value) {
4346 setProperty('${_browserPrefix}text-combine', value, '');
4347 }
4348
4349 /** Gets the value of "text-decoration" */
4350 String get textDecoration =>
4351 getPropertyValue('text-decoration');
4352
4353 /** Sets the value of "text-decoration" */
4354 void set textDecoration(String value) {
4355 setProperty('text-decoration', value, '');
4356 }
4357
4358 /** Gets the value of "text-decoration-line" */
4359 String get textDecorationLine =>
4360 getPropertyValue('${_browserPrefix}text-decoration-line');
4361
4362 /** Sets the value of "text-decoration-line" */
4363 void set textDecorationLine(String value) {
4364 setProperty('${_browserPrefix}text-decoration-line', value, '');
4365 }
4366
4367 /** Gets the value of "text-decoration-style" */
4368 String get textDecorationStyle =>
4369 getPropertyValue('${_browserPrefix}text-decoration-style');
4370
4371 /** Sets the value of "text-decoration-style" */
4372 void set textDecorationStyle(String value) {
4373 setProperty('${_browserPrefix}text-decoration-style', value, '');
4374 }
4375
4376 /** Gets the value of "text-decorations-in-effect" */
4377 String get textDecorationsInEffect =>
4378 getPropertyValue('${_browserPrefix}text-decorations-in-effect');
4379
4380 /** Sets the value of "text-decorations-in-effect" */
4381 void set textDecorationsInEffect(String value) {
4382 setProperty('${_browserPrefix}text-decorations-in-effect', value, '');
4383 }
4384
4385 /** Gets the value of "text-emphasis" */
4386 String get textEmphasis =>
4387 getPropertyValue('${_browserPrefix}text-emphasis');
4388
4389 /** Sets the value of "text-emphasis" */
4390 void set textEmphasis(String value) {
4391 setProperty('${_browserPrefix}text-emphasis', value, '');
4392 }
4393
4394 /** Gets the value of "text-emphasis-color" */
4395 String get textEmphasisColor =>
4396 getPropertyValue('${_browserPrefix}text-emphasis-color');
4397
4398 /** Sets the value of "text-emphasis-color" */
4399 void set textEmphasisColor(String value) {
4400 setProperty('${_browserPrefix}text-emphasis-color', value, '');
4401 }
4402
4403 /** Gets the value of "text-emphasis-position" */
4404 String get textEmphasisPosition =>
4405 getPropertyValue('${_browserPrefix}text-emphasis-position');
4406
4407 /** Sets the value of "text-emphasis-position" */
4408 void set textEmphasisPosition(String value) {
4409 setProperty('${_browserPrefix}text-emphasis-position', value, '');
4410 }
4411
4412 /** Gets the value of "text-emphasis-style" */
4413 String get textEmphasisStyle =>
4414 getPropertyValue('${_browserPrefix}text-emphasis-style');
4415
4416 /** Sets the value of "text-emphasis-style" */
4417 void set textEmphasisStyle(String value) {
4418 setProperty('${_browserPrefix}text-emphasis-style', value, '');
4419 }
4420
4421 /** Gets the value of "text-fill-color" */
4422 String get textFillColor =>
4423 getPropertyValue('${_browserPrefix}text-fill-color');
4424
4425 /** Sets the value of "text-fill-color" */
4426 void set textFillColor(String value) {
4427 setProperty('${_browserPrefix}text-fill-color', value, '');
4428 }
4429
4430 /** Gets the value of "text-indent" */
4431 String get textIndent =>
4432 getPropertyValue('text-indent');
4433
4434 /** Sets the value of "text-indent" */
4435 void set textIndent(String value) {
4436 setProperty('text-indent', value, '');
4437 }
4438
4439 /** Gets the value of "text-line-through" */
4440 String get textLineThrough =>
4441 getPropertyValue('text-line-through');
4442
4443 /** Sets the value of "text-line-through" */
4444 void set textLineThrough(String value) {
4445 setProperty('text-line-through', value, '');
4446 }
4447
4448 /** Gets the value of "text-line-through-color" */
4449 String get textLineThroughColor =>
4450 getPropertyValue('text-line-through-color');
4451
4452 /** Sets the value of "text-line-through-color" */
4453 void set textLineThroughColor(String value) {
4454 setProperty('text-line-through-color', value, '');
4455 }
4456
4457 /** Gets the value of "text-line-through-mode" */
4458 String get textLineThroughMode =>
4459 getPropertyValue('text-line-through-mode');
4460
4461 /** Sets the value of "text-line-through-mode" */
4462 void set textLineThroughMode(String value) {
4463 setProperty('text-line-through-mode', value, '');
4464 }
4465
4466 /** Gets the value of "text-line-through-style" */
4467 String get textLineThroughStyle =>
4468 getPropertyValue('text-line-through-style');
4469
4470 /** Sets the value of "text-line-through-style" */
4471 void set textLineThroughStyle(String value) {
4472 setProperty('text-line-through-style', value, '');
4473 }
4474
4475 /** Gets the value of "text-line-through-width" */
4476 String get textLineThroughWidth =>
4477 getPropertyValue('text-line-through-width');
4478
4479 /** Sets the value of "text-line-through-width" */
4480 void set textLineThroughWidth(String value) {
4481 setProperty('text-line-through-width', value, '');
4482 }
4483
4484 /** Gets the value of "text-orientation" */
4485 String get textOrientation =>
4486 getPropertyValue('${_browserPrefix}text-orientation');
4487
4488 /** Sets the value of "text-orientation" */
4489 void set textOrientation(String value) {
4490 setProperty('${_browserPrefix}text-orientation', value, '');
4491 }
4492
4493 /** Gets the value of "text-overflow" */
4494 String get textOverflow =>
4495 getPropertyValue('text-overflow');
4496
4497 /** Sets the value of "text-overflow" */
4498 void set textOverflow(String value) {
4499 setProperty('text-overflow', value, '');
4500 }
4501
4502 /** Gets the value of "text-overline" */
4503 String get textOverline =>
4504 getPropertyValue('text-overline');
4505
4506 /** Sets the value of "text-overline" */
4507 void set textOverline(String value) {
4508 setProperty('text-overline', value, '');
4509 }
4510
4511 /** Gets the value of "text-overline-color" */
4512 String get textOverlineColor =>
4513 getPropertyValue('text-overline-color');
4514
4515 /** Sets the value of "text-overline-color" */
4516 void set textOverlineColor(String value) {
4517 setProperty('text-overline-color', value, '');
4518 }
4519
4520 /** Gets the value of "text-overline-mode" */
4521 String get textOverlineMode =>
4522 getPropertyValue('text-overline-mode');
4523
4524 /** Sets the value of "text-overline-mode" */
4525 void set textOverlineMode(String value) {
4526 setProperty('text-overline-mode', value, '');
4527 }
4528
4529 /** Gets the value of "text-overline-style" */
4530 String get textOverlineStyle =>
4531 getPropertyValue('text-overline-style');
4532
4533 /** Sets the value of "text-overline-style" */
4534 void set textOverlineStyle(String value) {
4535 setProperty('text-overline-style', value, '');
4536 }
4537
4538 /** Gets the value of "text-overline-width" */
4539 String get textOverlineWidth =>
4540 getPropertyValue('text-overline-width');
4541
4542 /** Sets the value of "text-overline-width" */
4543 void set textOverlineWidth(String value) {
4544 setProperty('text-overline-width', value, '');
4545 }
4546
4547 /** Gets the value of "text-rendering" */
4548 String get textRendering =>
4549 getPropertyValue('text-rendering');
4550
4551 /** Sets the value of "text-rendering" */
4552 void set textRendering(String value) {
4553 setProperty('text-rendering', value, '');
4554 }
4555
4556 /** Gets the value of "text-security" */
4557 String get textSecurity =>
4558 getPropertyValue('${_browserPrefix}text-security');
4559
4560 /** Sets the value of "text-security" */
4561 void set textSecurity(String value) {
4562 setProperty('${_browserPrefix}text-security', value, '');
4563 }
4564
4565 /** Gets the value of "text-shadow" */
4566 String get textShadow =>
4567 getPropertyValue('text-shadow');
4568
4569 /** Sets the value of "text-shadow" */
4570 void set textShadow(String value) {
4571 setProperty('text-shadow', value, '');
4572 }
4573
4574 /** Gets the value of "text-size-adjust" */
4575 String get textSizeAdjust =>
4576 getPropertyValue('${_browserPrefix}text-size-adjust');
4577
4578 /** Sets the value of "text-size-adjust" */
4579 void set textSizeAdjust(String value) {
4580 setProperty('${_browserPrefix}text-size-adjust', value, '');
4581 }
4582
4583 /** Gets the value of "text-stroke" */
4584 String get textStroke =>
4585 getPropertyValue('${_browserPrefix}text-stroke');
4586
4587 /** Sets the value of "text-stroke" */
4588 void set textStroke(String value) {
4589 setProperty('${_browserPrefix}text-stroke', value, '');
4590 }
4591
4592 /** Gets the value of "text-stroke-color" */
4593 String get textStrokeColor =>
4594 getPropertyValue('${_browserPrefix}text-stroke-color');
4595
4596 /** Sets the value of "text-stroke-color" */
4597 void set textStrokeColor(String value) {
4598 setProperty('${_browserPrefix}text-stroke-color', value, '');
4599 }
4600
4601 /** Gets the value of "text-stroke-width" */
4602 String get textStrokeWidth =>
4603 getPropertyValue('${_browserPrefix}text-stroke-width');
4604
4605 /** Sets the value of "text-stroke-width" */
4606 void set textStrokeWidth(String value) {
4607 setProperty('${_browserPrefix}text-stroke-width', value, '');
4608 }
4609
4610 /** Gets the value of "text-transform" */
4611 String get textTransform =>
4612 getPropertyValue('text-transform');
4613
4614 /** Sets the value of "text-transform" */
4615 void set textTransform(String value) {
4616 setProperty('text-transform', value, '');
4617 }
4618
4619 /** Gets the value of "text-underline" */
4620 String get textUnderline =>
4621 getPropertyValue('text-underline');
4622
4623 /** Sets the value of "text-underline" */
4624 void set textUnderline(String value) {
4625 setProperty('text-underline', value, '');
4626 }
4627
4628 /** Gets the value of "text-underline-color" */
4629 String get textUnderlineColor =>
4630 getPropertyValue('text-underline-color');
4631
4632 /** Sets the value of "text-underline-color" */
4633 void set textUnderlineColor(String value) {
4634 setProperty('text-underline-color', value, '');
4635 }
4636
4637 /** Gets the value of "text-underline-mode" */
4638 String get textUnderlineMode =>
4639 getPropertyValue('text-underline-mode');
4640
4641 /** Sets the value of "text-underline-mode" */
4642 void set textUnderlineMode(String value) {
4643 setProperty('text-underline-mode', value, '');
4644 }
4645
4646 /** Gets the value of "text-underline-style" */
4647 String get textUnderlineStyle =>
4648 getPropertyValue('text-underline-style');
4649
4650 /** Sets the value of "text-underline-style" */
4651 void set textUnderlineStyle(String value) {
4652 setProperty('text-underline-style', value, '');
4653 }
4654
4655 /** Gets the value of "text-underline-width" */
4656 String get textUnderlineWidth =>
4657 getPropertyValue('text-underline-width');
4658
4659 /** Sets the value of "text-underline-width" */
4660 void set textUnderlineWidth(String value) {
4661 setProperty('text-underline-width', value, '');
4662 }
4663
4664 /** Gets the value of "top" */
4665 String get top =>
4666 getPropertyValue('top');
4667
4668 /** Sets the value of "top" */
4669 void set top(String value) {
4670 setProperty('top', value, '');
4671 }
4672
4673 /** Gets the value of "transform" */
4674 String get transform =>
4675 getPropertyValue('${_browserPrefix}transform');
4676
4677 /** Sets the value of "transform" */
4678 void set transform(String value) {
4679 setProperty('${_browserPrefix}transform', value, '');
4680 }
4681
4682 /** Gets the value of "transform-origin" */
4683 String get transformOrigin =>
4684 getPropertyValue('${_browserPrefix}transform-origin');
4685
4686 /** Sets the value of "transform-origin" */
4687 void set transformOrigin(String value) {
4688 setProperty('${_browserPrefix}transform-origin', value, '');
4689 }
4690
4691 /** Gets the value of "transform-origin-x" */
4692 String get transformOriginX =>
4693 getPropertyValue('${_browserPrefix}transform-origin-x');
4694
4695 /** Sets the value of "transform-origin-x" */
4696 void set transformOriginX(String value) {
4697 setProperty('${_browserPrefix}transform-origin-x', value, '');
4698 }
4699
4700 /** Gets the value of "transform-origin-y" */
4701 String get transformOriginY =>
4702 getPropertyValue('${_browserPrefix}transform-origin-y');
4703
4704 /** Sets the value of "transform-origin-y" */
4705 void set transformOriginY(String value) {
4706 setProperty('${_browserPrefix}transform-origin-y', value, '');
4707 }
4708
4709 /** Gets the value of "transform-origin-z" */
4710 String get transformOriginZ =>
4711 getPropertyValue('${_browserPrefix}transform-origin-z');
4712
4713 /** Sets the value of "transform-origin-z" */
4714 void set transformOriginZ(String value) {
4715 setProperty('${_browserPrefix}transform-origin-z', value, '');
4716 }
4717
4718 /** Gets the value of "transform-style" */
4719 String get transformStyle =>
4720 getPropertyValue('${_browserPrefix}transform-style');
4721
4722 /** Sets the value of "transform-style" */
4723 void set transformStyle(String value) {
4724 setProperty('${_browserPrefix}transform-style', value, '');
4725 }
4726
4727 /** Gets the value of "transition" */
4728 String get transition =>
4729 getPropertyValue('${_browserPrefix}transition');
4730
4731 /** Sets the value of "transition" */
4732 void set transition(String value) {
4733 setProperty('${_browserPrefix}transition', value, '');
4734 }
4735
4736 /** Gets the value of "transition-delay" */
4737 String get transitionDelay =>
4738 getPropertyValue('${_browserPrefix}transition-delay');
4739
4740 /** Sets the value of "transition-delay" */
4741 void set transitionDelay(String value) {
4742 setProperty('${_browserPrefix}transition-delay', value, '');
4743 }
4744
4745 /** Gets the value of "transition-duration" */
4746 String get transitionDuration =>
4747 getPropertyValue('${_browserPrefix}transition-duration');
4748
4749 /** Sets the value of "transition-duration" */
4750 void set transitionDuration(String value) {
4751 setProperty('${_browserPrefix}transition-duration', value, '');
4752 }
4753
4754 /** Gets the value of "transition-property" */
4755 String get transitionProperty =>
4756 getPropertyValue('${_browserPrefix}transition-property');
4757
4758 /** Sets the value of "transition-property" */
4759 void set transitionProperty(String value) {
4760 setProperty('${_browserPrefix}transition-property', value, '');
4761 }
4762
4763 /** Gets the value of "transition-timing-function" */
4764 String get transitionTimingFunction =>
4765 getPropertyValue('${_browserPrefix}transition-timing-function');
4766
4767 /** Sets the value of "transition-timing-function" */
4768 void set transitionTimingFunction(String value) {
4769 setProperty('${_browserPrefix}transition-timing-function', value, '');
4770 }
4771
4772 /** Gets the value of "unicode-bidi" */
4773 String get unicodeBidi =>
4774 getPropertyValue('unicode-bidi');
4775
4776 /** Sets the value of "unicode-bidi" */
4777 void set unicodeBidi(String value) {
4778 setProperty('unicode-bidi', value, '');
4779 }
4780
4781 /** Gets the value of "unicode-range" */
4782 String get unicodeRange =>
4783 getPropertyValue('unicode-range');
4784
4785 /** Sets the value of "unicode-range" */
4786 void set unicodeRange(String value) {
4787 setProperty('unicode-range', value, '');
4788 }
4789
4790 /** Gets the value of "user-drag" */
4791 String get userDrag =>
4792 getPropertyValue('${_browserPrefix}user-drag');
4793
4794 /** Sets the value of "user-drag" */
4795 void set userDrag(String value) {
4796 setProperty('${_browserPrefix}user-drag', value, '');
4797 }
4798
4799 /** Gets the value of "user-modify" */
4800 String get userModify =>
4801 getPropertyValue('${_browserPrefix}user-modify');
4802
4803 /** Sets the value of "user-modify" */
4804 void set userModify(String value) {
4805 setProperty('${_browserPrefix}user-modify', value, '');
4806 }
4807
4808 /** Gets the value of "user-select" */
4809 String get userSelect =>
4810 getPropertyValue('${_browserPrefix}user-select');
4811
4812 /** Sets the value of "user-select" */
4813 void set userSelect(String value) {
4814 setProperty('${_browserPrefix}user-select', value, '');
4815 }
4816
4817 /** Gets the value of "user-zoom" */
4818 String get userZoom =>
4819 getPropertyValue('user-zoom');
4820
4821 /** Sets the value of "user-zoom" */
4822 void set userZoom(String value) {
4823 setProperty('user-zoom', value, '');
4824 }
4825
4826 /** Gets the value of "vertical-align" */
4827 String get verticalAlign =>
4828 getPropertyValue('vertical-align');
4829
4830 /** Sets the value of "vertical-align" */
4831 void set verticalAlign(String value) {
4832 setProperty('vertical-align', value, '');
4833 }
4834
4835 /** Gets the value of "visibility" */
4836 String get visibility =>
4837 getPropertyValue('visibility');
4838
4839 /** Sets the value of "visibility" */
4840 void set visibility(String value) {
4841 setProperty('visibility', value, '');
4842 }
4843
4844 /** Gets the value of "white-space" */
4845 String get whiteSpace =>
4846 getPropertyValue('white-space');
4847
4848 /** Sets the value of "white-space" */
4849 void set whiteSpace(String value) {
4850 setProperty('white-space', value, '');
4851 }
4852
4853 /** Gets the value of "widows" */
4854 String get widows =>
4855 getPropertyValue('widows');
4856
4857 /** Sets the value of "widows" */
4858 void set widows(String value) {
4859 setProperty('widows', value, '');
4860 }
4861
4862 /** Gets the value of "width" */
4863 String get width =>
4864 getPropertyValue('width');
4865
4866 /** Sets the value of "width" */
4867 void set width(String value) {
4868 setProperty('width', value, '');
4869 }
4870
4871 /** Gets the value of "word-break" */
4872 String get wordBreak =>
4873 getPropertyValue('word-break');
4874
4875 /** Sets the value of "word-break" */
4876 void set wordBreak(String value) {
4877 setProperty('word-break', value, '');
4878 }
4879
4880 /** Gets the value of "word-spacing" */
4881 String get wordSpacing =>
4882 getPropertyValue('word-spacing');
4883
4884 /** Sets the value of "word-spacing" */
4885 void set wordSpacing(String value) {
4886 setProperty('word-spacing', value, '');
4887 }
4888
4889 /** Gets the value of "word-wrap" */
4890 String get wordWrap =>
4891 getPropertyValue('word-wrap');
4892
4893 /** Sets the value of "word-wrap" */
4894 void set wordWrap(String value) {
4895 setProperty('word-wrap', value, '');
4896 }
4897
4898 /** Gets the value of "wrap" */
4899 String get wrap =>
4900 getPropertyValue('${_browserPrefix}wrap');
4901
4902 /** Sets the value of "wrap" */
4903 void set wrap(String value) {
4904 setProperty('${_browserPrefix}wrap', value, '');
4905 }
4906
4907 /** Gets the value of "wrap-flow" */
4908 String get wrapFlow =>
4909 getPropertyValue('${_browserPrefix}wrap-flow');
4910
4911 /** Sets the value of "wrap-flow" */
4912 void set wrapFlow(String value) {
4913 setProperty('${_browserPrefix}wrap-flow', value, '');
4914 }
4915
4916 /** Gets the value of "wrap-through" */
4917 String get wrapThrough =>
4918 getPropertyValue('${_browserPrefix}wrap-through');
4919
4920 /** Sets the value of "wrap-through" */
4921 void set wrapThrough(String value) {
4922 setProperty('${_browserPrefix}wrap-through', value, '');
4923 }
4924
4925 /** Gets the value of "writing-mode" */
4926 String get writingMode =>
4927 getPropertyValue('${_browserPrefix}writing-mode');
4928
4929 /** Sets the value of "writing-mode" */
4930 void set writingMode(String value) {
4931 setProperty('${_browserPrefix}writing-mode', value, '');
4932 }
4933
4934 /** Gets the value of "z-index" */
4935 String get zIndex =>
4936 getPropertyValue('z-index');
4937
4938 /** Sets the value of "z-index" */
4939 void set zIndex(String value) {
4940 setProperty('z-index', value, '');
4941 }
4942
4943 /** Gets the value of "zoom" */
4944 String get zoom =>
4945 getPropertyValue('zoom');
4946
4947 /** Sets the value of "zoom" */
4948 void set zoom(String value) {
4949 setProperty('zoom', value, '');
4950 }
4951 }
4952 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4953 // for details. All rights reserved. Use of this source code is governed by a
4954 // BSD-style license that can be found in the LICENSE file.
4955
4956
4957 /// @domName CSSStyleRule; @docsEditable true
4958 class CssStyleRule extends CssRule native "*CSSStyleRule" {
4959
4960 /// @domName CSSStyleRule.selectorText; @docsEditable true
4961 String selectorText;
4962
4963 /// @domName CSSStyleRule.style; @docsEditable true
4964 final CssStyleDeclaration style;
4965 }
4966 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4967 // for details. All rights reserved. Use of this source code is governed by a
4968 // BSD-style license that can be found in the LICENSE file.
4969
4970
4971 /// @domName CSSStyleSheet; @docsEditable true
4972 class CssStyleSheet extends StyleSheet native "*CSSStyleSheet" {
4973
4974 /// @domName CSSStyleSheet.cssRules; @docsEditable true
4975 @Returns('_CssRuleList') @Creates('_CssRuleList')
4976 final List<CssRule> cssRules;
4977
4978 /// @domName CSSStyleSheet.ownerRule; @docsEditable true
4979 final CssRule ownerRule;
4980
4981 /// @domName CSSStyleSheet.rules; @docsEditable true
4982 @Returns('_CssRuleList') @Creates('_CssRuleList')
4983 final List<CssRule> rules;
4984
4985 /// @domName CSSStyleSheet.addRule; @docsEditable true
4986 int addRule(String selector, String style, [int index]) native;
4987
4988 /// @domName CSSStyleSheet.deleteRule; @docsEditable true
4989 void deleteRule(int index) native;
4990
4991 /// @domName CSSStyleSheet.insertRule; @docsEditable true
4992 int insertRule(String rule, int index) native;
4993
4994 /// @domName CSSStyleSheet.removeRule; @docsEditable true
4995 void removeRule(int index) native;
4996 }
4997 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4998 // for details. All rights reserved. Use of this source code is governed by a
4999 // BSD-style license that can be found in the LICENSE file.
5000
5001
5002 /// @domName WebKitCSSTransformValue; @docsEditable true
5003 class CssTransformValue extends _CssValueList native "*WebKitCSSTransformValue" {
5004
5005 static const int CSS_MATRIX = 11;
5006
5007 static const int CSS_MATRIX3D = 21;
5008
5009 static const int CSS_PERSPECTIVE = 20;
5010
5011 static const int CSS_ROTATE = 4;
5012
5013 static const int CSS_ROTATE3D = 17;
5014
5015 static const int CSS_ROTATEX = 14;
5016
5017 static const int CSS_ROTATEY = 15;
5018
5019 static const int CSS_ROTATEZ = 16;
5020
5021 static const int CSS_SCALE = 5;
5022
5023 static const int CSS_SCALE3D = 19;
5024
5025 static const int CSS_SCALEX = 6;
5026
5027 static const int CSS_SCALEY = 7;
5028
5029 static const int CSS_SCALEZ = 18;
5030
5031 static const int CSS_SKEW = 8;
5032
5033 static const int CSS_SKEWX = 9;
5034
5035 static const int CSS_SKEWY = 10;
5036
5037 static const int CSS_TRANSLATE = 1;
5038
5039 static const int CSS_TRANSLATE3D = 13;
5040
5041 static const int CSS_TRANSLATEX = 2;
5042
5043 static const int CSS_TRANSLATEY = 3;
5044
5045 static const int CSS_TRANSLATEZ = 12;
5046
5047 /// @domName WebKitCSSTransformValue.operationType; @docsEditable true
5048 final int operationType;
5049 }
5050 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5051 // for details. All rights reserved. Use of this source code is governed by a
5052 // BSD-style license that can be found in the LICENSE file.
5053
5054
5055 /// @domName CSSUnknownRule; @docsEditable true
5056 class CssUnknownRule extends CssRule native "*CSSUnknownRule" {
5057 }
5058 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5059 // for details. All rights reserved. Use of this source code is governed by a
5060 // BSD-style license that can be found in the LICENSE file.
5061
5062
5063 /// @domName CSSValue; @docsEditable true
5064 class CssValue native "*CSSValue" {
5065
5066 static const int CSS_CUSTOM = 3;
5067
5068 static const int CSS_INHERIT = 0;
5069
5070 static const int CSS_PRIMITIVE_VALUE = 1;
5071
5072 static const int CSS_VALUE_LIST = 2;
5073
5074 /// @domName CSSValue.cssText; @docsEditable true
5075 String cssText;
5076
5077 /// @domName CSSValue.cssValueType; @docsEditable true
5078 final int cssValueType;
5079 }
5080 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5081 // for details. All rights reserved. Use of this source code is governed by a
5014 // BSD-style license that can be found in the LICENSE file. 5082 // BSD-style license that can be found in the LICENSE file.
5015 5083
5016 // WARNING: Do not edit - generated code. 5084 // WARNING: Do not edit - generated code.
5017 5085
5018 5086
5019 /// @domName CustomEvent 5087 /// @domName CustomEvent
5020 class CustomEvent extends Event native "*CustomEvent" { 5088 class CustomEvent extends Event native "*CustomEvent" {
5021 factory CustomEvent(String type, [bool canBubble = true, bool cancelable = tru e, 5089 factory CustomEvent(String type, [bool canBubble = true, bool cancelable = tru e,
5022 Object detail]) => _CustomEventFactoryProvider.createCustomEvent( 5090 Object detail]) => _CustomEventFactoryProvider.createCustomEvent(
5023 type, canBubble, cancelable, detail); 5091 type, canBubble, cancelable, detail);
(...skipping 17 matching lines...) Expand all
5041 factory DListElement() => document.$dom_createElement("dl"); 5109 factory DListElement() => document.$dom_createElement("dl");
5042 5110
5043 /// @domName HTMLDListElement.compact; @docsEditable true 5111 /// @domName HTMLDListElement.compact; @docsEditable true
5044 bool compact; 5112 bool compact;
5045 } 5113 }
5046 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5114 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5047 // for details. All rights reserved. Use of this source code is governed by a 5115 // for details. All rights reserved. Use of this source code is governed by a
5048 // BSD-style license that can be found in the LICENSE file. 5116 // BSD-style license that can be found in the LICENSE file.
5049 5117
5050 5118
5051 /// @domName DOMApplicationCache; @docsEditable true
5052 class DOMApplicationCache extends EventTarget native "*DOMApplicationCache" {
5053
5054 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
5055 DOMApplicationCacheEvents get on =>
5056 new DOMApplicationCacheEvents(this);
5057
5058 static const int CHECKING = 2;
5059
5060 static const int DOWNLOADING = 3;
5061
5062 static const int IDLE = 1;
5063
5064 static const int OBSOLETE = 5;
5065
5066 static const int UNCACHED = 0;
5067
5068 static const int UPDATEREADY = 4;
5069
5070 /// @domName DOMApplicationCache.status; @docsEditable true
5071 final int status;
5072
5073 /// @domName DOMApplicationCache.abort; @docsEditable true
5074 void abort() native;
5075
5076 /// @domName DOMApplicationCache.addEventListener; @docsEditable true
5077 @JSName('addEventListener')
5078 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native;
5079
5080 /// @domName DOMApplicationCache.dispatchEvent; @docsEditable true
5081 @JSName('dispatchEvent')
5082 bool $dom_dispatchEvent(Event evt) native;
5083
5084 /// @domName DOMApplicationCache.removeEventListener; @docsEditable true
5085 @JSName('removeEventListener')
5086 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native;
5087
5088 /// @domName DOMApplicationCache.swapCache; @docsEditable true
5089 void swapCache() native;
5090
5091 /// @domName DOMApplicationCache.update; @docsEditable true
5092 void update() native;
5093 }
5094
5095 class DOMApplicationCacheEvents extends Events {
5096 DOMApplicationCacheEvents(EventTarget _ptr) : super(_ptr);
5097
5098 EventListenerList get cached => this['cached'];
5099
5100 EventListenerList get checking => this['checking'];
5101
5102 EventListenerList get downloading => this['downloading'];
5103
5104 EventListenerList get error => this['error'];
5105
5106 EventListenerList get noUpdate => this['noupdate'];
5107
5108 EventListenerList get obsolete => this['obsolete'];
5109
5110 EventListenerList get progress => this['progress'];
5111
5112 EventListenerList get updateReady => this['updateready'];
5113 }
5114 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5115 // for details. All rights reserved. Use of this source code is governed by a
5116 // BSD-style license that can be found in the LICENSE file.
5117
5118
5119 /// @domName DOMError; @docsEditable true
5120 class DOMError native "*DOMError" {
5121
5122 /// @domName DOMError.name; @docsEditable true
5123 final String name;
5124 }
5125 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5126 // for details. All rights reserved. Use of this source code is governed by a
5127 // BSD-style license that can be found in the LICENSE file.
5128
5129
5130 /// @domName DOMException; @docsEditable true
5131 class DOMException native "*DOMException" {
5132
5133 static const int ABORT_ERR = 20;
5134
5135 static const int DATA_CLONE_ERR = 25;
5136
5137 static const int DOMSTRING_SIZE_ERR = 2;
5138
5139 static const int HIERARCHY_REQUEST_ERR = 3;
5140
5141 static const int INDEX_SIZE_ERR = 1;
5142
5143 static const int INUSE_ATTRIBUTE_ERR = 10;
5144
5145 static const int INVALID_ACCESS_ERR = 15;
5146
5147 static const int INVALID_CHARACTER_ERR = 5;
5148
5149 static const int INVALID_MODIFICATION_ERR = 13;
5150
5151 static const int INVALID_NODE_TYPE_ERR = 24;
5152
5153 static const int INVALID_STATE_ERR = 11;
5154
5155 static const int NAMESPACE_ERR = 14;
5156
5157 static const int NETWORK_ERR = 19;
5158
5159 static const int NOT_FOUND_ERR = 8;
5160
5161 static const int NOT_SUPPORTED_ERR = 9;
5162
5163 static const int NO_DATA_ALLOWED_ERR = 6;
5164
5165 static const int NO_MODIFICATION_ALLOWED_ERR = 7;
5166
5167 static const int QUOTA_EXCEEDED_ERR = 22;
5168
5169 static const int SECURITY_ERR = 18;
5170
5171 static const int SYNTAX_ERR = 12;
5172
5173 static const int TIMEOUT_ERR = 23;
5174
5175 static const int TYPE_MISMATCH_ERR = 17;
5176
5177 static const int URL_MISMATCH_ERR = 21;
5178
5179 static const int VALIDATION_ERR = 16;
5180
5181 static const int WRONG_DOCUMENT_ERR = 4;
5182
5183 /// @domName DOMException.code; @docsEditable true
5184 final int code;
5185
5186 /// @domName DOMException.message; @docsEditable true
5187 final String message;
5188
5189 /// @domName DOMException.name; @docsEditable true
5190 final String name;
5191
5192 /// @domName DOMException.toString; @docsEditable true
5193 String toString() native;
5194 }
5195 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5196 // for details. All rights reserved. Use of this source code is governed by a
5197 // BSD-style license that can be found in the LICENSE file.
5198
5199
5200 /// @domName DOMFileSystem; @docsEditable true
5201 class DOMFileSystem native "*DOMFileSystem" {
5202
5203 /// @domName DOMFileSystem.name; @docsEditable true
5204 final String name;
5205
5206 /// @domName DOMFileSystem.root; @docsEditable true
5207 final DirectoryEntry root;
5208 }
5209 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5210 // for details. All rights reserved. Use of this source code is governed by a
5211 // BSD-style license that can be found in the LICENSE file.
5212
5213
5214 /// @domName DOMFileSystemSync; @docsEditable true
5215 class DOMFileSystemSync native "*DOMFileSystemSync" {
5216
5217 /// @domName DOMFileSystemSync.name; @docsEditable true
5218 final String name;
5219
5220 /// @domName DOMFileSystemSync.root; @docsEditable true
5221 final DirectoryEntrySync root;
5222 }
5223 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5224 // for details. All rights reserved. Use of this source code is governed by a
5225 // BSD-style license that can be found in the LICENSE file.
5226
5227
5228 /// @domName DOMImplementation; @docsEditable true
5229 class DOMImplementation native "*DOMImplementation" {
5230
5231 /// @domName DOMImplementation.createCSSStyleSheet; @docsEditable true
5232 @JSName('createCSSStyleSheet')
5233 CSSStyleSheet createCssStyleSheet(String title, String media) native;
5234
5235 /// @domName DOMImplementation.createDocument; @docsEditable true
5236 Document createDocument(String namespaceURI, String qualifiedName, DocumentTyp e doctype) native;
5237
5238 /// @domName DOMImplementation.createDocumentType; @docsEditable true
5239 DocumentType createDocumentType(String qualifiedName, String publicId, String systemId) native;
5240
5241 /// @domName DOMImplementation.createHTMLDocument; @docsEditable true
5242 @JSName('createHTMLDocument')
5243 HtmlDocument createHtmlDocument(String title) native;
5244
5245 /// @domName DOMImplementation.hasFeature; @docsEditable true
5246 bool hasFeature(String feature, String version) native;
5247 }
5248 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5249 // for details. All rights reserved. Use of this source code is governed by a
5250 // BSD-style license that can be found in the LICENSE file.
5251
5252
5253 /// @domName MimeType; @docsEditable true
5254 class DOMMimeType native "*MimeType" {
5255
5256 /// @domName MimeType.description; @docsEditable true
5257 final String description;
5258
5259 /// @domName MimeType.enabledPlugin; @docsEditable true
5260 final DOMPlugin enabledPlugin;
5261
5262 /// @domName MimeType.suffixes; @docsEditable true
5263 final String suffixes;
5264
5265 /// @domName MimeType.type; @docsEditable true
5266 final String type;
5267 }
5268 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5269 // for details. All rights reserved. Use of this source code is governed by a
5270 // BSD-style license that can be found in the LICENSE file.
5271
5272
5273 /// @domName MimeTypeArray; @docsEditable true
5274 class DOMMimeTypeArray implements JavaScriptIndexingBehavior, List<DOMMimeType> native "*MimeTypeArray" {
5275
5276 /// @domName MimeTypeArray.length; @docsEditable true
5277 final int length;
5278
5279 DOMMimeType operator[](int index) => JS("DOMMimeType", "#[#]", this, index);
5280
5281 void operator[]=(int index, DOMMimeType value) {
5282 throw new UnsupportedError("Cannot assign element of immutable List.");
5283 }
5284 // -- start List<DOMMimeType> mixins.
5285 // DOMMimeType is the element type.
5286
5287 // From Iterable<DOMMimeType>:
5288
5289 Iterator<DOMMimeType> iterator() {
5290 // Note: NodeLists are not fixed size. And most probably length shouldn't
5291 // be cached in both iterator _and_ forEach method. For now caching it
5292 // for consistency.
5293 return new FixedSizeListIterator<DOMMimeType>(this);
5294 }
5295
5296 // From Collection<DOMMimeType>:
5297
5298 void add(DOMMimeType value) {
5299 throw new UnsupportedError("Cannot add to immutable List.");
5300 }
5301
5302 void addLast(DOMMimeType value) {
5303 throw new UnsupportedError("Cannot add to immutable List.");
5304 }
5305
5306 void addAll(Collection<DOMMimeType> collection) {
5307 throw new UnsupportedError("Cannot add to immutable List.");
5308 }
5309
5310 dynamic reduce(dynamic initialValue, dynamic combine(dynamic, DOMMimeType)) {
5311 return Collections.reduce(this, initialValue, combine);
5312 }
5313
5314 bool contains(DOMMimeType element) => Collections.contains(this, element);
5315
5316 void forEach(void f(DOMMimeType element)) => Collections.forEach(this, f);
5317
5318 Collection map(f(DOMMimeType element)) => Collections.map(this, [], f);
5319
5320 Collection<DOMMimeType> filter(bool f(DOMMimeType element)) =>
5321 Collections.filter(this, <DOMMimeType>[], f);
5322
5323 bool every(bool f(DOMMimeType element)) => Collections.every(this, f);
5324
5325 bool some(bool f(DOMMimeType element)) => Collections.some(this, f);
5326
5327 bool get isEmpty => this.length == 0;
5328
5329 // From List<DOMMimeType>:
5330
5331 void sort([Comparator<DOMMimeType> compare = Comparable.compare]) {
5332 throw new UnsupportedError("Cannot sort immutable List.");
5333 }
5334
5335 int indexOf(DOMMimeType element, [int start = 0]) =>
5336 Lists.indexOf(this, element, start, this.length);
5337
5338 int lastIndexOf(DOMMimeType element, [int start]) {
5339 if (start == null) start = length - 1;
5340 return Lists.lastIndexOf(this, element, start);
5341 }
5342
5343 DOMMimeType get first => this[0];
5344
5345 DOMMimeType get last => this[length - 1];
5346
5347 DOMMimeType removeAt(int pos) {
5348 throw new UnsupportedError("Cannot removeAt on immutable List.");
5349 }
5350
5351 DOMMimeType removeLast() {
5352 throw new UnsupportedError("Cannot removeLast on immutable List.");
5353 }
5354
5355 void setRange(int start, int rangeLength, List<DOMMimeType> from, [int startFr om]) {
5356 throw new UnsupportedError("Cannot setRange on immutable List.");
5357 }
5358
5359 void removeRange(int start, int rangeLength) {
5360 throw new UnsupportedError("Cannot removeRange on immutable List.");
5361 }
5362
5363 void insertRange(int start, int rangeLength, [DOMMimeType initialValue]) {
5364 throw new UnsupportedError("Cannot insertRange on immutable List.");
5365 }
5366
5367 List<DOMMimeType> getRange(int start, int rangeLength) =>
5368 Lists.getRange(this, start, rangeLength, <DOMMimeType>[]);
5369
5370 // -- end List<DOMMimeType> mixins.
5371
5372 /// @domName MimeTypeArray.item; @docsEditable true
5373 DOMMimeType item(int index) native;
5374
5375 /// @domName MimeTypeArray.namedItem; @docsEditable true
5376 DOMMimeType namedItem(String name) native;
5377 }
5378 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5379 // for details. All rights reserved. Use of this source code is governed by a
5380 // BSD-style license that can be found in the LICENSE file.
5381
5382
5383 /// @domName DOMParser; @docsEditable true
5384 class DOMParser native "*DOMParser" {
5385
5386 factory DOMParser() => _DOMParserFactoryProvider.createDOMParser();
5387
5388 /// @domName DOMParser.parseFromString; @docsEditable true
5389 Document parseFromString(String str, String contentType) native;
5390 }
5391 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5392 // for details. All rights reserved. Use of this source code is governed by a
5393 // BSD-style license that can be found in the LICENSE file.
5394
5395
5396 /// @domName Plugin; @docsEditable true
5397 class DOMPlugin native "*Plugin" {
5398
5399 /// @domName Plugin.description; @docsEditable true
5400 final String description;
5401
5402 /// @domName Plugin.filename; @docsEditable true
5403 final String filename;
5404
5405 /// @domName Plugin.length; @docsEditable true
5406 final int length;
5407
5408 /// @domName Plugin.name; @docsEditable true
5409 final String name;
5410
5411 /// @domName Plugin.item; @docsEditable true
5412 DOMMimeType item(int index) native;
5413
5414 /// @domName Plugin.namedItem; @docsEditable true
5415 DOMMimeType namedItem(String name) native;
5416 }
5417 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5418 // for details. All rights reserved. Use of this source code is governed by a
5419 // BSD-style license that can be found in the LICENSE file.
5420
5421
5422 /// @domName PluginArray; @docsEditable true
5423 class DOMPluginArray implements JavaScriptIndexingBehavior, List<DOMPlugin> nati ve "*PluginArray" {
5424
5425 /// @domName PluginArray.length; @docsEditable true
5426 final int length;
5427
5428 DOMPlugin operator[](int index) => JS("DOMPlugin", "#[#]", this, index);
5429
5430 void operator[]=(int index, DOMPlugin value) {
5431 throw new UnsupportedError("Cannot assign element of immutable List.");
5432 }
5433 // -- start List<DOMPlugin> mixins.
5434 // DOMPlugin is the element type.
5435
5436 // From Iterable<DOMPlugin>:
5437
5438 Iterator<DOMPlugin> iterator() {
5439 // Note: NodeLists are not fixed size. And most probably length shouldn't
5440 // be cached in both iterator _and_ forEach method. For now caching it
5441 // for consistency.
5442 return new FixedSizeListIterator<DOMPlugin>(this);
5443 }
5444
5445 // From Collection<DOMPlugin>:
5446
5447 void add(DOMPlugin value) {
5448 throw new UnsupportedError("Cannot add to immutable List.");
5449 }
5450
5451 void addLast(DOMPlugin value) {
5452 throw new UnsupportedError("Cannot add to immutable List.");
5453 }
5454
5455 void addAll(Collection<DOMPlugin> collection) {
5456 throw new UnsupportedError("Cannot add to immutable List.");
5457 }
5458
5459 dynamic reduce(dynamic initialValue, dynamic combine(dynamic, DOMPlugin)) {
5460 return Collections.reduce(this, initialValue, combine);
5461 }
5462
5463 bool contains(DOMPlugin element) => Collections.contains(this, element);
5464
5465 void forEach(void f(DOMPlugin element)) => Collections.forEach(this, f);
5466
5467 Collection map(f(DOMPlugin element)) => Collections.map(this, [], f);
5468
5469 Collection<DOMPlugin> filter(bool f(DOMPlugin element)) =>
5470 Collections.filter(this, <DOMPlugin>[], f);
5471
5472 bool every(bool f(DOMPlugin element)) => Collections.every(this, f);
5473
5474 bool some(bool f(DOMPlugin element)) => Collections.some(this, f);
5475
5476 bool get isEmpty => this.length == 0;
5477
5478 // From List<DOMPlugin>:
5479
5480 void sort([Comparator<DOMPlugin> compare = Comparable.compare]) {
5481 throw new UnsupportedError("Cannot sort immutable List.");
5482 }
5483
5484 int indexOf(DOMPlugin element, [int start = 0]) =>
5485 Lists.indexOf(this, element, start, this.length);
5486
5487 int lastIndexOf(DOMPlugin element, [int start]) {
5488 if (start == null) start = length - 1;
5489 return Lists.lastIndexOf(this, element, start);
5490 }
5491
5492 DOMPlugin get first => this[0];
5493
5494 DOMPlugin get last => this[length - 1];
5495
5496 DOMPlugin removeAt(int pos) {
5497 throw new UnsupportedError("Cannot removeAt on immutable List.");
5498 }
5499
5500 DOMPlugin removeLast() {
5501 throw new UnsupportedError("Cannot removeLast on immutable List.");
5502 }
5503
5504 void setRange(int start, int rangeLength, List<DOMPlugin> from, [int startFrom ]) {
5505 throw new UnsupportedError("Cannot setRange on immutable List.");
5506 }
5507
5508 void removeRange(int start, int rangeLength) {
5509 throw new UnsupportedError("Cannot removeRange on immutable List.");
5510 }
5511
5512 void insertRange(int start, int rangeLength, [DOMPlugin initialValue]) {
5513 throw new UnsupportedError("Cannot insertRange on immutable List.");
5514 }
5515
5516 List<DOMPlugin> getRange(int start, int rangeLength) =>
5517 Lists.getRange(this, start, rangeLength, <DOMPlugin>[]);
5518
5519 // -- end List<DOMPlugin> mixins.
5520
5521 /// @domName PluginArray.item; @docsEditable true
5522 DOMPlugin item(int index) native;
5523
5524 /// @domName PluginArray.namedItem; @docsEditable true
5525 DOMPlugin namedItem(String name) native;
5526
5527 /// @domName PluginArray.refresh; @docsEditable true
5528 void refresh(bool reload) native;
5529 }
5530 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5531 // for details. All rights reserved. Use of this source code is governed by a
5532 // BSD-style license that can be found in the LICENSE file.
5533
5534
5535 /// @domName Selection; @docsEditable true
5536 class DOMSelection native "*Selection" {
5537
5538 /// @domName Selection.anchorNode; @docsEditable true
5539 final Node anchorNode;
5540
5541 /// @domName Selection.anchorOffset; @docsEditable true
5542 final int anchorOffset;
5543
5544 /// @domName Selection.baseNode; @docsEditable true
5545 final Node baseNode;
5546
5547 /// @domName Selection.baseOffset; @docsEditable true
5548 final int baseOffset;
5549
5550 /// @domName Selection.extentNode; @docsEditable true
5551 final Node extentNode;
5552
5553 /// @domName Selection.extentOffset; @docsEditable true
5554 final int extentOffset;
5555
5556 /// @domName Selection.focusNode; @docsEditable true
5557 final Node focusNode;
5558
5559 /// @domName Selection.focusOffset; @docsEditable true
5560 final int focusOffset;
5561
5562 /// @domName Selection.isCollapsed; @docsEditable true
5563 final bool isCollapsed;
5564
5565 /// @domName Selection.rangeCount; @docsEditable true
5566 final int rangeCount;
5567
5568 /// @domName Selection.type; @docsEditable true
5569 final String type;
5570
5571 /// @domName Selection.addRange; @docsEditable true
5572 void addRange(Range range) native;
5573
5574 /// @domName Selection.collapse; @docsEditable true
5575 void collapse(Node node, int index) native;
5576
5577 /// @domName Selection.collapseToEnd; @docsEditable true
5578 void collapseToEnd() native;
5579
5580 /// @domName Selection.collapseToStart; @docsEditable true
5581 void collapseToStart() native;
5582
5583 /// @domName Selection.containsNode; @docsEditable true
5584 bool containsNode(Node node, bool allowPartial) native;
5585
5586 /// @domName Selection.deleteFromDocument; @docsEditable true
5587 void deleteFromDocument() native;
5588
5589 /// @domName Selection.empty; @docsEditable true
5590 void empty() native;
5591
5592 /// @domName Selection.extend; @docsEditable true
5593 void extend(Node node, int offset) native;
5594
5595 /// @domName Selection.getRangeAt; @docsEditable true
5596 Range getRangeAt(int index) native;
5597
5598 /// @domName Selection.modify; @docsEditable true
5599 void modify(String alter, String direction, String granularity) native;
5600
5601 /// @domName Selection.removeAllRanges; @docsEditable true
5602 void removeAllRanges() native;
5603
5604 /// @domName Selection.selectAllChildren; @docsEditable true
5605 void selectAllChildren(Node node) native;
5606
5607 /// @domName Selection.setBaseAndExtent; @docsEditable true
5608 void setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int exte ntOffset) native;
5609
5610 /// @domName Selection.setPosition; @docsEditable true
5611 void setPosition(Node node, int offset) native;
5612
5613 /// @domName Selection.toString; @docsEditable true
5614 String toString() native;
5615 }
5616 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5617 // for details. All rights reserved. Use of this source code is governed by a
5618 // BSD-style license that can be found in the LICENSE file.
5619
5620
5621 /// @domName DOMSettableTokenList; @docsEditable true
5622 class DOMSettableTokenList extends DOMTokenList native "*DOMSettableTokenList" {
5623
5624 /// @domName DOMSettableTokenList.value; @docsEditable true
5625 String value;
5626 }
5627 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5628 // for details. All rights reserved. Use of this source code is governed by a
5629 // BSD-style license that can be found in the LICENSE file.
5630
5631
5632 /// @domName DOMStringMap
5633 abstract class DOMStringMap {
5634 }
5635 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5636 // for details. All rights reserved. Use of this source code is governed by a
5637 // BSD-style license that can be found in the LICENSE file.
5638
5639
5640 /// @domName DOMTokenList; @docsEditable true
5641 class DOMTokenList native "*DOMTokenList" {
5642
5643 /// @domName DOMTokenList.length; @docsEditable true
5644 final int length;
5645
5646 /// @domName DOMTokenList.contains; @docsEditable true
5647 bool contains(String token) native;
5648
5649 /// @domName DOMTokenList.item; @docsEditable true
5650 String item(int index) native;
5651
5652 /// @domName DOMTokenList.toString; @docsEditable true
5653 String toString() native;
5654
5655 /// @domName DOMTokenList.toggle; @docsEditable true
5656 bool toggle(String token, [bool force]) native;
5657 }
5658 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5659 // for details. All rights reserved. Use of this source code is governed by a
5660 // BSD-style license that can be found in the LICENSE file.
5661
5662
5663 /// @domName HTMLDataListElement; @docsEditable true 5119 /// @domName HTMLDataListElement; @docsEditable true
5664 class DataListElement extends Element implements Element native "*HTMLDataListEl ement" { 5120 class DataListElement extends Element implements Element native "*HTMLDataListEl ement" {
5665 5121
5666 factory DataListElement() => document.$dom_createElement("datalist"); 5122 factory DataListElement() => document.$dom_createElement("datalist");
5667 5123
5668 /// @domName HTMLDataListElement.options; @docsEditable true 5124 /// @domName HTMLDataListElement.options; @docsEditable true
5669 final HTMLCollection options; 5125 final HtmlCollection options;
5670 } 5126 }
5671 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5127 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5672 // for details. All rights reserved. Use of this source code is governed by a 5128 // for details. All rights reserved. Use of this source code is governed by a
5673 // BSD-style license that can be found in the LICENSE file. 5129 // BSD-style license that can be found in the LICENSE file.
5674 5130
5675 5131
5676 /// @domName DataTransferItem; @docsEditable true 5132 /// @domName DataTransferItem; @docsEditable true
5677 class DataTransferItem native "*DataTransferItem" { 5133 class DataTransferItem native "*DataTransferItem" {
5678 5134
5679 /// @domName DataTransferItem.kind; @docsEditable true 5135 /// @domName DataTransferItem.kind; @docsEditable true
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
6120 final Element documentElement; 5576 final Element documentElement;
6121 5577
6122 /// @domName Document.domain; @docsEditable true 5578 /// @domName Document.domain; @docsEditable true
6123 final String domain; 5579 final String domain;
6124 5580
6125 /// @domName Document.head; @docsEditable true 5581 /// @domName Document.head; @docsEditable true
6126 @JSName('head') 5582 @JSName('head')
6127 final HeadElement $dom_head; 5583 final HeadElement $dom_head;
6128 5584
6129 /// @domName Document.implementation; @docsEditable true 5585 /// @domName Document.implementation; @docsEditable true
6130 final DOMImplementation implementation; 5586 final DomImplementation implementation;
6131 5587
6132 /// @domName Document.lastModified; @docsEditable true 5588 /// @domName Document.lastModified; @docsEditable true
6133 @JSName('lastModified') 5589 @JSName('lastModified')
6134 final String $dom_lastModified; 5590 final String $dom_lastModified;
6135 5591
6136 /// @domName Document.preferredStylesheetSet; @docsEditable true 5592 /// @domName Document.preferredStylesheetSet; @docsEditable true
6137 final String preferredStylesheetSet; 5593 final String preferredStylesheetSet;
6138 5594
6139 /// @domName Document.readyState; @docsEditable true 5595 /// @domName Document.readyState; @docsEditable true
6140 final String readyState; 5596 final String readyState;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
6178 /// @domName Document.webkitVisibilityState; @docsEditable true 5634 /// @domName Document.webkitVisibilityState; @docsEditable true
6179 @JSName('webkitVisibilityState') 5635 @JSName('webkitVisibilityState')
6180 final String $dom_webkitVisibilityState; 5636 final String $dom_webkitVisibilityState;
6181 5637
6182 /// @domName Document.caretRangeFromPoint; @docsEditable true 5638 /// @domName Document.caretRangeFromPoint; @docsEditable true
6183 @JSName('caretRangeFromPoint') 5639 @JSName('caretRangeFromPoint')
6184 Range $dom_caretRangeFromPoint(int x, int y) native; 5640 Range $dom_caretRangeFromPoint(int x, int y) native;
6185 5641
6186 /// @domName Document.createCDATASection; @docsEditable true 5642 /// @domName Document.createCDATASection; @docsEditable true
6187 @JSName('createCDATASection') 5643 @JSName('createCDATASection')
6188 CDATASection createCDataSection(String data) native; 5644 CDataSection createCDataSection(String data) native;
6189 5645
6190 /// @domName Document.createDocumentFragment; @docsEditable true 5646 /// @domName Document.createDocumentFragment; @docsEditable true
6191 DocumentFragment createDocumentFragment() native; 5647 DocumentFragment createDocumentFragment() native;
6192 5648
6193 /// @domName Document.createElement; @docsEditable true 5649 /// @domName Document.createElement; @docsEditable true
6194 @JSName('createElement') 5650 @JSName('createElement')
6195 Element $dom_createElement(String tagName) native; 5651 Element $dom_createElement(String tagName) native;
6196 5652
6197 /// @domName Document.createElementNS; @docsEditable true 5653 /// @domName Document.createElementNS; @docsEditable true
6198 @JSName('createElementNS') 5654 @JSName('createElementNS')
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
6359 5815
6360 EventListenerList get pointerLockChange => this['webkitpointerlockchange']; 5816 EventListenerList get pointerLockChange => this['webkitpointerlockchange'];
6361 5817
6362 EventListenerList get pointerLockError => this['webkitpointerlockerror']; 5818 EventListenerList get pointerLockError => this['webkitpointerlockerror'];
6363 } 5819 }
6364 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 5820 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6365 // for details. All rights reserved. Use of this source code is governed by a 5821 // for details. All rights reserved. Use of this source code is governed by a
6366 // BSD-style license that can be found in the LICENSE file. 5822 // BSD-style license that can be found in the LICENSE file.
6367 5823
6368 5824
6369 Future<CSSStyleDeclaration> _emptyStyleFuture() { 5825 Future<CssStyleDeclaration> _emptyStyleFuture() {
6370 return _createMeasurementFuture(() => new Element.tag('div').style, 5826 return _createMeasurementFuture(() => new Element.tag('div').style,
6371 new Completer<CSSStyleDeclaration>()); 5827 new Completer<CssStyleDeclaration>());
6372 } 5828 }
6373 5829
6374 class _FrozenCssClassSet extends CssClassSet { 5830 class _FrozenCssClassSet extends CssClassSet {
6375 void writeClasses(Set s) { 5831 void writeClasses(Set s) {
6376 throw new UnsupportedError( 5832 throw new UnsupportedError(
6377 'frozen class set cannot be modified'); 5833 'frozen class set cannot be modified');
6378 } 5834 }
6379 Set<String> readClasses() => new Set<String>(); 5835 Set<String> readClasses() => new Set<String>();
6380 5836
6381 bool get frozen => true; 5837 bool get frozen => true;
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
6505 return null; 5961 return null;
6506 } 5962 }
6507 Element get $m_lastElementChild => elements.last; 5963 Element get $m_lastElementChild => elements.last;
6508 Element get nextElementSibling => null; 5964 Element get nextElementSibling => null;
6509 Element get previousElementSibling => null; 5965 Element get previousElementSibling => null;
6510 Element get offsetParent => null; 5966 Element get offsetParent => null;
6511 Element get parent => null; 5967 Element get parent => null;
6512 Map<String, String> get attributes => const {}; 5968 Map<String, String> get attributes => const {};
6513 CssClassSet get classes => new _FrozenCssClassSet(); 5969 CssClassSet get classes => new _FrozenCssClassSet();
6514 Map<String, String> get dataAttributes => const {}; 5970 Map<String, String> get dataAttributes => const {};
6515 CSSStyleDeclaration get style => new Element.tag('div').style; 5971 CssStyleDeclaration get style => new Element.tag('div').style;
6516 Future<CSSStyleDeclaration> get computedStyle => 5972 Future<CssStyleDeclaration> get computedStyle =>
6517 _emptyStyleFuture(); 5973 _emptyStyleFuture();
6518 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement) => 5974 Future<CssStyleDeclaration> getComputedStyle(String pseudoElement) =>
6519 _emptyStyleFuture(); 5975 _emptyStyleFuture();
6520 bool matchesSelector(String selectors) => false; 5976 bool matchesSelector(String selectors) => false;
6521 5977
6522 // Imperative Element methods are made into no-ops, as they are on parentless 5978 // Imperative Element methods are made into no-ops, as they are on parentless
6523 // elements. 5979 // elements.
6524 void blur() {} 5980 void blur() {}
6525 void focus() {} 5981 void focus() {}
6526 void click() {} 5982 void click() {}
6527 void scrollByLines(int lines) {} 5983 void scrollByLines(int lines) {}
6528 void scrollByPages(int pages) {} 5984 void scrollByPages(int pages) {}
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
6669 final String systemId; 6125 final String systemId;
6670 6126
6671 /// @domName DocumentType.remove; @docsEditable true 6127 /// @domName DocumentType.remove; @docsEditable true
6672 void remove() native; 6128 void remove() native;
6673 } 6129 }
6674 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6130 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6675 // for details. All rights reserved. Use of this source code is governed by a 6131 // for details. All rights reserved. Use of this source code is governed by a
6676 // BSD-style license that can be found in the LICENSE file. 6132 // BSD-style license that can be found in the LICENSE file.
6677 6133
6678 6134
6679 /// @domName EXTTextureFilterAnisotropic; @docsEditable true 6135 /// @domName DOMError; @docsEditable true
6680 class EXTTextureFilterAnisotropic native "*EXTTextureFilterAnisotropic" { 6136 class DomError native "*DOMError" {
6681 6137
6682 static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF; 6138 /// @domName DOMError.name; @docsEditable true
6683 6139 final String name;
6684 static const int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE; 6140 }
6685 } 6141 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6686 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6142 // for details. All rights reserved. Use of this source code is governed by a
6687 // for details. All rights reserved. Use of this source code is governed by a 6143 // BSD-style license that can be found in the LICENSE file.
6144
6145
6146 /// @domName DOMException; @docsEditable true
6147 class DomException native "*DOMException" {
6148
6149 static const int ABORT_ERR = 20;
6150
6151 static const int DATA_CLONE_ERR = 25;
6152
6153 static const int DOMSTRING_SIZE_ERR = 2;
6154
6155 static const int HIERARCHY_REQUEST_ERR = 3;
6156
6157 static const int INDEX_SIZE_ERR = 1;
6158
6159 static const int INUSE_ATTRIBUTE_ERR = 10;
6160
6161 static const int INVALID_ACCESS_ERR = 15;
6162
6163 static const int INVALID_CHARACTER_ERR = 5;
6164
6165 static const int INVALID_MODIFICATION_ERR = 13;
6166
6167 static const int INVALID_NODE_TYPE_ERR = 24;
6168
6169 static const int INVALID_STATE_ERR = 11;
6170
6171 static const int NAMESPACE_ERR = 14;
6172
6173 static const int NETWORK_ERR = 19;
6174
6175 static const int NOT_FOUND_ERR = 8;
6176
6177 static const int NOT_SUPPORTED_ERR = 9;
6178
6179 static const int NO_DATA_ALLOWED_ERR = 6;
6180
6181 static const int NO_MODIFICATION_ALLOWED_ERR = 7;
6182
6183 static const int QUOTA_EXCEEDED_ERR = 22;
6184
6185 static const int SECURITY_ERR = 18;
6186
6187 static const int SYNTAX_ERR = 12;
6188
6189 static const int TIMEOUT_ERR = 23;
6190
6191 static const int TYPE_MISMATCH_ERR = 17;
6192
6193 static const int URL_MISMATCH_ERR = 21;
6194
6195 static const int VALIDATION_ERR = 16;
6196
6197 static const int WRONG_DOCUMENT_ERR = 4;
6198
6199 /// @domName DOMException.code; @docsEditable true
6200 final int code;
6201
6202 /// @domName DOMException.message; @docsEditable true
6203 final String message;
6204
6205 /// @domName DOMException.name; @docsEditable true
6206 final String name;
6207
6208 /// @domName DOMException.toString; @docsEditable true
6209 String toString() native;
6210 }
6211 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6212 // for details. All rights reserved. Use of this source code is governed by a
6213 // BSD-style license that can be found in the LICENSE file.
6214
6215
6216 /// @domName DOMImplementation; @docsEditable true
6217 class DomImplementation native "*DOMImplementation" {
6218
6219 /// @domName DOMImplementation.createCSSStyleSheet; @docsEditable true
6220 @JSName('createCSSStyleSheet')
6221 CssStyleSheet createCssStyleSheet(String title, String media) native;
6222
6223 /// @domName DOMImplementation.createDocument; @docsEditable true
6224 Document createDocument(String namespaceURI, String qualifiedName, DocumentTyp e doctype) native;
6225
6226 /// @domName DOMImplementation.createDocumentType; @docsEditable true
6227 DocumentType createDocumentType(String qualifiedName, String publicId, String systemId) native;
6228
6229 /// @domName DOMImplementation.createHTMLDocument; @docsEditable true
6230 @JSName('createHTMLDocument')
6231 HtmlDocument createHtmlDocument(String title) native;
6232
6233 /// @domName DOMImplementation.hasFeature; @docsEditable true
6234 bool hasFeature(String feature, String version) native;
6235 }
6236 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6237 // for details. All rights reserved. Use of this source code is governed by a
6238 // BSD-style license that can be found in the LICENSE file.
6239
6240
6241 /// @domName MimeType; @docsEditable true
6242 class DomMimeType native "*MimeType" {
6243
6244 /// @domName MimeType.description; @docsEditable true
6245 final String description;
6246
6247 /// @domName MimeType.enabledPlugin; @docsEditable true
6248 final DomPlugin enabledPlugin;
6249
6250 /// @domName MimeType.suffixes; @docsEditable true
6251 final String suffixes;
6252
6253 /// @domName MimeType.type; @docsEditable true
6254 final String type;
6255 }
6256 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6257 // for details. All rights reserved. Use of this source code is governed by a
6258 // BSD-style license that can be found in the LICENSE file.
6259
6260
6261 /// @domName MimeTypeArray; @docsEditable true
6262 class DomMimeTypeArray implements JavaScriptIndexingBehavior, List<DomMimeType> native "*MimeTypeArray" {
6263
6264 /// @domName MimeTypeArray.length; @docsEditable true
6265 final int length;
6266
6267 DomMimeType operator[](int index) => JS("DomMimeType", "#[#]", this, index);
6268
6269 void operator[]=(int index, DomMimeType value) {
6270 throw new UnsupportedError("Cannot assign element of immutable List.");
6271 }
6272 // -- start List<DomMimeType> mixins.
6273 // DomMimeType is the element type.
6274
6275 // From Iterable<DomMimeType>:
6276
6277 Iterator<DomMimeType> iterator() {
6278 // Note: NodeLists are not fixed size. And most probably length shouldn't
6279 // be cached in both iterator _and_ forEach method. For now caching it
6280 // for consistency.
6281 return new FixedSizeListIterator<DomMimeType>(this);
6282 }
6283
6284 // From Collection<DomMimeType>:
6285
6286 void add(DomMimeType value) {
6287 throw new UnsupportedError("Cannot add to immutable List.");
6288 }
6289
6290 void addLast(DomMimeType value) {
6291 throw new UnsupportedError("Cannot add to immutable List.");
6292 }
6293
6294 void addAll(Collection<DomMimeType> collection) {
6295 throw new UnsupportedError("Cannot add to immutable List.");
6296 }
6297
6298 dynamic reduce(dynamic initialValue, dynamic combine(dynamic, DomMimeType)) {
6299 return Collections.reduce(this, initialValue, combine);
6300 }
6301
6302 bool contains(DomMimeType element) => Collections.contains(this, element);
6303
6304 void forEach(void f(DomMimeType element)) => Collections.forEach(this, f);
6305
6306 Collection map(f(DomMimeType element)) => Collections.map(this, [], f);
6307
6308 Collection<DomMimeType> filter(bool f(DomMimeType element)) =>
6309 Collections.filter(this, <DomMimeType>[], f);
6310
6311 bool every(bool f(DomMimeType element)) => Collections.every(this, f);
6312
6313 bool some(bool f(DomMimeType element)) => Collections.some(this, f);
6314
6315 bool get isEmpty => this.length == 0;
6316
6317 // From List<DomMimeType>:
6318
6319 void sort([Comparator<DomMimeType> compare = Comparable.compare]) {
6320 throw new UnsupportedError("Cannot sort immutable List.");
6321 }
6322
6323 int indexOf(DomMimeType element, [int start = 0]) =>
6324 Lists.indexOf(this, element, start, this.length);
6325
6326 int lastIndexOf(DomMimeType element, [int start]) {
6327 if (start == null) start = length - 1;
6328 return Lists.lastIndexOf(this, element, start);
6329 }
6330
6331 DomMimeType get first => this[0];
6332
6333 DomMimeType get last => this[length - 1];
6334
6335 DomMimeType removeAt(int pos) {
6336 throw new UnsupportedError("Cannot removeAt on immutable List.");
6337 }
6338
6339 DomMimeType removeLast() {
6340 throw new UnsupportedError("Cannot removeLast on immutable List.");
6341 }
6342
6343 void setRange(int start, int rangeLength, List<DomMimeType> from, [int startFr om]) {
6344 throw new UnsupportedError("Cannot setRange on immutable List.");
6345 }
6346
6347 void removeRange(int start, int rangeLength) {
6348 throw new UnsupportedError("Cannot removeRange on immutable List.");
6349 }
6350
6351 void insertRange(int start, int rangeLength, [DomMimeType initialValue]) {
6352 throw new UnsupportedError("Cannot insertRange on immutable List.");
6353 }
6354
6355 List<DomMimeType> getRange(int start, int rangeLength) =>
6356 Lists.getRange(this, start, rangeLength, <DomMimeType>[]);
6357
6358 // -- end List<DomMimeType> mixins.
6359
6360 /// @domName MimeTypeArray.item; @docsEditable true
6361 DomMimeType item(int index) native;
6362
6363 /// @domName MimeTypeArray.namedItem; @docsEditable true
6364 DomMimeType namedItem(String name) native;
6365 }
6366 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6367 // for details. All rights reserved. Use of this source code is governed by a
6368 // BSD-style license that can be found in the LICENSE file.
6369
6370
6371 /// @domName DOMParser; @docsEditable true
6372 class DomParser native "*DOMParser" {
6373
6374 factory DomParser() => _DomParserFactoryProvider.createDomParser();
6375
6376 /// @domName DOMParser.parseFromString; @docsEditable true
6377 Document parseFromString(String str, String contentType) native;
6378 }
6379 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6380 // for details. All rights reserved. Use of this source code is governed by a
6381 // BSD-style license that can be found in the LICENSE file.
6382
6383
6384 /// @domName Plugin; @docsEditable true
6385 class DomPlugin native "*Plugin" {
6386
6387 /// @domName Plugin.description; @docsEditable true
6388 final String description;
6389
6390 /// @domName Plugin.filename; @docsEditable true
6391 final String filename;
6392
6393 /// @domName Plugin.length; @docsEditable true
6394 final int length;
6395
6396 /// @domName Plugin.name; @docsEditable true
6397 final String name;
6398
6399 /// @domName Plugin.item; @docsEditable true
6400 DomMimeType item(int index) native;
6401
6402 /// @domName Plugin.namedItem; @docsEditable true
6403 DomMimeType namedItem(String name) native;
6404 }
6405 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6406 // for details. All rights reserved. Use of this source code is governed by a
6407 // BSD-style license that can be found in the LICENSE file.
6408
6409
6410 /// @domName PluginArray; @docsEditable true
6411 class DomPluginArray implements JavaScriptIndexingBehavior, List<DomPlugin> nati ve "*PluginArray" {
6412
6413 /// @domName PluginArray.length; @docsEditable true
6414 final int length;
6415
6416 DomPlugin operator[](int index) => JS("DomPlugin", "#[#]", this, index);
6417
6418 void operator[]=(int index, DomPlugin value) {
6419 throw new UnsupportedError("Cannot assign element of immutable List.");
6420 }
6421 // -- start List<DomPlugin> mixins.
6422 // DomPlugin is the element type.
6423
6424 // From Iterable<DomPlugin>:
6425
6426 Iterator<DomPlugin> iterator() {
6427 // Note: NodeLists are not fixed size. And most probably length shouldn't
6428 // be cached in both iterator _and_ forEach method. For now caching it
6429 // for consistency.
6430 return new FixedSizeListIterator<DomPlugin>(this);
6431 }
6432
6433 // From Collection<DomPlugin>:
6434
6435 void add(DomPlugin value) {
6436 throw new UnsupportedError("Cannot add to immutable List.");
6437 }
6438
6439 void addLast(DomPlugin value) {
6440 throw new UnsupportedError("Cannot add to immutable List.");
6441 }
6442
6443 void addAll(Collection<DomPlugin> collection) {
6444 throw new UnsupportedError("Cannot add to immutable List.");
6445 }
6446
6447 dynamic reduce(dynamic initialValue, dynamic combine(dynamic, DomPlugin)) {
6448 return Collections.reduce(this, initialValue, combine);
6449 }
6450
6451 bool contains(DomPlugin element) => Collections.contains(this, element);
6452
6453 void forEach(void f(DomPlugin element)) => Collections.forEach(this, f);
6454
6455 Collection map(f(DomPlugin element)) => Collections.map(this, [], f);
6456
6457 Collection<DomPlugin> filter(bool f(DomPlugin element)) =>
6458 Collections.filter(this, <DomPlugin>[], f);
6459
6460 bool every(bool f(DomPlugin element)) => Collections.every(this, f);
6461
6462 bool some(bool f(DomPlugin element)) => Collections.some(this, f);
6463
6464 bool get isEmpty => this.length == 0;
6465
6466 // From List<DomPlugin>:
6467
6468 void sort([Comparator<DomPlugin> compare = Comparable.compare]) {
6469 throw new UnsupportedError("Cannot sort immutable List.");
6470 }
6471
6472 int indexOf(DomPlugin element, [int start = 0]) =>
6473 Lists.indexOf(this, element, start, this.length);
6474
6475 int lastIndexOf(DomPlugin element, [int start]) {
6476 if (start == null) start = length - 1;
6477 return Lists.lastIndexOf(this, element, start);
6478 }
6479
6480 DomPlugin get first => this[0];
6481
6482 DomPlugin get last => this[length - 1];
6483
6484 DomPlugin removeAt(int pos) {
6485 throw new UnsupportedError("Cannot removeAt on immutable List.");
6486 }
6487
6488 DomPlugin removeLast() {
6489 throw new UnsupportedError("Cannot removeLast on immutable List.");
6490 }
6491
6492 void setRange(int start, int rangeLength, List<DomPlugin> from, [int startFrom ]) {
6493 throw new UnsupportedError("Cannot setRange on immutable List.");
6494 }
6495
6496 void removeRange(int start, int rangeLength) {
6497 throw new UnsupportedError("Cannot removeRange on immutable List.");
6498 }
6499
6500 void insertRange(int start, int rangeLength, [DomPlugin initialValue]) {
6501 throw new UnsupportedError("Cannot insertRange on immutable List.");
6502 }
6503
6504 List<DomPlugin> getRange(int start, int rangeLength) =>
6505 Lists.getRange(this, start, rangeLength, <DomPlugin>[]);
6506
6507 // -- end List<DomPlugin> mixins.
6508
6509 /// @domName PluginArray.item; @docsEditable true
6510 DomPlugin item(int index) native;
6511
6512 /// @domName PluginArray.namedItem; @docsEditable true
6513 DomPlugin namedItem(String name) native;
6514
6515 /// @domName PluginArray.refresh; @docsEditable true
6516 void refresh(bool reload) native;
6517 }
6518 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6519 // for details. All rights reserved. Use of this source code is governed by a
6520 // BSD-style license that can be found in the LICENSE file.
6521
6522
6523 /// @domName Selection; @docsEditable true
6524 class DomSelection native "*Selection" {
6525
6526 /// @domName Selection.anchorNode; @docsEditable true
6527 final Node anchorNode;
6528
6529 /// @domName Selection.anchorOffset; @docsEditable true
6530 final int anchorOffset;
6531
6532 /// @domName Selection.baseNode; @docsEditable true
6533 final Node baseNode;
6534
6535 /// @domName Selection.baseOffset; @docsEditable true
6536 final int baseOffset;
6537
6538 /// @domName Selection.extentNode; @docsEditable true
6539 final Node extentNode;
6540
6541 /// @domName Selection.extentOffset; @docsEditable true
6542 final int extentOffset;
6543
6544 /// @domName Selection.focusNode; @docsEditable true
6545 final Node focusNode;
6546
6547 /// @domName Selection.focusOffset; @docsEditable true
6548 final int focusOffset;
6549
6550 /// @domName Selection.isCollapsed; @docsEditable true
6551 final bool isCollapsed;
6552
6553 /// @domName Selection.rangeCount; @docsEditable true
6554 final int rangeCount;
6555
6556 /// @domName Selection.type; @docsEditable true
6557 final String type;
6558
6559 /// @domName Selection.addRange; @docsEditable true
6560 void addRange(Range range) native;
6561
6562 /// @domName Selection.collapse; @docsEditable true
6563 void collapse(Node node, int index) native;
6564
6565 /// @domName Selection.collapseToEnd; @docsEditable true
6566 void collapseToEnd() native;
6567
6568 /// @domName Selection.collapseToStart; @docsEditable true
6569 void collapseToStart() native;
6570
6571 /// @domName Selection.containsNode; @docsEditable true
6572 bool containsNode(Node node, bool allowPartial) native;
6573
6574 /// @domName Selection.deleteFromDocument; @docsEditable true
6575 void deleteFromDocument() native;
6576
6577 /// @domName Selection.empty; @docsEditable true
6578 void empty() native;
6579
6580 /// @domName Selection.extend; @docsEditable true
6581 void extend(Node node, int offset) native;
6582
6583 /// @domName Selection.getRangeAt; @docsEditable true
6584 Range getRangeAt(int index) native;
6585
6586 /// @domName Selection.modify; @docsEditable true
6587 void modify(String alter, String direction, String granularity) native;
6588
6589 /// @domName Selection.removeAllRanges; @docsEditable true
6590 void removeAllRanges() native;
6591
6592 /// @domName Selection.selectAllChildren; @docsEditable true
6593 void selectAllChildren(Node node) native;
6594
6595 /// @domName Selection.setBaseAndExtent; @docsEditable true
6596 void setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int exte ntOffset) native;
6597
6598 /// @domName Selection.setPosition; @docsEditable true
6599 void setPosition(Node node, int offset) native;
6600
6601 /// @domName Selection.toString; @docsEditable true
6602 String toString() native;
6603 }
6604 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6605 // for details. All rights reserved. Use of this source code is governed by a
6606 // BSD-style license that can be found in the LICENSE file.
6607
6608
6609 /// @domName DOMSettableTokenList; @docsEditable true
6610 class DomSettableTokenList extends DomTokenList native "*DOMSettableTokenList" {
6611
6612 /// @domName DOMSettableTokenList.value; @docsEditable true
6613 String value;
6614 }
6615 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6616 // for details. All rights reserved. Use of this source code is governed by a
6617 // BSD-style license that can be found in the LICENSE file.
6618
6619
6620 /// @domName DOMStringMap
6621 abstract class DomStringMap {
6622 }
6623 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6624 // for details. All rights reserved. Use of this source code is governed by a
6625 // BSD-style license that can be found in the LICENSE file.
6626
6627
6628 /// @domName DOMTokenList; @docsEditable true
6629 class DomTokenList native "*DOMTokenList" {
6630
6631 /// @domName DOMTokenList.length; @docsEditable true
6632 final int length;
6633
6634 /// @domName DOMTokenList.contains; @docsEditable true
6635 bool contains(String token) native;
6636
6637 /// @domName DOMTokenList.item; @docsEditable true
6638 String item(int index) native;
6639
6640 /// @domName DOMTokenList.toString; @docsEditable true
6641 String toString() native;
6642
6643 /// @domName DOMTokenList.toggle; @docsEditable true
6644 bool toggle(String token, [bool force]) native;
6645 }
6646 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6647 // for details. All rights reserved. Use of this source code is governed by a
6688 // BSD-style license that can be found in the LICENSE file. 6648 // BSD-style license that can be found in the LICENSE file.
6689 6649
6690 6650
6691 // TODO(jacobr): use _Lists.dart to remove some of the duplicated 6651 // TODO(jacobr): use _Lists.dart to remove some of the duplicated
6692 // functionality. 6652 // functionality.
6693 class _ChildrenElementList implements List { 6653 class _ChildrenElementList implements List {
6694 // Raw Element. 6654 // Raw Element.
6695 final Element _element; 6655 final Element _element;
6696 final HTMLCollection _childElements; 6656 final HtmlCollection _childElements;
6697 6657
6698 _ChildrenElementList._wrap(Element element) 6658 _ChildrenElementList._wrap(Element element)
6699 : _childElements = element.$dom_children, 6659 : _childElements = element.$dom_children,
6700 _element = element; 6660 _element = element;
6701 6661
6702 List<Element> _toList() { 6662 List<Element> _toList() {
6703 final output = new List(_childElements.length); 6663 final output = new List(_childElements.length);
6704 for (int i = 0, len = _childElements.length; i < len; i++) { 6664 for (int i = 0, len = _childElements.length; i < len; i++) {
6705 output[i] = _childElements[i]; 6665 output[i] = _childElements[i];
6706 } 6666 }
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
7090 7050
7091 /** 7051 /**
7092 * Gets a map for manipulating the attributes of a particular namespace. 7052 * Gets a map for manipulating the attributes of a particular namespace.
7093 * This is primarily useful for SVG attributes such as xref:link. 7053 * This is primarily useful for SVG attributes such as xref:link.
7094 */ 7054 */
7095 Map<String, String> getNamespacedAttributes(String namespace) { 7055 Map<String, String> getNamespacedAttributes(String namespace) {
7096 return new _NamespacedAttributeMap(this, namespace); 7056 return new _NamespacedAttributeMap(this, namespace);
7097 } 7057 }
7098 7058
7099 /** @domName Window.getComputedStyle */ 7059 /** @domName Window.getComputedStyle */
7100 Future<CSSStyleDeclaration> get computedStyle { 7060 Future<CssStyleDeclaration> get computedStyle {
7101 // TODO(jacobr): last param should be null, see b/5045788 7061 // TODO(jacobr): last param should be null, see b/5045788
7102 return getComputedStyle(''); 7062 return getComputedStyle('');
7103 } 7063 }
7104 7064
7105 /** @domName Window.getComputedStyle */ 7065 /** @domName Window.getComputedStyle */
7106 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement) { 7066 Future<CssStyleDeclaration> getComputedStyle(String pseudoElement) {
7107 return _createMeasurementFuture( 7067 return _createMeasurementFuture(
7108 () => window.$dom_getComputedStyle(this, pseudoElement), 7068 () => window.$dom_getComputedStyle(this, pseudoElement),
7109 new Completer<CSSStyleDeclaration>()); 7069 new Completer<CssStyleDeclaration>());
7110 } 7070 }
7111 7071
7112 /** 7072 /**
7113 * Adds the specified element to after the last child of this. 7073 * Adds the specified element to after the last child of this.
7114 */ 7074 */
7115 void append(Element e) { 7075 void append(Element e) {
7116 this.children.add(e); 7076 this.children.add(e);
7117 } 7077 }
7118 7078
7119 /** 7079 /**
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
7204 } 7164 }
7205 } 7165 }
7206 7166
7207 7167
7208 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 7168 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
7209 ElementEvents get on => 7169 ElementEvents get on =>
7210 new ElementEvents(this); 7170 new ElementEvents(this);
7211 7171
7212 /// @domName HTMLElement.children; @docsEditable true 7172 /// @domName HTMLElement.children; @docsEditable true
7213 @JSName('children') 7173 @JSName('children')
7214 final HTMLCollection $dom_children; 7174 final HtmlCollection $dom_children;
7215 7175
7216 /// @domName HTMLElement.contentEditable; @docsEditable true 7176 /// @domName HTMLElement.contentEditable; @docsEditable true
7217 String contentEditable; 7177 String contentEditable;
7218 7178
7219 /// @domName HTMLElement.dir; @docsEditable true 7179 /// @domName HTMLElement.dir; @docsEditable true
7220 String dir; 7180 String dir;
7221 7181
7222 /// @domName HTMLElement.draggable; @docsEditable true 7182 /// @domName HTMLElement.draggable; @docsEditable true
7223 bool draggable; 7183 bool draggable;
7224 7184
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
7320 /// @domName Element.scrollLeft; @docsEditable true 7280 /// @domName Element.scrollLeft; @docsEditable true
7321 int scrollLeft; 7281 int scrollLeft;
7322 7282
7323 /// @domName Element.scrollTop; @docsEditable true 7283 /// @domName Element.scrollTop; @docsEditable true
7324 int scrollTop; 7284 int scrollTop;
7325 7285
7326 /// @domName Element.scrollWidth; @docsEditable true 7286 /// @domName Element.scrollWidth; @docsEditable true
7327 final int scrollWidth; 7287 final int scrollWidth;
7328 7288
7329 /// @domName Element.style; @docsEditable true 7289 /// @domName Element.style; @docsEditable true
7330 final CSSStyleDeclaration style; 7290 final CssStyleDeclaration style;
7331 7291
7332 /// @domName Element.tagName; @docsEditable true 7292 /// @domName Element.tagName; @docsEditable true
7333 final String tagName; 7293 final String tagName;
7334 7294
7335 /// @domName Element.blur; @docsEditable true 7295 /// @domName Element.blur; @docsEditable true
7336 void blur() native; 7296 void blur() native;
7337 7297
7338 /// @domName Element.focus; @docsEditable true 7298 /// @domName Element.focus; @docsEditable true
7339 void focus() native; 7299 void focus() native;
7340 7300
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
7661 typedef void EntriesCallback(List<Entry> entries); 7621 typedef void EntriesCallback(List<Entry> entries);
7662 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 7622 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7663 // for details. All rights reserved. Use of this source code is governed by a 7623 // for details. All rights reserved. Use of this source code is governed by a
7664 // BSD-style license that can be found in the LICENSE file. 7624 // BSD-style license that can be found in the LICENSE file.
7665 7625
7666 7626
7667 /// @domName Entry; @docsEditable true 7627 /// @domName Entry; @docsEditable true
7668 class Entry native "*Entry" { 7628 class Entry native "*Entry" {
7669 7629
7670 /// @domName Entry.filesystem; @docsEditable true 7630 /// @domName Entry.filesystem; @docsEditable true
7671 final DOMFileSystem filesystem; 7631 final FileSystem filesystem;
7672 7632
7673 /// @domName Entry.fullPath; @docsEditable true 7633 /// @domName Entry.fullPath; @docsEditable true
7674 final String fullPath; 7634 final String fullPath;
7675 7635
7676 /// @domName Entry.isDirectory; @docsEditable true 7636 /// @domName Entry.isDirectory; @docsEditable true
7677 final bool isDirectory; 7637 final bool isDirectory;
7678 7638
7679 /// @domName Entry.isFile; @docsEditable true 7639 /// @domName Entry.isFile; @docsEditable true
7680 final bool isFile; 7640 final bool isFile;
7681 7641
(...skipping 29 matching lines...) Expand all
7711 typedef void EntryCallback(Entry entry); 7671 typedef void EntryCallback(Entry entry);
7712 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 7672 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7713 // for details. All rights reserved. Use of this source code is governed by a 7673 // for details. All rights reserved. Use of this source code is governed by a
7714 // BSD-style license that can be found in the LICENSE file. 7674 // BSD-style license that can be found in the LICENSE file.
7715 7675
7716 7676
7717 /// @domName EntrySync; @docsEditable true 7677 /// @domName EntrySync; @docsEditable true
7718 class EntrySync native "*EntrySync" { 7678 class EntrySync native "*EntrySync" {
7719 7679
7720 /// @domName EntrySync.filesystem; @docsEditable true 7680 /// @domName EntrySync.filesystem; @docsEditable true
7721 final DOMFileSystemSync filesystem; 7681 final FileSystemSync filesystem;
7722 7682
7723 /// @domName EntrySync.fullPath; @docsEditable true 7683 /// @domName EntrySync.fullPath; @docsEditable true
7724 final String fullPath; 7684 final String fullPath;
7725 7685
7726 /// @domName EntrySync.isDirectory; @docsEditable true 7686 /// @domName EntrySync.isDirectory; @docsEditable true
7727 final bool isDirectory; 7687 final bool isDirectory;
7728 7688
7729 /// @domName EntrySync.isFile; @docsEditable true 7689 /// @domName EntrySync.isFile; @docsEditable true
7730 final bool isFile; 7690 final bool isFile;
7731 7691
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
8053 /// @domName EventTarget.removeEventListener; @docsEditable true 8013 /// @domName EventTarget.removeEventListener; @docsEditable true
8054 @JSName('removeEventListener') 8014 @JSName('removeEventListener')
8055 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native; 8015 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native;
8056 8016
8057 } 8017 }
8058 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 8018 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8059 // for details. All rights reserved. Use of this source code is governed by a 8019 // for details. All rights reserved. Use of this source code is governed by a
8060 // BSD-style license that can be found in the LICENSE file. 8020 // BSD-style license that can be found in the LICENSE file.
8061 8021
8062 8022
8023 /// @domName EXTTextureFilterAnisotropic; @docsEditable true
8024 class ExtTextureFilterAnisotropic native "*EXTTextureFilterAnisotropic" {
8025
8026 static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF;
8027
8028 static const int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE;
8029 }
8030 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8031 // for details. All rights reserved. Use of this source code is governed by a
8032 // BSD-style license that can be found in the LICENSE file.
8033
8034
8063 /// @domName HTMLFieldSetElement; @docsEditable true 8035 /// @domName HTMLFieldSetElement; @docsEditable true
8064 class FieldSetElement extends Element implements Element native "*HTMLFieldSetEl ement" { 8036 class FieldSetElement extends Element implements Element native "*HTMLFieldSetEl ement" {
8065 8037
8066 factory FieldSetElement() => document.$dom_createElement("fieldset"); 8038 factory FieldSetElement() => document.$dom_createElement("fieldset");
8067 8039
8068 /// @domName HTMLFieldSetElement.disabled; @docsEditable true 8040 /// @domName HTMLFieldSetElement.disabled; @docsEditable true
8069 bool disabled; 8041 bool disabled;
8070 8042
8071 /// @domName HTMLFieldSetElement.elements; @docsEditable true 8043 /// @domName HTMLFieldSetElement.elements; @docsEditable true
8072 final HTMLCollection elements; 8044 final HtmlCollection elements;
8073 8045
8074 /// @domName HTMLFieldSetElement.form; @docsEditable true 8046 /// @domName HTMLFieldSetElement.form; @docsEditable true
8075 final FormElement form; 8047 final FormElement form;
8076 8048
8077 /// @domName HTMLFieldSetElement.name; @docsEditable true 8049 /// @domName HTMLFieldSetElement.name; @docsEditable true
8078 String name; 8050 String name;
8079 8051
8080 /// @domName HTMLFieldSetElement.type; @docsEditable true 8052 /// @domName HTMLFieldSetElement.type; @docsEditable true
8081 final String type; 8053 final String type;
8082 8054
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
8426 8398
8427 /// @domName FileReaderSync.readAsDataURL; @docsEditable true 8399 /// @domName FileReaderSync.readAsDataURL; @docsEditable true
8428 @JSName('readAsDataURL') 8400 @JSName('readAsDataURL')
8429 String readAsDataUrl(Blob blob) native; 8401 String readAsDataUrl(Blob blob) native;
8430 8402
8431 /// @domName FileReaderSync.readAsText; @docsEditable true 8403 /// @domName FileReaderSync.readAsText; @docsEditable true
8432 String readAsText(Blob blob, [String encoding]) native; 8404 String readAsText(Blob blob, [String encoding]) native;
8433 } 8405 }
8434 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 8406 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8435 // for details. All rights reserved. Use of this source code is governed by a 8407 // for details. All rights reserved. Use of this source code is governed by a
8408 // BSD-style license that can be found in the LICENSE file.
8409
8410
8411 /// @domName DOMFileSystem; @docsEditable true
8412 class FileSystem native "*DOMFileSystem" {
8413
8414 /// @domName DOMFileSystem.name; @docsEditable true
8415 final String name;
8416
8417 /// @domName DOMFileSystem.root; @docsEditable true
8418 final DirectoryEntry root;
8419 }
8420 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8421 // for details. All rights reserved. Use of this source code is governed by a
8436 // BSD-style license that can be found in the LICENSE file. 8422 // BSD-style license that can be found in the LICENSE file.
8437 8423
8438 // WARNING: Do not edit - generated code. 8424 // WARNING: Do not edit - generated code.
8439 8425
8440 8426
8441 typedef void FileSystemCallback(DOMFileSystem fileSystem); 8427 typedef void FileSystemCallback(FileSystem fileSystem);
8442 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 8428 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8443 // for details. All rights reserved. Use of this source code is governed by a 8429 // for details. All rights reserved. Use of this source code is governed by a
8444 // BSD-style license that can be found in the LICENSE file. 8430 // BSD-style license that can be found in the LICENSE file.
8431
8432
8433 /// @domName DOMFileSystemSync; @docsEditable true
8434 class FileSystemSync native "*DOMFileSystemSync" {
8435
8436 /// @domName DOMFileSystemSync.name; @docsEditable true
8437 final String name;
8438
8439 /// @domName DOMFileSystemSync.root; @docsEditable true
8440 final DirectoryEntrySync root;
8441 }
8442 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8443 // for details. All rights reserved. Use of this source code is governed by a
8444 // BSD-style license that can be found in the LICENSE file.
8445 8445
8446 8446
8447 /// @domName FileWriter; @docsEditable true 8447 /// @domName FileWriter; @docsEditable true
8448 class FileWriter extends EventTarget native "*FileWriter" { 8448 class FileWriter extends EventTarget native "*FileWriter" {
8449 8449
8450 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 8450 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
8451 FileWriterEvents get on => 8451 FileWriterEvents get on =>
8452 new FileWriterEvents(this); 8452 new FileWriterEvents(this);
8453 8453
8454 static const int DONE = 2; 8454 static const int DONE = 2;
(...skipping 576 matching lines...) Expand 10 before | Expand all | Expand 10 after
9031 String size; 9031 String size;
9032 9032
9033 /// @domName HTMLHRElement.width; @docsEditable true 9033 /// @domName HTMLHRElement.width; @docsEditable true
9034 String width; 9034 String width;
9035 } 9035 }
9036 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 9036 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9037 // for details. All rights reserved. Use of this source code is governed by a 9037 // for details. All rights reserved. Use of this source code is governed by a
9038 // BSD-style license that can be found in the LICENSE file. 9038 // BSD-style license that can be found in the LICENSE file.
9039 9039
9040 9040
9041 /// @domName HashChangeEvent; @docsEditable true
9042 class HashChangeEvent extends Event native "*HashChangeEvent" {
9043
9044 /// @domName HashChangeEvent.newURL; @docsEditable true
9045 @JSName('newURL')
9046 final String newUrl;
9047
9048 /// @domName HashChangeEvent.oldURL; @docsEditable true
9049 @JSName('oldURL')
9050 final String oldUrl;
9051
9052 /// @domName HashChangeEvent.initHashChangeEvent; @docsEditable true
9053 void initHashChangeEvent(String type, bool canBubble, bool cancelable, String oldURL, String newURL) native;
9054 }
9055 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9056 // for details. All rights reserved. Use of this source code is governed by a
9057 // BSD-style license that can be found in the LICENSE file.
9058
9059
9060 /// @domName HTMLHeadElement; @docsEditable true
9061 class HeadElement extends Element implements Element native "*HTMLHeadElement" {
9062
9063 factory HeadElement() => document.$dom_createElement("head");
9064
9065 /// @domName HTMLHeadElement.profile; @docsEditable true
9066 String profile;
9067 }
9068 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9069 // for details. All rights reserved. Use of this source code is governed by a
9070 // BSD-style license that can be found in the LICENSE file.
9071
9072
9073 /// @domName HTMLHeadingElement; @docsEditable true
9074 class HeadingElement extends Element implements Element native "*HTMLHeadingElem ent" {
9075
9076 factory HeadingElement.h1() => document.$dom_createElement("h1");
9077
9078 factory HeadingElement.h2() => document.$dom_createElement("h2");
9079
9080 factory HeadingElement.h3() => document.$dom_createElement("h3");
9081
9082 factory HeadingElement.h4() => document.$dom_createElement("h4");
9083
9084 factory HeadingElement.h5() => document.$dom_createElement("h5");
9085
9086 factory HeadingElement.h6() => document.$dom_createElement("h6");
9087
9088 /// @domName HTMLHeadingElement.align; @docsEditable true
9089 String align;
9090 }
9091 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9092 // for details. All rights reserved. Use of this source code is governed by a
9093 // BSD-style license that can be found in the LICENSE file.
9094
9095
9041 /// @domName HTMLAllCollection; @docsEditable true 9096 /// @domName HTMLAllCollection; @docsEditable true
9042 class HTMLAllCollection implements JavaScriptIndexingBehavior, List<Node> native "*HTMLAllCollection" { 9097 class HtmlAllCollection implements JavaScriptIndexingBehavior, List<Node> native "*HTMLAllCollection" {
9043 9098
9044 /// @domName HTMLAllCollection.length; @docsEditable true 9099 /// @domName HTMLAllCollection.length; @docsEditable true
9045 final int length; 9100 final int length;
9046 9101
9047 Node operator[](int index) => JS("Node", "#[#]", this, index); 9102 Node operator[](int index) => JS("Node", "#[#]", this, index);
9048 9103
9049 void operator[]=(int index, Node value) { 9104 void operator[]=(int index, Node value) {
9050 throw new UnsupportedError("Cannot assign element of immutable List."); 9105 throw new UnsupportedError("Cannot assign element of immutable List.");
9051 } 9106 }
9052 // -- start List<Node> mixins. 9107 // -- start List<Node> mixins.
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
9146 /// @domName HTMLAllCollection.tags; @docsEditable true 9201 /// @domName HTMLAllCollection.tags; @docsEditable true
9147 @Returns('NodeList') @Creates('NodeList') 9202 @Returns('NodeList') @Creates('NodeList')
9148 List<Node> tags(String name) native; 9203 List<Node> tags(String name) native;
9149 } 9204 }
9150 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 9205 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9151 // for details. All rights reserved. Use of this source code is governed by a 9206 // for details. All rights reserved. Use of this source code is governed by a
9152 // BSD-style license that can be found in the LICENSE file. 9207 // BSD-style license that can be found in the LICENSE file.
9153 9208
9154 9209
9155 /// @domName HTMLCollection; @docsEditable true 9210 /// @domName HTMLCollection; @docsEditable true
9156 class HTMLCollection implements JavaScriptIndexingBehavior, List<Node> native "* HTMLCollection" { 9211 class HtmlCollection implements JavaScriptIndexingBehavior, List<Node> native "* HTMLCollection" {
9157 9212
9158 /// @domName HTMLCollection.length; @docsEditable true 9213 /// @domName HTMLCollection.length; @docsEditable true
9159 final int length; 9214 final int length;
9160 9215
9161 Node operator[](int index) => JS("Node", "#[#]", this, index); 9216 Node operator[](int index) => JS("Node", "#[#]", this, index);
9162 9217
9163 void operator[]=(int index, Node value) { 9218 void operator[]=(int index, Node value) {
9164 throw new UnsupportedError("Cannot assign element of immutable List."); 9219 throw new UnsupportedError("Cannot assign element of immutable List.");
9165 } 9220 }
9166 // -- start List<Node> mixins. 9221 // -- start List<Node> mixins.
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
9254 /// @domName HTMLCollection.item; @docsEditable true 9309 /// @domName HTMLCollection.item; @docsEditable true
9255 Node item(int index) native; 9310 Node item(int index) native;
9256 9311
9257 /// @domName HTMLCollection.namedItem; @docsEditable true 9312 /// @domName HTMLCollection.namedItem; @docsEditable true
9258 Node namedItem(String name) native; 9313 Node namedItem(String name) native;
9259 } 9314 }
9260 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 9315 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9261 // for details. All rights reserved. Use of this source code is governed by a 9316 // for details. All rights reserved. Use of this source code is governed by a
9262 // BSD-style license that can be found in the LICENSE file. 9317 // BSD-style license that can be found in the LICENSE file.
9263 9318
9264
9265 /// @domName HTMLOptionsCollection; @docsEditable true
9266 class HTMLOptionsCollection extends HTMLCollection native "*HTMLOptionsCollectio n" {
9267
9268 // Shadowing definition.
9269 /// @domName HTMLOptionsCollection.length; @docsEditable true
9270 int get length => JS("int", "#.length", this);
9271
9272 /// @domName HTMLOptionsCollection.length; @docsEditable true
9273 void set length(int value) {
9274 JS("void", "#.length = #", this, value);
9275 }
9276
9277 /// @domName HTMLOptionsCollection.selectedIndex; @docsEditable true
9278 int selectedIndex;
9279
9280 /// @domName HTMLOptionsCollection.remove; @docsEditable true
9281 void remove(int index) native;
9282 }
9283 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9284 // for details. All rights reserved. Use of this source code is governed by a
9285 // BSD-style license that can be found in the LICENSE file.
9286
9287
9288 /// @domName HashChangeEvent; @docsEditable true
9289 class HashChangeEvent extends Event native "*HashChangeEvent" {
9290
9291 /// @domName HashChangeEvent.newURL; @docsEditable true
9292 @JSName('newURL')
9293 final String newUrl;
9294
9295 /// @domName HashChangeEvent.oldURL; @docsEditable true
9296 @JSName('oldURL')
9297 final String oldUrl;
9298
9299 /// @domName HashChangeEvent.initHashChangeEvent; @docsEditable true
9300 void initHashChangeEvent(String type, bool canBubble, bool cancelable, String oldURL, String newURL) native;
9301 }
9302 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9303 // for details. All rights reserved. Use of this source code is governed by a
9304 // BSD-style license that can be found in the LICENSE file.
9305
9306
9307 /// @domName HTMLHeadElement; @docsEditable true
9308 class HeadElement extends Element implements Element native "*HTMLHeadElement" {
9309
9310 factory HeadElement() => document.$dom_createElement("head");
9311
9312 /// @domName HTMLHeadElement.profile; @docsEditable true
9313 String profile;
9314 }
9315 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9316 // for details. All rights reserved. Use of this source code is governed by a
9317 // BSD-style license that can be found in the LICENSE file.
9318
9319
9320 /// @domName HTMLHeadingElement; @docsEditable true
9321 class HeadingElement extends Element implements Element native "*HTMLHeadingElem ent" {
9322
9323 factory HeadingElement.h1() => document.$dom_createElement("h1");
9324
9325 factory HeadingElement.h2() => document.$dom_createElement("h2");
9326
9327 factory HeadingElement.h3() => document.$dom_createElement("h3");
9328
9329 factory HeadingElement.h4() => document.$dom_createElement("h4");
9330
9331 factory HeadingElement.h5() => document.$dom_createElement("h5");
9332
9333 factory HeadingElement.h6() => document.$dom_createElement("h6");
9334
9335 /// @domName HTMLHeadingElement.align; @docsEditable true
9336 String align;
9337 }
9338 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9339 // for details. All rights reserved. Use of this source code is governed by a
9340 // BSD-style license that can be found in the LICENSE file.
9341
9342 // WARNING: Do not edit - generated code. 9319 // WARNING: Do not edit - generated code.
9343 9320
9344 9321
9345 /// @domName HTMLDocument 9322 /// @domName HTMLDocument
9346 class HtmlDocument extends Document native "*HTMLDocument" { 9323 class HtmlDocument extends Document native "*HTMLDocument" {
9347 9324
9348 /// @domName HTMLDocument.activeElement; @docsEditable true 9325 /// @domName HTMLDocument.activeElement; @docsEditable true
9349 final Element activeElement; 9326 final Element activeElement;
9350 9327
9351 /** @domName Document.body */ 9328 /** @domName Document.body */
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
9428 /// @domName HTMLHtmlElement; @docsEditable true 9405 /// @domName HTMLHtmlElement; @docsEditable true
9429 class HtmlElement extends Element implements Element native "*HTMLHtmlElement" { 9406 class HtmlElement extends Element implements Element native "*HTMLHtmlElement" {
9430 9407
9431 factory HtmlElement() => document.$dom_createElement("html"); 9408 factory HtmlElement() => document.$dom_createElement("html");
9432 } 9409 }
9433 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 9410 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9434 // for details. All rights reserved. Use of this source code is governed by a 9411 // for details. All rights reserved. Use of this source code is governed by a
9435 // BSD-style license that can be found in the LICENSE file. 9412 // BSD-style license that can be found in the LICENSE file.
9436 9413
9437 9414
9415 /// @domName HTMLOptionsCollection; @docsEditable true
9416 class HtmlOptionsCollection extends HtmlCollection native "*HTMLOptionsCollectio n" {
9417
9418 // Shadowing definition.
9419 /// @domName HTMLOptionsCollection.length; @docsEditable true
9420 int get length => JS("int", "#.length", this);
9421
9422 /// @domName HTMLOptionsCollection.length; @docsEditable true
9423 void set length(int value) {
9424 JS("void", "#.length = #", this, value);
9425 }
9426
9427 /// @domName HTMLOptionsCollection.selectedIndex; @docsEditable true
9428 int selectedIndex;
9429
9430 /// @domName HTMLOptionsCollection.remove; @docsEditable true
9431 void remove(int index) native;
9432 }
9433 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9434 // for details. All rights reserved. Use of this source code is governed by a
9435 // BSD-style license that can be found in the LICENSE file.
9436
9437
9438 /// @domName XMLHttpRequest 9438 /// @domName XMLHttpRequest
9439 class HttpRequest extends EventTarget native "*XMLHttpRequest" { 9439 class HttpRequest extends EventTarget native "*XMLHttpRequest" {
9440 factory HttpRequest.get(String url, onComplete(HttpRequest request)) => 9440 factory HttpRequest.get(String url, onComplete(HttpRequest request)) =>
9441 _HttpRequestFactoryProvider.createHttpRequest_get(url, onComplete); 9441 _HttpRequestFactoryProvider.createHttpRequest_get(url, onComplete);
9442 9442
9443 factory HttpRequest.getWithCredentials(String url, 9443 factory HttpRequest.getWithCredentials(String url,
9444 onComplete(HttpRequest request)) => 9444 onComplete(HttpRequest request)) =>
9445 _HttpRequestFactoryProvider.createHttpRequest_getWithCredentials(url, 9445 _HttpRequestFactoryProvider.createHttpRequest_getWithCredentials(url,
9446 onComplete); 9446 onComplete);
9447 9447
(...skipping 1141 matching lines...) Expand 10 before | Expand all | Expand 10 after
10589 /// @domName HTMLLinkElement.rel; @docsEditable true 10589 /// @domName HTMLLinkElement.rel; @docsEditable true
10590 String rel; 10590 String rel;
10591 10591
10592 /// @domName HTMLLinkElement.rev; @docsEditable true 10592 /// @domName HTMLLinkElement.rev; @docsEditable true
10593 String rev; 10593 String rev;
10594 10594
10595 /// @domName HTMLLinkElement.sheet; @docsEditable true 10595 /// @domName HTMLLinkElement.sheet; @docsEditable true
10596 final StyleSheet sheet; 10596 final StyleSheet sheet;
10597 10597
10598 /// @domName HTMLLinkElement.sizes; @docsEditable true 10598 /// @domName HTMLLinkElement.sizes; @docsEditable true
10599 DOMSettableTokenList sizes; 10599 DomSettableTokenList sizes;
10600 10600
10601 /// @domName HTMLLinkElement.target; @docsEditable true 10601 /// @domName HTMLLinkElement.target; @docsEditable true
10602 String target; 10602 String target;
10603 10603
10604 /// @domName HTMLLinkElement.type; @docsEditable true 10604 /// @domName HTMLLinkElement.type; @docsEditable true
10605 String type; 10605 String type;
10606 } 10606 }
10607 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 10607 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10608 // for details. All rights reserved. Use of this source code is governed by a 10608 // for details. All rights reserved. Use of this source code is governed by a
10609 // BSD-style license that can be found in the LICENSE file. 10609 // BSD-style license that can be found in the LICENSE file.
(...skipping 28 matching lines...) Expand all
10638 } 10638 }
10639 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 10639 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10640 // for details. All rights reserved. Use of this source code is governed by a 10640 // for details. All rights reserved. Use of this source code is governed by a
10641 // BSD-style license that can be found in the LICENSE file. 10641 // BSD-style license that can be found in the LICENSE file.
10642 10642
10643 10643
10644 /// @domName Location; @docsEditable true 10644 /// @domName Location; @docsEditable true
10645 class LocalLocation implements Location native "*Location" { 10645 class LocalLocation implements Location native "*Location" {
10646 10646
10647 /// @domName Location.ancestorOrigins; @docsEditable true 10647 /// @domName Location.ancestorOrigins; @docsEditable true
10648 @Returns('_DOMStringList') @Creates('_DOMStringList') 10648 @Returns('_DomStringList') @Creates('_DomStringList')
10649 final List<String> ancestorOrigins; 10649 final List<String> ancestorOrigins;
10650 10650
10651 /// @domName Location.hash; @docsEditable true 10651 /// @domName Location.hash; @docsEditable true
10652 String hash; 10652 String hash;
10653 10653
10654 /// @domName Location.host; @docsEditable true 10654 /// @domName Location.host; @docsEditable true
10655 String host; 10655 String host;
10656 10656
10657 /// @domName Location.hostname; @docsEditable true 10657 /// @domName Location.hostname; @docsEditable true
10658 String hostname; 10658 String hostname;
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
10849 10849
10850 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true 10850 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
10851 LocalWindowEvents get on => 10851 LocalWindowEvents get on =>
10852 new LocalWindowEvents(this); 10852 new LocalWindowEvents(this);
10853 10853
10854 static const int PERSISTENT = 1; 10854 static const int PERSISTENT = 1;
10855 10855
10856 static const int TEMPORARY = 0; 10856 static const int TEMPORARY = 0;
10857 10857
10858 /// @domName Window.applicationCache; @docsEditable true 10858 /// @domName Window.applicationCache; @docsEditable true
10859 final DOMApplicationCache applicationCache; 10859 final ApplicationCache applicationCache;
10860 10860
10861 /// @domName Window.closed; @docsEditable true 10861 /// @domName Window.closed; @docsEditable true
10862 final bool closed; 10862 final bool closed;
10863 10863
10864 /// @domName Window.console; @docsEditable true 10864 /// @domName Window.console; @docsEditable true
10865 final Console console; 10865 final Console console;
10866 10866
10867 /// @domName Window.crypto; @docsEditable true 10867 /// @domName Window.crypto; @docsEditable true
10868 final Crypto crypto; 10868 final Crypto crypto;
10869 10869
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
11032 11032
11033 /// @domName Window.dispatchEvent; @docsEditable true 11033 /// @domName Window.dispatchEvent; @docsEditable true
11034 @JSName('dispatchEvent') 11034 @JSName('dispatchEvent')
11035 bool $dom_dispatchEvent(Event evt) native; 11035 bool $dom_dispatchEvent(Event evt) native;
11036 11036
11037 /// @domName Window.find; @docsEditable true 11037 /// @domName Window.find; @docsEditable true
11038 bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool w holeWord, bool searchInFrames, bool showDialog) native; 11038 bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool w holeWord, bool searchInFrames, bool showDialog) native;
11039 11039
11040 /// @domName Window.getComputedStyle; @docsEditable true 11040 /// @domName Window.getComputedStyle; @docsEditable true
11041 @JSName('getComputedStyle') 11041 @JSName('getComputedStyle')
11042 CSSStyleDeclaration $dom_getComputedStyle(Element element, String pseudoElemen t) native; 11042 CssStyleDeclaration $dom_getComputedStyle(Element element, String pseudoElemen t) native;
11043 11043
11044 /// @domName Window.getMatchedCSSRules; @docsEditable true 11044 /// @domName Window.getMatchedCSSRules; @docsEditable true
11045 @JSName('getMatchedCSSRules') 11045 @JSName('getMatchedCSSRules')
11046 @Returns('_CSSRuleList') @Creates('_CSSRuleList') 11046 @Returns('_CssRuleList') @Creates('_CssRuleList')
11047 List<CSSRule> getMatchedCssRules(Element element, String pseudoElement) native ; 11047 List<CssRule> getMatchedCssRules(Element element, String pseudoElement) native ;
11048 11048
11049 /// @domName Window.getSelection; @docsEditable true 11049 /// @domName Window.getSelection; @docsEditable true
11050 DOMSelection getSelection() native; 11050 DomSelection getSelection() native;
11051 11051
11052 /// @domName Window.matchMedia; @docsEditable true 11052 /// @domName Window.matchMedia; @docsEditable true
11053 MediaQueryList matchMedia(String query) native; 11053 MediaQueryList matchMedia(String query) native;
11054 11054
11055 /// @domName Window.moveBy; @docsEditable true 11055 /// @domName Window.moveBy; @docsEditable true
11056 void moveBy(num x, num y) native; 11056 void moveBy(num x, num y) native;
11057 11057
11058 /// @domName Window.moveTo; @docsEditable true 11058 /// @domName Window.moveTo; @docsEditable true
11059 void moveTo(num x, num y) native; 11059 void moveTo(num x, num y) native;
11060 11060
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
11287 // for details. All rights reserved. Use of this source code is governed by a 11287 // for details. All rights reserved. Use of this source code is governed by a
11288 // BSD-style license that can be found in the LICENSE file. 11288 // BSD-style license that can be found in the LICENSE file.
11289 11289
11290 11290
11291 /// @domName HTMLMapElement; @docsEditable true 11291 /// @domName HTMLMapElement; @docsEditable true
11292 class MapElement extends Element implements Element native "*HTMLMapElement" { 11292 class MapElement extends Element implements Element native "*HTMLMapElement" {
11293 11293
11294 factory MapElement() => document.$dom_createElement("map"); 11294 factory MapElement() => document.$dom_createElement("map");
11295 11295
11296 /// @domName HTMLMapElement.areas; @docsEditable true 11296 /// @domName HTMLMapElement.areas; @docsEditable true
11297 final HTMLCollection areas; 11297 final HtmlCollection areas;
11298 11298
11299 /// @domName HTMLMapElement.name; @docsEditable true 11299 /// @domName HTMLMapElement.name; @docsEditable true
11300 String name; 11300 String name;
11301 } 11301 }
11302 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 11302 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11303 // for details. All rights reserved. Use of this source code is governed by a 11303 // for details. All rights reserved. Use of this source code is governed by a
11304 // BSD-style license that can be found in the LICENSE file. 11304 // BSD-style license that can be found in the LICENSE file.
11305 11305
11306 11306
11307 /// @domName HTMLMarqueeElement; @docsEditable true 11307 /// @domName HTMLMarqueeElement; @docsEditable true
(...skipping 1286 matching lines...) Expand 10 before | Expand all | Expand 10 after
12594 /// @domName Navigator.appVersion; @docsEditable true 12594 /// @domName Navigator.appVersion; @docsEditable true
12595 final String appVersion; 12595 final String appVersion;
12596 12596
12597 /// @domName Navigator.cookieEnabled; @docsEditable true 12597 /// @domName Navigator.cookieEnabled; @docsEditable true
12598 final bool cookieEnabled; 12598 final bool cookieEnabled;
12599 12599
12600 /// @domName Navigator.geolocation; @docsEditable true 12600 /// @domName Navigator.geolocation; @docsEditable true
12601 final Geolocation geolocation; 12601 final Geolocation geolocation;
12602 12602
12603 /// @domName Navigator.mimeTypes; @docsEditable true 12603 /// @domName Navigator.mimeTypes; @docsEditable true
12604 final DOMMimeTypeArray mimeTypes; 12604 final DomMimeTypeArray mimeTypes;
12605 12605
12606 /// @domName Navigator.onLine; @docsEditable true 12606 /// @domName Navigator.onLine; @docsEditable true
12607 final bool onLine; 12607 final bool onLine;
12608 12608
12609 /// @domName Navigator.platform; @docsEditable true 12609 /// @domName Navigator.platform; @docsEditable true
12610 final String platform; 12610 final String platform;
12611 12611
12612 /// @domName Navigator.plugins; @docsEditable true 12612 /// @domName Navigator.plugins; @docsEditable true
12613 final DOMPluginArray plugins; 12613 final DomPluginArray plugins;
12614 12614
12615 /// @domName Navigator.product; @docsEditable true 12615 /// @domName Navigator.product; @docsEditable true
12616 final String product; 12616 final String product;
12617 12617
12618 /// @domName Navigator.productSub; @docsEditable true 12618 /// @domName Navigator.productSub; @docsEditable true
12619 final String productSub; 12619 final String productSub;
12620 12620
12621 /// @domName Navigator.userAgent; @docsEditable true 12621 /// @domName Navigator.userAgent; @docsEditable true
12622 final String userAgent; 12622 final String userAgent;
12623 12623
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after
13256 13256
13257 // WARNING: Do not edit - generated code. 13257 // WARNING: Do not edit - generated code.
13258 13258
13259 13259
13260 typedef void NotificationPermissionCallback(String permission); 13260 typedef void NotificationPermissionCallback(String permission);
13261 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13261 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13262 // for details. All rights reserved. Use of this source code is governed by a 13262 // for details. All rights reserved. Use of this source code is governed by a
13263 // BSD-style license that can be found in the LICENSE file. 13263 // BSD-style license that can be found in the LICENSE file.
13264 13264
13265 13265
13266 /// @domName OESElementIndexUint; @docsEditable true
13267 class OESElementIndexUint native "*OESElementIndexUint" {
13268 }
13269 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13270 // for details. All rights reserved. Use of this source code is governed by a
13271 // BSD-style license that can be found in the LICENSE file.
13272
13273
13274 /// @domName OESStandardDerivatives; @docsEditable true
13275 class OESStandardDerivatives native "*OESStandardDerivatives" {
13276
13277 static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B;
13278 }
13279 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13280 // for details. All rights reserved. Use of this source code is governed by a
13281 // BSD-style license that can be found in the LICENSE file.
13282
13283
13284 /// @domName OESTextureFloat; @docsEditable true
13285 class OESTextureFloat native "*OESTextureFloat" {
13286 }
13287 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13288 // for details. All rights reserved. Use of this source code is governed by a
13289 // BSD-style license that can be found in the LICENSE file.
13290
13291
13292 /// @domName OESVertexArrayObject; @docsEditable true
13293 class OESVertexArrayObject native "*OESVertexArrayObject" {
13294
13295 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5;
13296
13297 /// @domName OESVertexArrayObject.bindVertexArrayOES; @docsEditable true
13298 @JSName('bindVertexArrayOES')
13299 void bindVertexArray(WebGLVertexArrayObjectOES arrayObject) native;
13300
13301 /// @domName OESVertexArrayObject.createVertexArrayOES; @docsEditable true
13302 @JSName('createVertexArrayOES')
13303 WebGLVertexArrayObjectOES createVertexArray() native;
13304
13305 /// @domName OESVertexArrayObject.deleteVertexArrayOES; @docsEditable true
13306 @JSName('deleteVertexArrayOES')
13307 void deleteVertexArray(WebGLVertexArrayObjectOES arrayObject) native;
13308
13309 /// @domName OESVertexArrayObject.isVertexArrayOES; @docsEditable true
13310 @JSName('isVertexArrayOES')
13311 bool isVertexArray(WebGLVertexArrayObjectOES arrayObject) native;
13312 }
13313 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13314 // for details. All rights reserved. Use of this source code is governed by a
13315 // BSD-style license that can be found in the LICENSE file.
13316
13317
13318 /// @domName HTMLOListElement; @docsEditable true 13266 /// @domName HTMLOListElement; @docsEditable true
13319 class OListElement extends Element implements Element native "*HTMLOListElement" { 13267 class OListElement extends Element implements Element native "*HTMLOListElement" {
13320 13268
13321 factory OListElement() => document.$dom_createElement("ol"); 13269 factory OListElement() => document.$dom_createElement("ol");
13322 13270
13323 /// @domName HTMLOListElement.compact; @docsEditable true 13271 /// @domName HTMLOListElement.compact; @docsEditable true
13324 bool compact; 13272 bool compact;
13325 13273
13326 /// @domName HTMLOListElement.reversed; @docsEditable true 13274 /// @domName HTMLOListElement.reversed; @docsEditable true
13327 bool reversed; 13275 bool reversed;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
13403 final bool willValidate; 13351 final bool willValidate;
13404 13352
13405 /// @domName HTMLObjectElement.checkValidity; @docsEditable true 13353 /// @domName HTMLObjectElement.checkValidity; @docsEditable true
13406 bool checkValidity() native; 13354 bool checkValidity() native;
13407 13355
13408 /// @domName HTMLObjectElement.setCustomValidity; @docsEditable true 13356 /// @domName HTMLObjectElement.setCustomValidity; @docsEditable true
13409 void setCustomValidity(String error) native; 13357 void setCustomValidity(String error) native;
13410 } 13358 }
13411 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13359 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13412 // for details. All rights reserved. Use of this source code is governed by a 13360 // for details. All rights reserved. Use of this source code is governed by a
13361 // BSD-style license that can be found in the LICENSE file.
13362
13363
13364 /// @domName OESElementIndexUint; @docsEditable true
13365 class OesElementIndexUint native "*OESElementIndexUint" {
13366 }
13367 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13368 // for details. All rights reserved. Use of this source code is governed by a
13369 // BSD-style license that can be found in the LICENSE file.
13370
13371
13372 /// @domName OESStandardDerivatives; @docsEditable true
13373 class OesStandardDerivatives native "*OESStandardDerivatives" {
13374
13375 static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B;
13376 }
13377 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13378 // for details. All rights reserved. Use of this source code is governed by a
13379 // BSD-style license that can be found in the LICENSE file.
13380
13381
13382 /// @domName OESTextureFloat; @docsEditable true
13383 class OesTextureFloat native "*OESTextureFloat" {
13384 }
13385 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13386 // for details. All rights reserved. Use of this source code is governed by a
13387 // BSD-style license that can be found in the LICENSE file.
13388
13389
13390 /// @domName OESVertexArrayObject; @docsEditable true
13391 class OesVertexArrayObject native "*OESVertexArrayObject" {
13392
13393 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5;
13394
13395 /// @domName OESVertexArrayObject.bindVertexArrayOES; @docsEditable true
13396 @JSName('bindVertexArrayOES')
13397 void bindVertexArray(WebGLVertexArrayObject arrayObject) native;
13398
13399 /// @domName OESVertexArrayObject.createVertexArrayOES; @docsEditable true
13400 @JSName('createVertexArrayOES')
13401 WebGLVertexArrayObject createVertexArray() native;
13402
13403 /// @domName OESVertexArrayObject.deleteVertexArrayOES; @docsEditable true
13404 @JSName('deleteVertexArrayOES')
13405 void deleteVertexArray(WebGLVertexArrayObject arrayObject) native;
13406
13407 /// @domName OESVertexArrayObject.isVertexArrayOES; @docsEditable true
13408 @JSName('isVertexArrayOES')
13409 bool isVertexArray(WebGLVertexArrayObject arrayObject) native;
13410 }
13411 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13412 // for details. All rights reserved. Use of this source code is governed by a
13413 // BSD-style license that can be found in the LICENSE file. 13413 // BSD-style license that can be found in the LICENSE file.
13414 13414
13415 13415
13416 /// @domName HTMLOptGroupElement; @docsEditable true 13416 /// @domName HTMLOptGroupElement; @docsEditable true
13417 class OptGroupElement extends Element implements Element native "*HTMLOptGroupEl ement" { 13417 class OptGroupElement extends Element implements Element native "*HTMLOptGroupEl ement" {
13418 13418
13419 factory OptGroupElement() => document.$dom_createElement("optgroup"); 13419 factory OptGroupElement() => document.$dom_createElement("optgroup");
13420 13420
13421 /// @domName HTMLOptGroupElement.disabled; @docsEditable true 13421 /// @domName HTMLOptGroupElement.disabled; @docsEditable true
13422 bool disabled; 13422 bool disabled;
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
13479 13479
13480 factory OutputElement() => document.$dom_createElement("output"); 13480 factory OutputElement() => document.$dom_createElement("output");
13481 13481
13482 /// @domName HTMLOutputElement.defaultValue; @docsEditable true 13482 /// @domName HTMLOutputElement.defaultValue; @docsEditable true
13483 String defaultValue; 13483 String defaultValue;
13484 13484
13485 /// @domName HTMLOutputElement.form; @docsEditable true 13485 /// @domName HTMLOutputElement.form; @docsEditable true
13486 final FormElement form; 13486 final FormElement form;
13487 13487
13488 /// @domName HTMLOutputElement.htmlFor; @docsEditable true 13488 /// @domName HTMLOutputElement.htmlFor; @docsEditable true
13489 DOMSettableTokenList htmlFor; 13489 DomSettableTokenList htmlFor;
13490 13490
13491 /// @domName HTMLOutputElement.labels; @docsEditable true 13491 /// @domName HTMLOutputElement.labels; @docsEditable true
13492 @Returns('NodeList') @Creates('NodeList') 13492 @Returns('NodeList') @Creates('NodeList')
13493 final List<Node> labels; 13493 final List<Node> labels;
13494 13494
13495 /// @domName HTMLOutputElement.name; @docsEditable true 13495 /// @domName HTMLOutputElement.name; @docsEditable true
13496 String name; 13496 String name;
13497 13497
13498 /// @domName HTMLOutputElement.type; @docsEditable true 13498 /// @domName HTMLOutputElement.type; @docsEditable true
13499 final String type; 13499 final String type;
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
14020 /// @domName HTMLQuoteElement; @docsEditable true 14020 /// @domName HTMLQuoteElement; @docsEditable true
14021 class QuoteElement extends Element implements Element native "*HTMLQuoteElement" { 14021 class QuoteElement extends Element implements Element native "*HTMLQuoteElement" {
14022 14022
14023 /// @domName HTMLQuoteElement.cite; @docsEditable true 14023 /// @domName HTMLQuoteElement.cite; @docsEditable true
14024 String cite; 14024 String cite;
14025 } 14025 }
14026 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14026 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14027 // for details. All rights reserved. Use of this source code is governed by a 14027 // for details. All rights reserved. Use of this source code is governed by a
14028 // BSD-style license that can be found in the LICENSE file. 14028 // BSD-style license that can be found in the LICENSE file.
14029 14029
14030
14031 /// @domName RGBColor; @docsEditable true
14032 class RGBColor native "*RGBColor" {
14033
14034 /// @domName RGBColor.blue; @docsEditable true
14035 final CSSPrimitiveValue blue;
14036
14037 /// @domName RGBColor.green; @docsEditable true
14038 final CSSPrimitiveValue green;
14039
14040 /// @domName RGBColor.red; @docsEditable true
14041 final CSSPrimitiveValue red;
14042 }
14043 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14044 // for details. All rights reserved. Use of this source code is governed by a
14045 // BSD-style license that can be found in the LICENSE file.
14046
14047
14048 /// @domName RTCDataChannel; @docsEditable true
14049 class RTCDataChannel extends EventTarget native "*RTCDataChannel" {
14050
14051 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
14052 RTCDataChannelEvents get on =>
14053 new RTCDataChannelEvents(this);
14054
14055 /// @domName RTCDataChannel.binaryType; @docsEditable true
14056 String binaryType;
14057
14058 /// @domName RTCDataChannel.bufferedAmount; @docsEditable true
14059 final int bufferedAmount;
14060
14061 /// @domName RTCDataChannel.label; @docsEditable true
14062 final String label;
14063
14064 /// @domName RTCDataChannel.readyState; @docsEditable true
14065 final String readyState;
14066
14067 /// @domName RTCDataChannel.reliable; @docsEditable true
14068 final bool reliable;
14069
14070 /// @domName RTCDataChannel.addEventListener; @docsEditable true
14071 @JSName('addEventListener')
14072 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native;
14073
14074 /// @domName RTCDataChannel.close; @docsEditable true
14075 void close() native;
14076
14077 /// @domName RTCDataChannel.dispatchEvent; @docsEditable true
14078 @JSName('dispatchEvent')
14079 bool $dom_dispatchEvent(Event event) native;
14080
14081 /// @domName RTCDataChannel.removeEventListener; @docsEditable true
14082 @JSName('removeEventListener')
14083 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native;
14084
14085 /// @domName RTCDataChannel.send; @docsEditable true
14086 void send(data) native;
14087 }
14088
14089 class RTCDataChannelEvents extends Events {
14090 RTCDataChannelEvents(EventTarget _ptr) : super(_ptr);
14091
14092 EventListenerList get close => this['close'];
14093
14094 EventListenerList get error => this['error'];
14095
14096 EventListenerList get message => this['message'];
14097
14098 EventListenerList get open => this['open'];
14099 }
14100 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14101 // for details. All rights reserved. Use of this source code is governed by a
14102 // BSD-style license that can be found in the LICENSE file.
14103
14104
14105 /// @domName RTCDataChannelEvent; @docsEditable true
14106 class RTCDataChannelEvent extends Event native "*RTCDataChannelEvent" {
14107
14108 /// @domName RTCDataChannelEvent.channel; @docsEditable true
14109 final RTCDataChannel channel;
14110 }
14111 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14112 // for details. All rights reserved. Use of this source code is governed by a
14113 // BSD-style license that can be found in the LICENSE file.
14114
14115 // WARNING: Do not edit - generated code. 14030 // WARNING: Do not edit - generated code.
14116 14031
14117 14032
14118 typedef void RTCErrorCallback(String errorInformation); 14033 typedef void RTCErrorCallback(String errorInformation);
14119 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14034 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14120 // for details. All rights reserved. Use of this source code is governed by a 14035 // for details. All rights reserved. Use of this source code is governed by a
14121 // BSD-style license that can be found in the LICENSE file. 14036 // BSD-style license that can be found in the LICENSE file.
14122 14037
14123 14038 // WARNING: Do not edit - generated code.
14124 /// @domName RTCIceCandidate; @docsEditable true 14039
14125 class RTCIceCandidate native "*RTCIceCandidate" { 14040
14126 14041 typedef void RTCSessionDescriptionCallback(RtcSessionDescription sdp);
14127 factory RTCIceCandidate(Map dictionary) => _RTCIceCandidateFactoryProvider.cre ateRTCIceCandidate(dictionary); 14042 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14128 14043 // for details. All rights reserved. Use of this source code is governed by a
14129 /// @domName RTCIceCandidate.candidate; @docsEditable true 14044 // BSD-style license that can be found in the LICENSE file.
14130 final String candidate; 14045
14131 14046 // WARNING: Do not edit - generated code.
14132 /// @domName RTCIceCandidate.sdpMLineIndex; @docsEditable true 14047
14133 final int sdpMLineIndex; 14048
14134 14049 typedef void RTCStatsCallback(RtcStatsResponse response);
14135 /// @domName RTCIceCandidate.sdpMid; @docsEditable true 14050 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14136 final String sdpMid; 14051 // for details. All rights reserved. Use of this source code is governed by a
14137 } 14052 // BSD-style license that can be found in the LICENSE file.
14138 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14139 // for details. All rights reserved. Use of this source code is governed by a
14140 // BSD-style license that can be found in the LICENSE file.
14141
14142
14143 /// @domName RTCIceCandidateEvent; @docsEditable true
14144 class RTCIceCandidateEvent extends Event native "*RTCIceCandidateEvent" {
14145
14146 /// @domName RTCIceCandidateEvent.candidate; @docsEditable true
14147 final RTCIceCandidate candidate;
14148 }
14149 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14150 // for details. All rights reserved. Use of this source code is governed by a
14151 // BSD-style license that can be found in the LICENSE file.
14152
14153
14154 /// @domName RTCPeerConnection; @docsEditable true
14155 class RTCPeerConnection extends EventTarget native "*RTCPeerConnection" {
14156
14157 factory RTCPeerConnection(Map rtcIceServers, [Map mediaConstraints]) {
14158 if (!?mediaConstraints) {
14159 return _RTCPeerConnectionFactoryProvider.createRTCPeerConnection(rtcIceSer vers);
14160 }
14161 return _RTCPeerConnectionFactoryProvider.createRTCPeerConnection(rtcIceServe rs, mediaConstraints);
14162 }
14163
14164 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
14165 RTCPeerConnectionEvents get on =>
14166 new RTCPeerConnectionEvents(this);
14167
14168 /// @domName RTCPeerConnection.iceState; @docsEditable true
14169 final String iceState;
14170
14171 /// @domName RTCPeerConnection.localDescription; @docsEditable true
14172 final RTCSessionDescription localDescription;
14173
14174 /// @domName RTCPeerConnection.localStreams; @docsEditable true
14175 @Returns('_MediaStreamList') @Creates('_MediaStreamList')
14176 final List<MediaStream> localStreams;
14177
14178 /// @domName RTCPeerConnection.readyState; @docsEditable true
14179 final String readyState;
14180
14181 /// @domName RTCPeerConnection.remoteDescription; @docsEditable true
14182 final RTCSessionDescription remoteDescription;
14183
14184 /// @domName RTCPeerConnection.remoteStreams; @docsEditable true
14185 @Returns('_MediaStreamList') @Creates('_MediaStreamList')
14186 final List<MediaStream> remoteStreams;
14187
14188 /// @domName RTCPeerConnection.addEventListener; @docsEditable true
14189 @JSName('addEventListener')
14190 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native;
14191
14192 /// @domName RTCPeerConnection.addIceCandidate; @docsEditable true
14193 void addIceCandidate(RTCIceCandidate candidate) native;
14194
14195 /// @domName RTCPeerConnection.addStream; @docsEditable true
14196 void addStream(MediaStream stream, [Map mediaConstraints]) {
14197 if (?mediaConstraints) {
14198 var mediaConstraints_1 = convertDartToNative_Dictionary(mediaConstraints);
14199 _addStream_1(stream, mediaConstraints_1);
14200 return;
14201 }
14202 _addStream_2(stream);
14203 return;
14204 }
14205 @JSName('addStream')
14206 void _addStream_1(MediaStream stream, mediaConstraints) native;
14207 @JSName('addStream')
14208 void _addStream_2(MediaStream stream) native;
14209
14210 /// @domName RTCPeerConnection.close; @docsEditable true
14211 void close() native;
14212
14213 /// @domName RTCPeerConnection.createAnswer; @docsEditable true
14214 void createAnswer(RTCSessionDescriptionCallback successCallback, [RTCErrorCall back failureCallback, Map mediaConstraints]) {
14215 if (?mediaConstraints) {
14216 var mediaConstraints_1 = convertDartToNative_Dictionary(mediaConstraints);
14217 _createAnswer_1(successCallback, failureCallback, mediaConstraints_1);
14218 return;
14219 }
14220 _createAnswer_2(successCallback, failureCallback);
14221 return;
14222 }
14223 @JSName('createAnswer')
14224 void _createAnswer_1(RTCSessionDescriptionCallback successCallback, RTCErrorCa llback failureCallback, mediaConstraints) native;
14225 @JSName('createAnswer')
14226 void _createAnswer_2(RTCSessionDescriptionCallback successCallback, RTCErrorCa llback failureCallback) native;
14227
14228 /// @domName RTCPeerConnection.createDataChannel; @docsEditable true
14229 RTCDataChannel createDataChannel(String label, [Map options]) {
14230 if (?options) {
14231 var options_1 = convertDartToNative_Dictionary(options);
14232 return _createDataChannel_1(label, options_1);
14233 }
14234 return _createDataChannel_2(label);
14235 }
14236 @JSName('createDataChannel')
14237 RTCDataChannel _createDataChannel_1(label, options) native;
14238 @JSName('createDataChannel')
14239 RTCDataChannel _createDataChannel_2(label) native;
14240
14241 /// @domName RTCPeerConnection.createOffer; @docsEditable true
14242 void createOffer(RTCSessionDescriptionCallback successCallback, [RTCErrorCallb ack failureCallback, Map mediaConstraints]) {
14243 if (?mediaConstraints) {
14244 var mediaConstraints_1 = convertDartToNative_Dictionary(mediaConstraints);
14245 _createOffer_1(successCallback, failureCallback, mediaConstraints_1);
14246 return;
14247 }
14248 _createOffer_2(successCallback, failureCallback);
14249 return;
14250 }
14251 @JSName('createOffer')
14252 void _createOffer_1(RTCSessionDescriptionCallback successCallback, RTCErrorCal lback failureCallback, mediaConstraints) native;
14253 @JSName('createOffer')
14254 void _createOffer_2(RTCSessionDescriptionCallback successCallback, RTCErrorCal lback failureCallback) native;
14255
14256 /// @domName RTCPeerConnection.dispatchEvent; @docsEditable true
14257 @JSName('dispatchEvent')
14258 bool $dom_dispatchEvent(Event event) native;
14259
14260 /// @domName RTCPeerConnection.getStats; @docsEditable true
14261 void getStats(RTCStatsCallback successCallback, MediaStreamTrack selector) nat ive;
14262
14263 /// @domName RTCPeerConnection.removeEventListener; @docsEditable true
14264 @JSName('removeEventListener')
14265 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native;
14266
14267 /// @domName RTCPeerConnection.removeStream; @docsEditable true
14268 void removeStream(MediaStream stream) native;
14269
14270 /// @domName RTCPeerConnection.setLocalDescription; @docsEditable true
14271 void setLocalDescription(RTCSessionDescription description, [VoidCallback succ essCallback, RTCErrorCallback failureCallback]) native;
14272
14273 /// @domName RTCPeerConnection.setRemoteDescription; @docsEditable true
14274 void setRemoteDescription(RTCSessionDescription description, [VoidCallback suc cessCallback, RTCErrorCallback failureCallback]) native;
14275
14276 /// @domName RTCPeerConnection.updateIce; @docsEditable true
14277 void updateIce([Map configuration, Map mediaConstraints]) {
14278 if (?mediaConstraints) {
14279 var configuration_1 = convertDartToNative_Dictionary(configuration);
14280 var mediaConstraints_2 = convertDartToNative_Dictionary(mediaConstraints);
14281 _updateIce_1(configuration_1, mediaConstraints_2);
14282 return;
14283 }
14284 if (?configuration) {
14285 var configuration_3 = convertDartToNative_Dictionary(configuration);
14286 _updateIce_2(configuration_3);
14287 return;
14288 }
14289 _updateIce_3();
14290 return;
14291 }
14292 @JSName('updateIce')
14293 void _updateIce_1(configuration, mediaConstraints) native;
14294 @JSName('updateIce')
14295 void _updateIce_2(configuration) native;
14296 @JSName('updateIce')
14297 void _updateIce_3() native;
14298 }
14299
14300 class RTCPeerConnectionEvents extends Events {
14301 RTCPeerConnectionEvents(EventTarget _ptr) : super(_ptr);
14302
14303 EventListenerList get addStream => this['addstream'];
14304
14305 EventListenerList get iceCandidate => this['icecandidate'];
14306
14307 EventListenerList get iceChange => this['icechange'];
14308
14309 EventListenerList get negotiationNeeded => this['negotiationneeded'];
14310
14311 EventListenerList get open => this['open'];
14312
14313 EventListenerList get removeStream => this['removestream'];
14314
14315 EventListenerList get stateChange => this['statechange'];
14316 }
14317 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14318 // for details. All rights reserved. Use of this source code is governed by a
14319 // BSD-style license that can be found in the LICENSE file.
14320
14321
14322 /// @domName RTCSessionDescription; @docsEditable true
14323 class RTCSessionDescription native "*RTCSessionDescription" {
14324
14325 factory RTCSessionDescription(Map dictionary) => _RTCSessionDescriptionFactory Provider.createRTCSessionDescription(dictionary);
14326
14327 /// @domName RTCSessionDescription.sdp; @docsEditable true
14328 String sdp;
14329
14330 /// @domName RTCSessionDescription.type; @docsEditable true
14331 String type;
14332 }
14333 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14334 // for details. All rights reserved. Use of this source code is governed by a
14335 // BSD-style license that can be found in the LICENSE file.
14336
14337 // WARNING: Do not edit - generated code.
14338
14339
14340 typedef void RTCSessionDescriptionCallback(RTCSessionDescription sdp);
14341 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14342 // for details. All rights reserved. Use of this source code is governed by a
14343 // BSD-style license that can be found in the LICENSE file.
14344
14345 // WARNING: Do not edit - generated code.
14346
14347
14348 typedef void RTCStatsCallback(RTCStatsResponse response);
14349 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14350 // for details. All rights reserved. Use of this source code is governed by a
14351 // BSD-style license that can be found in the LICENSE file.
14352
14353
14354 /// @domName RTCStatsElement; @docsEditable true
14355 class RTCStatsElement native "*RTCStatsElement" {
14356
14357 /// @domName RTCStatsElement.timestamp; @docsEditable true
14358 final Date timestamp;
14359
14360 /// @domName RTCStatsElement.stat; @docsEditable true
14361 String stat(String name) native;
14362 }
14363 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14364 // for details. All rights reserved. Use of this source code is governed by a
14365 // BSD-style license that can be found in the LICENSE file.
14366
14367
14368 /// @domName RTCStatsReport; @docsEditable true
14369 class RTCStatsReport native "*RTCStatsReport" {
14370
14371 /// @domName RTCStatsReport.local; @docsEditable true
14372 final RTCStatsElement local;
14373
14374 /// @domName RTCStatsReport.remote; @docsEditable true
14375 final RTCStatsElement remote;
14376 }
14377 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14378 // for details. All rights reserved. Use of this source code is governed by a
14379 // BSD-style license that can be found in the LICENSE file.
14380
14381
14382 /// @domName RTCStatsResponse; @docsEditable true
14383 class RTCStatsResponse native "*RTCStatsResponse" {
14384
14385 /// @domName RTCStatsResponse.result; @docsEditable true
14386 List<RTCStatsReport> result() native;
14387 }
14388 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14389 // for details. All rights reserved. Use of this source code is governed by a
14390 // BSD-style license that can be found in the LICENSE file.
14391 14053
14392 14054
14393 /// @domName RadioNodeList; @docsEditable true 14055 /// @domName RadioNodeList; @docsEditable true
14394 class RadioNodeList extends NodeList native "*RadioNodeList" { 14056 class RadioNodeList extends NodeList native "*RadioNodeList" {
14395 14057
14396 /// @domName RadioNodeList.value; @docsEditable true 14058 /// @domName RadioNodeList.value; @docsEditable true
14397 String value; 14059 String value;
14398 } 14060 }
14399 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14061 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14400 // for details. All rights reserved. Use of this source code is governed by a 14062 // for details. All rights reserved. Use of this source code is governed by a
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
14540 } 14202 }
14541 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14203 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14542 // for details. All rights reserved. Use of this source code is governed by a 14204 // for details. All rights reserved. Use of this source code is governed by a
14543 // BSD-style license that can be found in the LICENSE file. 14205 // BSD-style license that can be found in the LICENSE file.
14544 14206
14545 14207
14546 /// @domName Rect; @docsEditable true 14208 /// @domName Rect; @docsEditable true
14547 class Rect native "*Rect" { 14209 class Rect native "*Rect" {
14548 14210
14549 /// @domName Rect.bottom; @docsEditable true 14211 /// @domName Rect.bottom; @docsEditable true
14550 final CSSPrimitiveValue bottom; 14212 final CssPrimitiveValue bottom;
14551 14213
14552 /// @domName Rect.left; @docsEditable true 14214 /// @domName Rect.left; @docsEditable true
14553 final CSSPrimitiveValue left; 14215 final CssPrimitiveValue left;
14554 14216
14555 /// @domName Rect.right; @docsEditable true 14217 /// @domName Rect.right; @docsEditable true
14556 final CSSPrimitiveValue right; 14218 final CssPrimitiveValue right;
14557 14219
14558 /// @domName Rect.top; @docsEditable true 14220 /// @domName Rect.top; @docsEditable true
14559 final CSSPrimitiveValue top; 14221 final CssPrimitiveValue top;
14560 } 14222 }
14561 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14223 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14562 // for details. All rights reserved. Use of this source code is governed by a 14224 // for details. All rights reserved. Use of this source code is governed by a
14563 // BSD-style license that can be found in the LICENSE file. 14225 // BSD-style license that can be found in the LICENSE file.
14564 14226
14565 // WARNING: Do not edit - generated code. 14227 // WARNING: Do not edit - generated code.
14566 14228
14567 14229
14568 typedef void RequestAnimationFrameCallback(num highResTime); 14230 typedef void RequestAnimationFrameCallback(num highResTime);
14569 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14231 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14570 // for details. All rights reserved. Use of this source code is governed by a 14232 // for details. All rights reserved. Use of this source code is governed by a
14571 // BSD-style license that can be found in the LICENSE file. 14233 // BSD-style license that can be found in the LICENSE file.
14572 14234
14573 14235
14574 /// @domName SQLError; @docsEditable true 14236 /// @domName RGBColor; @docsEditable true
14575 class SQLError native "*SQLError" { 14237 class RgbColor native "*RGBColor" {
14576 14238
14577 static const int CONSTRAINT_ERR = 6; 14239 /// @domName RGBColor.blue; @docsEditable true
14578 14240 final CssPrimitiveValue blue;
14579 static const int DATABASE_ERR = 1; 14241
14580 14242 /// @domName RGBColor.green; @docsEditable true
14581 static const int QUOTA_ERR = 4; 14243 final CssPrimitiveValue green;
14582 14244
14583 static const int SYNTAX_ERR = 5; 14245 /// @domName RGBColor.red; @docsEditable true
14584 14246 final CssPrimitiveValue red;
14585 static const int TIMEOUT_ERR = 7; 14247 }
14586 14248 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14587 static const int TOO_LARGE_ERR = 3; 14249 // for details. All rights reserved. Use of this source code is governed by a
14588 14250 // BSD-style license that can be found in the LICENSE file.
14589 static const int UNKNOWN_ERR = 0; 14251
14590 14252
14591 static const int VERSION_ERR = 2; 14253 /// @domName RTCDataChannel; @docsEditable true
14592 14254 class RtcDataChannel extends EventTarget native "*RTCDataChannel" {
14593 /// @domName SQLError.code; @docsEditable true 14255
14594 final int code; 14256 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
14595 14257 RtcDataChannelEvents get on =>
14596 /// @domName SQLError.message; @docsEditable true 14258 new RtcDataChannelEvents(this);
14597 final String message; 14259
14598 } 14260 /// @domName RTCDataChannel.binaryType; @docsEditable true
14599 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14261 String binaryType;
14600 // for details. All rights reserved. Use of this source code is governed by a 14262
14601 // BSD-style license that can be found in the LICENSE file. 14263 /// @domName RTCDataChannel.bufferedAmount; @docsEditable true
14602 14264 final int bufferedAmount;
14603 14265
14604 /// @domName SQLException; @docsEditable true 14266 /// @domName RTCDataChannel.label; @docsEditable true
14605 class SQLException native "*SQLException" { 14267 final String label;
14606 14268
14607 static const int CONSTRAINT_ERR = 6; 14269 /// @domName RTCDataChannel.readyState; @docsEditable true
14608 14270 final String readyState;
14609 static const int DATABASE_ERR = 1; 14271
14610 14272 /// @domName RTCDataChannel.reliable; @docsEditable true
14611 static const int QUOTA_ERR = 4; 14273 final bool reliable;
14612 14274
14613 static const int SYNTAX_ERR = 5; 14275 /// @domName RTCDataChannel.addEventListener; @docsEditable true
14614 14276 @JSName('addEventListener')
14615 static const int TIMEOUT_ERR = 7; 14277 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native;
14616 14278
14617 static const int TOO_LARGE_ERR = 3; 14279 /// @domName RTCDataChannel.close; @docsEditable true
14618 14280 void close() native;
14619 static const int UNKNOWN_ERR = 0; 14281
14620 14282 /// @domName RTCDataChannel.dispatchEvent; @docsEditable true
14621 static const int VERSION_ERR = 2; 14283 @JSName('dispatchEvent')
14622 14284 bool $dom_dispatchEvent(Event event) native;
14623 /// @domName SQLException.code; @docsEditable true 14285
14624 final int code; 14286 /// @domName RTCDataChannel.removeEventListener; @docsEditable true
14625 14287 @JSName('removeEventListener')
14626 /// @domName SQLException.message; @docsEditable true 14288 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native;
14627 final String message; 14289
14628 } 14290 /// @domName RTCDataChannel.send; @docsEditable true
14629 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14291 void send(data) native;
14630 // for details. All rights reserved. Use of this source code is governed by a 14292 }
14631 // BSD-style license that can be found in the LICENSE file. 14293
14632 14294 class RtcDataChannelEvents extends Events {
14633 14295 RtcDataChannelEvents(EventTarget _ptr) : super(_ptr);
14634 /// @domName SQLResultSet; @docsEditable true 14296
14635 class SQLResultSet native "*SQLResultSet" { 14297 EventListenerList get close => this['close'];
14636 14298
14637 /// @domName SQLResultSet.insertId; @docsEditable true 14299 EventListenerList get error => this['error'];
14638 final int insertId; 14300
14639 14301 EventListenerList get message => this['message'];
14640 /// @domName SQLResultSet.rows; @docsEditable true 14302
14641 final SQLResultSetRowList rows; 14303 EventListenerList get open => this['open'];
14642 14304 }
14643 /// @domName SQLResultSet.rowsAffected; @docsEditable true 14305 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14644 final int rowsAffected; 14306 // for details. All rights reserved. Use of this source code is governed by a
14645 } 14307 // BSD-style license that can be found in the LICENSE file.
14646 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14308
14647 // for details. All rights reserved. Use of this source code is governed by a 14309
14648 // BSD-style license that can be found in the LICENSE file. 14310 /// @domName RTCDataChannelEvent; @docsEditable true
14649 14311 class RtcDataChannelEvent extends Event native "*RTCDataChannelEvent" {
14650 14312
14651 /// @domName SQLResultSetRowList; @docsEditable true 14313 /// @domName RTCDataChannelEvent.channel; @docsEditable true
14652 class SQLResultSetRowList implements JavaScriptIndexingBehavior, List<Map> nativ e "*SQLResultSetRowList" { 14314 final RtcDataChannel channel;
14653 14315 }
14654 /// @domName SQLResultSetRowList.length; @docsEditable true 14316 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14655 final int length; 14317 // for details. All rights reserved. Use of this source code is governed by a
14656 14318 // BSD-style license that can be found in the LICENSE file.
14657 Map operator[](int index) => JS("Map", "#[#]", this, index); 14319
14658 14320
14659 void operator[]=(int index, Map value) { 14321 /// @domName RTCIceCandidate; @docsEditable true
14660 throw new UnsupportedError("Cannot assign element of immutable List."); 14322 class RtcIceCandidate native "*RTCIceCandidate" {
14661 } 14323
14662 // -- start List<Map> mixins. 14324 factory RtcIceCandidate(Map dictionary) => _RtcIceCandidateFactoryProvider.cre ateRtcIceCandidate(dictionary);
14663 // Map is the element type. 14325
14664 14326 /// @domName RTCIceCandidate.candidate; @docsEditable true
14665 // From Iterable<Map>: 14327 final String candidate;
14666 14328
14667 Iterator<Map> iterator() { 14329 /// @domName RTCIceCandidate.sdpMLineIndex; @docsEditable true
14668 // Note: NodeLists are not fixed size. And most probably length shouldn't 14330 final int sdpMLineIndex;
14669 // be cached in both iterator _and_ forEach method. For now caching it 14331
14670 // for consistency. 14332 /// @domName RTCIceCandidate.sdpMid; @docsEditable true
14671 return new FixedSizeListIterator<Map>(this); 14333 final String sdpMid;
14672 } 14334 }
14673 14335 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14674 // From Collection<Map>: 14336 // for details. All rights reserved. Use of this source code is governed by a
14675 14337 // BSD-style license that can be found in the LICENSE file.
14676 void add(Map value) { 14338
14677 throw new UnsupportedError("Cannot add to immutable List."); 14339
14678 } 14340 /// @domName RTCIceCandidateEvent; @docsEditable true
14679 14341 class RtcIceCandidateEvent extends Event native "*RTCIceCandidateEvent" {
14680 void addLast(Map value) { 14342
14681 throw new UnsupportedError("Cannot add to immutable List."); 14343 /// @domName RTCIceCandidateEvent.candidate; @docsEditable true
14682 } 14344 final RtcIceCandidate candidate;
14683 14345 }
14684 void addAll(Collection<Map> collection) { 14346 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14685 throw new UnsupportedError("Cannot add to immutable List."); 14347 // for details. All rights reserved. Use of this source code is governed by a
14686 } 14348 // BSD-style license that can be found in the LICENSE file.
14687 14349
14688 dynamic reduce(dynamic initialValue, dynamic combine(dynamic, Map)) { 14350
14689 return Collections.reduce(this, initialValue, combine); 14351 /// @domName RTCPeerConnection; @docsEditable true
14690 } 14352 class RtcPeerConnection extends EventTarget native "*RTCPeerConnection" {
14691 14353
14692 bool contains(Map element) => Collections.contains(this, element); 14354 factory RtcPeerConnection(Map rtcIceServers, [Map mediaConstraints]) {
14693 14355 if (!?mediaConstraints) {
14694 void forEach(void f(Map element)) => Collections.forEach(this, f); 14356 return _RtcPeerConnectionFactoryProvider.createRtcPeerConnection(rtcIceSer vers);
14695 14357 }
14696 Collection map(f(Map element)) => Collections.map(this, [], f); 14358 return _RtcPeerConnectionFactoryProvider.createRtcPeerConnection(rtcIceServe rs, mediaConstraints);
14697 14359 }
14698 Collection<Map> filter(bool f(Map element)) => 14360
14699 Collections.filter(this, <Map>[], f); 14361 /// @domName EventTarget.addEventListener, EventTarget.removeEventListener, Ev entTarget.dispatchEvent; @docsEditable true
14700 14362 RtcPeerConnectionEvents get on =>
14701 bool every(bool f(Map element)) => Collections.every(this, f); 14363 new RtcPeerConnectionEvents(this);
14702 14364
14703 bool some(bool f(Map element)) => Collections.some(this, f); 14365 /// @domName RTCPeerConnection.iceState; @docsEditable true
14704 14366 final String iceState;
14705 bool get isEmpty => this.length == 0; 14367
14706 14368 /// @domName RTCPeerConnection.localDescription; @docsEditable true
14707 // From List<Map>: 14369 final RtcSessionDescription localDescription;
14708 14370
14709 void sort([Comparator<Map> compare = Comparable.compare]) { 14371 /// @domName RTCPeerConnection.localStreams; @docsEditable true
14710 throw new UnsupportedError("Cannot sort immutable List."); 14372 @Returns('_MediaStreamList') @Creates('_MediaStreamList')
14711 } 14373 final List<MediaStream> localStreams;
14712 14374
14713 int indexOf(Map element, [int start = 0]) => 14375 /// @domName RTCPeerConnection.readyState; @docsEditable true
14714 Lists.indexOf(this, element, start, this.length); 14376 final String readyState;
14715 14377
14716 int lastIndexOf(Map element, [int start]) { 14378 /// @domName RTCPeerConnection.remoteDescription; @docsEditable true
14717 if (start == null) start = length - 1; 14379 final RtcSessionDescription remoteDescription;
14718 return Lists.lastIndexOf(this, element, start); 14380
14719 } 14381 /// @domName RTCPeerConnection.remoteStreams; @docsEditable true
14720 14382 @Returns('_MediaStreamList') @Creates('_MediaStreamList')
14721 Map get first => this[0]; 14383 final List<MediaStream> remoteStreams;
14722 14384
14723 Map get last => this[length - 1]; 14385 /// @domName RTCPeerConnection.addEventListener; @docsEditable true
14724 14386 @JSName('addEventListener')
14725 Map removeAt(int pos) { 14387 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native;
14726 throw new UnsupportedError("Cannot removeAt on immutable List."); 14388
14727 } 14389 /// @domName RTCPeerConnection.addIceCandidate; @docsEditable true
14728 14390 void addIceCandidate(RtcIceCandidate candidate) native;
14729 Map removeLast() { 14391
14730 throw new UnsupportedError("Cannot removeLast on immutable List."); 14392 /// @domName RTCPeerConnection.addStream; @docsEditable true
14731 } 14393 void addStream(MediaStream stream, [Map mediaConstraints]) {
14732 14394 if (?mediaConstraints) {
14733 void setRange(int start, int rangeLength, List<Map> from, [int startFrom]) { 14395 var mediaConstraints_1 = convertDartToNative_Dictionary(mediaConstraints);
14734 throw new UnsupportedError("Cannot setRange on immutable List."); 14396 _addStream_1(stream, mediaConstraints_1);
14735 } 14397 return;
14736 14398 }
14737 void removeRange(int start, int rangeLength) { 14399 _addStream_2(stream);
14738 throw new UnsupportedError("Cannot removeRange on immutable List."); 14400 return;
14739 } 14401 }
14740 14402 @JSName('addStream')
14741 void insertRange(int start, int rangeLength, [Map initialValue]) { 14403 void _addStream_1(MediaStream stream, mediaConstraints) native;
14742 throw new UnsupportedError("Cannot insertRange on immutable List."); 14404 @JSName('addStream')
14743 } 14405 void _addStream_2(MediaStream stream) native;
14744 14406
14745 List<Map> getRange(int start, int rangeLength) => 14407 /// @domName RTCPeerConnection.close; @docsEditable true
14746 Lists.getRange(this, start, rangeLength, <Map>[]); 14408 void close() native;
14747 14409
14748 // -- end List<Map> mixins. 14410 /// @domName RTCPeerConnection.createAnswer; @docsEditable true
14749 14411 void createAnswer(RTCSessionDescriptionCallback successCallback, [RTCErrorCall back failureCallback, Map mediaConstraints]) {
14750 /// @domName SQLResultSetRowList.item; @docsEditable true 14412 if (?mediaConstraints) {
14751 Map item(int index) { 14413 var mediaConstraints_1 = convertDartToNative_Dictionary(mediaConstraints);
14752 return convertNativeToDart_Dictionary(_item_1(index)); 14414 _createAnswer_1(successCallback, failureCallback, mediaConstraints_1);
14753 } 14415 return;
14754 @JSName('item') 14416 }
14755 @Creates('=Object') 14417 _createAnswer_2(successCallback, failureCallback);
14756 _item_1(index) native; 14418 return;
14757 } 14419 }
14758 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14420 @JSName('createAnswer')
14759 // for details. All rights reserved. Use of this source code is governed by a 14421 void _createAnswer_1(RTCSessionDescriptionCallback successCallback, RTCErrorCa llback failureCallback, mediaConstraints) native;
14760 // BSD-style license that can be found in the LICENSE file. 14422 @JSName('createAnswer')
14761 14423 void _createAnswer_2(RTCSessionDescriptionCallback successCallback, RTCErrorCa llback failureCallback) native;
14762 // WARNING: Do not edit - generated code. 14424
14763 14425 /// @domName RTCPeerConnection.createDataChannel; @docsEditable true
14764 14426 RtcDataChannel createDataChannel(String label, [Map options]) {
14765 typedef void SQLStatementCallback(SQLTransaction transaction, SQLResultSet resul tSet); 14427 if (?options) {
14766 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14428 var options_1 = convertDartToNative_Dictionary(options);
14767 // for details. All rights reserved. Use of this source code is governed by a 14429 return _createDataChannel_1(label, options_1);
14768 // BSD-style license that can be found in the LICENSE file. 14430 }
14769 14431 return _createDataChannel_2(label);
14770 // WARNING: Do not edit - generated code. 14432 }
14771 14433 @JSName('createDataChannel')
14772 14434 RtcDataChannel _createDataChannel_1(label, options) native;
14773 typedef void SQLStatementErrorCallback(SQLTransaction transaction, SQLError erro r); 14435 @JSName('createDataChannel')
14774 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14436 RtcDataChannel _createDataChannel_2(label) native;
14775 // for details. All rights reserved. Use of this source code is governed by a 14437
14776 // BSD-style license that can be found in the LICENSE file. 14438 /// @domName RTCPeerConnection.createOffer; @docsEditable true
14777 14439 void createOffer(RTCSessionDescriptionCallback successCallback, [RTCErrorCallb ack failureCallback, Map mediaConstraints]) {
14778 14440 if (?mediaConstraints) {
14779 /// @domName SQLTransaction; @docsEditable true 14441 var mediaConstraints_1 = convertDartToNative_Dictionary(mediaConstraints);
14780 class SQLTransaction native "*SQLTransaction" { 14442 _createOffer_1(successCallback, failureCallback, mediaConstraints_1);
14781 14443 return;
14782 /// @domName SQLTransaction.executeSql; @docsEditable true 14444 }
14783 void executeSql(String sqlStatement, List arguments, [SQLStatementCallback cal lback, SQLStatementErrorCallback errorCallback]) native; 14445 _createOffer_2(successCallback, failureCallback);
14784 } 14446 return;
14785 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14447 }
14786 // for details. All rights reserved. Use of this source code is governed by a 14448 @JSName('createOffer')
14449 void _createOffer_1(RTCSessionDescriptionCallback successCallback, RTCErrorCal lback failureCallback, mediaConstraints) native;
14450 @JSName('createOffer')
14451 void _createOffer_2(RTCSessionDescriptionCallback successCallback, RTCErrorCal lback failureCallback) native;
14452
14453 /// @domName RTCPeerConnection.dispatchEvent; @docsEditable true
14454 @JSName('dispatchEvent')
14455 bool $dom_dispatchEvent(Event event) native;
14456
14457 /// @domName RTCPeerConnection.getStats; @docsEditable true
14458 void getStats(RTCStatsCallback successCallback, MediaStreamTrack selector) nat ive;
14459
14460 /// @domName RTCPeerConnection.removeEventListener; @docsEditable true
14461 @JSName('removeEventListener')
14462 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native;
14463
14464 /// @domName RTCPeerConnection.removeStream; @docsEditable true
14465 void removeStream(MediaStream stream) native;
14466
14467 /// @domName RTCPeerConnection.setLocalDescription; @docsEditable true
14468 void setLocalDescription(RtcSessionDescription description, [VoidCallback succ essCallback, RTCErrorCallback failureCallback]) native;
14469
14470 /// @domName RTCPeerConnection.setRemoteDescription; @docsEditable true
14471 void setRemoteDescription(RtcSessionDescription description, [VoidCallback suc cessCallback, RTCErrorCallback failureCallback]) native;
14472
14473 /// @domName RTCPeerConnection.updateIce; @docsEditable true
14474 void updateIce([Map configuration, Map mediaConstraints]) {
14475 if (?mediaConstraints) {
14476 var configuration_1 = convertDartToNative_Dictionary(configuration);
14477 var mediaConstraints_2 = convertDartToNative_Dictionary(mediaConstraints);
14478 _updateIce_1(configuration_1, mediaConstraints_2);
14479 return;
14480 }
14481 if (?configuration) {
14482 var configuration_3 = convertDartToNative_Dictionary(configuration);
14483 _updateIce_2(configuration_3);
14484 return;
14485 }
14486 _updateIce_3();
14487 return;
14488 }
14489 @JSName('updateIce')
14490 void _updateIce_1(configuration, mediaConstraints) native;
14491 @JSName('updateIce')
14492 void _updateIce_2(configuration) native;
14493 @JSName('updateIce')
14494 void _updateIce_3() native;
14495 }
14496
14497 class RtcPeerConnectionEvents extends Events {
14498 RtcPeerConnectionEvents(EventTarget _ptr) : super(_ptr);
14499
14500 EventListenerList get addStream => this['addstream'];
14501
14502 EventListenerList get iceCandidate => this['icecandidate'];
14503
14504 EventListenerList get iceChange => this['icechange'];
14505
14506 EventListenerList get negotiationNeeded => this['negotiationneeded'];
14507
14508 EventListenerList get open => this['open'];
14509
14510 EventListenerList get removeStream => this['removestream'];
14511
14512 EventListenerList get stateChange => this['statechange'];
14513 }
14514 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14515 // for details. All rights reserved. Use of this source code is governed by a
14516 // BSD-style license that can be found in the LICENSE file.
14517
14518
14519 /// @domName RTCSessionDescription; @docsEditable true
14520 class RtcSessionDescription native "*RTCSessionDescription" {
14521
14522 factory RtcSessionDescription(Map dictionary) => _RtcSessionDescriptionFactory Provider.createRtcSessionDescription(dictionary);
14523
14524 /// @domName RTCSessionDescription.sdp; @docsEditable true
14525 String sdp;
14526
14527 /// @domName RTCSessionDescription.type; @docsEditable true
14528 String type;
14529 }
14530 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14531 // for details. All rights reserved. Use of this source code is governed by a
14532 // BSD-style license that can be found in the LICENSE file.
14533
14534
14535 /// @domName RTCStatsElement; @docsEditable true
14536 class RtcStatsElement native "*RTCStatsElement" {
14537
14538 /// @domName RTCStatsElement.timestamp; @docsEditable true
14539 final Date timestamp;
14540
14541 /// @domName RTCStatsElement.stat; @docsEditable true
14542 String stat(String name) native;
14543 }
14544 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14545 // for details. All rights reserved. Use of this source code is governed by a
14546 // BSD-style license that can be found in the LICENSE file.
14547
14548
14549 /// @domName RTCStatsReport; @docsEditable true
14550 class RtcStatsReport native "*RTCStatsReport" {
14551
14552 /// @domName RTCStatsReport.local; @docsEditable true
14553 final RtcStatsElement local;
14554
14555 /// @domName RTCStatsReport.remote; @docsEditable true
14556 final RtcStatsElement remote;
14557 }
14558 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14559 // for details. All rights reserved. Use of this source code is governed by a
14560 // BSD-style license that can be found in the LICENSE file.
14561
14562
14563 /// @domName RTCStatsResponse; @docsEditable true
14564 class RtcStatsResponse native "*RTCStatsResponse" {
14565
14566 /// @domName RTCStatsResponse.result; @docsEditable true
14567 List<RtcStatsReport> result() native;
14568 }
14569 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14570 // for details. All rights reserved. Use of this source code is governed by a
14787 // BSD-style license that can be found in the LICENSE file. 14571 // BSD-style license that can be found in the LICENSE file.
14788 14572
14789 // WARNING: Do not edit - generated code. 14573 // WARNING: Do not edit - generated code.
14790 14574
14791 14575
14792 typedef void SQLTransactionCallback(SQLTransaction transaction); 14576 typedef void SQLStatementCallback(SqlTransaction transaction, SqlResultSet resul tSet);
14793 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14577 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14794 // for details. All rights reserved. Use of this source code is governed by a 14578 // for details. All rights reserved. Use of this source code is governed by a
14795 // BSD-style license that can be found in the LICENSE file. 14579 // BSD-style license that can be found in the LICENSE file.
14796 14580
14797 // WARNING: Do not edit - generated code. 14581 // WARNING: Do not edit - generated code.
14798 14582
14799 14583
14800 typedef void SQLTransactionErrorCallback(SQLError error); 14584 typedef void SQLStatementErrorCallback(SqlTransaction transaction, SqlError erro r);
14801 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14585 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14802 // for details. All rights reserved. Use of this source code is governed by a 14586 // for details. All rights reserved. Use of this source code is governed by a
14803 // BSD-style license that can be found in the LICENSE file. 14587 // BSD-style license that can be found in the LICENSE file.
14804 14588
14589 // WARNING: Do not edit - generated code.
14805 14590
14806 /// @domName SQLTransactionSync; @docsEditable true
14807 class SQLTransactionSync native "*SQLTransactionSync" {
14808 14591
14809 /// @domName SQLTransactionSync.executeSql; @docsEditable true 14592 typedef void SQLTransactionCallback(SqlTransaction transaction);
14810 SQLResultSet executeSql(String sqlStatement, List arguments) native;
14811 }
14812 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14593 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14813 // for details. All rights reserved. Use of this source code is governed by a 14594 // for details. All rights reserved. Use of this source code is governed by a
14814 // BSD-style license that can be found in the LICENSE file. 14595 // BSD-style license that can be found in the LICENSE file.
14596
14597 // WARNING: Do not edit - generated code.
14598
14599
14600 typedef void SQLTransactionErrorCallback(SqlError error);
14601 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14602 // for details. All rights reserved. Use of this source code is governed by a
14603 // BSD-style license that can be found in the LICENSE file.
14815 14604
14816 // WARNING: Do not edit - generated code. 14605 // WARNING: Do not edit - generated code.
14817 14606
14818 14607
14819 typedef void SQLTransactionSyncCallback(SQLTransactionSync transaction); 14608 typedef void SQLTransactionSyncCallback(SqlTransactionSync transaction);
14820 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14609 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14821 // for details. All rights reserved. Use of this source code is governed by a 14610 // for details. All rights reserved. Use of this source code is governed by a
14822 // BSD-style license that can be found in the LICENSE file. 14611 // BSD-style license that can be found in the LICENSE file.
14823 14612
14824 14613
14825 /// @domName Screen; @docsEditable true 14614 /// @domName Screen; @docsEditable true
14826 class Screen native "*Screen" { 14615 class Screen native "*Screen" {
14827 14616
14828 /// @domName Screen.availHeight; @docsEditable true 14617 /// @domName Screen.availHeight; @docsEditable true
14829 final int availHeight; 14618 final int availHeight;
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
15084 @JSName('getElementsByClassName') 14873 @JSName('getElementsByClassName')
15085 @Returns('NodeList') @Creates('NodeList') 14874 @Returns('NodeList') @Creates('NodeList')
15086 List<Node> $dom_getElementsByClassName(String className) native; 14875 List<Node> $dom_getElementsByClassName(String className) native;
15087 14876
15088 /// @domName ShadowRoot.getElementsByTagName; @docsEditable true 14877 /// @domName ShadowRoot.getElementsByTagName; @docsEditable true
15089 @JSName('getElementsByTagName') 14878 @JSName('getElementsByTagName')
15090 @Returns('NodeList') @Creates('NodeList') 14879 @Returns('NodeList') @Creates('NodeList')
15091 List<Node> $dom_getElementsByTagName(String tagName) native; 14880 List<Node> $dom_getElementsByTagName(String tagName) native;
15092 14881
15093 /// @domName ShadowRoot.getSelection; @docsEditable true 14882 /// @domName ShadowRoot.getSelection; @docsEditable true
15094 DOMSelection getSelection() native; 14883 DomSelection getSelection() native;
15095 14884
15096 static bool get supported => 14885 static bool get supported =>
15097 JS('bool', '!!(window.ShadowRoot || window.WebKitShadowRoot)'); 14886 JS('bool', '!!(window.ShadowRoot || window.WebKitShadowRoot)');
15098 } 14887 }
15099 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14888 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15100 // for details. All rights reserved. Use of this source code is governed by a 14889 // for details. All rights reserved. Use of this source code is governed by a
15101 // BSD-style license that can be found in the LICENSE file. 14890 // BSD-style license that can be found in the LICENSE file.
15102 14891
15103 14892
15104 /// @domName SharedWorker; @docsEditable true 14893 /// @domName SharedWorker; @docsEditable true
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
15616 final bool finalValue; 15405 final bool finalValue;
15617 15406
15618 /// @domName SpeechRecognitionResult.length; @docsEditable true 15407 /// @domName SpeechRecognitionResult.length; @docsEditable true
15619 final int length; 15408 final int length;
15620 15409
15621 /// @domName SpeechRecognitionResult.item; @docsEditable true 15410 /// @domName SpeechRecognitionResult.item; @docsEditable true
15622 SpeechRecognitionAlternative item(int index) native; 15411 SpeechRecognitionAlternative item(int index) native;
15623 } 15412 }
15624 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15413 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15625 // for details. All rights reserved. Use of this source code is governed by a 15414 // for details. All rights reserved. Use of this source code is governed by a
15415 // BSD-style license that can be found in the LICENSE file.
15416
15417
15418 /// @domName SQLError; @docsEditable true
15419 class SqlError native "*SQLError" {
15420
15421 static const int CONSTRAINT_ERR = 6;
15422
15423 static const int DATABASE_ERR = 1;
15424
15425 static const int QUOTA_ERR = 4;
15426
15427 static const int SYNTAX_ERR = 5;
15428
15429 static const int TIMEOUT_ERR = 7;
15430
15431 static const int TOO_LARGE_ERR = 3;
15432
15433 static const int UNKNOWN_ERR = 0;
15434
15435 static const int VERSION_ERR = 2;
15436
15437 /// @domName SQLError.code; @docsEditable true
15438 final int code;
15439
15440 /// @domName SQLError.message; @docsEditable true
15441 final String message;
15442 }
15443 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15444 // for details. All rights reserved. Use of this source code is governed by a
15445 // BSD-style license that can be found in the LICENSE file.
15446
15447
15448 /// @domName SQLException; @docsEditable true
15449 class SqlException native "*SQLException" {
15450
15451 static const int CONSTRAINT_ERR = 6;
15452
15453 static const int DATABASE_ERR = 1;
15454
15455 static const int QUOTA_ERR = 4;
15456
15457 static const int SYNTAX_ERR = 5;
15458
15459 static const int TIMEOUT_ERR = 7;
15460
15461 static const int TOO_LARGE_ERR = 3;
15462
15463 static const int UNKNOWN_ERR = 0;
15464
15465 static const int VERSION_ERR = 2;
15466
15467 /// @domName SQLException.code; @docsEditable true
15468 final int code;
15469
15470 /// @domName SQLException.message; @docsEditable true
15471 final String message;
15472 }
15473 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15474 // for details. All rights reserved. Use of this source code is governed by a
15475 // BSD-style license that can be found in the LICENSE file.
15476
15477
15478 /// @domName SQLResultSet; @docsEditable true
15479 class SqlResultSet native "*SQLResultSet" {
15480
15481 /// @domName SQLResultSet.insertId; @docsEditable true
15482 final int insertId;
15483
15484 /// @domName SQLResultSet.rows; @docsEditable true
15485 final SqlResultSetRowList rows;
15486
15487 /// @domName SQLResultSet.rowsAffected; @docsEditable true
15488 final int rowsAffected;
15489 }
15490 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15491 // for details. All rights reserved. Use of this source code is governed by a
15492 // BSD-style license that can be found in the LICENSE file.
15493
15494
15495 /// @domName SQLResultSetRowList; @docsEditable true
15496 class SqlResultSetRowList implements JavaScriptIndexingBehavior, List<Map> nativ e "*SQLResultSetRowList" {
15497
15498 /// @domName SQLResultSetRowList.length; @docsEditable true
15499 final int length;
15500
15501 Map operator[](int index) => JS("Map", "#[#]", this, index);
15502
15503 void operator[]=(int index, Map value) {
15504 throw new UnsupportedError("Cannot assign element of immutable List.");
15505 }
15506 // -- start List<Map> mixins.
15507 // Map is the element type.
15508
15509 // From Iterable<Map>:
15510
15511 Iterator<Map> iterator() {
15512 // Note: NodeLists are not fixed size. And most probably length shouldn't
15513 // be cached in both iterator _and_ forEach method. For now caching it
15514 // for consistency.
15515 return new FixedSizeListIterator<Map>(this);
15516 }
15517
15518 // From Collection<Map>:
15519
15520 void add(Map value) {
15521 throw new UnsupportedError("Cannot add to immutable List.");
15522 }
15523
15524 void addLast(Map value) {
15525 throw new UnsupportedError("Cannot add to immutable List.");
15526 }
15527
15528 void addAll(Collection<Map> collection) {
15529 throw new UnsupportedError("Cannot add to immutable List.");
15530 }
15531
15532 dynamic reduce(dynamic initialValue, dynamic combine(dynamic, Map)) {
15533 return Collections.reduce(this, initialValue, combine);
15534 }
15535
15536 bool contains(Map element) => Collections.contains(this, element);
15537
15538 void forEach(void f(Map element)) => Collections.forEach(this, f);
15539
15540 Collection map(f(Map element)) => Collections.map(this, [], f);
15541
15542 Collection<Map> filter(bool f(Map element)) =>
15543 Collections.filter(this, <Map>[], f);
15544
15545 bool every(bool f(Map element)) => Collections.every(this, f);
15546
15547 bool some(bool f(Map element)) => Collections.some(this, f);
15548
15549 bool get isEmpty => this.length == 0;
15550
15551 // From List<Map>:
15552
15553 void sort([Comparator<Map> compare = Comparable.compare]) {
15554 throw new UnsupportedError("Cannot sort immutable List.");
15555 }
15556
15557 int indexOf(Map element, [int start = 0]) =>
15558 Lists.indexOf(this, element, start, this.length);
15559
15560 int lastIndexOf(Map element, [int start]) {
15561 if (start == null) start = length - 1;
15562 return Lists.lastIndexOf(this, element, start);
15563 }
15564
15565 Map get first => this[0];
15566
15567 Map get last => this[length - 1];
15568
15569 Map removeAt(int pos) {
15570 throw new UnsupportedError("Cannot removeAt on immutable List.");
15571 }
15572
15573 Map removeLast() {
15574 throw new UnsupportedError("Cannot removeLast on immutable List.");
15575 }
15576
15577 void setRange(int start, int rangeLength, List<Map> from, [int startFrom]) {
15578 throw new UnsupportedError("Cannot setRange on immutable List.");
15579 }
15580
15581 void removeRange(int start, int rangeLength) {
15582 throw new UnsupportedError("Cannot removeRange on immutable List.");
15583 }
15584
15585 void insertRange(int start, int rangeLength, [Map initialValue]) {
15586 throw new UnsupportedError("Cannot insertRange on immutable List.");
15587 }
15588
15589 List<Map> getRange(int start, int rangeLength) =>
15590 Lists.getRange(this, start, rangeLength, <Map>[]);
15591
15592 // -- end List<Map> mixins.
15593
15594 /// @domName SQLResultSetRowList.item; @docsEditable true
15595 Map item(int index) {
15596 return convertNativeToDart_Dictionary(_item_1(index));
15597 }
15598 @JSName('item')
15599 @Creates('=Object')
15600 _item_1(index) native;
15601 }
15602 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15603 // for details. All rights reserved. Use of this source code is governed by a
15604 // BSD-style license that can be found in the LICENSE file.
15605
15606
15607 /// @domName SQLTransaction; @docsEditable true
15608 class SqlTransaction native "*SQLTransaction" {
15609
15610 /// @domName SQLTransaction.executeSql; @docsEditable true
15611 void executeSql(String sqlStatement, List arguments, [SQLStatementCallback cal lback, SQLStatementErrorCallback errorCallback]) native;
15612 }
15613 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15614 // for details. All rights reserved. Use of this source code is governed by a
15615 // BSD-style license that can be found in the LICENSE file.
15616
15617
15618 /// @domName SQLTransactionSync; @docsEditable true
15619 class SqlTransactionSync native "*SQLTransactionSync" {
15620
15621 /// @domName SQLTransactionSync.executeSql; @docsEditable true
15622 SqlResultSet executeSql(String sqlStatement, List arguments) native;
15623 }
15624 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15625 // for details. All rights reserved. Use of this source code is governed by a
15626 // BSD-style license that can be found in the LICENSE file. 15626 // BSD-style license that can be found in the LICENSE file.
15627 15627
15628 15628
15629 /// @domName Storage 15629 /// @domName Storage
15630 class Storage implements Map<String, String> native "*Storage" { 15630 class Storage implements Map<String, String> native "*Storage" {
15631 15631
15632 // TODO(nweiz): update this when maps support lazy iteration 15632 // TODO(nweiz): update this when maps support lazy iteration
15633 bool containsValue(String value) => values.some((e) => e == value); 15633 bool containsValue(String value) => values.some((e) => e == value);
15634 15634
15635 bool containsKey(String key) => $dom_getItem(key) != null; 15635 bool containsKey(String key) => $dom_getItem(key) != null;
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
15745 /// @domName StorageInfo.requestQuota; @docsEditable true 15745 /// @domName StorageInfo.requestQuota; @docsEditable true
15746 void requestQuota(int storageType, int newQuotaInBytes, [StorageInfoQuotaCallb ack quotaCallback, StorageInfoErrorCallback errorCallback]) native; 15746 void requestQuota(int storageType, int newQuotaInBytes, [StorageInfoQuotaCallb ack quotaCallback, StorageInfoErrorCallback errorCallback]) native;
15747 } 15747 }
15748 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15748 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15749 // for details. All rights reserved. Use of this source code is governed by a 15749 // for details. All rights reserved. Use of this source code is governed by a
15750 // BSD-style license that can be found in the LICENSE file. 15750 // BSD-style license that can be found in the LICENSE file.
15751 15751
15752 // WARNING: Do not edit - generated code. 15752 // WARNING: Do not edit - generated code.
15753 15753
15754 15754
15755 typedef void StorageInfoErrorCallback(DOMException error); 15755 typedef void StorageInfoErrorCallback(DomException error);
15756 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15756 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15757 // for details. All rights reserved. Use of this source code is governed by a 15757 // for details. All rights reserved. Use of this source code is governed by a
15758 // BSD-style license that can be found in the LICENSE file. 15758 // BSD-style license that can be found in the LICENSE file.
15759 15759
15760 // WARNING: Do not edit - generated code. 15760 // WARNING: Do not edit - generated code.
15761 15761
15762 15762
15763 typedef void StorageInfoQuotaCallback(int grantedQuotaInBytes); 15763 typedef void StorageInfoQuotaCallback(int grantedQuotaInBytes);
15764 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15764 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15765 // for details. All rights reserved. Use of this source code is governed by a 15765 // for details. All rights reserved. Use of this source code is governed by a
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
15966 /// @domName HTMLTableElement.cellPadding; @docsEditable true 15966 /// @domName HTMLTableElement.cellPadding; @docsEditable true
15967 String cellPadding; 15967 String cellPadding;
15968 15968
15969 /// @domName HTMLTableElement.cellSpacing; @docsEditable true 15969 /// @domName HTMLTableElement.cellSpacing; @docsEditable true
15970 String cellSpacing; 15970 String cellSpacing;
15971 15971
15972 /// @domName HTMLTableElement.frame; @docsEditable true 15972 /// @domName HTMLTableElement.frame; @docsEditable true
15973 String frame; 15973 String frame;
15974 15974
15975 /// @domName HTMLTableElement.rows; @docsEditable true 15975 /// @domName HTMLTableElement.rows; @docsEditable true
15976 final HTMLCollection rows; 15976 final HtmlCollection rows;
15977 15977
15978 /// @domName HTMLTableElement.rules; @docsEditable true 15978 /// @domName HTMLTableElement.rules; @docsEditable true
15979 String rules; 15979 String rules;
15980 15980
15981 /// @domName HTMLTableElement.summary; @docsEditable true 15981 /// @domName HTMLTableElement.summary; @docsEditable true
15982 String summary; 15982 String summary;
15983 15983
15984 /// @domName HTMLTableElement.tBodies; @docsEditable true 15984 /// @domName HTMLTableElement.tBodies; @docsEditable true
15985 final HTMLCollection tBodies; 15985 final HtmlCollection tBodies;
15986 15986
15987 /// @domName HTMLTableElement.tFoot; @docsEditable true 15987 /// @domName HTMLTableElement.tFoot; @docsEditable true
15988 TableSectionElement tFoot; 15988 TableSectionElement tFoot;
15989 15989
15990 /// @domName HTMLTableElement.tHead; @docsEditable true 15990 /// @domName HTMLTableElement.tHead; @docsEditable true
15991 TableSectionElement tHead; 15991 TableSectionElement tHead;
15992 15992
15993 /// @domName HTMLTableElement.width; @docsEditable true 15993 /// @domName HTMLTableElement.width; @docsEditable true
15994 String width; 15994 String width;
15995 15995
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
16040 16040
16041 factory TableRowElement() => document.$dom_createElement("tr"); 16041 factory TableRowElement() => document.$dom_createElement("tr");
16042 16042
16043 /// @domName HTMLTableRowElement.align; @docsEditable true 16043 /// @domName HTMLTableRowElement.align; @docsEditable true
16044 String align; 16044 String align;
16045 16045
16046 /// @domName HTMLTableRowElement.bgColor; @docsEditable true 16046 /// @domName HTMLTableRowElement.bgColor; @docsEditable true
16047 String bgColor; 16047 String bgColor;
16048 16048
16049 /// @domName HTMLTableRowElement.cells; @docsEditable true 16049 /// @domName HTMLTableRowElement.cells; @docsEditable true
16050 final HTMLCollection cells; 16050 final HtmlCollection cells;
16051 16051
16052 /// @domName HTMLTableRowElement.ch; @docsEditable true 16052 /// @domName HTMLTableRowElement.ch; @docsEditable true
16053 String ch; 16053 String ch;
16054 16054
16055 /// @domName HTMLTableRowElement.chOff; @docsEditable true 16055 /// @domName HTMLTableRowElement.chOff; @docsEditable true
16056 String chOff; 16056 String chOff;
16057 16057
16058 /// @domName HTMLTableRowElement.rowIndex; @docsEditable true 16058 /// @domName HTMLTableRowElement.rowIndex; @docsEditable true
16059 final int rowIndex; 16059 final int rowIndex;
16060 16060
(...skipping 20 matching lines...) Expand all
16081 /// @domName HTMLTableSectionElement.align; @docsEditable true 16081 /// @domName HTMLTableSectionElement.align; @docsEditable true
16082 String align; 16082 String align;
16083 16083
16084 /// @domName HTMLTableSectionElement.ch; @docsEditable true 16084 /// @domName HTMLTableSectionElement.ch; @docsEditable true
16085 String ch; 16085 String ch;
16086 16086
16087 /// @domName HTMLTableSectionElement.chOff; @docsEditable true 16087 /// @domName HTMLTableSectionElement.chOff; @docsEditable true
16088 String chOff; 16088 String chOff;
16089 16089
16090 /// @domName HTMLTableSectionElement.rows; @docsEditable true 16090 /// @domName HTMLTableSectionElement.rows; @docsEditable true
16091 final HTMLCollection rows; 16091 final HtmlCollection rows;
16092 16092
16093 /// @domName HTMLTableSectionElement.vAlign; @docsEditable true 16093 /// @domName HTMLTableSectionElement.vAlign; @docsEditable true
16094 String vAlign; 16094 String vAlign;
16095 16095
16096 /// @domName HTMLTableSectionElement.deleteRow; @docsEditable true 16096 /// @domName HTMLTableSectionElement.deleteRow; @docsEditable true
16097 void deleteRow(int index) native; 16097 void deleteRow(int index) native;
16098 16098
16099 /// @domName HTMLTableSectionElement.insertRow; @docsEditable true 16099 /// @domName HTMLTableSectionElement.insertRow; @docsEditable true
16100 Element insertRow(int index) native; 16100 Element insertRow(int index) native;
16101 } 16101 }
(...skipping 2702 matching lines...) Expand 10 before | Expand all | Expand 10 after
18804 18804
18805 /// @domName WebGLUniformLocation; @docsEditable true 18805 /// @domName WebGLUniformLocation; @docsEditable true
18806 class WebGLUniformLocation native "*WebGLUniformLocation" { 18806 class WebGLUniformLocation native "*WebGLUniformLocation" {
18807 } 18807 }
18808 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 18808 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18809 // for details. All rights reserved. Use of this source code is governed by a 18809 // for details. All rights reserved. Use of this source code is governed by a
18810 // BSD-style license that can be found in the LICENSE file. 18810 // BSD-style license that can be found in the LICENSE file.
18811 18811
18812 18812
18813 /// @domName WebGLVertexArrayObjectOES; @docsEditable true 18813 /// @domName WebGLVertexArrayObjectOES; @docsEditable true
18814 class WebGLVertexArrayObjectOES native "*WebGLVertexArrayObjectOES" { 18814 class WebGLVertexArrayObject native "*WebGLVertexArrayObjectOES" {
18815 } 18815 }
18816 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 18816 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18817 // for details. All rights reserved. Use of this source code is governed by a 18817 // for details. All rights reserved. Use of this source code is governed by a
18818 // BSD-style license that can be found in the LICENSE file. 18818 // BSD-style license that can be found in the LICENSE file.
18819 18819
18820 18820
18821 /// @domName WebKitCSSFilterValue; @docsEditable true 18821 /// @domName WebKitCSSFilterValue; @docsEditable true
18822 class WebKitCSSFilterValue extends _CSSValueList native "*WebKitCSSFilterValue" { 18822 class WebKitCssFilterValue extends _CssValueList native "*WebKitCSSFilterValue" {
18823 18823
18824 static const int CSS_FILTER_BLUR = 10; 18824 static const int CSS_FILTER_BLUR = 10;
18825 18825
18826 static const int CSS_FILTER_BRIGHTNESS = 8; 18826 static const int CSS_FILTER_BRIGHTNESS = 8;
18827 18827
18828 static const int CSS_FILTER_CONTRAST = 9; 18828 static const int CSS_FILTER_CONTRAST = 9;
18829 18829
18830 static const int CSS_FILTER_CUSTOM = 12; 18830 static const int CSS_FILTER_CUSTOM = 12;
18831 18831
18832 static const int CSS_FILTER_DROP_SHADOW = 11; 18832 static const int CSS_FILTER_DROP_SHADOW = 11;
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
19153 /// @domName WorkerContext.setInterval; @docsEditable true 19153 /// @domName WorkerContext.setInterval; @docsEditable true
19154 int setInterval(TimeoutHandler handler, int timeout) native; 19154 int setInterval(TimeoutHandler handler, int timeout) native;
19155 19155
19156 /// @domName WorkerContext.setTimeout; @docsEditable true 19156 /// @domName WorkerContext.setTimeout; @docsEditable true
19157 int setTimeout(TimeoutHandler handler, int timeout) native; 19157 int setTimeout(TimeoutHandler handler, int timeout) native;
19158 19158
19159 /// @domName WorkerContext.webkitRequestFileSystem; @docsEditable true 19159 /// @domName WorkerContext.webkitRequestFileSystem; @docsEditable true
19160 void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCa llback, ErrorCallback errorCallback]) native; 19160 void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCa llback, ErrorCallback errorCallback]) native;
19161 19161
19162 /// @domName WorkerContext.webkitRequestFileSystemSync; @docsEditable true 19162 /// @domName WorkerContext.webkitRequestFileSystemSync; @docsEditable true
19163 DOMFileSystemSync webkitRequestFileSystemSync(int type, int size) native; 19163 FileSystemSync webkitRequestFileSystemSync(int type, int size) native;
19164 19164
19165 /// @domName WorkerContext.webkitResolveLocalFileSystemSyncURL; @docsEditable true 19165 /// @domName WorkerContext.webkitResolveLocalFileSystemSyncURL; @docsEditable true
19166 @JSName('webkitResolveLocalFileSystemSyncURL') 19166 @JSName('webkitResolveLocalFileSystemSyncURL')
19167 EntrySync webkitResolveLocalFileSystemSyncUrl(String url) native; 19167 EntrySync webkitResolveLocalFileSystemSyncUrl(String url) native;
19168 19168
19169 /// @domName WorkerContext.webkitResolveLocalFileSystemURL; @docsEditable true 19169 /// @domName WorkerContext.webkitResolveLocalFileSystemURL; @docsEditable true
19170 @JSName('webkitResolveLocalFileSystemURL') 19170 @JSName('webkitResolveLocalFileSystemURL')
19171 void webkitResolveLocalFileSystemUrl(String url, EntryCallback successCallback , [ErrorCallback errorCallback]) native; 19171 void webkitResolveLocalFileSystemUrl(String url, EntryCallback successCallback , [ErrorCallback errorCallback]) native;
19172 19172
19173 19173
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
19238 final String platform; 19238 final String platform;
19239 19239
19240 /// @domName WorkerNavigator.userAgent; @docsEditable true 19240 /// @domName WorkerNavigator.userAgent; @docsEditable true
19241 final String userAgent; 19241 final String userAgent;
19242 } 19242 }
19243 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19243 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19244 // for details. All rights reserved. Use of this source code is governed by a 19244 // for details. All rights reserved. Use of this source code is governed by a
19245 // BSD-style license that can be found in the LICENSE file. 19245 // BSD-style license that can be found in the LICENSE file.
19246 19246
19247 19247
19248 /// @domName XMLSerializer; @docsEditable true
19249 class XMLSerializer native "*XMLSerializer" {
19250
19251 factory XMLSerializer() => _XMLSerializerFactoryProvider.createXMLSerializer() ;
19252
19253 /// @domName XMLSerializer.serializeToString; @docsEditable true
19254 String serializeToString(Node node) native;
19255 }
19256 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19257 // for details. All rights reserved. Use of this source code is governed by a
19258 // BSD-style license that can be found in the LICENSE file.
19259
19260
19261 /// @domName XPathEvaluator; @docsEditable true 19248 /// @domName XPathEvaluator; @docsEditable true
19262 class XPathEvaluator native "*XPathEvaluator" { 19249 class XPathEvaluator native "*XPathEvaluator" {
19263 19250
19264 factory XPathEvaluator() => _XPathEvaluatorFactoryProvider.createXPathEvaluato r(); 19251 factory XPathEvaluator() => _XPathEvaluatorFactoryProvider.createXPathEvaluato r();
19265 19252
19266 /// @domName XPathEvaluator.createExpression; @docsEditable true 19253 /// @domName XPathEvaluator.createExpression; @docsEditable true
19267 XPathExpression createExpression(String expression, XPathNSResolver resolver) native; 19254 XPathExpression createExpression(String expression, XPathNSResolver resolver) native;
19268 19255
19269 /// @domName XPathEvaluator.createNSResolver; @docsEditable true 19256 /// @domName XPathEvaluator.createNSResolver; @docsEditable true
19270 XPathNSResolver createNSResolver(Node nodeResolver) native; 19257 XPathNSResolver createNSResolver(Node nodeResolver) native;
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
19372 Node iterateNext() native; 19359 Node iterateNext() native;
19373 19360
19374 /// @domName XPathResult.snapshotItem; @docsEditable true 19361 /// @domName XPathResult.snapshotItem; @docsEditable true
19375 Node snapshotItem(int index) native; 19362 Node snapshotItem(int index) native;
19376 } 19363 }
19377 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19364 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19378 // for details. All rights reserved. Use of this source code is governed by a 19365 // for details. All rights reserved. Use of this source code is governed by a
19379 // BSD-style license that can be found in the LICENSE file. 19366 // BSD-style license that can be found in the LICENSE file.
19380 19367
19381 19368
19369 /// @domName XMLSerializer; @docsEditable true
19370 class XmlSerializer native "*XMLSerializer" {
19371
19372 factory XmlSerializer() => _XmlSerializerFactoryProvider.createXmlSerializer() ;
19373
19374 /// @domName XMLSerializer.serializeToString; @docsEditable true
19375 String serializeToString(Node node) native;
19376 }
19377 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19378 // for details. All rights reserved. Use of this source code is governed by a
19379 // BSD-style license that can be found in the LICENSE file.
19380
19381
19382 /// @domName XSLTProcessor; @docsEditable true 19382 /// @domName XSLTProcessor; @docsEditable true
19383 class XSLTProcessor native "*XSLTProcessor" { 19383 class XsltProcessor native "*XSLTProcessor" {
19384 19384
19385 factory XSLTProcessor() => _XSLTProcessorFactoryProvider.createXSLTProcessor() ; 19385 factory XsltProcessor() => _XsltProcessorFactoryProvider.createXsltProcessor() ;
19386 19386
19387 /// @domName XSLTProcessor.clearParameters; @docsEditable true 19387 /// @domName XSLTProcessor.clearParameters; @docsEditable true
19388 void clearParameters() native; 19388 void clearParameters() native;
19389 19389
19390 /// @domName XSLTProcessor.getParameter; @docsEditable true 19390 /// @domName XSLTProcessor.getParameter; @docsEditable true
19391 String getParameter(String namespaceURI, String localName) native; 19391 String getParameter(String namespaceURI, String localName) native;
19392 19392
19393 /// @domName XSLTProcessor.importStylesheet; @docsEditable true 19393 /// @domName XSLTProcessor.importStylesheet; @docsEditable true
19394 void importStylesheet(Node stylesheet) native; 19394 void importStylesheet(Node stylesheet) native;
19395 19395
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
19451 static _create_2(parts, bag) => JS('Blob', 'new Blob(#, #)', parts, bag); 19451 static _create_2(parts, bag) => JS('Blob', 'new Blob(#, #)', parts, bag);
19452 19452
19453 static _create_bag() => JS('var', '{}'); 19453 static _create_bag() => JS('var', '{}');
19454 static _bag_set(bag, key, value) { JS('void', '#[#] = #', bag, key, value); } 19454 static _bag_set(bag, key, value) { JS('void', '#[#] = #', bag, key, value); }
19455 } 19455 }
19456 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19456 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19457 // for details. All rights reserved. Use of this source code is governed by a 19457 // for details. All rights reserved. Use of this source code is governed by a
19458 // BSD-style license that can be found in the LICENSE file. 19458 // BSD-style license that can be found in the LICENSE file.
19459 19459
19460 19460
19461 class _CSSMatrixFactoryProvider { 19461 /// @domName ClientRectList; @docsEditable true
19462 static CSSMatrix createCSSMatrix([String cssValue = '']) => 19462 class _ClientRectList implements JavaScriptIndexingBehavior, List<ClientRect> na tive "*ClientRectList" {
19463 JS('CSSMatrix', 'new WebKitCSSMatrix(#)', cssValue);
19464 }
19465 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19466 // for details. All rights reserved. Use of this source code is governed by a
19467 // BSD-style license that can be found in the LICENSE file.
19468 19463
19469 19464 /// @domName ClientRectList.length; @docsEditable true
19470 /// @domName CSSRuleList; @docsEditable true
19471 class _CSSRuleList implements JavaScriptIndexingBehavior, List<CSSRule> native " *CSSRuleList" {
19472
19473 /// @domName CSSRuleList.length; @docsEditable true
19474 final int length; 19465 final int length;
19475 19466
19476 CSSRule operator[](int index) => JS("CSSRule", "#[#]", this, index); 19467 ClientRect operator[](int index) => JS("ClientRect", "#[#]", this, index);
19477 19468
19478 void operator[]=(int index, CSSRule value) { 19469 void operator[]=(int index, ClientRect value) {
19479 throw new UnsupportedError("Cannot assign element of immutable List."); 19470 throw new UnsupportedError("Cannot assign element of immutable List.");
19480 } 19471 }
19481 // -- start List<CSSRule> mixins. 19472 // -- start List<ClientRect> mixins.
19482 // CSSRule is the element type. 19473 // ClientRect is the element type.
19483 19474
19484 // From Iterable<CSSRule>: 19475 // From Iterable<ClientRect>:
19485 19476
19486 Iterator<CSSRule> iterator() { 19477 Iterator<ClientRect> iterator() {
19487 // Note: NodeLists are not fixed size. And most probably length shouldn't 19478 // Note: NodeLists are not fixed size. And most probably length shouldn't
19488 // be cached in both iterator _and_ forEach method. For now caching it 19479 // be cached in both iterator _and_ forEach method. For now caching it
19489 // for consistency. 19480 // for consistency.
19490 return new FixedSizeListIterator<CSSRule>(this); 19481 return new FixedSizeListIterator<ClientRect>(this);
19491 } 19482 }
19492 19483
19493 // From Collection<CSSRule>: 19484 // From Collection<ClientRect>:
19494 19485
19495 void add(CSSRule value) { 19486 void add(ClientRect value) {
19496 throw new UnsupportedError("Cannot add to immutable List."); 19487 throw new UnsupportedError("Cannot add to immutable List.");
19497 } 19488 }
19498 19489
19499 void addLast(CSSRule value) { 19490 void addLast(ClientRect value) {
19500 throw new UnsupportedError("Cannot add to immutable List."); 19491 throw new UnsupportedError("Cannot add to immutable List.");
19501 } 19492 }
19502 19493
19503 void addAll(Collection<CSSRule> collection) { 19494 void addAll(Collection<ClientRect> collection) {
19504 throw new UnsupportedError("Cannot add to immutable List."); 19495 throw new UnsupportedError("Cannot add to immutable List.");
19505 } 19496 }
19506 19497
19507 dynamic reduce(dynamic initialValue, dynamic combine(dynamic, CSSRule)) { 19498 dynamic reduce(dynamic initialValue, dynamic combine(dynamic, ClientRect)) {
19508 return Collections.reduce(this, initialValue, combine); 19499 return Collections.reduce(this, initialValue, combine);
19509 } 19500 }
19510 19501
19511 bool contains(CSSRule element) => Collections.contains(this, element); 19502 bool contains(ClientRect element) => Collections.contains(this, element);
19512 19503
19513 void forEach(void f(CSSRule element)) => Collections.forEach(this, f); 19504 void forEach(void f(ClientRect element)) => Collections.forEach(this, f);
19514 19505
19515 Collection map(f(CSSRule element)) => Collections.map(this, [], f); 19506 Collection map(f(ClientRect element)) => Collections.map(this, [], f);
19516 19507
19517 Collection<CSSRule> filter(bool f(CSSRule element)) => 19508 Collection<ClientRect> filter(bool f(ClientRect element)) =>
19518 Collections.filter(this, <CSSRule>[], f); 19509 Collections.filter(this, <ClientRect>[], f);
19519 19510
19520 bool every(bool f(CSSRule element)) => Collections.every(this, f); 19511 bool every(bool f(ClientRect element)) => Collections.every(this, f);
19521 19512
19522 bool some(bool f(CSSRule element)) => Collections.some(this, f); 19513 bool some(bool f(ClientRect element)) => Collections.some(this, f);
19523 19514
19524 bool get isEmpty => this.length == 0; 19515 bool get isEmpty => this.length == 0;
19525 19516
19526 // From List<CSSRule>: 19517 // From List<ClientRect>:
19527 19518
19528 void sort([Comparator<CSSRule> compare = Comparable.compare]) { 19519 void sort([Comparator<ClientRect> compare = Comparable.compare]) {
19529 throw new UnsupportedError("Cannot sort immutable List."); 19520 throw new UnsupportedError("Cannot sort immutable List.");
19530 } 19521 }
19531 19522
19532 int indexOf(CSSRule element, [int start = 0]) => 19523 int indexOf(ClientRect element, [int start = 0]) =>
19533 Lists.indexOf(this, element, start, this.length); 19524 Lists.indexOf(this, element, start, this.length);
19534 19525
19535 int lastIndexOf(CSSRule element, [int start]) { 19526 int lastIndexOf(ClientRect element, [int start]) {
19536 if (start == null) start = length - 1; 19527 if (start == null) start = length - 1;
19537 return Lists.lastIndexOf(this, element, start); 19528 return Lists.lastIndexOf(this, element, start);
19538 } 19529 }
19539 19530
19540 CSSRule get first => this[0]; 19531 ClientRect get first => this[0];
19541 19532
19542 CSSRule get last => this[length - 1]; 19533 ClientRect get last => this[length - 1];
19543 19534
19544 CSSRule removeAt(int pos) { 19535 ClientRect removeAt(int pos) {
19545 throw new UnsupportedError("Cannot removeAt on immutable List."); 19536 throw new UnsupportedError("Cannot removeAt on immutable List.");
19546 } 19537 }
19547 19538
19548 CSSRule removeLast() { 19539 ClientRect removeLast() {
19549 throw new UnsupportedError("Cannot removeLast on immutable List."); 19540 throw new UnsupportedError("Cannot removeLast on immutable List.");
19550 } 19541 }
19551 19542
19552 void setRange(int start, int rangeLength, List<CSSRule> from, [int startFrom]) { 19543 void setRange(int start, int rangeLength, List<ClientRect> from, [int startFro m]) {
19553 throw new UnsupportedError("Cannot setRange on immutable List."); 19544 throw new UnsupportedError("Cannot setRange on immutable List.");
19554 } 19545 }
19555 19546
19556 void removeRange(int start, int rangeLength) { 19547 void removeRange(int start, int rangeLength) {
19557 throw new UnsupportedError("Cannot removeRange on immutable List."); 19548 throw new UnsupportedError("Cannot removeRange on immutable List.");
19558 } 19549 }
19559 19550
19560 void insertRange(int start, int rangeLength, [CSSRule initialValue]) { 19551 void insertRange(int start, int rangeLength, [ClientRect initialValue]) {
19561 throw new UnsupportedError("Cannot insertRange on immutable List."); 19552 throw new UnsupportedError("Cannot insertRange on immutable List.");
19562 } 19553 }
19563 19554
19564 List<CSSRule> getRange(int start, int rangeLength) => 19555 List<ClientRect> getRange(int start, int rangeLength) =>
19565 Lists.getRange(this, start, rangeLength, <CSSRule>[]); 19556 Lists.getRange(this, start, rangeLength, <ClientRect>[]);
19566 19557
19567 // -- end List<CSSRule> mixins. 19558 // -- end List<ClientRect> mixins.
19568 19559
19569 /// @domName CSSRuleList.item; @docsEditable true 19560 /// @domName ClientRectList.item; @docsEditable true
19570 CSSRule item(int index) native; 19561 ClientRect item(int index) native;
19571 } 19562 }
19572 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19563 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19573 // for details. All rights reserved. Use of this source code is governed by a 19564 // for details. All rights reserved. Use of this source code is governed by a
19574 // BSD-style license that can be found in the LICENSE file. 19565 // BSD-style license that can be found in the LICENSE file.
19575 19566
19576 19567
19577 /// @domName CSSValueList; @docsEditable true 19568 class _CssMatrixFactoryProvider {
19578 class _CSSValueList extends CSSValue implements List<CSSValue>, JavaScriptIndexi ngBehavior native "*CSSValueList" { 19569 static CssMatrix createCssMatrix([String cssValue = '']) =>
19570 JS('CssMatrix', 'new WebKitCSSMatrix(#)', cssValue);
19571 }
19572 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19573 // for details. All rights reserved. Use of this source code is governed by a
19574 // BSD-style license that can be found in the LICENSE file.
19579 19575
19580 /// @domName CSSValueList.length; @docsEditable true 19576
19577 /// @domName CSSRuleList; @docsEditable true
19578 class _CssRuleList implements JavaScriptIndexingBehavior, List<CssRule> native " *CSSRuleList" {
19579
19580 /// @domName CSSRuleList.length; @docsEditable true
19581 final int length; 19581 final int length;
19582 19582
19583 CSSValue operator[](int index) => JS("CSSValue", "#[#]", this, index); 19583 CssRule operator[](int index) => JS("CssRule", "#[#]", this, index);
19584 19584
19585 void operator[]=(int index, CSSValue value) { 19585 void operator[]=(int index, CssRule value) {
19586 throw new UnsupportedError("Cannot assign element of immutable List."); 19586 throw new UnsupportedError("Cannot assign element of immutable List.");
19587 } 19587 }
19588 // -- start List<CSSValue> mixins. 19588 // -- start List<CssRule> mixins.
19589 // CSSValue is the element type. 19589 // CssRule is the element type.
19590 19590
19591 // From Iterable<CSSValue>: 19591 // From Iterable<CssRule>:
19592 19592
19593 Iterator<CSSValue> iterator() { 19593 Iterator<CssRule> iterator() {
19594 // Note: NodeLists are not fixed size. And most probably length shouldn't 19594 // Note: NodeLists are not fixed size. And most probably length shouldn't
19595 // be cached in both iterator _and_ forEach method. For now caching it 19595 // be cached in both iterator _and_ forEach method. For now caching it
19596 // for consistency. 19596 // for consistency.
19597 return new FixedSizeListIterator<CSSValue>(this); 19597 return new FixedSizeListIterator<CssRule>(this);
19598 } 19598 }
19599 19599
19600 // From Collection<CSSValue>: 19600 // From Collection<CssRule>:
19601 19601
19602 void add(CSSValue value) { 19602 void add(CssRule value) {
19603 throw new UnsupportedError("Cannot add to immutable List."); 19603 throw new UnsupportedError("Cannot add to immutable List.");
19604 } 19604 }
19605 19605
19606 void addLast(CSSValue value) { 19606 void addLast(CssRule value) {
19607 throw new UnsupportedError("Cannot add to immutable List."); 19607 throw new UnsupportedError("Cannot add to immutable List.");
19608 } 19608 }
19609 19609
19610 void addAll(Collection<CSSValue> collection) { 19610 void addAll(Collection<CssRule> collection) {
19611 throw new UnsupportedError("Cannot add to immutable List."); 19611 throw new UnsupportedError("Cannot add to immutable List.");
19612 } 19612 }
19613 19613
19614 dynamic reduce(dynamic initialValue, dynamic combine(dynamic, CSSValue)) { 19614 dynamic reduce(dynamic initialValue, dynamic combine(dynamic, CssRule)) {
19615 return Collections.reduce(this, initialValue, combine); 19615 return Collections.reduce(this, initialValue, combine);
19616 } 19616 }
19617 19617
19618 bool contains(CSSValue element) => Collections.contains(this, element); 19618 bool contains(CssRule element) => Collections.contains(this, element);
19619 19619
19620 void forEach(void f(CSSValue element)) => Collections.forEach(this, f); 19620 void forEach(void f(CssRule element)) => Collections.forEach(this, f);
19621 19621
19622 Collection map(f(CSSValue element)) => Collections.map(this, [], f); 19622 Collection map(f(CssRule element)) => Collections.map(this, [], f);
19623 19623
19624 Collection<CSSValue> filter(bool f(CSSValue element)) => 19624 Collection<CssRule> filter(bool f(CssRule element)) =>
19625 Collections.filter(this, <CSSValue>[], f); 19625 Collections.filter(this, <CssRule>[], f);
19626 19626
19627 bool every(bool f(CSSValue element)) => Collections.every(this, f); 19627 bool every(bool f(CssRule element)) => Collections.every(this, f);
19628 19628
19629 bool some(bool f(CSSValue element)) => Collections.some(this, f); 19629 bool some(bool f(CssRule element)) => Collections.some(this, f);
19630 19630
19631 bool get isEmpty => this.length == 0; 19631 bool get isEmpty => this.length == 0;
19632 19632
19633 // From List<CSSValue>: 19633 // From List<CssRule>:
19634 19634
19635 void sort([Comparator<CSSValue> compare = Comparable.compare]) { 19635 void sort([Comparator<CssRule> compare = Comparable.compare]) {
19636 throw new UnsupportedError("Cannot sort immutable List."); 19636 throw new UnsupportedError("Cannot sort immutable List.");
19637 } 19637 }
19638 19638
19639 int indexOf(CSSValue element, [int start = 0]) => 19639 int indexOf(CssRule element, [int start = 0]) =>
19640 Lists.indexOf(this, element, start, this.length); 19640 Lists.indexOf(this, element, start, this.length);
19641 19641
19642 int lastIndexOf(CSSValue element, [int start]) { 19642 int lastIndexOf(CssRule element, [int start]) {
19643 if (start == null) start = length - 1; 19643 if (start == null) start = length - 1;
19644 return Lists.lastIndexOf(this, element, start); 19644 return Lists.lastIndexOf(this, element, start);
19645 } 19645 }
19646 19646
19647 CSSValue get first => this[0]; 19647 CssRule get first => this[0];
19648 19648
19649 CSSValue get last => this[length - 1]; 19649 CssRule get last => this[length - 1];
19650 19650
19651 CSSValue removeAt(int pos) { 19651 CssRule removeAt(int pos) {
19652 throw new UnsupportedError("Cannot removeAt on immutable List."); 19652 throw new UnsupportedError("Cannot removeAt on immutable List.");
19653 } 19653 }
19654 19654
19655 CSSValue removeLast() { 19655 CssRule removeLast() {
19656 throw new UnsupportedError("Cannot removeLast on immutable List."); 19656 throw new UnsupportedError("Cannot removeLast on immutable List.");
19657 } 19657 }
19658 19658
19659 void setRange(int start, int rangeLength, List<CSSValue> from, [int startFrom] ) { 19659 void setRange(int start, int rangeLength, List<CssRule> from, [int startFrom]) {
19660 throw new UnsupportedError("Cannot setRange on immutable List."); 19660 throw new UnsupportedError("Cannot setRange on immutable List.");
19661 } 19661 }
19662 19662
19663 void removeRange(int start, int rangeLength) { 19663 void removeRange(int start, int rangeLength) {
19664 throw new UnsupportedError("Cannot removeRange on immutable List."); 19664 throw new UnsupportedError("Cannot removeRange on immutable List.");
19665 } 19665 }
19666 19666
19667 void insertRange(int start, int rangeLength, [CSSValue initialValue]) { 19667 void insertRange(int start, int rangeLength, [CssRule initialValue]) {
19668 throw new UnsupportedError("Cannot insertRange on immutable List."); 19668 throw new UnsupportedError("Cannot insertRange on immutable List.");
19669 } 19669 }
19670 19670
19671 List<CSSValue> getRange(int start, int rangeLength) => 19671 List<CssRule> getRange(int start, int rangeLength) =>
19672 Lists.getRange(this, start, rangeLength, <CSSValue>[]); 19672 Lists.getRange(this, start, rangeLength, <CssRule>[]);
19673 19673
19674 // -- end List<CSSValue> mixins. 19674 // -- end List<CssRule> mixins.
19675 19675
19676 /// @domName CSSValueList.item; @docsEditable true 19676 /// @domName CSSRuleList.item; @docsEditable true
19677 CSSValue item(int index) native; 19677 CssRule item(int index) native;
19678 } 19678 }
19679 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19679 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19680 // for details. All rights reserved. Use of this source code is governed by a 19680 // for details. All rights reserved. Use of this source code is governed by a
19681 // BSD-style license that can be found in the LICENSE file. 19681 // BSD-style license that can be found in the LICENSE file.
19682 19682
19683 19683
19684 /// @domName ClientRectList; @docsEditable true 19684 /// @domName CSSValueList; @docsEditable true
19685 class _ClientRectList implements JavaScriptIndexingBehavior, List<ClientRect> na tive "*ClientRectList" { 19685 class _CssValueList extends CssValue implements List<CssValue>, JavaScriptIndexi ngBehavior native "*CSSValueList" {
19686 19686
19687 /// @domName ClientRectList.length; @docsEditable true 19687 /// @domName CSSValueList.length; @docsEditable true
19688 final int length; 19688 final int length;
19689 19689
19690 ClientRect operator[](int index) => JS("ClientRect", "#[#]", this, index); 19690 CssValue operator[](int index) => JS("CssValue", "#[#]", this, index);
19691 19691
19692 void operator[]=(int index, ClientRect value) { 19692 void operator[]=(int index, CssValue value) {
19693 throw new UnsupportedError("Cannot assign element of immutable List."); 19693 throw new UnsupportedError("Cannot assign element of immutable List.");
19694 } 19694 }
19695 // -- start List<ClientRect> mixins. 19695 // -- start List<CssValue> mixins.
19696 // ClientRect is the element type. 19696 // CssValue is the element type.
19697 19697
19698 // From Iterable<ClientRect>: 19698 // From Iterable<CssValue>:
19699 19699
19700 Iterator<ClientRect> iterator() { 19700 Iterator<CssValue> iterator() {
19701 // Note: NodeLists are not fixed size. And most probably length shouldn't 19701 // Note: NodeLists are not fixed size. And most probably length shouldn't
19702 // be cached in both iterator _and_ forEach method. For now caching it 19702 // be cached in both iterator _and_ forEach method. For now caching it
19703 // for consistency. 19703 // for consistency.
19704 return new FixedSizeListIterator<ClientRect>(this); 19704 return new FixedSizeListIterator<CssValue>(this);
19705 } 19705 }
19706 19706
19707 // From Collection<ClientRect>: 19707 // From Collection<CssValue>:
19708 19708
19709 void add(ClientRect value) { 19709 void add(CssValue value) {
19710 throw new UnsupportedError("Cannot add to immutable List."); 19710 throw new UnsupportedError("Cannot add to immutable List.");
19711 } 19711 }
19712 19712
19713 void addLast(ClientRect value) { 19713 void addLast(CssValue value) {
19714 throw new UnsupportedError("Cannot add to immutable List."); 19714 throw new UnsupportedError("Cannot add to immutable List.");
19715 } 19715 }
19716 19716
19717 void addAll(Collection<ClientRect> collection) { 19717 void addAll(Collection<CssValue> collection) {
19718 throw new UnsupportedError("Cannot add to immutable List."); 19718 throw new UnsupportedError("Cannot add to immutable List.");
19719 } 19719 }
19720 19720
19721 dynamic reduce(dynamic initialValue, dynamic combine(dynamic, ClientRect)) { 19721 dynamic reduce(dynamic initialValue, dynamic combine(dynamic, CssValue)) {
19722 return Collections.reduce(this, initialValue, combine); 19722 return Collections.reduce(this, initialValue, combine);
19723 } 19723 }
19724 19724
19725 bool contains(ClientRect element) => Collections.contains(this, element); 19725 bool contains(CssValue element) => Collections.contains(this, element);
19726 19726
19727 void forEach(void f(ClientRect element)) => Collections.forEach(this, f); 19727 void forEach(void f(CssValue element)) => Collections.forEach(this, f);
19728 19728
19729 Collection map(f(ClientRect element)) => Collections.map(this, [], f); 19729 Collection map(f(CssValue element)) => Collections.map(this, [], f);
19730 19730
19731 Collection<ClientRect> filter(bool f(ClientRect element)) => 19731 Collection<CssValue> filter(bool f(CssValue element)) =>
19732 Collections.filter(this, <ClientRect>[], f); 19732 Collections.filter(this, <CssValue>[], f);
19733 19733
19734 bool every(bool f(ClientRect element)) => Collections.every(this, f); 19734 bool every(bool f(CssValue element)) => Collections.every(this, f);
19735 19735
19736 bool some(bool f(ClientRect element)) => Collections.some(this, f); 19736 bool some(bool f(CssValue element)) => Collections.some(this, f);
19737 19737
19738 bool get isEmpty => this.length == 0; 19738 bool get isEmpty => this.length == 0;
19739 19739
19740 // From List<ClientRect>: 19740 // From List<CssValue>:
19741 19741
19742 void sort([Comparator<ClientRect> compare = Comparable.compare]) { 19742 void sort([Comparator<CssValue> compare = Comparable.compare]) {
19743 throw new UnsupportedError("Cannot sort immutable List."); 19743 throw new UnsupportedError("Cannot sort immutable List.");
19744 } 19744 }
19745 19745
19746 int indexOf(ClientRect element, [int start = 0]) => 19746 int indexOf(CssValue element, [int start = 0]) =>
19747 Lists.indexOf(this, element, start, this.length); 19747 Lists.indexOf(this, element, start, this.length);
19748 19748
19749 int lastIndexOf(ClientRect element, [int start]) { 19749 int lastIndexOf(CssValue element, [int start]) {
19750 if (start == null) start = length - 1; 19750 if (start == null) start = length - 1;
19751 return Lists.lastIndexOf(this, element, start); 19751 return Lists.lastIndexOf(this, element, start);
19752 } 19752 }
19753 19753
19754 ClientRect get first => this[0]; 19754 CssValue get first => this[0];
19755 19755
19756 ClientRect get last => this[length - 1]; 19756 CssValue get last => this[length - 1];
19757 19757
19758 ClientRect removeAt(int pos) { 19758 CssValue removeAt(int pos) {
19759 throw new UnsupportedError("Cannot removeAt on immutable List."); 19759 throw new UnsupportedError("Cannot removeAt on immutable List.");
19760 } 19760 }
19761 19761
19762 ClientRect removeLast() { 19762 CssValue removeLast() {
19763 throw new UnsupportedError("Cannot removeLast on immutable List."); 19763 throw new UnsupportedError("Cannot removeLast on immutable List.");
19764 } 19764 }
19765 19765
19766 void setRange(int start, int rangeLength, List<ClientRect> from, [int startFro m]) { 19766 void setRange(int start, int rangeLength, List<CssValue> from, [int startFrom] ) {
19767 throw new UnsupportedError("Cannot setRange on immutable List."); 19767 throw new UnsupportedError("Cannot setRange on immutable List.");
19768 } 19768 }
19769 19769
19770 void removeRange(int start, int rangeLength) { 19770 void removeRange(int start, int rangeLength) {
19771 throw new UnsupportedError("Cannot removeRange on immutable List."); 19771 throw new UnsupportedError("Cannot removeRange on immutable List.");
19772 } 19772 }
19773 19773
19774 void insertRange(int start, int rangeLength, [ClientRect initialValue]) { 19774 void insertRange(int start, int rangeLength, [CssValue initialValue]) {
19775 throw new UnsupportedError("Cannot insertRange on immutable List."); 19775 throw new UnsupportedError("Cannot insertRange on immutable List.");
19776 } 19776 }
19777 19777
19778 List<ClientRect> getRange(int start, int rangeLength) => 19778 List<CssValue> getRange(int start, int rangeLength) =>
19779 Lists.getRange(this, start, rangeLength, <ClientRect>[]); 19779 Lists.getRange(this, start, rangeLength, <CssValue>[]);
19780 19780
19781 // -- end List<ClientRect> mixins. 19781 // -- end List<CssValue> mixins.
19782 19782
19783 /// @domName ClientRectList.item; @docsEditable true 19783 /// @domName CSSValueList.item; @docsEditable true
19784 ClientRect item(int index) native; 19784 CssValue item(int index) native;
19785 } 19785 }
19786 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19786 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19787 // for details. All rights reserved. Use of this source code is governed by a 19787 // for details. All rights reserved. Use of this source code is governed by a
19788 // BSD-style license that can be found in the LICENSE file. 19788 // BSD-style license that can be found in the LICENSE file.
19789 19789
19790 19790
19791 class _DOMParserFactoryProvider { 19791 class _DataViewFactoryProvider {
19792 static DOMParser createDOMParser() => 19792 static DataView createDataView(
19793 JS('DOMParser', 'new DOMParser()' ); 19793 ArrayBuffer buffer, [int byteOffset = null, int byteLength = null]) {
19794 if (byteOffset == null) {
19795 return JS('DataView', 'new DataView(#)', buffer);
19796 }
19797 if (byteLength == null) {
19798 return JS('DataView', 'new DataView(#,#)', buffer, byteOffset);
19799 }
19800 return JS('DataView', 'new DataView(#,#,#)', buffer, byteOffset, byteLength) ;
19801 }
19794 } 19802 }
19795 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19803 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19796 // for details. All rights reserved. Use of this source code is governed by a 19804 // for details. All rights reserved. Use of this source code is governed by a
19805 // BSD-style license that can be found in the LICENSE file.
19806
19807
19808 class _DomParserFactoryProvider {
19809 static DomParser createDomParser() =>
19810 JS('DomParser', 'new DOMParser()' );
19811 }
19812 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19813 // for details. All rights reserved. Use of this source code is governed by a
19797 // BSD-style license that can be found in the LICENSE file. 19814 // BSD-style license that can be found in the LICENSE file.
19798 19815
19799 19816
19800 /// @domName DOMStringList; @docsEditable true 19817 /// @domName DOMStringList; @docsEditable true
19801 class _DOMStringList implements JavaScriptIndexingBehavior, List<String> native "*DOMStringList" { 19818 class _DomStringList implements JavaScriptIndexingBehavior, List<String> native "*DOMStringList" {
19802 19819
19803 /// @domName DOMStringList.length; @docsEditable true 19820 /// @domName DOMStringList.length; @docsEditable true
19804 final int length; 19821 final int length;
19805 19822
19806 String operator[](int index) => JS("String", "#[#]", this, index); 19823 String operator[](int index) => JS("String", "#[#]", this, index);
19807 19824
19808 void operator[]=(int index, String value) { 19825 void operator[]=(int index, String value) {
19809 throw new UnsupportedError("Cannot assign element of immutable List."); 19826 throw new UnsupportedError("Cannot assign element of immutable List.");
19810 } 19827 }
19811 // -- start List<String> mixins. 19828 // -- start List<String> mixins.
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
19900 bool contains(String string) native; 19917 bool contains(String string) native;
19901 19918
19902 /// @domName DOMStringList.item; @docsEditable true 19919 /// @domName DOMStringList.item; @docsEditable true
19903 String item(int index) native; 19920 String item(int index) native;
19904 } 19921 }
19905 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19922 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19906 // for details. All rights reserved. Use of this source code is governed by a 19923 // for details. All rights reserved. Use of this source code is governed by a
19907 // BSD-style license that can be found in the LICENSE file. 19924 // BSD-style license that can be found in the LICENSE file.
19908 19925
19909 19926
19910 class _DataViewFactoryProvider {
19911 static DataView createDataView(
19912 ArrayBuffer buffer, [int byteOffset = null, int byteLength = null]) {
19913 if (byteOffset == null) {
19914 return JS('DataView', 'new DataView(#)', buffer);
19915 }
19916 if (byteLength == null) {
19917 return JS('DataView', 'new DataView(#,#)', buffer, byteOffset);
19918 }
19919 return JS('DataView', 'new DataView(#,#,#)', buffer, byteOffset, byteLength) ;
19920 }
19921 }
19922 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19923 // for details. All rights reserved. Use of this source code is governed by a
19924 // BSD-style license that can be found in the LICENSE file.
19925
19926
19927 /// @domName EntryArray; @docsEditable true 19927 /// @domName EntryArray; @docsEditable true
19928 class _EntryArray implements JavaScriptIndexingBehavior, List<Entry> native "*En tryArray" { 19928 class _EntryArray implements JavaScriptIndexingBehavior, List<Entry> native "*En tryArray" {
19929 19929
19930 /// @domName EntryArray.length; @docsEditable true 19930 /// @domName EntryArray.length; @docsEditable true
19931 final int length; 19931 final int length;
19932 19932
19933 Entry operator[](int index) => JS("Entry", "#[#]", this, index); 19933 Entry operator[](int index) => JS("Entry", "#[#]", this, index);
19934 19934
19935 void operator[]=(int index, Entry value) { 19935 void operator[]=(int index, Entry value) {
19936 throw new UnsupportedError("Cannot assign element of immutable List."); 19936 throw new UnsupportedError("Cannot assign element of immutable List.");
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
20514 20514
20515 class _PeerConnection00FactoryProvider { 20515 class _PeerConnection00FactoryProvider {
20516 static PeerConnection00 createPeerConnection00(String serverConfiguration, Ice Callback iceCallback) => 20516 static PeerConnection00 createPeerConnection00(String serverConfiguration, Ice Callback iceCallback) =>
20517 JS('PeerConnection00', 'new PeerConnection00(#,#)', serverConfiguration, i ceCallback); 20517 JS('PeerConnection00', 'new PeerConnection00(#,#)', serverConfiguration, i ceCallback);
20518 } 20518 }
20519 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 20519 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20520 // for details. All rights reserved. Use of this source code is governed by a 20520 // for details. All rights reserved. Use of this source code is governed by a
20521 // BSD-style license that can be found in the LICENSE file. 20521 // BSD-style license that can be found in the LICENSE file.
20522 20522
20523 20523
20524 class _RTCIceCandidateFactoryProvider { 20524 class _RtcIceCandidateFactoryProvider {
20525 static RTCIceCandidate createRTCIceCandidate(Map dictionary) => 20525 static RtcIceCandidate createRtcIceCandidate(Map dictionary) =>
20526 JS('RTCIceCandidate', 'new RTCIceCandidate(#)', dictionary); 20526 JS('RtcIceCandidate', 'new RTCIceCandidate(#)', dictionary);
20527 } 20527 }
20528 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 20528 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20529 // for details. All rights reserved. Use of this source code is governed by a 20529 // for details. All rights reserved. Use of this source code is governed by a
20530 // BSD-style license that can be found in the LICENSE file. 20530 // BSD-style license that can be found in the LICENSE file.
20531 20531
20532 20532
20533 class _RTCPeerConnectionFactoryProvider { 20533 class _RtcPeerConnectionFactoryProvider {
20534 static RTCPeerConnection createRTCPeerConnection(Map rtcIceServers, [Map media Constraints]) => 20534 static RtcPeerConnection createRtcPeerConnection(Map rtcIceServers, [Map media Constraints]) =>
20535 JS('RTCPeerConnection', 'new RTCPeerConnection(#,#)', rtcIceServers, media Constraints); 20535 JS('RtcPeerConnection', 'new RTCPeerConnection(#,#)', rtcIceServers, media Constraints);
20536 } 20536 }
20537 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 20537 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20538 // for details. All rights reserved. Use of this source code is governed by a 20538 // for details. All rights reserved. Use of this source code is governed by a
20539 // BSD-style license that can be found in the LICENSE file. 20539 // BSD-style license that can be found in the LICENSE file.
20540 20540
20541 20541
20542 class _RTCSessionDescriptionFactoryProvider { 20542 class _RtcSessionDescriptionFactoryProvider {
20543 static RTCSessionDescription createRTCSessionDescription(Map dictionary) => 20543 static RtcSessionDescription createRtcSessionDescription(Map dictionary) =>
20544 JS('RTCSessionDescription', 'new RTCSessionDescription(#)', dictionary); 20544 JS('RtcSessionDescription', 'new RTCSessionDescription(#)', dictionary);
20545 } 20545 }
20546 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 20546 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20547 // for details. All rights reserved. Use of this source code is governed by a 20547 // for details. All rights reserved. Use of this source code is governed by a
20548 // BSD-style license that can be found in the LICENSE file. 20548 // BSD-style license that can be found in the LICENSE file.
20549 20549
20550 20550
20551 class _SessionDescriptionFactoryProvider { 20551 class _SessionDescriptionFactoryProvider {
20552 static SessionDescription createSessionDescription(String sdp) => 20552 static SessionDescription createSessionDescription(String sdp) =>
20553 JS('SessionDescription', 'new SessionDescription(#)', sdp); 20553 JS('SessionDescription', 'new SessionDescription(#)', sdp);
20554 } 20554 }
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
21059 21059
21060 class _WorkerFactoryProvider { 21060 class _WorkerFactoryProvider {
21061 static Worker createWorker(String scriptUrl) => 21061 static Worker createWorker(String scriptUrl) =>
21062 JS('Worker', 'new Worker(#)', scriptUrl); 21062 JS('Worker', 'new Worker(#)', scriptUrl);
21063 } 21063 }
21064 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 21064 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21065 // for details. All rights reserved. Use of this source code is governed by a 21065 // for details. All rights reserved. Use of this source code is governed by a
21066 // BSD-style license that can be found in the LICENSE file. 21066 // BSD-style license that can be found in the LICENSE file.
21067 21067
21068 21068
21069 class _XMLSerializerFactoryProvider {
21070 static XMLSerializer createXMLSerializer() =>
21071 JS('XMLSerializer', 'new XMLSerializer()' );
21072 }
21073 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21074 // for details. All rights reserved. Use of this source code is governed by a
21075 // BSD-style license that can be found in the LICENSE file.
21076
21077
21078 class _XPathEvaluatorFactoryProvider { 21069 class _XPathEvaluatorFactoryProvider {
21079 static XPathEvaluator createXPathEvaluator() => 21070 static XPathEvaluator createXPathEvaluator() =>
21080 JS('XPathEvaluator', 'new XPathEvaluator()' ); 21071 JS('XPathEvaluator', 'new XPathEvaluator()' );
21081 } 21072 }
21082 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 21073 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21083 // for details. All rights reserved. Use of this source code is governed by a 21074 // for details. All rights reserved. Use of this source code is governed by a
21084 // BSD-style license that can be found in the LICENSE file. 21075 // BSD-style license that can be found in the LICENSE file.
21085 21076
21086 21077
21087 class _XSLTProcessorFactoryProvider { 21078 class _XmlSerializerFactoryProvider {
21088 static XSLTProcessor createXSLTProcessor() => 21079 static XmlSerializer createXmlSerializer() =>
21089 JS('XSLTProcessor', 'new XSLTProcessor()' ); 21080 JS('XmlSerializer', 'new XMLSerializer()' );
21090 } 21081 }
21091 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 21082 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21092 // for details. All rights reserved. Use of this source code is governed by a 21083 // for details. All rights reserved. Use of this source code is governed by a
21084 // BSD-style license that can be found in the LICENSE file.
21085
21086
21087 class _XsltProcessorFactoryProvider {
21088 static XsltProcessor createXsltProcessor() =>
21089 JS('XsltProcessor', 'new XSLTProcessor()' );
21090 }
21091 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21092 // for details. All rights reserved. Use of this source code is governed by a
21093 // BSD-style license that can be found in the LICENSE file. 21093 // BSD-style license that can be found in the LICENSE file.
21094 21094
21095 21095
21096 abstract class _AttributeMap implements Map<String, String> { 21096 abstract class _AttributeMap implements Map<String, String> {
21097 final Element _element; 21097 final Element _element;
21098 21098
21099 _AttributeMap(this._element); 21099 _AttributeMap(this._element);
21100 21100
21101 bool containsValue(String value) { 21101 bool containsValue(String value) {
21102 for (var v in this.values) { 21102 for (var v in this.values) {
(...skipping 2485 matching lines...) Expand 10 before | Expand all | Expand 10 after
23588 bool altKey = false, bool shiftKey = false, bool metaKey = false, 23588 bool altKey = false, bool shiftKey = false, bool metaKey = false,
23589 EventTarget relatedTarget = null]) { 23589 EventTarget relatedTarget = null]) {
23590 final e = document.$dom_createEvent("MouseEvent"); 23590 final e = document.$dom_createEvent("MouseEvent");
23591 e.$dom_initMouseEvent(type, canBubble, cancelable, view, detail, 23591 e.$dom_initMouseEvent(type, canBubble, cancelable, view, detail,
23592 screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, 23592 screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey,
23593 button, relatedTarget); 23593 button, relatedTarget);
23594 return e; 23594 return e;
23595 } 23595 }
23596 } 23596 }
23597 23597
23598 class _CSSStyleDeclarationFactoryProvider { 23598 class _CssStyleDeclarationFactoryProvider {
23599 static CSSStyleDeclaration createCSSStyleDeclaration_css(String css) { 23599 static CssStyleDeclaration createCssStyleDeclaration_css(String css) {
23600 final style = new Element.tag('div').style; 23600 final style = new Element.tag('div').style;
23601 style.cssText = css; 23601 style.cssText = css;
23602 return style; 23602 return style;
23603 } 23603 }
23604 23604
23605 static CSSStyleDeclaration createCSSStyleDeclaration() { 23605 static CssStyleDeclaration createCssStyleDeclaration() {
23606 return new CSSStyleDeclaration.css(''); 23606 return new CssStyleDeclaration.css('');
23607 } 23607 }
23608 } 23608 }
23609 23609
23610 class _DocumentFragmentFactoryProvider { 23610 class _DocumentFragmentFactoryProvider {
23611 /** @domName Document.createDocumentFragment */ 23611 /** @domName Document.createDocumentFragment */
23612 static DocumentFragment createDocumentFragment() => 23612 static DocumentFragment createDocumentFragment() =>
23613 document.createDocumentFragment(); 23613 document.createDocumentFragment();
23614 23614
23615 static DocumentFragment createDocumentFragment_html(String html) { 23615 static DocumentFragment createDocumentFragment_html(String html) {
23616 final fragment = new DocumentFragment(); 23616 final fragment = new DocumentFragment();
23617 fragment.innerHtml = html; 23617 fragment.innerHtml = html;
23618 return fragment; 23618 return fragment;
23619 } 23619 }
23620 23620
23621 // TODO(nweiz): enable this when XML is ported. 23621 // TODO(nweiz): enable this when XML is ported.
23622 // factory DocumentFragment.xml(String xml) { 23622 // factory DocumentFragment.xml(String xml) {
23623 // final fragment = new DocumentFragment(); 23623 // final fragment = new DocumentFragment();
23624 // final e = new XMLElement.tag("xml"); 23624 // final e = new XMLElement.tag("xml");
23625 // e.innerHtml = xml; 23625 // e.innerHtml = xml;
23626 // 23626 //
23627 // // Copy list first since we don't want liveness during iteration. 23627 // // Copy list first since we don't want liveness during iteration.
23628 // final List nodes = new List.from(e.nodes); 23628 // final List nodes = new List.from(e.nodes);
23629 // fragment.nodes.addAll(nodes); 23629 // fragment.nodes.addAll(nodes);
23630 // return fragment; 23630 // return fragment;
23631 // } 23631 // }
23632 23632
23633 static DocumentFragment createDocumentFragment_svg(String svgContent) { 23633 static DocumentFragment createDocumentFragment_svg(String svgContent) {
23634 final fragment = new DocumentFragment(); 23634 final fragment = new DocumentFragment();
23635 final e = new svg.SVGSVGElement(); 23635 final e = new svg.SvgSvgElement();
23636 e.innerHtml = svgContent; 23636 e.innerHtml = svgContent;
23637 23637
23638 // Copy list first since we don't want liveness during iteration. 23638 // Copy list first since we don't want liveness during iteration.
23639 final List nodes = new List.from(e.nodes); 23639 final List nodes = new List.from(e.nodes);
23640 fragment.nodes.addAll(nodes); 23640 fragment.nodes.addAll(nodes);
23641 return fragment; 23641 return fragment;
23642 } 23642 }
23643 } 23643 }
23644 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 23644 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23645 // for details. All rights reserved. Use of this source code is governed by a 23645 // for details. All rights reserved. Use of this source code is governed by a
23646 // BSD-style license that can be found in the LICENSE file. 23646 // BSD-style license that can be found in the LICENSE file.
23647 23647
23648 23648
23649 // Conversions for IDBKey.
23650 //
23651 // Per http://www.w3.org/TR/IndexedDB/#key-construct
23652 //
23653 // "A value is said to be a valid key if it is one of the following types: Array
23654 // JavaScript objects [ECMA-262], DOMString [WEBIDL], Date [ECMA-262] or float
23655 // [WEBIDL]. However Arrays are only valid keys if every item in the array is
23656 // defined and is a valid key (i.e. sparse arrays can not be valid keys) and if
23657 // the Array doesn't directly or indirectly contain itself. Any non-numeric
23658 // properties are ignored, and thus does not affect whether the Array is a valid
23659 // key. Additionally, if the value is of type float, it is only a valid key if
23660 // it is not NaN, and if the value is of type Date it is only a valid key if its
23661 // [[PrimitiveValue]] internal property, as defined by [ECMA-262], is not NaN."
23662
23663 // What is required is to ensure that an Lists in the key are actually
23664 // JavaScript arrays, and any Dates are JavaScript Dates.
23665
23666 // Conversions for Window. These check if the window is the local 23649 // Conversions for Window. These check if the window is the local
23667 // window, and if it's not, wraps or unwraps it with a secure wrapper. 23650 // window, and if it's not, wraps or unwraps it with a secure wrapper.
23668 // We need to test for EventTarget here as well as it's a base type. 23651 // We need to test for EventTarget here as well as it's a base type.
23669 // We omit an unwrapper for Window as no methods take a non-local 23652 // We omit an unwrapper for Window as no methods take a non-local
23670 // window as a parameter. 23653 // window as a parameter.
23671 23654
23672 23655
23673 Window _convertNativeToDart_Window(win) { 23656 Window _convertNativeToDart_Window(win) {
23674 return _DOMWindowCrossFrame._createSafe(win); 23657 return _DOMWindowCrossFrame._createSafe(win);
23675 } 23658 }
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
24251 T next() { 24234 T next() {
24252 if (!hasNext) { 24235 if (!hasNext) {
24253 throw new StateError("No more elements"); 24236 throw new StateError("No more elements");
24254 } 24237 }
24255 return _array[_pos++]; 24238 return _array[_pos++];
24256 } 24239 }
24257 24240
24258 final List<T> _array; 24241 final List<T> _array;
24259 int _pos; 24242 int _pos;
24260 } 24243 }
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/html/scripts/htmlrenamer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698