aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom
diff options
context:
space:
mode:
authorDaniel Robertson <dan.robertson@anidata.org>2016-04-17 22:07:36 -0400
committerDaniel Robertson <dan.robertson@anidata.org>2016-04-24 14:04:40 -0400
commit2d9d31ee04553446546763e88ff8fedd01aba63e (patch)
treebcd27f402de003e0c11970b0a3d0c64687e7aae3 /components/script/dom
parent1946c71a9612260fefda89c528e41a1b259365c5 (diff)
downloadservo-2d9d31ee04553446546763e88ff8fedd01aba63e.tar.gz
servo-2d9d31ee04553446546763e88ff8fedd01aba63e.zip
Add style property for flex-basis
Add the style property for flex-basis. The property should allow all values acceptable for `width`|`height` with the addition of `content`.
Diffstat (limited to 'components/script/dom')
-rw-r--r--components/script/dom/webidls/CSSStyleDeclaration.webidl2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/dom/webidls/CSSStyleDeclaration.webidl b/components/script/dom/webidls/CSSStyleDeclaration.webidl
index 10cf77ccc83..567167024ee 100644
--- a/components/script/dom/webidls/CSSStyleDeclaration.webidl
+++ b/components/script/dom/webidls/CSSStyleDeclaration.webidl
@@ -310,5 +310,7 @@ partial interface CSSStyleDeclaration {
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString flexDirection;
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString flex-direction;
+ [SetterThrows, TreatNullAs=EmptyString] attribute DOMString flexBasis;
+ [SetterThrows, TreatNullAs=EmptyString] attribute DOMString flex-basis;
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString order;
};