Web::DOM::HTMLStyleElement
DOM HTMLStyleElement object
DESCRIPTION
The Web::DOM::HTMLStyleElement class implements the DOM HTMLStyleElement interface.
The class is used by the HTML style element.
METHODS
In addition to the methods available for classes Web::DOM::Element and Web::DOM::HTMLElement, the following method is available:
$boolean = $el->disabled$el->disabled ($boolean)-
Return or set the disabled flag of the CSS style sheet of the element. [HTML] [CSSOM]
$string = $el->media$el->media ($string)-
Return or set the
mediaattribute. [HTML] $string = $el->nonce$el->nonce ($string)-
Return or set the
nonceattribute. [HTML] $sheet = $el->sheet-
Return the Web::DOM::CSSStyleSheet object representing the CSS style sheet created from the
styleelement, if available. [CSSOM] [HTML] $string = $el->type$el->type ($string)-
Return or set the
typeattribute. [HTML]
SPECIFICATIONS
- HTML
-
HTML Standard
<http://www.whatwg.org/specs/web-apps/current-work/#the-style-element>. - CSSOM
-
CSSOM
<http://dev.w3.org/csswg/cssom/>.
SEE ALSO
AUTHOR
Wakaba <wakaba@suikawiki.org>.
LICENSE
Copyright 2013-2016 Wakaba <wakaba@suikawiki.org>.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.