List of all members.
Static Public Member Functions |
static bool | Stylesheet (const Css::Stylesheet &stylesheet, Writer *writer, MessageHandler *handler) |
| Write minified Stylesheet.
|
static bool | Declarations (const Css::Declarations &declarations, Writer *writer, MessageHandler *handler) |
| Write minified Declarations (style attribute contents).
|
static bool | AbsolutifyImports (Css::Stylesheet *stylesheet, const GoogleUrl &base) |
static bool | AbsolutifyUrls (Css::Stylesheet *stylesheet, const GoogleUrl &base, bool handle_parseable_sections, bool handle_unparseable_sections, RewriteDriver *driver, MessageHandler *handler) |
Member Function Documentation
Absolutify all relative URLs in the stylesheet's imports using the given base URL. The Import structures are modified in-situ. Returns true if any URLs were absolutified, false if not.
Absolutify all relative URLs in the stylesheet using the given base URL. The Declaration structures are modified in-situ. You can control whether URLs in parseable sections (BACKGROUND, BACKGROUND_IMAGE, LIST_STYLE, LIST_STYLE_IMAGE) and/or unparseable sections (UNPARSEABLE) are handled. Returns true if any URLs were absolutified, false if not.
The documentation for this class was generated from the following file: