Add GetPropertyPriority to CSSStyleDeclaration

Tweak getPropertyPriority to match recommendations

Adding Tests for Style Priority

Use else if

Adding Content Test for GetPropertyPriority

Revert "Adding Tests for Style Priority"

This reverts commit 8666a37f833b06c3e43f27acd8a9678e94425e55.
This commit is contained in:
Adam Sunderland 2014-12-23 00:28:31 -06:00
parent 49f2c6974d
commit 674fe910c1
4 changed files with 68 additions and 1 deletions

View file

@ -14,7 +14,7 @@ interface CSSStyleDeclaration {
readonly attribute unsigned long length;
getter DOMString item(unsigned long index);
DOMString getPropertyValue(DOMString property);
//DOMString getPropertyPriority(DOMString property);
DOMString getPropertyPriority(DOMString property);
[Throws]
void setProperty(DOMString property, [TreatNullAs=EmptyString] DOMString value,
[TreatNullAs=EmptyString] optional DOMString priority = "");