Chromium Code Reviews| Index: LayoutTests/compositing/gestures/gesture-tapHighlight-adjustment-clipping-expected.html |
| diff --git a/LayoutTests/compositing/gestures/gesture-tapHighlight-adjustment-clipping-expected.html b/LayoutTests/compositing/gestures/gesture-tapHighlight-adjustment-clipping-expected.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..dcfee4b1160796efd75b5b5a9b727d43b677714c |
| --- /dev/null |
| +++ b/LayoutTests/compositing/gestures/gesture-tapHighlight-adjustment-clipping-expected.html |
| @@ -0,0 +1,41 @@ |
| +<!DOCTYPE html> |
|
Zeeshan Qureshi
2014/08/22 15:17:15
This is to generate the pixel results dynamically?
|
| +<script src="../../resources/js-test.js"></script> |
| +<script src="resources/link-highlight-helper.js"></script> |
| +<link rel="stylesheet" type="text/css" href="resources/link-highlight-style.css"> |
| +<style> |
| +#highlightTarget { |
| + position: absolute; |
| + height: 200px; |
| + left: 50px; |
| + top: 180px; |
| + width: 20px; |
| + background-color: red; |
| +} |
| + |
| +#clip { |
| + position: absolute; |
| + top: 200px; |
| + left: 0; |
| + width: 50px; |
| + height: 150px; |
| + overflow: hidden; |
| +} |
| + |
| +#fakeTarget { |
| + width: 150px; |
| + height: 150px; |
| + background-color: lightblue; |
| +} |
| + |
| +</style> |
| + |
| +<div id=highlightTarget class=target></div> |
| +<div id=clip> |
| + <div id=fakeTarget class=target></div> |
| +</div> |
| + |
| +<script> |
| +description('This test is successful if the red box is completely covered in a green rectangle with square corners.'); |
| +createHighlight(highlightTarget); |
| +testRunner.dumpAsTextWithPixelResults(); |
| +</script> |