aboutsummaryrefslogtreecommitdiffstats
path: root/components/script
diff options
context:
space:
mode:
authorGlenn Watson <github@intuitionlibrary.com>2017-02-17 15:42:18 +1000
committerGlenn Watson <github@intuitionlibrary.com>2017-02-23 14:15:20 +1000
commitffcb31932468c28c44e094b803fd25aade9ae581 (patch)
tree3968bd0f7692b406c46b9751953026ddf8f42958 /components/script
parent854d720b21dda68034233a25385c4f2564a4a2d5 (diff)
downloadservo-ffcb31932468c28c44e094b803fd25aade9ae581.tar.gz
servo-ffcb31932468c28c44e094b803fd25aade9ae581.zip
Add support for most of the border-image properties, pass to WR.
This adds support for: * border-image (images, not gradients yet) * border-image-source * border-image-slice * border-image-repeat (stretch + repeat only for now) Remaining work: * Connect border-image-outset (WR supports this). * border-image-width
Diffstat (limited to 'components/script')
-rw-r--r--components/script/dom/webidls/CSSStyleDeclaration.webidl12
1 files changed, 12 insertions, 0 deletions
diff --git a/components/script/dom/webidls/CSSStyleDeclaration.webidl b/components/script/dom/webidls/CSSStyleDeclaration.webidl
index 3e40523cf39..c0d851b196d 100644
--- a/components/script/dom/webidls/CSSStyleDeclaration.webidl
+++ b/components/script/dom/webidls/CSSStyleDeclaration.webidl
@@ -106,6 +106,18 @@ partial interface CSSStyleDeclaration {
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-top-style;
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderTopWidth;
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-top-width;
+ [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-image-source;
+ [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderImageSource;
+ [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-image-slice;
+ [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderImageSlice;
+ [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-image-repeat;
+ [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderImageRepeat;
+ [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-image-outset;
+ [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderImageOutset;
+ [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-image-width;
+ [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderImageWidth;
+ [SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-image;
+ [SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderImage;
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString border-block-start-color;
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString borderBlockStartColor;