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

Side by Side Diff: LayoutTests/fast/images/content-url-canvas.html

Issue 1293023002: Fix crash when content() url is -webkit-canvas (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fast/images/content-url-canvas-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 img { content: -webkit-canvas(img); width: 24px; height: 24px; }
4 </style>
5 <img>
6 <p> crbug.com/521152: Tests for crash introduced by r200510: should display a gr een square.</p>
7 <script>
8 var ctx = document.getCSSCanvasContext("2d", "img", 24, 24);
9 ctx.fillStyle = "rgb(0,255,1)";
10 ctx.fillRect (0, 0, 24, 24);
11 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/images/content-url-canvas-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698