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

Unified Diff: tools/dom/templates/html/impl/impl_CSSStyleDeclaration.darttemplate

Issue 442523003: Add property to CssStyleDeclaration to detect if a CSS value is available. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/dom/scripts/systemhtml.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/templates/html/impl/impl_CSSStyleDeclaration.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_CSSStyleDeclaration.darttemplate b/tools/dom/templates/html/impl/impl_CSSStyleDeclaration.darttemplate
index 046591b2ee4be5707461a07ba3866a6ebfcb2b59..9c7e9727f7c43d6df6789c03f88ef383b7ad905e 100644
--- a/tools/dom/templates/html/impl/impl_CSSStyleDeclaration.darttemplate
+++ b/tools/dom/templates/html/impl/impl_CSSStyleDeclaration.darttemplate
@@ -1,10 +1,17 @@
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+
+// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+// WARNING: DO NOT EDIT THIS TEMPLATE FILE.
+// The template file was generated by scripts/css_code_generator.py
+
+// Source of CSS properties:
+// CSSPropertyNames.in
+
part of $LIBRARYNAME;
-$(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS) class $CLASSNAME $EXTENDS with
+$(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS) class $CLASSNAME $EXTENDS with
$(CLASSNAME)Base $IMPLEMENTS {
factory $CLASSNAME() => new CssStyleDeclaration.css('');
@@ -13,15 +20,78 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS) class $CLASSNAME $EXTENDS with
style.cssText = css;
return style;
}
-
+
String getPropertyValue(String propertyName) {
- var propValue = _getPropertyValue(propertyName);
+ var propValue = _getPropertyValueHelper(propertyName);
return propValue != null ? propValue : '';
}
+ String _getPropertyValueHelper(String propertyName) {
+ if (_supportsProperty(_camelCase(propertyName))) {
+ return _getPropertyValue(propertyName);
+ } else {
+ return _getPropertyValue(Device.cssPrefix + propertyName);
+ }
+ }
+
+ /**
+ * Returns true if the provided *CSS* property name is supported on this
+ * element.
+ *
+ * Please note the property name camelCase, not-hyphens. This
+ * method returns true if the property is accessible via an unprefixed _or_
+ * prefixed property.
+ */
+ bool supportsProperty(String propertyName) {
+ return _supportsProperty(propertyName) ||
+ _supportsProperty(_camelCase(Device.cssPrefix + propertyName));
+ }
+
+ bool _supportsProperty(String propertyName) {
$if DART2JS
+ return JS('bool', '# in #', propertyName, this);
+$else
+ // You can't just check the value of a property, because there is no way
+ // to distinguish between property not being present in the browser and
+ // not having a value at all. (Ultimately we'll want the native method to
+ // return null if the property doesn't exist and empty string if it's
+ // defined but just doesn't have a value.
+ return _hasProperty(propertyName);
+$endif
+ }
+$if DARTIUM
+
+ bool _hasProperty(String propertyName) =>
+ _blink.BlinkCSSStyleDeclaration.$__propertyQuery___Callback(this, propertyName);
+$endif
+
@DomName('CSSStyleDeclaration.setProperty')
void setProperty(String propertyName, String value, [String priority]) {
+ if (_supportsProperty(_camelCase(propertyName))) {
+ return _setPropertyHelper(propertyName, value, priority);
+ } else {
+ return _setPropertyHelper(Device.cssPrefix + propertyName, value,
+ priority);
+ }
+ }
+
+ String _camelCase(String hyphenated) {
+ bool firstWord = true;
+ return hyphenated.splitMapJoin('-', onMatch : (_) => '',
+ onNonMatch : (String word) {
+ if (word.length > 0) {
+ if (firstWord) {
+ firstWord = false;
+ return word;
+ }
+ return word[0].toUpperCase() + word.substring(1);
+ }
+ return '';
+ });
+ }
+
+$if DART2JS
+ void _setPropertyHelper(String propertyName, String value, [String priority]) {
// try/catch for IE9 which throws on unsupported values.
try {
if (value == null) value = '';
@@ -35,20 +105,15 @@ $if DART2JS
}
} catch (e) {}
}
-
+
/**
* Checks to see if CSS Transitions are supported.
*/
static bool get supportsTransitions {
- if (JS('bool', '"transition" in document.body.style')) {
- return true;
- }
- var propertyName = '${Device.propertyPrefix}Transition';
- return JS('bool', '# in document.body.style', propertyName);
+ return supportsProperty('transition');
}
$else
- @DomName('CSSStyleDeclaration.setProperty')
- void setProperty(String propertyName, String value, [String priority]) {
+ void _setPropertyHelper(String propertyName, String value, [String priority]) {
if (priority == null) {
priority = '';
}
@@ -88,152 +153,151 @@ class _CssStyleDeclarationSet extends Object with CssStyleDeclarationBase {
}
abstract class CssStyleDeclarationBase {
- String getPropertyValue(String propertyName);
+ String getPropertyValue(String propertyName);
void setProperty(String propertyName, String value, [String priority]);
- // TODO(jacobr): generate this list of properties using the existing script.
/** Gets the value of "align-content" */
String get alignContent =>
- getPropertyValue('${Device.cssPrefix}align-content');
+ getPropertyValue('align-content');
/** Sets the value of "align-content" */
void set alignContent(String value) {
- setProperty('${Device.cssPrefix}align-content', value, '');
+ setProperty('align-content', value, '');
}
/** Gets the value of "align-items" */
String get alignItems =>
- getPropertyValue('${Device.cssPrefix}align-items');
+ getPropertyValue('align-items');
/** Sets the value of "align-items" */
void set alignItems(String value) {
- setProperty('${Device.cssPrefix}align-items', value, '');
+ setProperty('align-items', value, '');
}
/** Gets the value of "align-self" */
String get alignSelf =>
- getPropertyValue('${Device.cssPrefix}align-self');
+ getPropertyValue('align-self');
/** Sets the value of "align-self" */
void set alignSelf(String value) {
- setProperty('${Device.cssPrefix}align-self', value, '');
+ setProperty('align-self', value, '');
}
/** Gets the value of "animation" */
String get animation =>
- getPropertyValue('${Device.cssPrefix}animation');
+ getPropertyValue('animation');
/** Sets the value of "animation" */
void set animation(String value) {
- setProperty('${Device.cssPrefix}animation', value, '');
+ setProperty('animation', value, '');
}
/** Gets the value of "animation-delay" */
String get animationDelay =>
- getPropertyValue('${Device.cssPrefix}animation-delay');
+ getPropertyValue('animation-delay');
/** Sets the value of "animation-delay" */
void set animationDelay(String value) {
- setProperty('${Device.cssPrefix}animation-delay', value, '');
+ setProperty('animation-delay', value, '');
}
/** Gets the value of "animation-direction" */
String get animationDirection =>
- getPropertyValue('${Device.cssPrefix}animation-direction');
+ getPropertyValue('animation-direction');
/** Sets the value of "animation-direction" */
void set animationDirection(String value) {
- setProperty('${Device.cssPrefix}animation-direction', value, '');
+ setProperty('animation-direction', value, '');
}
/** Gets the value of "animation-duration" */
String get animationDuration =>
- getPropertyValue('${Device.cssPrefix}animation-duration');
+ getPropertyValue('animation-duration');
/** Sets the value of "animation-duration" */
void set animationDuration(String value) {
- setProperty('${Device.cssPrefix}animation-duration', value, '');
+ setProperty('animation-duration', value, '');
}
/** Gets the value of "animation-fill-mode" */
String get animationFillMode =>
- getPropertyValue('${Device.cssPrefix}animation-fill-mode');
+ getPropertyValue('animation-fill-mode');
/** Sets the value of "animation-fill-mode" */
void set animationFillMode(String value) {
- setProperty('${Device.cssPrefix}animation-fill-mode', value, '');
+ setProperty('animation-fill-mode', value, '');
}
/** Gets the value of "animation-iteration-count" */
String get animationIterationCount =>
- getPropertyValue('${Device.cssPrefix}animation-iteration-count');
+ getPropertyValue('animation-iteration-count');
/** Sets the value of "animation-iteration-count" */
void set animationIterationCount(String value) {
- setProperty('${Device.cssPrefix}animation-iteration-count', value, '');
+ setProperty('animation-iteration-count', value, '');
}
/** Gets the value of "animation-name" */
String get animationName =>
- getPropertyValue('${Device.cssPrefix}animation-name');
+ getPropertyValue('animation-name');
/** Sets the value of "animation-name" */
void set animationName(String value) {
- setProperty('${Device.cssPrefix}animation-name', value, '');
+ setProperty('animation-name', value, '');
}
/** Gets the value of "animation-play-state" */
String get animationPlayState =>
- getPropertyValue('${Device.cssPrefix}animation-play-state');
+ getPropertyValue('animation-play-state');
/** Sets the value of "animation-play-state" */
void set animationPlayState(String value) {
- setProperty('${Device.cssPrefix}animation-play-state', value, '');
+ setProperty('animation-play-state', value, '');
}
/** Gets the value of "animation-timing-function" */
String get animationTimingFunction =>
- getPropertyValue('${Device.cssPrefix}animation-timing-function');
+ getPropertyValue('animation-timing-function');
/** Sets the value of "animation-timing-function" */
void set animationTimingFunction(String value) {
- setProperty('${Device.cssPrefix}animation-timing-function', value, '');
+ setProperty('animation-timing-function', value, '');
}
/** Gets the value of "app-region" */
String get appRegion =>
- getPropertyValue('${Device.cssPrefix}app-region');
+ getPropertyValue('app-region');
/** Sets the value of "app-region" */
void set appRegion(String value) {
- setProperty('${Device.cssPrefix}app-region', value, '');
+ setProperty('app-region', value, '');
}
/** Gets the value of "appearance" */
String get appearance =>
- getPropertyValue('${Device.cssPrefix}appearance');
+ getPropertyValue('appearance');
/** Sets the value of "appearance" */
void set appearance(String value) {
- setProperty('${Device.cssPrefix}appearance', value, '');
+ setProperty('appearance', value, '');
}
/** Gets the value of "aspect-ratio" */
String get aspectRatio =>
- getPropertyValue('${Device.cssPrefix}aspect-ratio');
+ getPropertyValue('aspect-ratio');
/** Sets the value of "aspect-ratio" */
void set aspectRatio(String value) {
- setProperty('${Device.cssPrefix}aspect-ratio', value, '');
+ setProperty('aspect-ratio', value, '');
}
/** Gets the value of "backface-visibility" */
String get backfaceVisibility =>
- getPropertyValue('${Device.cssPrefix}backface-visibility');
+ getPropertyValue('backface-visibility');
/** Sets the value of "backface-visibility" */
void set backfaceVisibility(String value) {
- setProperty('${Device.cssPrefix}backface-visibility', value, '');
+ setProperty('backface-visibility', value, '');
}
/** Gets the value of "background" */
@@ -254,6 +318,15 @@ abstract class CssStyleDeclarationBase {
setProperty('background-attachment', value, '');
}
+ /** Gets the value of "background-blend-mode" */
+ String get backgroundBlendMode =>
+ getPropertyValue('background-blend-mode');
+
+ /** Sets the value of "background-blend-mode" */
+ void set backgroundBlendMode(String value) {
+ setProperty('background-blend-mode', value, '');
+ }
+
/** Gets the value of "background-clip" */
String get backgroundClip =>
getPropertyValue('background-clip');
@@ -274,11 +347,11 @@ abstract class CssStyleDeclarationBase {
/** Gets the value of "background-composite" */
String get backgroundComposite =>
- getPropertyValue('${Device.cssPrefix}background-composite');
+ getPropertyValue('background-composite');
/** Sets the value of "background-composite" */
void set backgroundComposite(String value) {
- setProperty('${Device.cssPrefix}background-composite', value, '');
+ setProperty('background-composite', value, '');
}
/** Gets the value of "background-image" */
@@ -362,15 +435,6 @@ abstract class CssStyleDeclarationBase {
setProperty('background-size', value, '');
}
- /** Gets the value of "blend-mode" */
- String get blendMode =>
- getPropertyValue('${Device.cssPrefix}blend-mode');
-
- /** Sets the value of "blend-mode" */
- void set blendMode(String value) {
- setProperty('${Device.cssPrefix}blend-mode', value, '');
- }
-
/** Gets the value of "border" */
String get border =>
getPropertyValue('border');
@@ -382,74 +446,74 @@ abstract class CssStyleDeclarationBase {
/** Gets the value of "border-after" */
String get borderAfter =>
- getPropertyValue('${Device.cssPrefix}border-after');
+ getPropertyValue('border-after');
/** Sets the value of "border-after" */
void set borderAfter(String value) {
- setProperty('${Device.cssPrefix}border-after', value, '');
+ setProperty('border-after', value, '');
}
/** Gets the value of "border-after-color" */
String get borderAfterColor =>
- getPropertyValue('${Device.cssPrefix}border-after-color');
+ getPropertyValue('border-after-color');
/** Sets the value of "border-after-color" */
void set borderAfterColor(String value) {
- setProperty('${Device.cssPrefix}border-after-color', value, '');
+ setProperty('border-after-color', value, '');
}
/** Gets the value of "border-after-style" */
String get borderAfterStyle =>
- getPropertyValue('${Device.cssPrefix}border-after-style');
+ getPropertyValue('border-after-style');
/** Sets the value of "border-after-style" */
void set borderAfterStyle(String value) {
- setProperty('${Device.cssPrefix}border-after-style', value, '');
+ setProperty('border-after-style', value, '');
}
/** Gets the value of "border-after-width" */
String get borderAfterWidth =>
- getPropertyValue('${Device.cssPrefix}border-after-width');
+ getPropertyValue('border-after-width');
/** Sets the value of "border-after-width" */
void set borderAfterWidth(String value) {
- setProperty('${Device.cssPrefix}border-after-width', value, '');
+ setProperty('border-after-width', value, '');
}
/** Gets the value of "border-before" */
String get borderBefore =>
- getPropertyValue('${Device.cssPrefix}border-before');
+ getPropertyValue('border-before');
/** Sets the value of "border-before" */
void set borderBefore(String value) {
- setProperty('${Device.cssPrefix}border-before', value, '');
+ setProperty('border-before', value, '');
}
/** Gets the value of "border-before-color" */
String get borderBeforeColor =>
- getPropertyValue('${Device.cssPrefix}border-before-color');
+ getPropertyValue('border-before-color');
/** Sets the value of "border-before-color" */
void set borderBeforeColor(String value) {
- setProperty('${Device.cssPrefix}border-before-color', value, '');
+ setProperty('border-before-color', value, '');
}
/** Gets the value of "border-before-style" */
String get borderBeforeStyle =>
- getPropertyValue('${Device.cssPrefix}border-before-style');
+ getPropertyValue('border-before-style');
/** Sets the value of "border-before-style" */
void set borderBeforeStyle(String value) {
- setProperty('${Device.cssPrefix}border-before-style', value, '');
+ setProperty('border-before-style', value, '');
}
/** Gets the value of "border-before-width" */
String get borderBeforeWidth =>
- getPropertyValue('${Device.cssPrefix}border-before-width');
+ getPropertyValue('border-before-width');
/** Sets the value of "border-before-width" */
void set borderBeforeWidth(String value) {
- setProperty('${Device.cssPrefix}border-before-width', value, '');
+ setProperty('border-before-width', value, '');
}
/** Gets the value of "border-bottom" */
@@ -526,56 +590,56 @@ abstract class CssStyleDeclarationBase {
/** Gets the value of "border-end" */
String get borderEnd =>
- getPropertyValue('${Device.cssPrefix}border-end');
+ getPropertyValue('border-end');
/** Sets the value of "border-end" */
void set borderEnd(String value) {
- setProperty('${Device.cssPrefix}border-end', value, '');
+ setProperty('border-end', value, '');
}
/** Gets the value of "border-end-color" */
String get borderEndColor =>
- getPropertyValue('${Device.cssPrefix}border-end-color');
+ getPropertyValue('border-end-color');
/** Sets the value of "border-end-color" */
void set borderEndColor(String value) {
- setProperty('${Device.cssPrefix}border-end-color', value, '');
+ setProperty('border-end-color', value, '');
}
/** Gets the value of "border-end-style" */
String get borderEndStyle =>
- getPropertyValue('${Device.cssPrefix}border-end-style');
+ getPropertyValue('border-end-style');
/** Sets the value of "border-end-style" */
void set borderEndStyle(String value) {
- setProperty('${Device.cssPrefix}border-end-style', value, '');
+ setProperty('border-end-style', value, '');
}
/** Gets the value of "border-end-width" */
String get borderEndWidth =>
- getPropertyValue('${Device.cssPrefix}border-end-width');
+ getPropertyValue('border-end-width');
/** Sets the value of "border-end-width" */
void set borderEndWidth(String value) {
- setProperty('${Device.cssPrefix}border-end-width', value, '');
+ setProperty('border-end-width', value, '');
}
/** Gets the value of "border-fit" */
String get borderFit =>
- getPropertyValue('${Device.cssPrefix}border-fit');
+ getPropertyValue('border-fit');
/** Sets the value of "border-fit" */
void set borderFit(String value) {
- setProperty('${Device.cssPrefix}border-fit', value, '');
+ setProperty('border-fit', value, '');
}
/** Gets the value of "border-horizontal-spacing" */
String get borderHorizontalSpacing =>
- getPropertyValue('${Device.cssPrefix}border-horizontal-spacing');
+ getPropertyValue('border-horizontal-spacing');
/** Sets the value of "border-horizontal-spacing" */
void set borderHorizontalSpacing(String value) {
- setProperty('${Device.cssPrefix}border-horizontal-spacing', value, '');
+ setProperty('border-horizontal-spacing', value, '');
}
/** Gets the value of "border-image" */
@@ -724,38 +788,38 @@ abstract class CssStyleDeclarationBase {
/** Gets the value of "border-start" */
String get borderStart =>
- getPropertyValue('${Device.cssPrefix}border-start');
+ getPropertyValue('border-start');
/** Sets the value of "border-start" */
void set borderStart(String value) {
- setProperty('${Device.cssPrefix}border-start', value, '');
+ setProperty('border-start', value, '');
}
/** Gets the value of "border-start-color" */
String get borderStartColor =>
- getPropertyValue('${Device.cssPrefix}border-start-color');
+ getPropertyValue('border-start-color');
/** Sets the value of "border-start-color" */
void set borderStartColor(String value) {
- setProperty('${Device.cssPrefix}border-start-color', value, '');
+ setProperty('border-start-color', value, '');
}
/** Gets the value of "border-start-style" */
String get borderStartStyle =>
- getPropertyValue('${Device.cssPrefix}border-start-style');
+ getPropertyValue('border-start-style');
/** Sets the value of "border-start-style" */
void set borderStartStyle(String value) {
- setProperty('${Device.cssPrefix}border-start-style', value, '');
+ setProperty('border-start-style', value, '');
}
/** Gets the value of "border-start-width" */
String get borderStartWidth =>
- getPropertyValue('${Device.cssPrefix}border-start-width');
+ getPropertyValue('border-start-width');
/** Sets the value of "border-start-width" */
void set borderStartWidth(String value) {
- setProperty('${Device.cssPrefix}border-start-width', value, '');
+ setProperty('border-start-width', value, '');
}
/** Gets the value of "border-style" */
@@ -823,11 +887,11 @@ abstract class CssStyleDeclarationBase {
/** Gets the value of "border-vertical-spacing" */
String get borderVerticalSpacing =>
- getPropertyValue('${Device.cssPrefix}border-vertical-spacing');
+ getPropertyValue('border-vertical-spacing');
/** Sets the value of "border-vertical-spacing" */
void set borderVerticalSpacing(String value) {
- setProperty('${Device.cssPrefix}border-vertical-spacing', value, '');
+ setProperty('border-vertical-spacing', value, '');
}
/** Gets the value of "border-width" */
@@ -850,92 +914,92 @@ abstract class CssStyleDeclarationBase {
/** Gets the value of "box-align" */
String get boxAlign =>
- getPropertyValue('${Device.cssPrefix}box-align');
+ getPropertyValue('box-align');
/** Sets the value of "box-align" */
void set boxAlign(String value) {
- setProperty('${Device.cssPrefix}box-align', value, '');
+ setProperty('box-align', value, '');
}
/** Gets the value of "box-decoration-break" */
String get boxDecorationBreak =>
- getPropertyValue('${Device.cssPrefix}box-decoration-break');
+ getPropertyValue('box-decoration-break');
/** Sets the value of "box-decoration-break" */
void set boxDecorationBreak(String value) {
- setProperty('${Device.cssPrefix}box-decoration-break', value, '');
+ setProperty('box-decoration-break', value, '');
}
/** Gets the value of "box-direction" */
String get boxDirection =>
- getPropertyValue('${Device.cssPrefix}box-direction');
+ getPropertyValue('box-direction');
/** Sets the value of "box-direction" */
void set boxDirection(String value) {
- setProperty('${Device.cssPrefix}box-direction', value, '');
+ setProperty('box-direction', value, '');
}
/** Gets the value of "box-flex" */
String get boxFlex =>
- getPropertyValue('${Device.cssPrefix}box-flex');
+ getPropertyValue('box-flex');
/** Sets the value of "box-flex" */
void set boxFlex(String value) {
- setProperty('${Device.cssPrefix}box-flex', value, '');
+ setProperty('box-flex', value, '');
}
/** Gets the value of "box-flex-group" */
String get boxFlexGroup =>
- getPropertyValue('${Device.cssPrefix}box-flex-group');
+ getPropertyValue('box-flex-group');
/** Sets the value of "box-flex-group" */
void set boxFlexGroup(String value) {
- setProperty('${Device.cssPrefix}box-flex-group', value, '');
+ setProperty('box-flex-group', value, '');
}
/** Gets the value of "box-lines" */
String get boxLines =>
- getPropertyValue('${Device.cssPrefix}box-lines');
+ getPropertyValue('box-lines');
/** Sets the value of "box-lines" */
void set boxLines(String value) {
- setProperty('${Device.cssPrefix}box-lines', value, '');
+ setProperty('box-lines', value, '');
}
/** Gets the value of "box-ordinal-group" */
String get boxOrdinalGroup =>
- getPropertyValue('${Device.cssPrefix}box-ordinal-group');
+ getPropertyValue('box-ordinal-group');
/** Sets the value of "box-ordinal-group" */
void set boxOrdinalGroup(String value) {
- setProperty('${Device.cssPrefix}box-ordinal-group', value, '');
+ setProperty('box-ordinal-group', value, '');
}
/** Gets the value of "box-orient" */
String get boxOrient =>
- getPropertyValue('${Device.cssPrefix}box-orient');
+ getPropertyValue('box-orient');
/** Sets the value of "box-orient" */
void set boxOrient(String value) {
- setProperty('${Device.cssPrefix}box-orient', value, '');
+ setProperty('box-orient', value, '');
}
/** Gets the value of "box-pack" */
String get boxPack =>
- getPropertyValue('${Device.cssPrefix}box-pack');
+ getPropertyValue('box-pack');
/** Sets the value of "box-pack" */
void set boxPack(String value) {
- setProperty('${Device.cssPrefix}box-pack', value, '');
+ setProperty('box-pack', value, '');
}
/** Gets the value of "box-reflect" */
String get boxReflect =>
- getPropertyValue('${Device.cssPrefix}box-reflect');
+ getPropertyValue('box-reflect');
/** Sets the value of "box-reflect" */
void set boxReflect(String value) {
- setProperty('${Device.cssPrefix}box-reflect', value, '');
+ setProperty('box-reflect', value, '');
}
/** Gets the value of "box-shadow" */
@@ -948,17 +1012,12 @@ abstract class CssStyleDeclarationBase {
}
/** Gets the value of "box-sizing" */
- String get boxSizing => Device.isFirefox ?
- getPropertyValue('${Device.cssPrefix}box-sizing') :
- getPropertyValue('box-sizing');
+ String get boxSizing =>
+ getPropertyValue('box-sizing');
/** Sets the value of "box-sizing" */
void set boxSizing(String value) {
- if (Device.isFirefox) {
- setProperty('${Device.cssPrefix}box-sizing', value, '');
- } else {
- setProperty('box-sizing', value, '');
- }
+ setProperty('box-sizing', value, '');
}
/** Gets the value of "caption-side" */
@@ -990,11 +1049,11 @@ abstract class CssStyleDeclarationBase {
/** Gets the value of "clip-path" */
String get clipPath =>
- getPropertyValue('${Device.cssPrefix}clip-path');
+ getPropertyValue('clip-path');
/** Sets the value of "clip-path" */
void set clipPath(String value) {
- setProperty('${Device.cssPrefix}clip-path', value, '');
+ setProperty('clip-path', value, '');
}
/** Gets the value of "color" */
@@ -1006,139 +1065,121 @@ abstract class CssStyleDeclarationBase {
setProperty('color', value, '');
}
- /** Gets the value of "color-correction" */
- String get colorCorrection =>
- getPropertyValue('${Device.cssPrefix}color-correction');
-
- /** Sets the value of "color-correction" */
- void set colorCorrection(String value) {
- setProperty('${Device.cssPrefix}color-correction', value, '');
- }
-
- /** Gets the value of "column-axis" */
- String get columnAxis =>
- getPropertyValue('${Device.cssPrefix}column-axis');
-
- /** Sets the value of "column-axis" */
- void set columnAxis(String value) {
- setProperty('${Device.cssPrefix}column-axis', value, '');
- }
-
/** Gets the value of "column-break-after" */
String get columnBreakAfter =>
- getPropertyValue('${Device.cssPrefix}column-break-after');
+ getPropertyValue('column-break-after');
/** Sets the value of "column-break-after" */
void set columnBreakAfter(String value) {
- setProperty('${Device.cssPrefix}column-break-after', value, '');
+ setProperty('column-break-after', value, '');
}
/** Gets the value of "column-break-before" */
String get columnBreakBefore =>
- getPropertyValue('${Device.cssPrefix}column-break-before');
+ getPropertyValue('column-break-before');
/** Sets the value of "column-break-before" */
void set columnBreakBefore(String value) {
- setProperty('${Device.cssPrefix}column-break-before', value, '');
+ setProperty('column-break-before', value, '');
}
/** Gets the value of "column-break-inside" */
String get columnBreakInside =>
- getPropertyValue('${Device.cssPrefix}column-break-inside');
+ getPropertyValue('column-break-inside');
/** Sets the value of "column-break-inside" */
void set columnBreakInside(String value) {
- setProperty('${Device.cssPrefix}column-break-inside', value, '');
+ setProperty('column-break-inside', value, '');
}
/** Gets the value of "column-count" */
String get columnCount =>
- getPropertyValue('${Device.cssPrefix}column-count');
+ getPropertyValue('column-count');
/** Sets the value of "column-count" */
void set columnCount(String value) {
- setProperty('${Device.cssPrefix}column-count', value, '');
+ setProperty('column-count', value, '');
+ }
+
+ /** Gets the value of "column-fill" */
+ String get columnFill =>
+ getPropertyValue('column-fill');
+
+ /** Sets the value of "column-fill" */
+ void set columnFill(String value) {
+ setProperty('column-fill', value, '');
}
/** Gets the value of "column-gap" */
String get columnGap =>
- getPropertyValue('${Device.cssPrefix}column-gap');
+ getPropertyValue('column-gap');
/** Sets the value of "column-gap" */
void set columnGap(String value) {
- setProperty('${Device.cssPrefix}column-gap', value, '');
- }
-
- /** Gets the value of "column-progression" */
- String get columnProgression =>
- getPropertyValue('${Device.cssPrefix}column-progression');
-
- /** Sets the value of "column-progression" */
- void set columnProgression(String value) {
- setProperty('${Device.cssPrefix}column-progression', value, '');
+ setProperty('column-gap', value, '');
}
/** Gets the value of "column-rule" */
String get columnRule =>
- getPropertyValue('${Device.cssPrefix}column-rule');
+ getPropertyValue('column-rule');
/** Sets the value of "column-rule" */
void set columnRule(String value) {
- setProperty('${Device.cssPrefix}column-rule', value, '');
+ setProperty('column-rule', value, '');
}
/** Gets the value of "column-rule-color" */
String get columnRuleColor =>
- getPropertyValue('${Device.cssPrefix}column-rule-color');
+ getPropertyValue('column-rule-color');
/** Sets the value of "column-rule-color" */
void set columnRuleColor(String value) {
- setProperty('${Device.cssPrefix}column-rule-color', value, '');
+ setProperty('column-rule-color', value, '');
}
/** Gets the value of "column-rule-style" */
String get columnRuleStyle =>
- getPropertyValue('${Device.cssPrefix}column-rule-style');
+ getPropertyValue('column-rule-style');
/** Sets the value of "column-rule-style" */
void set columnRuleStyle(String value) {
- setProperty('${Device.cssPrefix}column-rule-style', value, '');
+ setProperty('column-rule-style', value, '');
}
/** Gets the value of "column-rule-width" */
String get columnRuleWidth =>
- getPropertyValue('${Device.cssPrefix}column-rule-width');
+ getPropertyValue('column-rule-width');
/** Sets the value of "column-rule-width" */
void set columnRuleWidth(String value) {
- setProperty('${Device.cssPrefix}column-rule-width', value, '');
+ setProperty('column-rule-width', value, '');
}
/** Gets the value of "column-span" */
String get columnSpan =>
- getPropertyValue('${Device.cssPrefix}column-span');
+ getPropertyValue('column-span');
/** Sets the value of "column-span" */
void set columnSpan(String value) {
- setProperty('${Device.cssPrefix}column-span', value, '');
+ setProperty('column-span', value, '');
}
/** Gets the value of "column-width" */
String get columnWidth =>
- getPropertyValue('${Device.cssPrefix}column-width');
+ getPropertyValue('column-width');
/** Sets the value of "column-width" */
void set columnWidth(String value) {
- setProperty('${Device.cssPrefix}column-width', value, '');
+ setProperty('column-width', value, '');
}
/** Gets the value of "columns" */
String get columns =>
- getPropertyValue('${Device.cssPrefix}columns');
+ getPropertyValue('columns');
/** Sets the value of "columns" */
void set columns(String value) {
- setProperty('${Device.cssPrefix}columns', value, '');
+ setProperty('columns', value, '');
}
/** Gets the value of "content" */
@@ -1177,15 +1218,6 @@ abstract class CssStyleDeclarationBase {
setProperty('cursor', value, '');
}
- /** Gets the value of "dashboard-region" */
- String get dashboardRegion =>
- getPropertyValue('${Device.cssPrefix}dashboard-region');
-
- /** Sets the value of "dashboard-region" */
- void set dashboardRegion(String value) {
- setProperty('${Device.cssPrefix}dashboard-region', value, '');
- }
-
/** Gets the value of "direction" */
String get direction =>
getPropertyValue('direction');
@@ -1215,79 +1247,74 @@ abstract class CssStyleDeclarationBase {
/** Gets the value of "filter" */
String get filter =>
- getPropertyValue('${Device.cssPrefix}filter');
+ getPropertyValue('filter');
/** Sets the value of "filter" */
void set filter(String value) {
- setProperty('${Device.cssPrefix}filter', value, '');
+ setProperty('filter', value, '');
}
/** Gets the value of "flex" */
- String get flex {
- String prefix = Device.cssPrefix;
- if (Device.isFirefox) prefix = '';
- return getPropertyValue('${prefix}flex');
- }
+ String get flex =>
+ getPropertyValue('flex');
/** Sets the value of "flex" */
void set flex(String value) {
- String prefix = Device.cssPrefix;
- if (Device.isFirefox) prefix = '';
- setProperty('${prefix}flex', value, '');
+ setProperty('flex', value, '');
}
/** Gets the value of "flex-basis" */
String get flexBasis =>
- getPropertyValue('${Device.cssPrefix}flex-basis');
+ getPropertyValue('flex-basis');
/** Sets the value of "flex-basis" */
void set flexBasis(String value) {
- setProperty('${Device.cssPrefix}flex-basis', value, '');
+ setProperty('flex-basis', value, '');
}
/** Gets the value of "flex-direction" */
String get flexDirection =>
- getPropertyValue('${Device.cssPrefix}flex-direction');
+ getPropertyValue('flex-direction');
/** Sets the value of "flex-direction" */
void set flexDirection(String value) {
- setProperty('${Device.cssPrefix}flex-direction', value, '');
+ setProperty('flex-direction', value, '');
}
/** Gets the value of "flex-flow" */
String get flexFlow =>
- getPropertyValue('${Device.cssPrefix}flex-flow');
+ getPropertyValue('flex-flow');
/** Sets the value of "flex-flow" */
void set flexFlow(String value) {
- setProperty('${Device.cssPrefix}flex-flow', value, '');
+ setProperty('flex-flow', value, '');
}
/** Gets the value of "flex-grow" */
String get flexGrow =>
- getPropertyValue('${Device.cssPrefix}flex-grow');
+ getPropertyValue('flex-grow');
/** Sets the value of "flex-grow" */
void set flexGrow(String value) {
- setProperty('${Device.cssPrefix}flex-grow', value, '');
+ setProperty('flex-grow', value, '');
}
/** Gets the value of "flex-shrink" */
String get flexShrink =>
- getPropertyValue('${Device.cssPrefix}flex-shrink');
+ getPropertyValue('flex-shrink');
/** Sets the value of "flex-shrink" */
void set flexShrink(String value) {
- setProperty('${Device.cssPrefix}flex-shrink', value, '');
+ setProperty('flex-shrink', value, '');
}
/** Gets the value of "flex-wrap" */
String get flexWrap =>
- getPropertyValue('${Device.cssPrefix}flex-wrap');
+ getPropertyValue('flex-wrap');
/** Sets the value of "flex-wrap" */
void set flexWrap(String value) {
- setProperty('${Device.cssPrefix}flex-wrap', value, '');
+ setProperty('flex-wrap', value, '');
}
/** Gets the value of "float" */
@@ -1299,24 +1326,6 @@ abstract class CssStyleDeclarationBase {
setProperty('float', value, '');
}
- /** Gets the value of "flow-from" */
- String get flowFrom =>
- getPropertyValue('${Device.cssPrefix}flow-from');
-
- /** Sets the value of "flow-from" */
- void set flowFrom(String value) {
- setProperty('${Device.cssPrefix}flow-from', value, '');
- }
-
- /** Gets the value of "flow-into" */
- String get flowInto =>
- getPropertyValue('${Device.cssPrefix}flow-into');
-
- /** Sets the value of "flow-into" */
- void set flowInto(String value) {
- setProperty('${Device.cssPrefix}flow-into', value, '');
- }
-
/** Gets the value of "font" */
String get font =>
getPropertyValue('font');
@@ -1337,20 +1346,20 @@ abstract class CssStyleDeclarationBase {
/** Gets the value of "font-feature-settings" */
String get fontFeatureSettings =>
- getPropertyValue('${Device.cssPrefix}font-feature-settings');
+ getPropertyValue('font-feature-settings');
/** Sets the value of "font-feature-settings" */
void set fontFeatureSettings(String value) {
- setProperty('${Device.cssPrefix}font-feature-settings', value, '');
+ setProperty('font-feature-settings', value, '');
}
/** Gets the value of "font-kerning" */
String get fontKerning =>
- getPropertyValue('${Device.cssPrefix}font-kerning');
+ getPropertyValue('font-kerning');
/** Sets the value of "font-kerning" */
void set fontKerning(String value) {
- setProperty('${Device.cssPrefix}font-kerning', value, '');
+ setProperty('font-kerning', value, '');
}
/** Gets the value of "font-size" */
@@ -1364,20 +1373,20 @@ abstract class CssStyleDeclarationBase {
/** Gets the value of "font-size-delta" */
String get fontSizeDelta =>
- getPropertyValue('${Device.cssPrefix}font-size-delta');
+ getPropertyValue('font-size-delta');
/** Sets the value of "font-size-delta" */
void set fontSizeDelta(String value) {
- setProperty('${Device.cssPrefix}font-size-delta', value, '');
+ setProperty('font-size-delta', value, '');
}
/** Gets the value of "font-smoothing" */
String get fontSmoothing =>
- getPropertyValue('${Device.cssPrefix}font-smoothing');
+ getPropertyValue('font-smoothing');
/** Sets the value of "font-smoothing" */
void set fontSmoothing(String value) {
- setProperty('${Device.cssPrefix}font-smoothing', value, '');
+ setProperty('font-smoothing', value, '');
}
/** Gets the value of "font-stretch" */
@@ -1409,11 +1418,11 @@ abstract class CssStyleDeclarationBase {
/** Gets the value of "font-variant-ligatures" */
String get fontVariantLigatures =>
- getPropertyValue('${Device.cssPrefix}font-variant-ligatures');
+ getPropertyValue('font-variant-ligatures');
/** Sets the value of "font-variant-ligatures" */
void set fontVariantLigatures(String value) {
- setProperty('${Device.cssPrefix}font-variant-ligatures', value, '');
+ setProperty('font-variant-ligatures', value, '');
}
/** Gets the value of "font-weight" */
@@ -1425,112 +1434,166 @@ abstract class CssStyleDeclarationBase {
setProperty('font-weight', value, '');
}
+ /** Gets the value of "grid" */
+ String get grid =>
+ getPropertyValue('grid');
+
+ /** Sets the value of "grid" */
+ void set grid(String value) {
+ setProperty('grid', value, '');
+ }
+
+ /** Gets the value of "grid-area" */
+ String get gridArea =>
+ getPropertyValue('grid-area');
+
+ /** Sets the value of "grid-area" */
+ void set gridArea(String value) {
+ setProperty('grid-area', value, '');
+ }
+
+ /** Gets the value of "grid-auto-columns" */
+ String get gridAutoColumns =>
+ getPropertyValue('grid-auto-columns');
+
+ /** Sets the value of "grid-auto-columns" */
+ void set gridAutoColumns(String value) {
+ setProperty('grid-auto-columns', value, '');
+ }
+
+ /** Gets the value of "grid-auto-flow" */
+ String get gridAutoFlow =>
+ getPropertyValue('grid-auto-flow');
+
+ /** Sets the value of "grid-auto-flow" */
+ void set gridAutoFlow(String value) {
+ setProperty('grid-auto-flow', value, '');
+ }
+
+ /** Gets the value of "grid-auto-rows" */
+ String get gridAutoRows =>
+ getPropertyValue('grid-auto-rows');
+
+ /** Sets the value of "grid-auto-rows" */
+ void set gridAutoRows(String value) {
+ setProperty('grid-auto-rows', value, '');
+ }
+
/** Gets the value of "grid-column" */
String get gridColumn =>
- getPropertyValue('${Device.cssPrefix}grid-column');
+ getPropertyValue('grid-column');
/** Sets the value of "grid-column" */
void set gridColumn(String value) {
- setProperty('${Device.cssPrefix}grid-column', value, '');
+ setProperty('grid-column', value, '');
}
- /** Gets the value of "grid-columns" */
- String get gridColumns =>
- getPropertyValue('${Device.cssPrefix}grid-columns');
+ /** Gets the value of "grid-column-end" */
+ String get gridColumnEnd =>
+ getPropertyValue('grid-column-end');
- /** Sets the value of "grid-columns" */
- void set gridColumns(String value) {
- setProperty('${Device.cssPrefix}grid-columns', value, '');
+ /** Sets the value of "grid-column-end" */
+ void set gridColumnEnd(String value) {
+ setProperty('grid-column-end', value, '');
+ }
+
+ /** Gets the value of "grid-column-start" */
+ String get gridColumnStart =>
+ getPropertyValue('grid-column-start');
+
+ /** Sets the value of "grid-column-start" */
+ void set gridColumnStart(String value) {
+ setProperty('grid-column-start', value, '');
}
/** Gets the value of "grid-row" */
String get gridRow =>
- getPropertyValue('${Device.cssPrefix}grid-row');
+ getPropertyValue('grid-row');
/** Sets the value of "grid-row" */
void set gridRow(String value) {
- setProperty('${Device.cssPrefix}grid-row', value, '');
+ setProperty('grid-row', value, '');
}
- /** Gets the value of "grid-rows" */
- String get gridRows =>
- getPropertyValue('${Device.cssPrefix}grid-rows');
+ /** Gets the value of "grid-row-end" */
+ String get gridRowEnd =>
+ getPropertyValue('grid-row-end');
- /** Sets the value of "grid-rows" */
- void set gridRows(String value) {
- setProperty('${Device.cssPrefix}grid-rows', value, '');
+ /** Sets the value of "grid-row-end" */
+ void set gridRowEnd(String value) {
+ setProperty('grid-row-end', value, '');
}
- /** Gets the value of "height" */
- String get height =>
- getPropertyValue('height');
+ /** Gets the value of "grid-row-start" */
+ String get gridRowStart =>
+ getPropertyValue('grid-row-start');
- /** Sets the value of "height" */
- void set height(String value) {
- setProperty('height', value, '');
+ /** Sets the value of "grid-row-start" */
+ void set gridRowStart(String value) {
+ setProperty('grid-row-start', value, '');
}
- /** Gets the value of "highlight" */
- String get highlight =>
- getPropertyValue('${Device.cssPrefix}highlight');
+ /** Gets the value of "grid-template" */
+ String get gridTemplate =>
+ getPropertyValue('grid-template');
- /** Sets the value of "highlight" */
- void set highlight(String value) {
- setProperty('${Device.cssPrefix}highlight', value, '');
+ /** Sets the value of "grid-template" */
+ void set gridTemplate(String value) {
+ setProperty('grid-template', value, '');
}
- /** Gets the value of "hyphenate-character" */
- String get hyphenateCharacter =>
- getPropertyValue('${Device.cssPrefix}hyphenate-character');
+ /** Gets the value of "grid-template-areas" */
+ String get gridTemplateAreas =>
+ getPropertyValue('grid-template-areas');
- /** Sets the value of "hyphenate-character" */
- void set hyphenateCharacter(String value) {
- setProperty('${Device.cssPrefix}hyphenate-character', value, '');
+ /** Sets the value of "grid-template-areas" */
+ void set gridTemplateAreas(String value) {
+ setProperty('grid-template-areas', value, '');
}
- /** Gets the value of "hyphenate-limit-after" */
- String get hyphenateLimitAfter =>
- getPropertyValue('${Device.cssPrefix}hyphenate-limit-after');
+ /** Gets the value of "grid-template-columns" */
+ String get gridTemplateColumns =>
+ getPropertyValue('grid-template-columns');
- /** Sets the value of "hyphenate-limit-after" */
- void set hyphenateLimitAfter(String value) {
- setProperty('${Device.cssPrefix}hyphenate-limit-after', value, '');
+ /** Sets the value of "grid-template-columns" */
+ void set gridTemplateColumns(String value) {
+ setProperty('grid-template-columns', value, '');
}
- /** Gets the value of "hyphenate-limit-before" */
- String get hyphenateLimitBefore =>
- getPropertyValue('${Device.cssPrefix}hyphenate-limit-before');
+ /** Gets the value of "grid-template-rows" */
+ String get gridTemplateRows =>
+ getPropertyValue('grid-template-rows');
- /** Sets the value of "hyphenate-limit-before" */
- void set hyphenateLimitBefore(String value) {
- setProperty('${Device.cssPrefix}hyphenate-limit-before', value, '');
+ /** Sets the value of "grid-template-rows" */
+ void set gridTemplateRows(String value) {
+ setProperty('grid-template-rows', value, '');
}
- /** Gets the value of "hyphenate-limit-lines" */
- String get hyphenateLimitLines =>
- getPropertyValue('${Device.cssPrefix}hyphenate-limit-lines');
+ /** Gets the value of "height" */
+ String get height =>
+ getPropertyValue('height');
- /** Sets the value of "hyphenate-limit-lines" */
- void set hyphenateLimitLines(String value) {
- setProperty('${Device.cssPrefix}hyphenate-limit-lines', value, '');
+ /** Sets the value of "height" */
+ void set height(String value) {
+ setProperty('height', value, '');
}
- /** Gets the value of "hyphens" */
- String get hyphens =>
- getPropertyValue('${Device.cssPrefix}hyphens');
+ /** Gets the value of "highlight" */
+ String get highlight =>
+ getPropertyValue('highlight');
- /** Sets the value of "hyphens" */
- void set hyphens(String value) {
- setProperty('${Device.cssPrefix}hyphens', value, '');
+ /** Sets the value of "highlight" */
+ void set highlight(String value) {
+ setProperty('highlight', value, '');
}
- /** Gets the value of "image-orientation" */
- String get imageOrientation =>
- getPropertyValue('image-orientation');
+ /** Gets the value of "hyphenate-character" */
+ String get hyphenateCharacter =>
+ getPropertyValue('hyphenate-character');
- /** Sets the value of "image-orientation" */
- void set imageOrientation(String value) {
- setProperty('image-orientation', value, '');
+ /** Sets the value of "hyphenate-character" */
+ void set hyphenateCharacter(String value) {
+ setProperty('hyphenate-character', value, '');
}
/** Gets the value of "image-rendering" */
@@ -1542,22 +1605,31 @@ abstract class CssStyleDeclarationBase {
setProperty('image-rendering', value, '');
}
- /** Gets the value of "image-resolution" */
- String get imageResolution =>
- getPropertyValue('image-resolution');
+ /** Gets the value of "isolation" */
+ String get isolation =>
+ getPropertyValue('isolation');
- /** Sets the value of "image-resolution" */
- void set imageResolution(String value) {
- setProperty('image-resolution', value, '');
+ /** Sets the value of "isolation" */
+ void set isolation(String value) {
+ setProperty('isolation', value, '');
}
/** Gets the value of "justify-content" */
String get justifyContent =>
- getPropertyValue('${Device.cssPrefix}justify-content');
+ getPropertyValue('justify-content');
/** Sets the value of "justify-content" */
void set justifyContent(String value) {
- setProperty('${Device.cssPrefix}justify-content', value, '');
+ setProperty('justify-content', value, '');
+ }
+
+ /** Gets the value of "justify-self" */
+ String get justifySelf =>
+ getPropertyValue('justify-self');
+
+ /** Sets the value of "justify-self" */
+ void set justifySelf(String value) {
+ setProperty('justify-self', value, '');
}
/** Gets the value of "left" */
@@ -1578,49 +1650,31 @@ abstract class CssStyleDeclarationBase {
setProperty('letter-spacing', value, '');
}
- /** Gets the value of "line-align" */
- String get lineAlign =>
- getPropertyValue('${Device.cssPrefix}line-align');
-
- /** Sets the value of "line-align" */
- void set lineAlign(String value) {
- setProperty('${Device.cssPrefix}line-align', value, '');
- }
-
/** Gets the value of "line-box-contain" */
String get lineBoxContain =>
- getPropertyValue('${Device.cssPrefix}line-box-contain');
+ getPropertyValue('line-box-contain');
/** Sets the value of "line-box-contain" */
void set lineBoxContain(String value) {
- setProperty('${Device.cssPrefix}line-box-contain', value, '');
+ setProperty('line-box-contain', value, '');
}
/** Gets the value of "line-break" */
String get lineBreak =>
- getPropertyValue('${Device.cssPrefix}line-break');
+ getPropertyValue('line-break');
/** Sets the value of "line-break" */
void set lineBreak(String value) {
- setProperty('${Device.cssPrefix}line-break', value, '');
+ setProperty('line-break', value, '');
}
/** Gets the value of "line-clamp" */
String get lineClamp =>
- getPropertyValue('${Device.cssPrefix}line-clamp');
+ getPropertyValue('line-clamp');
/** Sets the value of "line-clamp" */
void set lineClamp(String value) {
- setProperty('${Device.cssPrefix}line-clamp', value, '');
- }
-
- /** Gets the value of "line-grid" */
- String get lineGrid =>
- getPropertyValue('${Device.cssPrefix}line-grid');
-
- /** Sets the value of "line-grid" */
- void set lineGrid(String value) {
- setProperty('${Device.cssPrefix}line-grid', value, '');
+ setProperty('line-clamp', value, '');
}
/** Gets the value of "line-height" */
@@ -1632,15 +1686,6 @@ abstract class CssStyleDeclarationBase {
setProperty('line-height', value, '');
}
- /** Gets the value of "line-snap" */
- String get lineSnap =>
- getPropertyValue('${Device.cssPrefix}line-snap');
-
- /** Sets the value of "line-snap" */
- void set lineSnap(String value) {
- setProperty('${Device.cssPrefix}line-snap', value, '');
- }
-
/** Gets the value of "list-style" */
String get listStyle =>
getPropertyValue('list-style');
@@ -1679,29 +1724,29 @@ abstract class CssStyleDeclarationBase {
/** Gets the value of "locale" */
String get locale =>
- getPropertyValue('${Device.cssPrefix}locale');
+ getPropertyValue('locale');
/** Sets the value of "locale" */
void set locale(String value) {
- setProperty('${Device.cssPrefix}locale', value, '');
+ setProperty('locale', value, '');
}
/** Gets the value of "logical-height" */
String get logicalHeight =>
- getPropertyValue('${Device.cssPrefix}logical-height');
+ getPropertyValue('logical-height');
/** Sets the value of "logical-height" */
void set logicalHeight(String value) {
- setProperty('${Device.cssPrefix}logical-height', value, '');
+ setProperty('logical-height', value, '');
}
/** Gets the value of "logical-width" */
String get logicalWidth =>
- getPropertyValue('${Device.cssPrefix}logical-width');
+ getPropertyValue('logical-width');
/** Sets the value of "logical-width" */
void set logicalWidth(String value) {
- setProperty('${Device.cssPrefix}logical-width', value, '');
+ setProperty('logical-width', value, '');
}
/** Gets the value of "margin" */
@@ -1715,38 +1760,38 @@ abstract class CssStyleDeclarationBase {
/** Gets the value of "margin-after" */
String get marginAfter =>
- getPropertyValue('${Device.cssPrefix}margin-after');
+ getPropertyValue('margin-after');
/** Sets the value of "margin-after" */
void set marginAfter(String value) {
- setProperty('${Device.cssPrefix}margin-after', value, '');
+ setProperty('margin-after', value, '');
}
/** Gets the value of "margin-after-collapse" */
String get marginAfterCollapse =>
- getPropertyValue('${Device.cssPrefix}margin-after-collapse');
+ getPropertyValue('margin-after-collapse');
/** Sets the value of "margin-after-collapse" */
void set marginAfterCollapse(String value) {
- setProperty('${Device.cssPrefix}margin-after-collapse', value, '');
+ setProperty('margin-after-collapse', value, '');
}
/** Gets the value of "margin-before" */
String get marginBefore =>
- getPropertyValue('${Device.cssPrefix}margin-before');
+ getPropertyValue('margin-before');
/** Sets the value of "margin-before" */
void set marginBefore(String value) {
- setProperty('${Device.cssPrefix}margin-before', value, '');
+ setProperty('margin-before', value, '');
}
/** Gets the value of "margin-before-collapse" */
String get marginBeforeCollapse =>
- getPropertyValue('${Device.cssPrefix}margin-before-collapse');
+ getPropertyValue('margin-before-collapse');
/** Sets the value of "margin-before-collapse" */
void set marginBeforeCollapse(String value) {
- setProperty('${Device.cssPrefix}margin-before-collapse', value, '');
+ setProperty('margin-before-collapse', value, '');
}
/** Gets the value of "margin-bottom" */
@@ -1760,29 +1805,29 @@ abstract class CssStyleDeclarationBase {
/** Gets the value of "margin-bottom-collapse" */
String get marginBottomCollapse =>
- getPropertyValue('${Device.cssPrefix}margin-bottom-collapse');
+ getPropertyValue('margin-bottom-collapse');
/** Sets the value of "margin-bottom-collapse" */
void set marginBottomCollapse(String value) {
- setProperty('${Device.cssPrefix}margin-bottom-collapse', value, '');
+ setProperty('margin-bottom-collapse', value, '');
}
/** Gets the value of "margin-collapse" */
String get marginCollapse =>
- getPropertyValue('${Device.cssPrefix}margin-collapse');
+ getPropertyValue('margin-collapse');
/** Sets the value of "margin-collapse" */
void set marginCollapse(String value) {
- setProperty('${Device.cssPrefix}margin-collapse', value, '');
+ setProperty('margin-collapse', value, '');
}
/** Gets the value of "margin-end" */
String get marginEnd =>
- getPropertyValue('${Device.cssPrefix}margin-end');
+ getPropertyValue('margin-end');
/** Sets the value of "margin-end" */
void set marginEnd(String value) {
- setProperty('${Device.cssPrefix}margin-end', value, '');
+ setProperty('margin-end', value, '');
}
/** Gets the value of "margin-left" */
@@ -1805,11 +1850,11 @@ abstract class CssStyleDeclarationBase {
/** Gets the value of "margin-start" */
String get marginStart =>
- getPropertyValue('${Device.cssPrefix}margin-start');
+ getPropertyValue('margin-start');
/** Sets the value of "margin-start" */
void set marginStart(String value) {
- setProperty('${Device.cssPrefix}margin-start', value, '');
+ setProperty('margin-start', value, '');
}
/** Gets the value of "margin-top" */
@@ -1823,236 +1868,182 @@ abstract class CssStyleDeclarationBase {
/** Gets the value of "margin-top-collapse" */
String get marginTopCollapse =>
- getPropertyValue('${Device.cssPrefix}margin-top-collapse');
+ getPropertyValue('margin-top-collapse');
/** Sets the value of "margin-top-collapse" */
void set marginTopCollapse(String value) {
- setProperty('${Device.cssPrefix}margin-top-collapse', value, '');
- }
-
- /** Gets the value of "marquee" */
- String get marquee =>
- getPropertyValue('${Device.cssPrefix}marquee');
-
- /** Sets the value of "marquee" */
- void set marquee(String value) {
- setProperty('${Device.cssPrefix}marquee', value, '');
- }
-
- /** Gets the value of "marquee-direction" */
- String get marqueeDirection =>
- getPropertyValue('${Device.cssPrefix}marquee-direction');
-
- /** Sets the value of "marquee-direction" */
- void set marqueeDirection(String value) {
- setProperty('${Device.cssPrefix}marquee-direction', value, '');
- }
-
- /** Gets the value of "marquee-increment" */
- String get marqueeIncrement =>
- getPropertyValue('${Device.cssPrefix}marquee-increment');
-
- /** Sets the value of "marquee-increment" */
- void set marqueeIncrement(String value) {
- setProperty('${Device.cssPrefix}marquee-increment', value, '');
- }
-
- /** Gets the value of "marquee-repetition" */
- String get marqueeRepetition =>
- getPropertyValue('${Device.cssPrefix}marquee-repetition');
-
- /** Sets the value of "marquee-repetition" */
- void set marqueeRepetition(String value) {
- setProperty('${Device.cssPrefix}marquee-repetition', value, '');
- }
-
- /** Gets the value of "marquee-speed" */
- String get marqueeSpeed =>
- getPropertyValue('${Device.cssPrefix}marquee-speed');
-
- /** Sets the value of "marquee-speed" */
- void set marqueeSpeed(String value) {
- setProperty('${Device.cssPrefix}marquee-speed', value, '');
- }
-
- /** Gets the value of "marquee-style" */
- String get marqueeStyle =>
- getPropertyValue('${Device.cssPrefix}marquee-style');
-
- /** Sets the value of "marquee-style" */
- void set marqueeStyle(String value) {
- setProperty('${Device.cssPrefix}marquee-style', value, '');
+ setProperty('margin-top-collapse', value, '');
}
/** Gets the value of "mask" */
String get mask =>
- getPropertyValue('${Device.cssPrefix}mask');
+ getPropertyValue('mask');
/** Sets the value of "mask" */
void set mask(String value) {
- setProperty('${Device.cssPrefix}mask', value, '');
- }
-
- /** Gets the value of "mask-attachment" */
- String get maskAttachment =>
- getPropertyValue('${Device.cssPrefix}mask-attachment');
-
- /** Sets the value of "mask-attachment" */
- void set maskAttachment(String value) {
- setProperty('${Device.cssPrefix}mask-attachment', value, '');
+ setProperty('mask', value, '');
}
/** Gets the value of "mask-box-image" */
String get maskBoxImage =>
- getPropertyValue('${Device.cssPrefix}mask-box-image');
+ getPropertyValue('mask-box-image');
/** Sets the value of "mask-box-image" */
void set maskBoxImage(String value) {
- setProperty('${Device.cssPrefix}mask-box-image', value, '');
+ setProperty('mask-box-image', value, '');
}
/** Gets the value of "mask-box-image-outset" */
String get maskBoxImageOutset =>
- getPropertyValue('${Device.cssPrefix}mask-box-image-outset');
+ getPropertyValue('mask-box-image-outset');
/** Sets the value of "mask-box-image-outset" */
void set maskBoxImageOutset(String value) {
- setProperty('${Device.cssPrefix}mask-box-image-outset', value, '');
+ setProperty('mask-box-image-outset', value, '');
}
/** Gets the value of "mask-box-image-repeat" */
String get maskBoxImageRepeat =>
- getPropertyValue('${Device.cssPrefix}mask-box-image-repeat');
+ getPropertyValue('mask-box-image-repeat');
/** Sets the value of "mask-box-image-repeat" */
void set maskBoxImageRepeat(String value) {
- setProperty('${Device.cssPrefix}mask-box-image-repeat', value, '');
+ setProperty('mask-box-image-repeat', value, '');
}
/** Gets the value of "mask-box-image-slice" */
String get maskBoxImageSlice =>
- getPropertyValue('${Device.cssPrefix}mask-box-image-slice');
+ getPropertyValue('mask-box-image-slice');
/** Sets the value of "mask-box-image-slice" */
void set maskBoxImageSlice(String value) {
- setProperty('${Device.cssPrefix}mask-box-image-slice', value, '');
+ setProperty('mask-box-image-slice', value, '');
}
/** Gets the value of "mask-box-image-source" */
String get maskBoxImageSource =>
- getPropertyValue('${Device.cssPrefix}mask-box-image-source');
+ getPropertyValue('mask-box-image-source');
/** Sets the value of "mask-box-image-source" */
void set maskBoxImageSource(String value) {
- setProperty('${Device.cssPrefix}mask-box-image-source', value, '');
+ setProperty('mask-box-image-source', value, '');
}
/** Gets the value of "mask-box-image-width" */
String get maskBoxImageWidth =>
- getPropertyValue('${Device.cssPrefix}mask-box-image-width');
+ getPropertyValue('mask-box-image-width');
/** Sets the value of "mask-box-image-width" */
void set maskBoxImageWidth(String value) {
- setProperty('${Device.cssPrefix}mask-box-image-width', value, '');
+ setProperty('mask-box-image-width', value, '');
}
/** Gets the value of "mask-clip" */
String get maskClip =>
- getPropertyValue('${Device.cssPrefix}mask-clip');
+ getPropertyValue('mask-clip');
/** Sets the value of "mask-clip" */
void set maskClip(String value) {
- setProperty('${Device.cssPrefix}mask-clip', value, '');
+ setProperty('mask-clip', value, '');
}
/** Gets the value of "mask-composite" */
String get maskComposite =>
- getPropertyValue('${Device.cssPrefix}mask-composite');
+ getPropertyValue('mask-composite');
/** Sets the value of "mask-composite" */
void set maskComposite(String value) {
- setProperty('${Device.cssPrefix}mask-composite', value, '');
+ setProperty('mask-composite', value, '');
}
/** Gets the value of "mask-image" */
String get maskImage =>
- getPropertyValue('${Device.cssPrefix}mask-image');
+ getPropertyValue('mask-image');
/** Sets the value of "mask-image" */
void set maskImage(String value) {
- setProperty('${Device.cssPrefix}mask-image', value, '');
+ setProperty('mask-image', value, '');
}
/** Gets the value of "mask-origin" */
String get maskOrigin =>
- getPropertyValue('${Device.cssPrefix}mask-origin');
+ getPropertyValue('mask-origin');
/** Sets the value of "mask-origin" */
void set maskOrigin(String value) {
- setProperty('${Device.cssPrefix}mask-origin', value, '');
+ setProperty('mask-origin', value, '');
}
/** Gets the value of "mask-position" */
String get maskPosition =>
- getPropertyValue('${Device.cssPrefix}mask-position');
+ getPropertyValue('mask-position');
/** Sets the value of "mask-position" */
void set maskPosition(String value) {
- setProperty('${Device.cssPrefix}mask-position', value, '');
+ setProperty('mask-position', value, '');
}
/** Gets the value of "mask-position-x" */
String get maskPositionX =>
- getPropertyValue('${Device.cssPrefix}mask-position-x');
+ getPropertyValue('mask-position-x');
/** Sets the value of "mask-position-x" */
void set maskPositionX(String value) {
- setProperty('${Device.cssPrefix}mask-position-x', value, '');
+ setProperty('mask-position-x', value, '');
}
/** Gets the value of "mask-position-y" */
String get maskPositionY =>
- getPropertyValue('${Device.cssPrefix}mask-position-y');
+ getPropertyValue('mask-position-y');
/** Sets the value of "mask-position-y" */
void set maskPositionY(String value) {
- setProperty('${Device.cssPrefix}mask-position-y', value, '');
+ setProperty('mask-position-y', value, '');
}
/** Gets the value of "mask-repeat" */
String get maskRepeat =>
- getPropertyValue('${Device.cssPrefix}mask-repeat');
+ getPropertyValue('mask-repeat');
/** Sets the value of "mask-repeat" */
void set maskRepeat(String value) {
- setProperty('${Device.cssPrefix}mask-repeat', value, '');
+ setProperty('mask-repeat', value, '');
}
/** Gets the value of "mask-repeat-x" */
String get maskRepeatX =>
- getPropertyValue('${Device.cssPrefix}mask-repeat-x');
+ getPropertyValue('mask-repeat-x');
/** Sets the value of "mask-repeat-x" */
void set maskRepeatX(String value) {
- setProperty('${Device.cssPrefix}mask-repeat-x', value, '');
+ setProperty('mask-repeat-x', value, '');
}
/** Gets the value of "mask-repeat-y" */
String get maskRepeatY =>
- getPropertyValue('${Device.cssPrefix}mask-repeat-y');
+ getPropertyValue('mask-repeat-y');
/** Sets the value of "mask-repeat-y" */
void set maskRepeatY(String value) {
- setProperty('${Device.cssPrefix}mask-repeat-y', value, '');
+ setProperty('mask-repeat-y', value, '');
}
/** Gets the value of "mask-size" */
String get maskSize =>
- getPropertyValue('${Device.cssPrefix}mask-size');
+ getPropertyValue('mask-size');
/** Sets the value of "mask-size" */
void set maskSize(String value) {
- setProperty('${Device.cssPrefix}mask-size', value, '');
+ setProperty('mask-size', value, '');
+ }
+
+ /** Gets the value of "mask-source-type" */
+ String get maskSourceType =>
+ getPropertyValue('mask-source-type');
+
+ /** Sets the value of "mask-source-type" */
+ void set maskSourceType(String value) {
+ setProperty('mask-source-type', value, '');
}
/** Gets the value of "max-height" */
@@ -2066,20 +2057,20 @@ abstract class CssStyleDeclarationBase {
/** Gets the value of "max-logical-height" */
String get maxLogicalHeight =>
- getPropertyValue('${Device.cssPrefix}max-logical-height');
+ getPropertyValue('max-logical-height');
/** Sets the value of "max-logical-height" */
void set maxLogicalHeight(String value) {
- setProperty('${Device.cssPrefix}max-logical-height', value, '');
+ setProperty('max-logical-height', value, '');
}
/** Gets the value of "max-logical-width" */
String get maxLogicalWidth =>
- getPropertyValue('${Device.cssPrefix}max-logical-width');
+ getPropertyValue('max-logical-width');
/** Sets the value of "max-logical-width" */
void set maxLogicalWidth(String value) {
- setProperty('${Device.cssPrefix}max-logical-width', value, '');
+ setProperty('max-logical-width', value, '');
}
/** Gets the value of "max-width" */
@@ -2111,20 +2102,20 @@ abstract class CssStyleDeclarationBase {
/** Gets the value of "min-logical-height" */
String get minLogicalHeight =>
- getPropertyValue('${Device.cssPrefix}min-logical-height');
+ getPropertyValue('min-logical-height');
/** Sets the value of "min-logical-height" */
void set minLogicalHeight(String value) {
- setProperty('${Device.cssPrefix}min-logical-height', value, '');
+ setProperty('min-logical-height', value, '');
}
/** Gets the value of "min-logical-width" */
String get minLogicalWidth =>
- getPropertyValue('${Device.cssPrefix}min-logical-width');
+ getPropertyValue('min-logical-width');
/** Sets the value of "min-logical-width" */
void set minLogicalWidth(String value) {
- setProperty('${Device.cssPrefix}min-logical-width', value, '');
+ setProperty('min-logical-width', value, '');
}
/** Gets the value of "min-width" */
@@ -2145,13 +2136,31 @@ abstract class CssStyleDeclarationBase {
setProperty('min-zoom', value, '');
}
- /** Gets the value of "nbsp-mode" */
- String get nbspMode =>
- getPropertyValue('${Device.cssPrefix}nbsp-mode');
+ /** Gets the value of "mix-blend-mode" */
+ String get mixBlendMode =>
+ getPropertyValue('mix-blend-mode');
+
+ /** Sets the value of "mix-blend-mode" */
+ void set mixBlendMode(String value) {
+ setProperty('mix-blend-mode', value, '');
+ }
+
+ /** Gets the value of "object-fit" */
+ String get objectFit =>
+ getPropertyValue('object-fit');
+
+ /** Sets the value of "object-fit" */
+ void set objectFit(String value) {
+ setProperty('object-fit', value, '');
+ }
+
+ /** Gets the value of "object-position" */
+ String get objectPosition =>
+ getPropertyValue('object-position');
- /** Sets the value of "nbsp-mode" */
- void set nbspMode(String value) {
- setProperty('${Device.cssPrefix}nbsp-mode', value, '');
+ /** Sets the value of "object-position" */
+ void set objectPosition(String value) {
+ setProperty('object-position', value, '');
}
/** Gets the value of "opacity" */
@@ -2165,11 +2174,11 @@ abstract class CssStyleDeclarationBase {
/** Gets the value of "order" */
String get order =>
- getPropertyValue('${Device.cssPrefix}order');
+ getPropertyValue('order');
/** Sets the value of "order" */
void set order(String value) {
- setProperty('${Device.cssPrefix}order', value, '');
+ setProperty('order', value, '');
}
/** Gets the value of "orientation" */
@@ -2244,15 +2253,6 @@ abstract class CssStyleDeclarationBase {
setProperty('overflow', value, '');
}
- /** Gets the value of "overflow-scrolling" */
- String get overflowScrolling =>
- getPropertyValue('${Device.cssPrefix}overflow-scrolling');
-
- /** Sets the value of "overflow-scrolling" */
- void set overflowScrolling(String value) {
- setProperty('${Device.cssPrefix}overflow-scrolling', value, '');
- }
-
/** Gets the value of "overflow-wrap" */
String get overflowWrap =>
getPropertyValue('overflow-wrap');
@@ -2291,20 +2291,20 @@ abstract class CssStyleDeclarationBase {
/** Gets the value of "padding-after" */
String get paddingAfter =>
- getPropertyValue('${Device.cssPrefix}padding-after');
+ getPropertyValue('padding-after');
/** Sets the value of "padding-after" */
void set paddingAfter(String value) {
- setProperty('${Device.cssPrefix}padding-after', value, '');
+ setProperty('padding-after', value, '');
}
/** Gets the value of "padding-before" */
String get paddingBefore =>
- getPropertyValue('${Device.cssPrefix}padding-before');
+ getPropertyValue('padding-before');
/** Sets the value of "padding-before" */
void set paddingBefore(String value) {
- setProperty('${Device.cssPrefix}padding-before', value, '');
+ setProperty('padding-before', value, '');
}
/** Gets the value of "padding-bottom" */
@@ -2318,11 +2318,11 @@ abstract class CssStyleDeclarationBase {
/** Gets the value of "padding-end" */
String get paddingEnd =>
- getPropertyValue('${Device.cssPrefix}padding-end');
+ getPropertyValue('padding-end');
/** Sets the value of "padding-end" */
void set paddingEnd(String value) {
- setProperty('${Device.cssPrefix}padding-end', value, '');
+ setProperty('padding-end', value, '');
}
/** Gets the value of "padding-left" */
@@ -2345,11 +2345,11 @@ abstract class CssStyleDeclarationBase {
/** Gets the value of "padding-start" */
String get paddingStart =>
- getPropertyValue('${Device.cssPrefix}padding-start');
+ getPropertyValue('padding-start');
/** Sets the value of "padding-start" */
void set paddingStart(String value) {
- setProperty('${Device.cssPrefix}padding-start', value, '');
+ setProperty('padding-start', value, '');
}
/** Gets the value of "padding-top" */
@@ -2399,38 +2399,38 @@ abstract class CssStyleDeclarationBase {
/** Gets the value of "perspective" */
String get perspective =>
- getPropertyValue('${Device.cssPrefix}perspective');
+ getPropertyValue('perspective');
/** Sets the value of "perspective" */
void set perspective(String value) {
- setProperty('${Device.cssPrefix}perspective', value, '');
+ setProperty('perspective', value, '');
}
/** Gets the value of "perspective-origin" */
String get perspectiveOrigin =>
- getPropertyValue('${Device.cssPrefix}perspective-origin');
+ getPropertyValue('perspective-origin');
/** Sets the value of "perspective-origin" */
void set perspectiveOrigin(String value) {
- setProperty('${Device.cssPrefix}perspective-origin', value, '');
+ setProperty('perspective-origin', value, '');
}
/** Gets the value of "perspective-origin-x" */
String get perspectiveOriginX =>
- getPropertyValue('${Device.cssPrefix}perspective-origin-x');
+ getPropertyValue('perspective-origin-x');
/** Sets the value of "perspective-origin-x" */
void set perspectiveOriginX(String value) {
- setProperty('${Device.cssPrefix}perspective-origin-x', value, '');
+ setProperty('perspective-origin-x', value, '');
}
/** Gets the value of "perspective-origin-y" */
String get perspectiveOriginY =>
- getPropertyValue('${Device.cssPrefix}perspective-origin-y');
+ getPropertyValue('perspective-origin-y');
/** Sets the value of "perspective-origin-y" */
void set perspectiveOriginY(String value) {
- setProperty('${Device.cssPrefix}perspective-origin-y', value, '');
+ setProperty('perspective-origin-y', value, '');
}
/** Gets the value of "pointer-events" */
@@ -2453,11 +2453,11 @@ abstract class CssStyleDeclarationBase {
/** Gets the value of "print-color-adjust" */
String get printColorAdjust =>
- getPropertyValue('${Device.cssPrefix}print-color-adjust');
+ getPropertyValue('print-color-adjust');
/** Sets the value of "print-color-adjust" */
void set printColorAdjust(String value) {
- setProperty('${Device.cssPrefix}print-color-adjust', value, '');
+ setProperty('print-color-adjust', value, '');
}
/** Gets the value of "quotes" */
@@ -2469,42 +2469,6 @@ abstract class CssStyleDeclarationBase {
setProperty('quotes', value, '');
}
- /** Gets the value of "region-break-after" */
- String get regionBreakAfter =>
- getPropertyValue('${Device.cssPrefix}region-break-after');
-
- /** Sets the value of "region-break-after" */
- void set regionBreakAfter(String value) {
- setProperty('${Device.cssPrefix}region-break-after', value, '');
- }
-
- /** Gets the value of "region-break-before" */
- String get regionBreakBefore =>
- getPropertyValue('${Device.cssPrefix}region-break-before');
-
- /** Sets the value of "region-break-before" */
- void set regionBreakBefore(String value) {
- setProperty('${Device.cssPrefix}region-break-before', value, '');
- }
-
- /** Gets the value of "region-break-inside" */
- String get regionBreakInside =>
- getPropertyValue('${Device.cssPrefix}region-break-inside');
-
- /** Sets the value of "region-break-inside" */
- void set regionBreakInside(String value) {
- setProperty('${Device.cssPrefix}region-break-inside', value, '');
- }
-
- /** Gets the value of "region-overflow" */
- String get regionOverflow =>
- getPropertyValue('${Device.cssPrefix}region-overflow');
-
- /** Sets the value of "region-overflow" */
- void set regionOverflow(String value) {
- setProperty('${Device.cssPrefix}region-overflow', value, '');
- }
-
/** Gets the value of "resize" */
String get resize =>
getPropertyValue('resize');
@@ -2525,47 +2489,56 @@ abstract class CssStyleDeclarationBase {
/** Gets the value of "rtl-ordering" */
String get rtlOrdering =>
- getPropertyValue('${Device.cssPrefix}rtl-ordering');
+ getPropertyValue('rtl-ordering');
/** Sets the value of "rtl-ordering" */
void set rtlOrdering(String value) {
- setProperty('${Device.cssPrefix}rtl-ordering', value, '');
+ setProperty('rtl-ordering', value, '');
}
- /** Gets the value of "shape-inside" */
- String get shapeInside =>
- getPropertyValue('${Device.cssPrefix}shape-inside');
+ /** Gets the value of "ruby-position" */
+ String get rubyPosition =>
+ getPropertyValue('ruby-position');
- /** Sets the value of "shape-inside" */
- void set shapeInside(String value) {
- setProperty('${Device.cssPrefix}shape-inside', value, '');
+ /** Sets the value of "ruby-position" */
+ void set rubyPosition(String value) {
+ setProperty('ruby-position', value, '');
+ }
+
+ /** Gets the value of "scroll-behavior" */
+ String get scrollBehavior =>
+ getPropertyValue('scroll-behavior');
+
+ /** Sets the value of "scroll-behavior" */
+ void set scrollBehavior(String value) {
+ setProperty('scroll-behavior', value, '');
+ }
+
+ /** Gets the value of "shape-image-threshold" */
+ String get shapeImageThreshold =>
+ getPropertyValue('shape-image-threshold');
+
+ /** Sets the value of "shape-image-threshold" */
+ void set shapeImageThreshold(String value) {
+ setProperty('shape-image-threshold', value, '');
}
/** Gets the value of "shape-margin" */
String get shapeMargin =>
- getPropertyValue('${Device.cssPrefix}shape-margin');
+ getPropertyValue('shape-margin');
/** Sets the value of "shape-margin" */
void set shapeMargin(String value) {
- setProperty('${Device.cssPrefix}shape-margin', value, '');
+ setProperty('shape-margin', value, '');
}
/** Gets the value of "shape-outside" */
String get shapeOutside =>
- getPropertyValue('${Device.cssPrefix}shape-outside');
+ getPropertyValue('shape-outside');
/** Sets the value of "shape-outside" */
void set shapeOutside(String value) {
- setProperty('${Device.cssPrefix}shape-outside', value, '');
- }
-
- /** Gets the value of "shape-padding" */
- String get shapePadding =>
- getPropertyValue('${Device.cssPrefix}shape-padding');
-
- /** Sets the value of "shape-padding" */
- void set shapePadding(String value) {
- setProperty('${Device.cssPrefix}shape-padding', value, '');
+ setProperty('shape-outside', value, '');
}
/** Gets the value of "size" */
@@ -2615,11 +2588,11 @@ abstract class CssStyleDeclarationBase {
/** Gets the value of "tap-highlight-color" */
String get tapHighlightColor =>
- getPropertyValue('${Device.cssPrefix}tap-highlight-color');
+ getPropertyValue('tap-highlight-color');
/** Sets the value of "tap-highlight-color" */
void set tapHighlightColor(String value) {
- setProperty('${Device.cssPrefix}tap-highlight-color', value, '');
+ setProperty('tap-highlight-color', value, '');
}
/** Gets the value of "text-align" */
@@ -2633,20 +2606,20 @@ abstract class CssStyleDeclarationBase {
/** Gets the value of "text-align-last" */
String get textAlignLast =>
- getPropertyValue('${Device.cssPrefix}text-align-last');
+ getPropertyValue('text-align-last');
/** Sets the value of "text-align-last" */
void set textAlignLast(String value) {
- setProperty('${Device.cssPrefix}text-align-last', value, '');
+ setProperty('text-align-last', value, '');
}
/** Gets the value of "text-combine" */
String get textCombine =>
- getPropertyValue('${Device.cssPrefix}text-combine');
+ getPropertyValue('text-combine');
/** Sets the value of "text-combine" */
void set textCombine(String value) {
- setProperty('${Device.cssPrefix}text-combine', value, '');
+ setProperty('text-combine', value, '');
}
/** Gets the value of "text-decoration" */
@@ -2658,76 +2631,85 @@ abstract class CssStyleDeclarationBase {
setProperty('text-decoration', value, '');
}
+ /** Gets the value of "text-decoration-color" */
+ String get textDecorationColor =>
+ getPropertyValue('text-decoration-color');
+
+ /** Sets the value of "text-decoration-color" */
+ void set textDecorationColor(String value) {
+ setProperty('text-decoration-color', value, '');
+ }
+
/** Gets the value of "text-decoration-line" */
String get textDecorationLine =>
- getPropertyValue('${Device.cssPrefix}text-decoration-line');
+ getPropertyValue('text-decoration-line');
/** Sets the value of "text-decoration-line" */
void set textDecorationLine(String value) {
- setProperty('${Device.cssPrefix}text-decoration-line', value, '');
+ setProperty('text-decoration-line', value, '');
}
/** Gets the value of "text-decoration-style" */
String get textDecorationStyle =>
- getPropertyValue('${Device.cssPrefix}text-decoration-style');
+ getPropertyValue('text-decoration-style');
/** Sets the value of "text-decoration-style" */
void set textDecorationStyle(String value) {
- setProperty('${Device.cssPrefix}text-decoration-style', value, '');
+ setProperty('text-decoration-style', value, '');
}
/** Gets the value of "text-decorations-in-effect" */
String get textDecorationsInEffect =>
- getPropertyValue('${Device.cssPrefix}text-decorations-in-effect');
+ getPropertyValue('text-decorations-in-effect');
/** Sets the value of "text-decorations-in-effect" */
void set textDecorationsInEffect(String value) {
- setProperty('${Device.cssPrefix}text-decorations-in-effect', value, '');
+ setProperty('text-decorations-in-effect', value, '');
}
/** Gets the value of "text-emphasis" */
String get textEmphasis =>
- getPropertyValue('${Device.cssPrefix}text-emphasis');
+ getPropertyValue('text-emphasis');
/** Sets the value of "text-emphasis" */
void set textEmphasis(String value) {
- setProperty('${Device.cssPrefix}text-emphasis', value, '');
+ setProperty('text-emphasis', value, '');
}
/** Gets the value of "text-emphasis-color" */
String get textEmphasisColor =>
- getPropertyValue('${Device.cssPrefix}text-emphasis-color');
+ getPropertyValue('text-emphasis-color');
/** Sets the value of "text-emphasis-color" */
void set textEmphasisColor(String value) {
- setProperty('${Device.cssPrefix}text-emphasis-color', value, '');
+ setProperty('text-emphasis-color', value, '');
}
/** Gets the value of "text-emphasis-position" */
String get textEmphasisPosition =>
- getPropertyValue('${Device.cssPrefix}text-emphasis-position');
+ getPropertyValue('text-emphasis-position');
/** Sets the value of "text-emphasis-position" */
void set textEmphasisPosition(String value) {
- setProperty('${Device.cssPrefix}text-emphasis-position', value, '');
+ setProperty('text-emphasis-position', value, '');
}
/** Gets the value of "text-emphasis-style" */
String get textEmphasisStyle =>
- getPropertyValue('${Device.cssPrefix}text-emphasis-style');
+ getPropertyValue('text-emphasis-style');
/** Sets the value of "text-emphasis-style" */
void set textEmphasisStyle(String value) {
- setProperty('${Device.cssPrefix}text-emphasis-style', value, '');
+ setProperty('text-emphasis-style', value, '');
}
/** Gets the value of "text-fill-color" */
String get textFillColor =>
- getPropertyValue('${Device.cssPrefix}text-fill-color');
+ getPropertyValue('text-fill-color');
/** Sets the value of "text-fill-color" */
void set textFillColor(String value) {
- setProperty('${Device.cssPrefix}text-fill-color', value, '');
+ setProperty('text-fill-color', value, '');
}
/** Gets the value of "text-indent" */
@@ -2739,13 +2721,13 @@ abstract class CssStyleDeclarationBase {
setProperty('text-indent', value, '');
}
- /** Gets the value of "text-line-through" */
- String get textLineThrough =>
- getPropertyValue('text-line-through');
+ /** Gets the value of "text-justify" */
+ String get textJustify =>
+ getPropertyValue('text-justify');
- /** Sets the value of "text-line-through" */
- void set textLineThrough(String value) {
- setProperty('text-line-through', value, '');
+ /** Sets the value of "text-justify" */
+ void set textJustify(String value) {
+ setProperty('text-justify', value, '');
}
/** Gets the value of "text-line-through-color" */
@@ -2786,11 +2768,11 @@ abstract class CssStyleDeclarationBase {
/** Gets the value of "text-orientation" */
String get textOrientation =>
- getPropertyValue('${Device.cssPrefix}text-orientation');
+ getPropertyValue('text-orientation');
/** Sets the value of "text-orientation" */
void set textOrientation(String value) {
- setProperty('${Device.cssPrefix}text-orientation', value, '');
+ setProperty('text-orientation', value, '');
}
/** Gets the value of "text-overflow" */
@@ -2802,15 +2784,6 @@ abstract class CssStyleDeclarationBase {
setProperty('text-overflow', value, '');
}
- /** Gets the value of "text-overline" */
- String get textOverline =>
- getPropertyValue('text-overline');
-
- /** Sets the value of "text-overline" */
- void set textOverline(String value) {
- setProperty('text-overline', value, '');
- }
-
/** Gets the value of "text-overline-color" */
String get textOverlineColor =>
getPropertyValue('text-overline-color');
@@ -2858,11 +2831,11 @@ abstract class CssStyleDeclarationBase {
/** Gets the value of "text-security" */
String get textSecurity =>
- getPropertyValue('${Device.cssPrefix}text-security');
+ getPropertyValue('text-security');
/** Sets the value of "text-security" */
void set textSecurity(String value) {
- setProperty('${Device.cssPrefix}text-security', value, '');
+ setProperty('text-security', value, '');
}
/** Gets the value of "text-shadow" */
@@ -2874,40 +2847,31 @@ abstract class CssStyleDeclarationBase {
setProperty('text-shadow', value, '');
}
- /** Gets the value of "text-size-adjust" */
- String get textSizeAdjust =>
- getPropertyValue('${Device.cssPrefix}text-size-adjust');
-
- /** Sets the value of "text-size-adjust" */
- void set textSizeAdjust(String value) {
- setProperty('${Device.cssPrefix}text-size-adjust', value, '');
- }
-
/** Gets the value of "text-stroke" */
String get textStroke =>
- getPropertyValue('${Device.cssPrefix}text-stroke');
+ getPropertyValue('text-stroke');
/** Sets the value of "text-stroke" */
void set textStroke(String value) {
- setProperty('${Device.cssPrefix}text-stroke', value, '');
+ setProperty('text-stroke', value, '');
}
/** Gets the value of "text-stroke-color" */
String get textStrokeColor =>
- getPropertyValue('${Device.cssPrefix}text-stroke-color');
+ getPropertyValue('text-stroke-color');
/** Sets the value of "text-stroke-color" */
void set textStrokeColor(String value) {
- setProperty('${Device.cssPrefix}text-stroke-color', value, '');
+ setProperty('text-stroke-color', value, '');
}
/** Gets the value of "text-stroke-width" */
String get textStrokeWidth =>
- getPropertyValue('${Device.cssPrefix}text-stroke-width');
+ getPropertyValue('text-stroke-width');
/** Sets the value of "text-stroke-width" */
void set textStrokeWidth(String value) {
- setProperty('${Device.cssPrefix}text-stroke-width', value, '');
+ setProperty('text-stroke-width', value, '');
}
/** Gets the value of "text-transform" */
@@ -2919,15 +2883,6 @@ abstract class CssStyleDeclarationBase {
setProperty('text-transform', value, '');
}
- /** Gets the value of "text-underline" */
- String get textUnderline =>
- getPropertyValue('text-underline');
-
- /** Sets the value of "text-underline" */
- void set textUnderline(String value) {
- setProperty('text-underline', value, '');
- }
-
/** Gets the value of "text-underline-color" */
String get textUnderlineColor =>
getPropertyValue('text-underline-color');
@@ -2946,6 +2901,15 @@ abstract class CssStyleDeclarationBase {
setProperty('text-underline-mode', value, '');
}
+ /** Gets the value of "text-underline-position" */
+ String get textUnderlinePosition =>
+ getPropertyValue('text-underline-position');
+
+ /** Sets the value of "text-underline-position" */
+ void set textUnderlinePosition(String value) {
+ setProperty('text-underline-position', value, '');
+ }
+
/** Gets the value of "text-underline-style" */
String get textUnderlineStyle =>
getPropertyValue('text-underline-style');
@@ -2973,111 +2937,127 @@ abstract class CssStyleDeclarationBase {
setProperty('top', value, '');
}
+ /** Gets the value of "touch-action" */
+ String get touchAction =>
+ getPropertyValue('touch-action');
+
+ /** Sets the value of "touch-action" */
+ void set touchAction(String value) {
+ setProperty('touch-action', value, '');
+ }
+
+ /** Gets the value of "touch-action-delay" */
+ String get touchActionDelay =>
+ getPropertyValue('touch-action-delay');
+
+ /** Sets the value of "touch-action-delay" */
+ void set touchActionDelay(String value) {
+ setProperty('touch-action-delay', value, '');
+ }
+
/** Gets the value of "transform" */
String get transform =>
- getPropertyValue('${Device.cssPrefix}transform');
+ getPropertyValue('transform');
/** Sets the value of "transform" */
void set transform(String value) {
- setProperty('${Device.cssPrefix}transform', value, '');
+ setProperty('transform', value, '');
}
/** Gets the value of "transform-origin" */
String get transformOrigin =>
- getPropertyValue('${Device.cssPrefix}transform-origin');
+ getPropertyValue('transform-origin');
/** Sets the value of "transform-origin" */
void set transformOrigin(String value) {
- setProperty('${Device.cssPrefix}transform-origin', value, '');
+ setProperty('transform-origin', value, '');
}
/** Gets the value of "transform-origin-x" */
String get transformOriginX =>
- getPropertyValue('${Device.cssPrefix}transform-origin-x');
+ getPropertyValue('transform-origin-x');
/** Sets the value of "transform-origin-x" */
void set transformOriginX(String value) {
- setProperty('${Device.cssPrefix}transform-origin-x', value, '');
+ setProperty('transform-origin-x', value, '');
}
/** Gets the value of "transform-origin-y" */
String get transformOriginY =>
- getPropertyValue('${Device.cssPrefix}transform-origin-y');
+ getPropertyValue('transform-origin-y');
/** Sets the value of "transform-origin-y" */
void set transformOriginY(String value) {
- setProperty('${Device.cssPrefix}transform-origin-y', value, '');
+ setProperty('transform-origin-y', value, '');
}
/** Gets the value of "transform-origin-z" */
String get transformOriginZ =>
- getPropertyValue('${Device.cssPrefix}transform-origin-z');
+ getPropertyValue('transform-origin-z');
/** Sets the value of "transform-origin-z" */
void set transformOriginZ(String value) {
- setProperty('${Device.cssPrefix}transform-origin-z', value, '');
+ setProperty('transform-origin-z', value, '');
}
/** Gets the value of "transform-style" */
String get transformStyle =>
- getPropertyValue('${Device.cssPrefix}transform-style');
+ getPropertyValue('transform-style');
/** Sets the value of "transform-style" */
void set transformStyle(String value) {
- setProperty('${Device.cssPrefix}transform-style', value, '');
+ setProperty('transform-style', value, '');
}
- /** Gets the value of "transition" */
- @SupportedBrowser(SupportedBrowser.CHROME)
+ /** Gets the value of "transition" */@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.FIREFOX)
@SupportedBrowser(SupportedBrowser.IE, '10')
@SupportedBrowser(SupportedBrowser.SAFARI)
String get transition =>
- getPropertyValue('${Device.cssPrefix}transition');
+ getPropertyValue('transition');
- /** Sets the value of "transition" */
- @SupportedBrowser(SupportedBrowser.CHROME)
+ /** Sets the value of "transition" */@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.FIREFOX)
@SupportedBrowser(SupportedBrowser.IE, '10')
@SupportedBrowser(SupportedBrowser.SAFARI)
void set transition(String value) {
- setProperty('${Device.cssPrefix}transition', value, '');
+ setProperty('transition', value, '');
}
/** Gets the value of "transition-delay" */
String get transitionDelay =>
- getPropertyValue('${Device.cssPrefix}transition-delay');
+ getPropertyValue('transition-delay');
/** Sets the value of "transition-delay" */
void set transitionDelay(String value) {
- setProperty('${Device.cssPrefix}transition-delay', value, '');
+ setProperty('transition-delay', value, '');
}
/** Gets the value of "transition-duration" */
String get transitionDuration =>
- getPropertyValue('${Device.cssPrefix}transition-duration');
+ getPropertyValue('transition-duration');
/** Sets the value of "transition-duration" */
void set transitionDuration(String value) {
- setProperty('${Device.cssPrefix}transition-duration', value, '');
+ setProperty('transition-duration', value, '');
}
/** Gets the value of "transition-property" */
String get transitionProperty =>
- getPropertyValue('${Device.cssPrefix}transition-property');
+ getPropertyValue('transition-property');
/** Sets the value of "transition-property" */
void set transitionProperty(String value) {
- setProperty('${Device.cssPrefix}transition-property', value, '');
+ setProperty('transition-property', value, '');
}
/** Gets the value of "transition-timing-function" */
String get transitionTimingFunction =>
- getPropertyValue('${Device.cssPrefix}transition-timing-function');
+ getPropertyValue('transition-timing-function');
/** Sets the value of "transition-timing-function" */
void set transitionTimingFunction(String value) {
- setProperty('${Device.cssPrefix}transition-timing-function', value, '');
+ setProperty('transition-timing-function', value, '');
}
/** Gets the value of "unicode-bidi" */
@@ -3100,29 +3080,29 @@ abstract class CssStyleDeclarationBase {
/** Gets the value of "user-drag" */
String get userDrag =>
- getPropertyValue('${Device.cssPrefix}user-drag');
+ getPropertyValue('user-drag');
/** Sets the value of "user-drag" */
void set userDrag(String value) {
- setProperty('${Device.cssPrefix}user-drag', value, '');
+ setProperty('user-drag', value, '');
}
/** Gets the value of "user-modify" */
String get userModify =>
- getPropertyValue('${Device.cssPrefix}user-modify');
+ getPropertyValue('user-modify');
/** Sets the value of "user-modify" */
void set userModify(String value) {
- setProperty('${Device.cssPrefix}user-modify', value, '');
+ setProperty('user-modify', value, '');
}
/** Gets the value of "user-select" */
String get userSelect =>
- getPropertyValue('${Device.cssPrefix}user-select');
+ getPropertyValue('user-select');
/** Sets the value of "user-select" */
void set userSelect(String value) {
- setProperty('${Device.cssPrefix}user-select', value, '');
+ setProperty('user-select', value, '');
}
/** Gets the value of "user-zoom" */
@@ -3179,6 +3159,15 @@ abstract class CssStyleDeclarationBase {
setProperty('width', value, '');
}
+ /** Gets the value of "will-change" */
+ String get willChange =>
+ getPropertyValue('will-change');
+
+ /** Sets the value of "will-change" */
+ void set willChange(String value) {
+ setProperty('will-change', value, '');
+ }
+
/** Gets the value of "word-break" */
String get wordBreak =>
getPropertyValue('word-break');
@@ -3206,40 +3195,31 @@ abstract class CssStyleDeclarationBase {
setProperty('word-wrap', value, '');
}
- /** Gets the value of "wrap" */
- String get wrap =>
- getPropertyValue('${Device.cssPrefix}wrap');
-
- /** Sets the value of "wrap" */
- void set wrap(String value) {
- setProperty('${Device.cssPrefix}wrap', value, '');
- }
-
/** Gets the value of "wrap-flow" */
String get wrapFlow =>
- getPropertyValue('${Device.cssPrefix}wrap-flow');
+ getPropertyValue('wrap-flow');
/** Sets the value of "wrap-flow" */
void set wrapFlow(String value) {
- setProperty('${Device.cssPrefix}wrap-flow', value, '');
+ setProperty('wrap-flow', value, '');
}
/** Gets the value of "wrap-through" */
String get wrapThrough =>
- getPropertyValue('${Device.cssPrefix}wrap-through');
+ getPropertyValue('wrap-through');
/** Sets the value of "wrap-through" */
void set wrapThrough(String value) {
- setProperty('${Device.cssPrefix}wrap-through', value, '');
+ setProperty('wrap-through', value, '');
}
/** Gets the value of "writing-mode" */
String get writingMode =>
- getPropertyValue('${Device.cssPrefix}writing-mode');
+ getPropertyValue('writing-mode');
/** Sets the value of "writing-mode" */
void set writingMode(String value) {
- setProperty('${Device.cssPrefix}writing-mode', value, '');
+ setProperty('writing-mode', value, '');
}
/** Gets the value of "z-index" */
« no previous file with comments | « tools/dom/scripts/systemhtml.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698