aboutsummaryrefslogtreecommitdiffstats
path: root/components/script
diff options
context:
space:
mode:
authorPu Xingyu <pu.stshine@gmail.com>2016-06-16 15:23:31 +0800
committerPu Xingyu <pu.stshine@gmail.com>2016-06-30 12:56:25 +0800
commit7badba01ead797a883e27aa656a9d9051bfd7efb (patch)
tree475bc4eec1d85dd3cca8f4e9f0e60d44bf11acb5 /components/script
parent461d7c4eebaebf27c369b30c318e56ee2796275d (diff)
downloadservo-7badba01ead797a883e27aa656a9d9051bfd7efb.tar.gz
servo-7badba01ead797a883e27aa656a9d9051bfd7efb.zip
Support flexbox shorthand properties
Support the `flex` and `flex-flow` shorthand properties in servo. Currently they are marked as experimental, so they are added to '__dir__.ini'. Thanks SimonSapin and jdm for help :)
Diffstat (limited to 'components/script')
-rw-r--r--components/script/dom/webidls/CSSStyleDeclaration.webidl3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/script/dom/webidls/CSSStyleDeclaration.webidl b/components/script/dom/webidls/CSSStyleDeclaration.webidl
index 8d587b9760a..02864d39a77 100644
--- a/components/script/dom/webidls/CSSStyleDeclaration.webidl
+++ b/components/script/dom/webidls/CSSStyleDeclaration.webidl
@@ -308,6 +308,9 @@ partial interface CSSStyleDeclaration {
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString transitionDelay;
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString transition-delay;
+ [SetterThrows, TreatNullAs=EmptyString] attribute DOMString flex;
+ [SetterThrows, TreatNullAs=EmptyString] attribute DOMString flexFlow;
+ [SetterThrows, TreatNullAs=EmptyString] attribute DOMString flex-flow;
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString flexDirection;
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString flex-direction;
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString flexWrap;