4 border: black solid
1px;
8 transform: translateZ(
0);
13 background-color: red;
21 background-color: gray;
27 background-color: orange;
38 height:
10px; width:
100%;
43 if (window
.testRunner
) {
44 testRunner
.dumpAsTextWithPixelResults();
45 testRunner
.waitUntilDone();
48 if (window
.internals
) {
49 window
.internals
.settings
.setPreferCompositingToLCDTextEnabled(true);
53 var clientRect
= document
.getElementById('targetLink').getBoundingClientRect();
54 x
= (clientRect
.left
+ clientRect
.right
) / 2;
55 y
= (clientRect
.top
+ clientRect
.bottom
) / 2;
57 if (window
.eventSender
) {
58 eventSender
.gestureShowPress(x
, y
);
59 window
.setTimeout(function() { window
.testRunner
.notifyDone(); }, 0);
63 window
.onload
= runTest
;
65 <div class='fixed composited'
></div>
66 <div class='container'
>
67 <div class='composited'
></div>
68 <div class='squash-spacer'
></div>
70 <a href='#' id='targetLink'
>Target Link.
</a>
72 <div class='filler'
></div>