aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/CSSStyleDeclaration.webidl
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2017-03-08 21:39:30 -0800
committerGitHub <noreply@github.com>2017-03-08 21:39:30 -0800
commitdc3b32c853d51973cea98c235e7a9ab0bd00366e (patch)
tree118114f13703d6dc59160103113f31b9f2794ee1 /components/script/dom/webidls/CSSStyleDeclaration.webidl
parent5fe921f2ab81726dc34b0c427580f355d503f56e (diff)
parentb4c50de31e466ff0c0b82b3f5523384617c8fdc8 (diff)
downloadservo-dc3b32c853d51973cea98c235e7a9ab0bd00366e.tar.gz
servo-dc3b32c853d51973cea98c235e7a9ab0bd00366e.zip
Auto merge of #15861 - projektir:make-text-decoration-testable, r=Wafflespeanut
Make text decoration testable and do not serialize initial text-decoration-style Servo now uses the same name for the text-decoration-line longhand property as Gecko. This was done to enable testing of the text-decoration shorthand. The text-decoration shorthand has been fixed to not serialize initial text-decoration-style. --- - [x ] `./mach build -d` does not report any errors - [x ] `./mach test-tidy` does not report any errors - [x ] These changes fix #15790 --- - [x ] There are tests for these changes <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/15861) <!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/webidls/CSSStyleDeclaration.webidl')
-rw-r--r--components/script/dom/webidls/CSSStyleDeclaration.webidl2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/dom/webidls/CSSStyleDeclaration.webidl b/components/script/dom/webidls/CSSStyleDeclaration.webidl
index c0d851b196d..498d4a634d4 100644
--- a/components/script/dom/webidls/CSSStyleDeclaration.webidl
+++ b/components/script/dom/webidls/CSSStyleDeclaration.webidl
@@ -257,6 +257,8 @@ partial interface CSSStyleDeclaration {
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString text-align;
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString textDecoration;
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString text-decoration;
+ [SetterThrows, TreatNullAs=EmptyString] attribute DOMString textDecorationLine;
+ [SetterThrows, TreatNullAs=EmptyString] attribute DOMString text-decoration-line;
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString textIndent;
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString text-indent;
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString textJustify;