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
This commit is contained in:
Glenn Watson 2017-02-17 15:42:18 +10:00
parent 854d720b21
commit ffcb319324
17 changed files with 231 additions and 107 deletions

View file

@ -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;