add SVG fragment (SpecificFragmentInfo::Svg)

This commit is contained in:
Alexandrov Sergey 2016-10-05 00:19:35 +03:00
parent 9876020c22
commit 14934a42d7
4 changed files with 116 additions and 6 deletions

View file

@ -678,6 +678,7 @@ impl BlockFlow {
fn is_replaced_content(&self) -> bool {
match self.fragment.specific {
SpecificFragmentInfo::ScannedText(_) |
SpecificFragmentInfo::Svg(_) |
SpecificFragmentInfo::Image(_) |
SpecificFragmentInfo::Canvas(_) |
SpecificFragmentInfo::InlineBlock(_) => true,