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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css/fill-layer-crash.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, 1 month 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 <html>
2 <head id="head">
3 <script>
4 if (window.testRunner)
5 testRunner.dumpAsText();
6 </script>
7 <style>
8 * {background-image:inherit;}
9 </style>
10 </head>
11 <body>
12 <span></span>
13 </body>
14 <script>
15 document.body.style.background="-webkit-canvas(foo)";
16 var head = document.getElementById("head");
17 style = document.createElement("style");
18 style.type = "text/css";
19 var rule = document.createTextNode("* {content:counter(mycount_id)}");
20 style.appendChild(rule);
21 head.appendChild(style);
22 document.body.setAttribute("style","line-height:128mm;");
23 </script>
24 This test works if it doesn't crash.
25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698