Index: third_party/WebKit/LayoutTests/fast/images/imagemap-focus-ring-with-paint-root-offset.html |
diff --git a/third_party/WebKit/LayoutTests/fast/images/imagemap-focus-ring-with-paint-root-offset.html b/third_party/WebKit/LayoutTests/fast/images/imagemap-focus-ring-with-paint-root-offset.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f632ed4a30d3e2fa5a3b7d70c28ac9107a074d7b |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/images/imagemap-focus-ring-with-paint-root-offset.html |
@@ -0,0 +1,19 @@ |
+<!DOCTYPE html> |
+<style> |
+.paintroot { |
+ transform: translateZ(0); |
+ position: absolute; |
+ left: 5px; |
+ top: 50px; |
+} |
+</style> |
+<script> |
+window.onload = function() { |
+ document.getElementById("area").focus(); |
+} |
+</script> |
+Tests that we paint area outline properly when the paintroot is shifted. |
+<div class=paintroot> |
+ <img src="./resources/green.jpg" width=50 height=50 usemap="#map"/> |
+ <map name="map"><area id=area shape="rectangle" coords="5, 5, 25, 25" href="#"></map> |
+</div> |