Instance Method

styleDeclarationWithText:

Returns the CSS style declaration for the specified text.

Declaration

- (DOMCSSStyleDeclaration *)styleDeclarationWithText:(NSString *)text;

Parameters

text

The text whose style declaration is returned.

Return Value

The style declaration for text.

See Also

Getting and Setting CSS Properties

- computedStyleForElement:pseudoElement:

Returns the computed style of an element and its pseudo element.

mediaStyle

The receiver’s CSS media property.

Deprecated
typingStyle

The receiver’s CSS typing style.

- applyStyle:

Applies the CSS typing style to the current selection.