summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/compositing/gestures/gesture-tapHighlight-simple-background-expected.html
blob: bb1a343b17ceba7c0b1105e55c0803053799b60e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<html>
<head>
<script src="../../resources/js-test.js"></script>
</head>
<body onload="runTest();">
<div style="transform: translateZ(0); position: relative; left: 10px; top: 40px">
<a href="" id="targetLink" style="-webkit-tap-highlight-color: rgba(0, 255, 0, 0.5)">Target Link.</a>
</div>
<div style="position: relative; left: 10px; top: 70px">
This test is successful if no link highlight appears (in particular, the entire viewport should remain unchanged, and the background
should be white and not grey).
</div>
<script>
function runTest() {
    if (window.testRunner)
        testRunner.dumpAsTextWithPixelResults();
}
</script>
</script>
</body>
</html>