diff options
author | Josh Matthews <josh@joshmatthews.net> | 2014-12-18 12:53:36 -0500 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2014-12-18 12:54:03 -0500 |
commit | 0a546654441276ddce5354ff3f1a5eef1f4f300a (patch) | |
tree | 14812fb94a254072b60b8a82be3bb7c4c9e99809 /components/script/dom/cssstyledeclaration.rs | |
parent | 6bffc1044505594c09f8079ec424a5c0cd8e6354 (diff) | |
download | servo-0a546654441276ddce5354ff3f1a5eef1f4f300a.tar.gz servo-0a546654441276ddce5354ff3f1a5eef1f4f300a.zip |
Add missing supported CSS properties.
Diffstat (limited to 'components/script/dom/cssstyledeclaration.rs')
-rw-r--r-- | components/script/dom/cssstyledeclaration.rs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/components/script/dom/cssstyledeclaration.rs b/components/script/dom/cssstyledeclaration.rs index ec59235b1cc..99cb65c4807 100644 --- a/components/script/dom/cssstyledeclaration.rs +++ b/components/script/dom/cssstyledeclaration.rs @@ -262,6 +262,7 @@ impl<'a> CSSStyleDeclarationMethods for JSRef<'a, CSSStyleDeclaration> { [BackgroundAttachment, SetBackgroundAttachment, "background-attachment"], [Border, SetBorder, "border"], [BorderColor, SetBorderColor, "border-color"], + [BorderRadius, SetBorderRadius, "border-radius"], [BorderStyle, SetBorderStyle, "border-style"], [BorderWidth, SetBorderWidth, "border-width"], [BorderBottom, SetBorderBottom, "border-bottom"], @@ -282,6 +283,7 @@ impl<'a> CSSStyleDeclarationMethods for JSRef<'a, CSSStyleDeclaration> { [BorderTopWidth, SetBorderTopWidth, "border-top-width"], [Content, SetContent, "content"], [Display, SetDisplay, "display"], + [Opacity, SetOpacity, "opacity"], [Width, SetWidth, "width"], [MinWidth, SetMinWidth, "min-width"], [MaxWidth, SetMaxWidth, "max-width"], @@ -292,14 +294,29 @@ impl<'a> CSSStyleDeclarationMethods for JSRef<'a, CSSStyleDeclaration> { [Direction, SetDirection, "direction"], [LineHeight, SetLineHeight, "line-height"], [VerticalAlign, SetVerticalAlign, "vertical-align"], + [ListStyle, SetListStyle, "list-style"], + [ListStylePosition, SetListStylePosition, "list-style-position"], + [ListStyleType, SetListStyleType, "list-style-type"], + [ListStyleImage, SetListStyleImage, "list-style-image"], [Visibility, SetVisibility, "visibility"], + [Cursor, SetCursor, "cursor"], + [BoxShadow, SetBoxShadow, "box-shadow"], + [BoxSizing, SetBoxSizing, "box-sizing"], [Overflow, SetOverflow, "overflow"], + [OverflowWrap, SetOverflowWrap, "overflow-wrap"], [TableLayout, SetTableLayout, "table-layout"], + [EmptyCells, SetEmptyCells, "empty-cells"], + [CaptionSide, SetCaptionSide, "caption-side"], [WhiteSpace, SetWhiteSpace, "white-space"], [WritingMode, SetWritingMode, "writing-mode"], + [LetterSpacing, SetLetterSpacing, "letter-spacing"], + [WordSpacing, SetWordSpacing, "word-spacing"], + [WordWrap, SetWordWrap, "word-wrap"], [TextAlign, SetTextAlign, "text-align"], [TextDecoration, SetTextDecoration, "text-decoration"], + [TextIndent, SetTextIndent, "text-indent"], [TextOrientation, SetTextOrientation, "text-orientation"], + [TextTransform, SetTextTransform, "text-transform"], [Font, SetFont, "font"], [FontFamily, SetFontFamily, "font-family"], [FontSize, SetFontSize, "font-size"], @@ -316,6 +333,7 @@ impl<'a> CSSStyleDeclarationMethods for JSRef<'a, CSSStyleDeclaration> { [PaddingLeft, SetPaddingLeft, "padding-left"], [PaddingRight, SetPaddingRight, "padding-right"], [PaddingTop, SetPaddingTop, "padding-top"], + [Outline, SetOutline, "outline"], [Position, SetPosition, "position"], [Bottom, SetBottom, "bottom"], [Left, SetLeft, "left"], |