Bug 508725 - Part 9: Implement HTMLStyleElement.scoped. r=dbaron

This commit is contained in:
Cameron McCormack 2013-01-08 19:09:23 +11:00
parent 5abbe1355c
commit c8022f0f81
2 changed files with 3 additions and 1 deletions

View File

@ -165,6 +165,7 @@ nsHTMLStyleElement::SetDisabled(bool aDisabled)
}
NS_IMPL_STRING_ATTR(nsHTMLStyleElement, Media, media)
NS_IMPL_BOOL_ATTR(nsHTMLStyleElement, Scoped, scoped)
NS_IMPL_STRING_ATTR(nsHTMLStyleElement, Type, type)
void

View File

@ -16,10 +16,11 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(830D9170-F8EB-4749-B721-16D60D6B0F1B)]
[scriptable, uuid(f9db1001-faae-46e1-b85f-0a0afb80c5b2)]
interface nsIDOMHTMLStyleElement : nsIDOMHTMLElement
{
attribute boolean disabled;
attribute DOMString media;
attribute DOMString type;
attribute boolean scoped;
};