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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/images/imagemap-focus-ring-in-positioned-container.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 position: absolute;
5 left: 20px;
6 top: 50px;
7 }
8 .inner {
9 position: absolute;
10 left: 10px;
11 top: 10px;
12 }
13 </style>
14 Tests that we paint area outline properly when the image is inside positioned co ntainers.
15 <div class=container>
16 <div class=inner>
17 <img src="./resources/green.jpg" width=50 height=50 usemap="#map"/>
18 <map name="map"><area id=area shape="rectangle" coords="5, 5, 25, 25" href=" #"></map>
19 </div>
20 </div>
21 <script>
22 area.focus();
23 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698