deb-python-lesscpy/lesscpy/test/css/svg.min.css
Sascha Peilicke 55703e8587 Properly distinguish clip element from CSS function
And revert "Temprarily remove the "rect" SVG DOM element."

This reverts commit fcea9f0bd6.
The lexer now uses a variable to distinguish of being inside a CSS
property declaration or outside. If inside, don't mark token as css_dom
(e.g. 'rect'). This circumvents the ambiguity between the "rect" SVG DOM
element and the "clip()" CSS function. CSS functions only occur within
property declarations.

For that, ';' had to be promoted from a literal to an ordinar token.
2013-11-04 17:41:06 +01:00

19 lines
567 B
CSS

svg{color:red;}
circle{stroke:#006600;fill:#00cc00;}
circle .green{stroke:#006600;stroke-width:9;fill:#00cc00;}
rect{fill:blue;fill-opacity:0.1;stroke:green;opacity:0.5;}
ellipse{fill:yellow;}
line{stroke:red;}
path{stroke:blue;}
polygon{fill:lime;fill-rule:nonzero;}
polygon{fill:lime;fill-rule:evenodd;}
polyline{fill:none;}
.node text{font:12px sans-serif;}
tref{font-weight:bold;}
text tref{font-weight:bold;}
tspan{font-weight:bold;}
text tspan{font-weight:bold;}
textPath{font-weight:bold;}
text textPath{font-weight:bold;}
svg text textPath{font-weight:bold;}