
HTML::HTML5::DOM::HTMLStyleElement - implementation of the HTMLStyleElement interface of the HTML DOM

HTML::HTML5::DOM::HTMLStyleElement is an implementation of the HTMLStyleElement interface of the HTML DOM. See HTML::HTML5::DOM for a list of the conventions that have been used when translating the DOM to Perl.
This class applies to the following HTML elements.
HTML::HTML5::DOM::HTMLStyleElement inherits methods from the following Perl classes.
As well as its inherited methods, this class provides the following methods.
disabled
Called with no arguments,
is a shortcut for $elem->hasAttribute("disabled").
If called with a true argument,
will setAttribute; if called with a false argument will removeAttribute.
media
Called with no arguments,
is a shortcut for $elem->getAttribute("media").
Called with a defined argument,
acts as setAttribute.
Called with undef as an argument,
acts as removeAttribute.
scoped
Called with no arguments,
is a shortcut for $elem->hasAttribute("scoped").
If called with a true argument,
will setAttribute; if called with a false argument will removeAttribute.
type
Called with no arguments,
is a shortcut for $elem->getAttribute("type").
Called with a defined argument,
acts as setAttribute.
Called with undef as an argument,
acts as removeAttribute.

http://rt.cpan.org/Dist/Display.html?Queue=HTML-HTML5-DOM.


Toby Inkster <tobyink@cpan.org>.

This software is copyright (c) 2012 by Toby Inkster.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.