module Ripper

Extended Modules

Defined in:

ripper.cr
ripper/html_tags.cr
ripper/options.cr
ripper/prefixed.cr
ripper/property.cr
ripper/selector.cr
ripper/variable.cr
ripper/version.cr

Constant Summary

HTML_TAGS = ["a", "abbr", "acronym", "address", "applet", "area", "article", "aside", "audio", "b", "base", "basefont", "bdi", "bdo", "bgsound", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "command", "content", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "embed", "fieldset", "figcaption", "figure", "font", "footer", "form", "frame", "frameset", "h1–h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "image", "img", "input", "ins", "isindex", "kbd", "keygen", "label", "legend", "li", "link", "listing", "main", "map", "mark", "marquee", "menu", "menuitem", "meta", "meter", "multicol", "nav", "nextid", "nobr", "noembed", "noframes", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "plaintext", "pre", "progress", "q", "rp", "rt", "rtc", "ruby", "s", "samp", "script", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "tt", "u", "ul", "var", "video", "wbr", "xmp"] of ::String
PREFIXED_PROPERTIES = ["border-radius", "border-top-left-radius", "border-top-right-radius", "border-bottom-right-radius", "border-bottom-left-radius", "animation", "animation-name", "animation-duration", "animation-delay", "animation-direction", "animation-fill-mode", "animation-iteration-count", "animation-play-state", "animation-timing-function", "transition", "transition-property", "transition-duration", "transition-delay", "transition-timing-function", "transform", "transform-origin", "perspective", "perspective-origin", "transform-style", "backface-visibility", "columns", "column-width", "column-gap", "column-rule", "column-rule-color", "column-rule-width", "column-count", "column-rule-style", "column-span", "column-fill", "break-before", "break-after", "break-inside", "display", "flex", "flex-grow", "flex-shrink", "flex-basis", "flex-direction", "flex-wrap", "flex-flow", "justify-content", "order", "align-items", "align-self", "align-content", "background-clip", "background-origin", "background-size", "font-feature-settings", "font-variant-ligatures", "font-language-override", "font-kerning", "max-content", "min-content", "fit-content", "zoom-in", "zoom-out", "text-decoration-style", "text-decoration-line", "text-decoration-color", "clip-path", "mask", "mask-clip", "mask-composite", "mask-image", "mask-origin", "mask-position", "mask-repeat", "mask-size", "shape-outside", "shape-image-threshold", "shape-margin"] of ::String
PREFIXED_VALUES = ["linear-gradient()", "radial-gradient()", "repeating-linear-gradient()", "repeating-radial-gradient()", "grab", "grabbing", "sticky"] of ::String
PREFIXES = ["o", "ms", "moz", "webkit"] of ::String
VERSION = "0.1.0"

Instance Method Summary

Instance Method Detail

def line_type(line : String) #

[View source]
def parse(content) #

[View source]
def process_vars(input, env = {String => Variable}) #

[View source]