Class AnonymousStyleDeclaration

All Implemented Interfaces:
CSSStyleDeclaration, Serializable, Cloneable, CSS2Properties

public abstract class AnonymousStyleDeclaration extends BaseCSSStyleDeclaration
Anonymous style declaration, associated to a non-element DOM node.
See Also:
  • Constructor Details

    • AnonymousStyleDeclaration

      protected AnonymousStyleDeclaration(Node ownerNode)
    • AnonymousStyleDeclaration

      protected AnonymousStyleDeclaration(AnonymousStyleDeclaration copyme)
  • Method Details

    • getOwnerNode

      public Node getOwnerNode()
      Description copied from class: BaseCSSStyleDeclaration
      The node that owns this declaration.

      For computed styles, the owner is always the element for which the style was computed.

      getOwnerNode in class BaseCSSStyleDeclaration
      the node that owns this declaration, or null if none.
    • getStyleDatabase

      public StyleDatabase getStyleDatabase()
      Gets the style database which is used to compute the style.
      getStyleDatabase in class BaseCSSStyleDeclaration
      the style database, or null if no style database has been selected.