5 /* By applying a transform to the html element, we ensure that
6 RenderGeometryMap::pushMappingsToAncestor takes the slow bath (which doesn't push
12 <script src="../../../resources/js-test.js"></script>
15 <p id="description"></p>
16 <div id="console"></div>
17 <div id="touchtarget" ontouchstart="foo()">Foo</div>
19 description("Make sure we don't ASSERT when the first layer is special and can't use the RenderGeometryMap fast path - crbug.com/339141.");
22 // Verify we actually have a hit rect in the document.
23 if (window.internals) {
24 rects = window.internals.touchEventTargetLayerRects(document);
25 shouldBe("rects.length", "1");
26 shouldBeEqualToString("rects[0].layerAssociatedNode.nodeName", "#document");