diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-11-29 09:27:42 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-29 09:27:42 -0800 |
commit | a88487f96a5e17dfbaf02acd3a2af49456013b6e (patch) | |
tree | 437bcd24b2c50dc572d13fec548b6a1b2896db23 /components/script/dom/webidls/CSSStyleDeclaration.webidl | |
parent | 7be32770b18854af11acdbf3ec229b2a5d763a61 (diff) | |
parent | 1bd6e5ff9bee0ea42a9f1a29fcd1b4f3bbf3305e (diff) | |
download | servo-a88487f96a5e17dfbaf02acd3a2af49456013b6e.tar.gz servo-a88487f96a5e17dfbaf02acd3a2af49456013b6e.zip |
Auto merge of #14399 - Manishearth:feat-offset-logical, r=SimonSapin
Support offset- logical properties
I didn't realize that these map to the top/left/bottom/right physical properties. We can just implement them.
r? @SimonSapin
<!-- 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/14399)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/webidls/CSSStyleDeclaration.webidl')
-rw-r--r-- | components/script/dom/webidls/CSSStyleDeclaration.webidl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/components/script/dom/webidls/CSSStyleDeclaration.webidl b/components/script/dom/webidls/CSSStyleDeclaration.webidl index 0f0b483d0b1..4314eca74f9 100644 --- a/components/script/dom/webidls/CSSStyleDeclaration.webidl +++ b/components/script/dom/webidls/CSSStyleDeclaration.webidl @@ -321,6 +321,14 @@ partial interface CSSStyleDeclaration { [SetterThrows, TreatNullAs=EmptyString] attribute DOMString right; [SetterThrows, TreatNullAs=EmptyString] attribute DOMString left; [SetterThrows, TreatNullAs=EmptyString] attribute DOMString bottom; + [SetterThrows, TreatNullAs=EmptyString] attribute DOMString offset-block-start; + [SetterThrows, TreatNullAs=EmptyString] attribute DOMString offsetBlockStart; + [SetterThrows, TreatNullAs=EmptyString] attribute DOMString offset-block-end; + [SetterThrows, TreatNullAs=EmptyString] attribute DOMString offsetBlockEnd; + [SetterThrows, TreatNullAs=EmptyString] attribute DOMString offset-inline-start; + [SetterThrows, TreatNullAs=EmptyString] attribute DOMString offsetInlineStart; + [SetterThrows, TreatNullAs=EmptyString] attribute DOMString offset-inline-end; + [SetterThrows, TreatNullAs=EmptyString] attribute DOMString offsetInlineEnd; [SetterThrows, TreatNullAs=EmptyString] attribute DOMString height; [SetterThrows, TreatNullAs=EmptyString] attribute DOMString minHeight; |