Index: LayoutTests/fast/multicol/hit-test-translate-z.html |
diff --git a/LayoutTests/fast/multicol/hit-test-translate-z.html b/LayoutTests/fast/multicol/hit-test-translate-z.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6063044edad2495b83a4a05fd90a0f82bf460013 |
--- /dev/null |
+++ b/LayoutTests/fast/multicol/hit-test-translate-z.html |
@@ -0,0 +1,26 @@ |
+<!DOCTYPE html> |
+ |
+<style> |
+ body { margin:0; } |
+ #target { transform:translateZ(0); background:yellow; } |
+ #target:hover { background:green; } |
+</style> |
+ |
+<div id="mc" style="-webkit-columns:2; -webkit-column-gap:0; column-fill:auto; width:400px; height:200px;"> |
+ <div style="height:220px;"></div> |
+ <div id="target" style="width:100px; height:100px;"></div> |
+</div> |
+ |
+<div id="result"></div> |
+ |
+<script> |
+ if (window.testRunner) |
+ testRunner.dumpAsText(); |
+ |
+ var result = document.getElementById("result"); |
+ var hitElement = document.elementFromPoint(250, 50); |
+ if (hitElement === document.getElementById("target")) |
+ result.innerText = "PASS"; |
+ else |
+ result.innerText = "FAIL: Hit " + hitElement; |
+</script> |