4 <title>This test ensures all elements are highlighted in a multielement
<a> when the text is clicked
</title>
5 <script src=
"resources/link-highlight-helper.js"></script>
6 <link rel=
"stylesheet" type=
"text/css" href=
"resources/link-highlight-style.css">
8 <body onload=
"runTest();">
9 <div style=
"transform: translateZ(0); padding: 20px;">
11 <font style=
"vertical-align: bottom" id=
"beforeTarget">Before Text
</font><img id=
"imgTarget" width=
"320" height=
"240" src=
"resources/dice.png"><font style=
"vertical-align: bottom" id=
"afterTarget">After Text
</font>
16 createSquareCompositedHighlight(document
.getElementById('beforeTarget'));
17 createSquareCompositedHighlight(document
.getElementById('imgTarget'));
18 createSquareCompositedHighlight(document
.getElementById('afterTarget'));
20 if (window
.testRunner
)
21 testRunner
.dumpAsTextWithPixelResults();