Bug 1370835 - Match new standard for span IDL property; r=mystor

https://github.com/whatwg/html/issues/2705
https://github.com/whatwg/html/pull/2734

MozReview-Commit-ID: 7Sso9sO8f7y
This commit is contained in:
Aryeh Gregor
2017-08-03 21:24:56 +03:00
parent a4c539f207
commit 7827cd2dfb
3 changed files with 2 additions and 35 deletions

View File

@@ -27,8 +27,7 @@ public:
}
void SetSpan(uint32_t aSpan, ErrorResult& aError)
{
uint32_t span = aSpan ? aSpan : 1;
SetUnsignedIntAttr(nsGkAtoms::span, span, 1, aError);
SetUnsignedIntAttr(nsGkAtoms::span, aSpan, 1, aError);
}
void GetAlign(DOMString& aAlign)