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:
Sascha Peilicke 2013-11-04 11:22:09 +01:00
parent f5c6af99dd
commit fcea9f0bd6
4 changed files with 3 additions and 10 deletions

View File

@ -152,7 +152,7 @@ svg = [
'path',
'polygon',
'polyline',
'rect',
#'rect',
'text',
'textPath',
'tref',

View File

@ -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;
}

View File

@ -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;}

View File

@ -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; }