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

@ -1239,7 +1239,8 @@ impl FragmentDisplayListBuilding for Fragment {
SpecificFragmentInfo::MulticolColumn |
SpecificFragmentInfo::InlineBlock(_) |
SpecificFragmentInfo::InlineAbsoluteHypothetical(_) |
SpecificFragmentInfo::InlineAbsolute(_) => {
SpecificFragmentInfo::InlineAbsolute(_) |
SpecificFragmentInfo::Svg(_) => {
if opts::get().show_debug_fragment_borders {
self.build_debug_borders_around_fragment(state,
stacking_relative_border_box,