| Index: LayoutTests/fast/canvas/draw-focus-if-needed-on-event.html
|
| diff --git a/LayoutTests/fast/canvas/draw-system-focus-ring-on-event.html b/LayoutTests/fast/canvas/draw-focus-if-needed-on-event.html
|
| similarity index 87%
|
| rename from LayoutTests/fast/canvas/draw-system-focus-ring-on-event.html
|
| rename to LayoutTests/fast/canvas/draw-focus-if-needed-on-event.html
|
| index d7227ef02467f1e944d8257e6437de503027261d..aef285b0b6f831f36021809d0ea9bb63caba0780 100644
|
| --- a/LayoutTests/fast/canvas/draw-system-focus-ring-on-event.html
|
| +++ b/LayoutTests/fast/canvas/draw-focus-if-needed-on-event.html
|
| @@ -1,6 +1,6 @@
|
| <!DOCTYPE HTML>
|
| <head>
|
| -<title>Canvas test: drawSystemFocusRing</title>
|
| +<title>Canvas test: drawFocusIfNeeded</title>
|
| <script src="../../resources/js-test.js"></script>
|
| </head>
|
| <body style="padding: 0; margin: 0">
|
| @@ -19,13 +19,13 @@ document.getElementById("button1").addEventListener('focus', function() {
|
| canvas.rect(50, 50, 200, 100);
|
| canvas.fillStyle = "#ccf";
|
| canvas.fill();
|
| - canvas.drawSystemFocusRing(document.getElementById("button1"));
|
| + canvas.drawFocusIfNeeded(document.getElementById("button1"));
|
|
|
| canvas.beginPath();
|
| canvas.rect(50, 200, 200, 100);
|
| canvas.fillStyle = "#cfc";
|
| canvas.fill();
|
| - canvas.drawSystemFocusRing(document.getElementById("button2"));
|
| + canvas.drawFocusIfNeeded(document.getElementById("button2"));
|
| });
|
|
|
| document.getElementById("button1").focus();
|
|
|