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

Unified Diff: third_party/WebKit/LayoutTests/fast/canvas/bug535171.html

Issue 1367743002: Fix assert when resolving font on canvas with dirty shadow distribution (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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: third_party/WebKit/LayoutTests/fast/canvas/bug535171.html
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/bug535171.html b/third_party/WebKit/LayoutTests/fast/canvas/bug535171.html
new file mode 100644
index 0000000000000000000000000000000000000000..cdd926e2d27223dbb95f77b94b75f1f4b8939557
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/canvas/bug535171.html
@@ -0,0 +1,11 @@
+<!DOCTYPE HTML>
+<script>
+//Test passes by not crashing
rune 2015/09/23 22:55:41 I would have put the pass condition in a <p> to ma
Justin Novosad 2015/09/24 19:39:11 Yep I would have done that too, but it does not wo
+if (window.testRunner) {
+ testRunner.dumpAsText();
+}
+document.documentElement.createShadowRoot();
+var canvas = document.createElement('canvas');
+var context = canvas.getContext('2d');
+context.font = 'italic 40pt Calibri';
+</script>

Powered by Google App Engine
This is Rietveld 408576698