-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SVG CSS Stylesheet raises numerous errors #28
Comments
For ease of triage, I've trimmed the line prefix: $ pclip | pip-run -q `jaraco.text>=3.11` -- -m jaraco.text.strip-prefix
{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}
.error-icon{fill:#552222;}
.error-text{fill:#552222;stroke:#552222;}
.edge-thickness-normal{stroke-width:2px;}
.edge-thickness-thick{stroke-width:3.5px;}
.edge-pattern-solid{stroke-dasharray:0;}
.edge-pattern-dashed{stroke-dasharray:3;}
.edge-pattern-dotted{stroke-dasharray:2;}
.marker{fill:#333333;stroke:#333333;}
.marker.cross{stroke:#333333;}
svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}
.actor{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;}
text.actor>tspan{fill:black;stroke:none;}
.actor-line{stroke:grey;}
.messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333;}
.messageLine1{stroke-width:1.5;stroke-dasharray:2,2;stroke:#333;}
#arrowhead path{fill:#333;stroke:#333;}
.sequenceNumber{fill:white;}
#sequencenumber{fill:#333;}
#crosshead path{fill:#333;stroke:#333;}
.messageText{fill:#333;}
.labelBox{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;}
.labelText,#mermaid-1668594191602 .labelText>tspan{fill:black;stroke:none;}
.loopText,#mermaid-1668594191602 .loopText>tspan{fill:black;stroke:none;}
.loopLine{stroke-width:2px;stroke-dasharray:2,2;stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);}
.note{stroke:#aaaa33;fill:#fff5ad;}
.noteText,#mermaid-1668594191602 .noteText>tspan{fill:black;stroke:none;}
.activation0{fill:#f4f4f4;stroke:#666;}
.activation1{fill:#f4f4f4;stroke:#666;}
.activation2{fill:#f4f4f4;stroke:#666;}
.actorPopupMenu{position:absolute;}
.actorPopupMenuPanel{position:absolute;fill:#ECECFF;box-shadow:0px 8px 16px 0px rgba(0,0,0,0.2);filter:drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));}
.actor-man line{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;}
.actor-man circle,#mermaid-1668594191602 line{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;stroke-width:2px;}
:root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;} |
I suspect there are issues in the source CSS. Most of the errors are related to the Fixing that issue, I encounter some other errors:
Adding a selector to the first line clears those errors leaving only the remaining errors from the original post:
Those errors all seem to indicate that the syntax Since this report is mostly bad user input, I'm going to close this issue as invalid, but I've captured the issue in #29. |
Consider the following stylesheet, created from a mermaid output:
Parsing it with cssutils returns many errors and warnings, and many rules are not loaded:
The text was updated successfully, but these errors were encountered: