<html>
<head>
<link rel="stylesheet" type="text/css" href="resources/link-highlight-style.css">
+<script src="resources/link-highlight-helper.js"></script>
</head>
<body onload="runTest();">
<div id="targetDiv" style="position: relative; left: 10px; top: 10px"></div>
<div style="position: relative; left: 10px; top: 40px; width: 300px; height: 150px; overflow-y: scroll; overflow-x: scroll;">
<div style="position: relative; left: 10px; top: i10px; width: 200px; height: 100px; overflow-y: scroll; overflow-x: scroll;">
- <div style="-webkit-transform: translateZ(0)">
+ <div style="transform: translateZ(0)">
<a href="">Link 1</a><br>
<a href="">Link 2</a><br>
<a href="">Link 3</a><br>
<a href="">Link 9</a><br>
</div>
<div style="position: relative; left: 10px; top: 80px">
-This test is successful if "Target Link" above is covered in a green rectangle with rounded corners.
+This test is successful if "Target Link" above is covered in a green rectangle with square corners.
</div>
<script>
function runTest() {
+ useMockHighlight();
var clientRect = document.getElementById('targetLink').getBoundingClientRect();
x = (clientRect.left + clientRect.right) / 2;
y = (clientRect.top + clientRect.bottom) / 2;