WebIDLpedia

HTMLStyleElement interface

Definition

HTML Standard defines HTMLStyleElement



[Exposed=Window]
interface HTMLStyleElement : HTMLElement {
  [HTMLConstructor] constructor();

  attribute boolean disabled;
  [CEReactions] attribute DOMString media;
  [SameObject, PutForwards=value] readonly attribute DOMTokenList blocking;

  // also has obsolete members
};
HTMLStyleElement includes LinkStyle;

partial interface HTMLStyleElement {
  [CEReactions] attribute DOMString type;
};
Consolidated IDL (across mixin and partials)


[Exposed=Window]
interface HTMLStyleElement : HTMLElement {
  [HTMLConstructor] constructor();

  attribute boolean disabled;
  [CEReactions] attribute DOMString media;
  [SameObject, PutForwards=value] readonly attribute DOMTokenList blocking;
  [CEReactions] attribute DOMString type;
  readonly attribute CSSStyleSheet? sheet;

  // also has obsolete members
};

Methods and attributes that return objects implementing HTMLStyleElement