diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-03-08 21:39:30 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-08 21:39:30 -0800 |
commit | dc3b32c853d51973cea98c235e7a9ab0bd00366e (patch) | |
tree | 118114f13703d6dc59160103113f31b9f2794ee1 /components/script/dom/webidls/CSSStyleDeclaration.webidl | |
parent | 5fe921f2ab81726dc34b0c427580f355d503f56e (diff) | |
parent | b4c50de31e466ff0c0b82b3f5523384617c8fdc8 (diff) | |
download | servo-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.webidl | 2 |
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; |