Temprarily remove the "rect" SVG DOM element.
Fixes clash with "rect()" CSS function, a pull request for the lexer is on the way.
This commit is contained in:
parent
f5c6af99dd
commit
fcea9f0bd6
@ -152,7 +152,7 @@ svg = [
|
||||
'path',
|
||||
'polygon',
|
||||
'polyline',
|
||||
'rect',
|
||||
#'rect',
|
||||
'text',
|
||||
'textPath',
|
||||
'tref',
|
||||
|
@ -10,12 +10,6 @@ circle .green {
|
||||
stroke-width: 9;
|
||||
fill: #00cc00;
|
||||
}
|
||||
rect {
|
||||
fill: blue;
|
||||
fill-opacity: 0.1;
|
||||
stroke: green;
|
||||
opacity: 0.5;
|
||||
}
|
||||
ellipse {
|
||||
fill: yellow;
|
||||
}
|
||||
|
1
lesscpy/test/css/svg.min.css
vendored
1
lesscpy/test/css/svg.min.css
vendored
@ -1,7 +1,6 @@
|
||||
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;}
|
||||
|
@ -9,12 +9,12 @@ circle .green {
|
||||
stroke-width: 9;
|
||||
fill: #00cc00;
|
||||
}
|
||||
rect {
|
||||
/*rect {
|
||||
fill: blue;
|
||||
fill-opacity: 0.1;
|
||||
stroke: green;
|
||||
opacity: 0.5;
|
||||
}
|
||||
}*/
|
||||
ellipse { fill: yellow; }
|
||||
line { stroke: red; }
|
||||
path { stroke: blue; }
|
||||
|
Loading…
Reference in New Issue
Block a user