Chromium Code Reviews
DescriptionFix crash in SVGFontFaceElement::associatedFontElement crash when removing SVGFontFaceElement.
(1) We need to remove its font-face rule from FontCache when removing SVGFontFaceElement,
(2) We should not use old styles in RenderSVGInlineText::styleDidChange.
Since styleRecalc is done in document-order, we cannot see any styles of next renderer
(obtained by nextInPreOrder).
The old styles might have old fonts which are created by SVGFontFaceElement.
BUG=346192
TEST=fast/dom/discard-svg-font-face-crash.svg
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=167993
Patch Set 1 : #Patch Set 2 : Patch for landing #Patch Set 3 : Fixed patch conflict #
Messages
Total messages: 15 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||