Chromium Code Reviews| Index: LayoutTests/compositing/gestures/gesture-tapHighlight-nested-cursor2-expected.html |
| diff --git a/LayoutTests/compositing/gestures/gesture-tapHighlight-nested-cursor2-expected.html b/LayoutTests/compositing/gestures/gesture-tapHighlight-nested-cursor2-expected.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..0bf61b5715e7c0d211da6da7c87badf7990d0b18 |
| --- /dev/null |
| +++ b/LayoutTests/compositing/gestures/gesture-tapHighlight-nested-cursor2-expected.html |
| @@ -0,0 +1,41 @@ |
| +<!DOCTYPE html> |
| +<html> |
| +<head> |
| + <script src="../../resources/js-test.js"></script> |
|
jochen (gone - plz use gerrit)
2014/08/01 07:53:14
nit. 4 spaces indent in blink
mustaq
2014/08/01 14:31:32
Done.
|
| + <link rel="stylesheet" type="text/css" href="resources/link-highlight-style.css"> |
| + <style> |
| + #outerDiv { |
| + width: 150px; |
| + } |
| + #outerDiv, #outerDiv div { |
| + padding: 15px; |
| + border-style: solid; |
| + } |
| + </style> |
| +</head> |
| +<body onload="runTest();"> |
| + <div id="highlight" class="fauxHighlight" style="z-index: 1; position: absolute"></div> |
| + <div class="opaqueHighlight" id="outerDiv" style="cursor: pointer"> |
| + <div> |
| + <div style="cursor: pointer"> |
| + <div id="innerDiv"></div> |
| + </div> |
| + </div> |
| + </div> |
| + |
| + <script> |
| + function runTest() { |
| + var clientRect = document.getElementById("outerDiv").getBoundingClientRect(); |
| + var highlight = document.getElementById("highlight"); |
| + |
| + highlight.style.left = clientRect.left + "px"; |
| + highlight.style.top = clientRect.top + "px"; |
| + highlight.style.width = clientRect.width + "px"; |
| + highlight.style.height = clientRect.height + "px"; |
| + |
| + if (window.testRunner) |
| + testRunner.dumpAsTextWithPixelResults(); |
| + } |
| + </script> |
| +</body> |
| +</html> |