do not render svg children, fixes #10646

This commit is contained in:
Arpad Borsos 2016-04-18 17:06:53 +02:00
parent 8819dab4e3
commit 606b11c0ec
5 changed files with 43 additions and 3 deletions

View file

@ -60,3 +60,11 @@ details[open]::-servo-details-content {
display: block;
}
/*
* Until servo supports svg properly, make sure to at least prevent svg
* children from being layed out and rendered like usual html.
* https://github.com/servo/servo/issues/10646
*/
svg > * {
display: none;
}