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

Unified Diff: LayoutTests/fast/css/use-incorrect-svg-crash.html

Issue 183743012: SVGFontFaceElement::removedFrom should not use FontSelector when document is not active. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
Index: LayoutTests/fast/css/use-incorrect-svg-crash.html
diff --git a/LayoutTests/fast/css/use-incorrect-svg-crash.html b/LayoutTests/fast/css/use-incorrect-svg-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..46176c0487ca05bd3f61cb0041a2861585f578b9
--- /dev/null
+++ b/LayoutTests/fast/css/use-incorrect-svg-crash.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<style>
+@font-face {
+ font-family: test;
+ src: url(resources/incorrect-font.svg) format("svg");
+}
+.customFont {
+ font-family: test;
+}
+</style>
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText();
+</script>
+<div class="customFont">PASSED</div>
+

Powered by Google App Engine
This is Rietveld 408576698