style: Support the all shorthand.

Fixes #15055.
This commit is contained in:
Cameron McCormack 2017-04-13 13:23:04 +08:00
parent fb26ae7df5
commit 91e2119636
3 changed files with 66 additions and 2 deletions

View file

@ -33,6 +33,8 @@ interface CSSStyleDeclaration {
};
partial interface CSSStyleDeclaration {
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString all;
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString background;
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString backgroundColor;
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString background-color;