StyleSheet

This probably isn't useful, unless you're writing a browser or something like that. You might want to look at arsd.html for css macro, nesting, etc., or just use standard css as text.

The idea, however, is to represent a kind of CSS object model, complete with specificity, that you can apply to your documents to build the complete computedStyle object.

Constructors

this
this(string source)

.

Members

Functions

apply
void apply(Document document)

Run through the document and apply this stylesheet to it. The computedStyle member will be accurate after this call

Variables

rules
CssStyle[] rules;

.

Suggestion Box / Bug Report