Package | Description |
---|---|
org.htmlunit.javascript.host.css |
Implementations of the CSS JavaScript host objects - users of HtmlUnit shouldn't
need anything in this package.
|
org.htmlunit.javascript.host.html |
Implementations of the HTML JavaScript host objects - users of HtmlUnit shouldn't
need anything in this package.
|
Modifier and Type | Method and Description |
---|---|
CSSStyleSheet |
CSSRule.getParentStyleSheet()
Returns the style sheet that contains this rule.
|
CSSStyleSheet |
CSSImportRule.getStyleSheet()
Returns the style sheet referred to by this rule.
|
Modifier and Type | Method and Description |
---|---|
static CSSRule |
CSSRule.create(CSSStyleSheet stylesheet,
org.htmlunit.cssparser.dom.AbstractCSSRuleImpl rule)
Creates a CSSRule according to the specified rule type.
|
Modifier and Type | Method and Description |
---|---|
CSSStyleSheet |
HTMLStyleElement.getSheet()
Gets the associated sheet.
|
CSSStyleSheet |
HTMLLinkElement.getSheet()
Returns the associated style sheet (only valid for links of type
<link rel="stylesheet" type="text/css" href="..." |
Copyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.