mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Auto merge of #10684 - Swatinem:hide_svg, r=Ms2ger
do not render svg children, fixes #10646 r? jdm <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10684) <!-- Reviewable:end -->
This commit is contained in:
commit
97a45dc30c
5 changed files with 43 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue