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

Side by Side Diff: LayoutTests/fast/canvas/draw-custom-focus-ring.html

Issue 289283019: Remove canvas.drawCustomFocusRing() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years, 6 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
« no previous file with comments | « no previous file | LayoutTests/fast/canvas/draw-custom-focus-ring-expected.txt » ('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 <head>
3 <title>Canvas test: drawCustomFocusRing</title>
4 <script src="../../resources/js-test.js"></script>
5 </head>
6 <body style="padding: 0; margin: 0">
7 <canvas id="canvas" class="output" width="300" height="350">
8 <button id="button1"></button>
9 <button id="button2"></button>
10 </canvas>
11 <script>
12 if (window.testRunner)
13 testRunner.dumpAsText();
14
15 window.button1 = document.getElementById("button1");
16 window.button2 = document.getElementById("button2");
17
18 var canvas = document.getElementById("canvas").getContext("2d");
19 canvas.beginPath();
20 canvas.rect(50, 50, 200, 100);
21 canvas.fill();
22 shouldBe("canvas.drawCustomFocusRing(button1)", "false");
23 shouldBe("canvas.drawCustomFocusRing(button2)", "false");
24 shouldBe("button1.focus(); canvas.drawCustomFocusRing(button1)", "true");
25 </script>
26 </body>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/canvas/draw-custom-focus-ring-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698