Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(187)

Unified Diff: LayoutTests/fast/dom/discard-svg-font-face-crash.svg

Issue 176853009: Fix crash in SVGFontFaceElement::associatedFontElement crash when removing SVGFontFaceElement. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed patch conflict Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/dom/discard-svg-font-face-crash-expected.svg » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/discard-svg-font-face-crash.svg
diff --git a/LayoutTests/fast/dom/discard-svg-font-face-crash.svg b/LayoutTests/fast/dom/discard-svg-font-face-crash.svg
new file mode 100644
index 0000000000000000000000000000000000000000..21871a5d94d81a98320c2cd809a5b47d28b997d2
--- /dev/null
+++ b/LayoutTests/fast/dom/discard-svg-font-face-crash.svg
@@ -0,0 +1,15 @@
+<?xml version="1.0" standalone="no"?>
+<svg xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <discard begin="0s"/>
+ <font>
+ <font-face font-family="HappySad" ascent="255"/>
+ </font>
+ </defs>
+ <g font-family="HappySad">
+ <text>
+ <altGlyph></altGlyph>
+ <altGlyph></altGlyph>
+ </text>
+ </g>
+</svg>
« no previous file with comments | « no previous file | LayoutTests/fast/dom/discard-svg-font-face-crash-expected.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698