aboutsummaryrefslogtreecommitdiffstats
path: root/components/script
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2015-03-03 11:48:54 -0700
committerbors-servo <metajack+bors@gmail.com>2015-03-03 11:48:54 -0700
commite1a50c771973fe3223cf98feea5d570375d68fa9 (patch)
tree1afcb3e28d99bcb3dcf73aeb14f31c025ab4f063 /components/script
parent5cd6316addc1acf145ed3220719387ef6ef08d2f (diff)
parent1c4b0dda5517627e81fe9fb2df35a7c76281b31c (diff)
downloadservo-e1a50c771973fe3223cf98feea5d570375d68fa9.tar.gz
servo-e1a50c771973fe3223cf98feea5d570375d68fa9.zip
auto merge of #5133 : servo/servo/background-size, r=SimonSapin
`background-size` per CSS-BACKGROUNDS § 3.9. Nearest neighbor interpolation is used for `crisp-edges`, like Firefox. A note has been added that we could do better if we wanted to. Multiple backgrounds are not yet supported. Rebase of #4368. Fixes #4368.
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 d89f1554354..bde48aaaff3 100644
--- a/components/script/dom/webidls/CSSStyleDeclaration.webidl
+++ b/components/script/dom/webidls/CSSStyleDeclaration.webidl
@@ -38,6 +38,7 @@ partial interface CSSStyleDeclaration {
[TreatNullAs=EmptyString] attribute DOMString backgroundRepeat;
[TreatNullAs=EmptyString] attribute DOMString backgroundImage;
[TreatNullAs=EmptyString] attribute DOMString backgroundAttachment;
+ [TreatNullAs=EmptyString] attribute DOMString backgroundSize;
[TreatNullAs=EmptyString] attribute DOMString border;
[TreatNullAs=EmptyString] attribute DOMString borderColor;
@@ -178,4 +179,6 @@ partial interface CSSStyleDeclaration {
[TreatNullAs=EmptyString] attribute DOMString maxWidth;
[TreatNullAs=EmptyString] attribute DOMString zIndex;
+
+ [TreatNullAs=EmptyString] attribute DOMString imageRendering;
};