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

Unified 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, 7 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
« no previous file with comments | « no previous file | LayoutTests/fast/canvas/draw-custom-focus-ring-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/canvas/draw-custom-focus-ring.html
diff --git a/LayoutTests/fast/canvas/draw-custom-focus-ring.html b/LayoutTests/fast/canvas/draw-custom-focus-ring.html
deleted file mode 100644
index f26c35f5b0e4b5a503646182ef5f3eff8e46b16a..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/canvas/draw-custom-focus-ring.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<!DOCTYPE HTML>
-<head>
-<title>Canvas test: drawCustomFocusRing</title>
-<script src="../../resources/js-test.js"></script>
-</head>
-<body style="padding: 0; margin: 0">
-<canvas id="canvas" class="output" width="300" height="350">
- <button id="button1"></button>
- <button id="button2"></button>
-</canvas>
-<script>
-if (window.testRunner)
- testRunner.dumpAsText();
-
-window.button1 = document.getElementById("button1");
-window.button2 = document.getElementById("button2");
-
-var canvas = document.getElementById("canvas").getContext("2d");
-canvas.beginPath();
-canvas.rect(50, 50, 200, 100);
-canvas.fill();
-shouldBe("canvas.drawCustomFocusRing(button1)", "false");
-shouldBe("canvas.drawCustomFocusRing(button2)", "false");
-shouldBe("button1.focus(); canvas.drawCustomFocusRing(button1)", "true");
-</script>
-</body>
« 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