css-inliner

NAME

css-inliner.raku - flatten css rulesets to inline style attributes

SYNOPSIS

css-inliner.raku [options] infile.xml [outfile.xml]
Options:
    --type=[xhtml|pdf|pango] # specifiy document type
    --tags                   # include tags styling, e.g. <i style='font-weight:italic'>...</i>
    --inherit                # include style inherited from parent properties
    --prune                  # prune to displayed elements
    --style=file             # load external stylesheet

DESCRIPTION

This script evaluates CSS selectors, which are removed and flattened to per-element `style` attributes.

This script was written to help with visual verification of the Raku CSS module. The output XHTML should be visually identical to the input.

CSS v0.1.0

CSS Stylesheet processing

Authors

  • David Warring

License

Artistic-2.0

Dependencies

CSS::Module:ver<0.5.8+>CSS::Properties:ver<0.7.7+>CSS::Stylesheet:ver<0.0.29+>CSS::TagSet:ver<0.0.23+>LibXML:ver<0.6.9+>Method::AlsoURI

Test Dependencies

Provides

  • CSS

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.