Fix for issue #271

This commit is contained in:
knsv
2015-12-27 14:18:21 +01:00
parent 8c8f5928f5
commit cc8c5aecaf
12 changed files with 52 additions and 16 deletions

View File

@@ -190,8 +190,8 @@ describe('when cloning CSS ', function () {
expect(stylesToArray(svg)).toEqual(['#mermaid-01 .node>rect { stroke:#ffffff; stroke-width:1.5px; }',
'.node { stroke: #eeeeee; }',
'.node-square { stroke: #bbbbbb; }',
'#mermaid-01 .node-square>rect { fill:#eeeeee; stroke:#aaaaaa; }',
'#mermaid-01 .node-circle>rect { fill:#444444; stroke:#111111; }'
'#mermaid-01 .node-square>rect, .node-square>polygon, .node-square>ellipse { fill:#eeeeee; stroke:#aaaaaa; }',
'#mermaid-01 .node-circle>rect, .node-circle>polygon, .node-circle>ellipse { fill:#444444; stroke:#111111; }'
]);
});
});