Home >> All >> org >> w3c >> dom >> [ css Javadoc ] |
org.w3c.dom.css: Javadoc index of package org.w3c.dom.css.
Package Samples:
org.w3c.dom.css: This package contains the DOM Level 3 Core interfaces.
Classes:
CSS2Properties: The CSS2Properties interface represents a convenience mechanism for retrieving and setting properties within a CSSStyleDeclaration . The attributes of this interface correspond to all the properties specified in CSS2. Getting an attribute of this interface is equivalent to calling the getPropertyValue method of the CSSStyleDeclaration interface. Setting an attribute of this interface is equivalent to calling the setProperty method of the CSSStyleDeclaration interface. A conformant implementation of the CSS module is not required to implement the CSS2Properties interface. If an implementation does ...
CSSPrimitiveValue: The CSSPrimitiveValue interface represents a single CSS value . This interface may be used to determine the value of a specific style property currently set in a block or to set a specific style property explicitly within the block. An instance of this interface might be obtained from the getPropertyCSSValue method of the CSSStyleDeclaration interface. A CSSPrimitiveValue object only occurs in a context of a CSS property. Conversions are allowed between absolute values (from millimeters to centimeters, from degrees to radians, and so on) but not between relative values. (For example, a pixel value ...
DocumentCSS: This interface represents a document with a CSS view. The getOverrideStyle method provides a mechanism through which a DOM author could effect immediate change to the style of an element without modifying the explicitly linked style sheets of a document or the inline style of elements in the style sheets. This style sheet comes after the author style sheet in the cascade algorithm and is called override style sheet. The override style sheet takes precedence over author style sheets. An "!important" declaration still takes precedence over a normal declaration. Override, author, and user style sheets ...
CSSStyleDeclaration: The CSSStyleDeclaration interface represents a single CSS declaration block. This interface may be used to determine the style properties currently set in a block or to set style properties explicitly within the block. While an implementation may not recognize all CSS properties within a CSS declaration block, it is expected to provide access to all specified properties in the style sheet through the CSSStyleDeclaration interface. Furthermore, implementations that support a specific level of CSS should correctly handle CSS shorthand properties for that level. For a further discussion of shorthand ...
CSSCharsetRule: The CSSCharsetRule interface represents a @charset rule in a CSS style sheet. The value of the encoding attribute does not affect the encoding of text data in the DOM objects; this encoding is always UTF-16. After a stylesheet is loaded, the value of the encoding attribute is the value found in the @charset rule. If there was no @charset in the original document, then no CSSCharsetRule is created. The value of the encoding attribute may also be used as a hint for the encoding used on serialization of the style sheet. The value of the @charset rule (and therefore of the CSSCharsetRule ) may not ...
RGBColor: The RGBColor interface is used to represent any RGB color value. This interface reflects the values in the underlying style property. Hence, modifications made to the CSSPrimitiveValue objects modify the style property. A specified RGB color is not clipped (even if the number is outside the range 0-255 or 0%-100%). A computed RGB color is clipped depending on the device. Even if a style sheet can only contain an integer for a color value, the internal storage of this integer is a float, and this can be used as a float in the specified or the computed style. A color percentage value can always be ...
ViewCSS: This interface represents a CSS view. The getComputedStyle method provides a read only access to the computed values of an element. The expectation is that an instance of the ViewCSS interface can be obtained by using binding-specific casting methods on an instance of the AbstractView interface. Since a computed style is related to an Element node, if this element is removed from the document, the associated CSSStyleDeclaration and CSSValue related to this declaration are no longer valid. See also the Document Object Model (DOM) Level 2 Style Specification .
ElementCSSInlineStyle: Inline style information attached to elements is exposed through the style attribute. This represents the contents of the STYLE attribute for HTML elements (or elements in other schemas or DTDs which use the STYLE attribute in the same way). The expectation is that an instance of the ElementCSSInlineStyle interface can be obtained by using binding-specific casting methods on an instance of the Element interface when the element supports inline CSS style informations. See also the Document Object Model (DOM) Level 2 Style Specification .
CSSValueList: The CSSValueList interface provides the abstraction of an ordered collection of CSS values. Some properties allow an empty list into their syntax. In that case, these properties take the none identifier. So, an empty list means that the property has the value none . The items in the CSSValueList are accessible via an integral index, starting from 0. See also the Document Object Model (DOM) Level 2 Style Specification .
CSSRule: The CSSRule interface is the abstract base interface for any type of CSS statement. This includes both rule sets and at-rules. An implementation is expected to preserve all rules specified in a CSS style sheet, even if the rule is not recognized by the parser. Unrecognized rules are represented using the CSSUnknownRule interface. See also the Document Object Model (DOM) Level 2 Style Specification .
Rect: The Rect interface is used to represent any rect value. This interface reflects the values in the underlying style property. Hence, modifications made to the CSSPrimitiveValue objects modify the style property. See also the Document Object Model (DOM) Level 2 Style Specification .
CSSPageRule: The CSSPageRule interface represents a @page rule within a CSS style sheet. The @page rule is used to specify the dimensions, orientation, margins, etc. of a page box for paged media. See also the Document Object Model (DOM) Level 2 Style Specification .
CSSRuleList: The CSSRuleList interface provides the abstraction of an ordered collection of CSS rules. The items in the CSSRuleList are accessible via an integral index, starting from 0. See also the Document Object Model (DOM) Level 2 Style Specification .
DOMImplementationCSS: This interface allows the DOM user to create a CSSStyleSheet outside the context of a document. There is no way to associate the new CSSStyleSheet with a document in DOM Level 2. See also the Document Object Model (DOM) Level 2 Style Specification .
CSSImportRule: The CSSImportRule interface represents a @import rule within a CSS style sheet. The @import rule is used to import style rules from other style sheets. See also the Document Object Model (DOM) Level 2 Style Specification .
CSSMediaRule: The CSSMediaRule interface represents a @media rule in a CSS style sheet. A @media rule can be used to delimit style rules for specific media types. See also the Document Object Model (DOM) Level 2 Style Specification .
CSSFontFaceRule: The CSSFontFaceRule interface represents a @font-face rule in a CSS style sheet. The @font-face rule is used to hold a set of font descriptions. See also the Document Object Model (DOM) Level 2 Style Specification .
Counter: The Counter interface is used to represent any counter or counters function value. This interface reflects the values in the underlying style property. See also the Document Object Model (DOM) Level 2 Style Specification .
CSSStyleSheet: The CSSStyleSheet interface is a concrete interface used to represent a CSS style sheet i.e., a style sheet whose content type is "text/css". See also the Document Object Model (DOM) Level 2 Style Specification .
CSSValue: The CSSValue interface represents a simple or a complex value. A CSSValue object only occurs in a context of a CSS property. See also the Document Object Model (DOM) Level 2 Style Specification .
CSSUnknownRule: The CSSUnknownRule interface represents an at-rule not supported by this user agent. See also the Document Object Model (DOM) Level 2 Style Specification .
CSSStyleRule: The CSSStyleRule interface represents a single rule set in a CSS style sheet. See also the Document Object Model (DOM) Level 2 Style Specification .
Home | Contact Us | Privacy Policy | Terms of Service |