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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/canvas/crash-set-font.html

Issue 1416793004: Remove support for -webkit-canvas and Document.getCSSCanvasContext. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script>
5 if (window.testRunner)
6 testRunner.dumpAsText();
7
8 oContext2d = document.getCSSCanvasContext("2d","",0,0);
9 oContext2d.font = "small-caps .0ex G";
10 oContext2d.font = "italic .0ex G";
11 oContext2d.font = "italic 400 .0ex G";
12 oContext2d.font = "italic 400 small/.0ex G";
13 </script>
14 </head>
15 <body>
16 <p>Test for bug <a href="https://bugs.webkit.org/show_bug.cgi?id=66291">66291</a >: Crash because CSSPrimitiveValue::computeLengthDouble assumes fontMetrics are available</p>
17 <p>This test passed as it did not crash.</p>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698