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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/images/imagemap-focus-ring-with-scale-transform.html

Issue 1912863002: Fix image map focus ring painting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 .container {
4 transform: scale(2);
5 position: absolute;
6 left: 100px;
7 top: 100px;
8 width: 100px;
9 height: 100px;
10 }
11 </style>
12 <script>
13 window.onload = function() {
14 document.getElementById("area").focus();
15 }
16 </script>
17 Tests that we paint area outline properly when the image's container is scaled.
18 <div class=container>
19 <img src="./resources/green.jpg" width=50 height=50 usemap="#map"/>
20 <map name="map"><area id=area shape="rectangle" coords="5, 5, 25, 25" href="#" ></map>
21 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698