[Web GPU] GPURenderPassEncoder updates: setBlendColor, setViewport, setScissorRect
[WebKit-https.git] / LayoutTests / accessibility / internal-link-anchors2.html
1 <html>
2 <script>
3     if (window.testRunner)
4         testRunner.dumpAsText();
5 </script>
6 <body>
7     
8     <div id="result"></div>
9     
10     <!-- Test internally named linked anchors -->
11     <li class="toclevel-2"><a href="#Tourette_syndrome" id="tourette_anchor"><span class="tocnumber">2.2</span> <span class="toctext">Tourette syndrome</span></a></li>
12     <p><a name="Tourette_syndrome" id="Tourette_syndrome"></a></p>
13     <h3><span class="editsection">[<a href="/w/index.php?title=Samuel_Johnson&amp;action=edit&amp;section=11" title="Edit section: Tourette syndrome">edit</a>]</span> <span class="mw-headline">Tourette syndrome</span></h3>
14      
15     <A HREF="#bottom" id="bottom_anchor">Link to anchor</A> <A HREF="#bottom2" id="bottom2_anchor">Link to div</A>
16     <BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
17     <BR><BR><BR><BR><BR>This is some text in the middle<BR><BR><BR><BR><BR>
18     <BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
19     This is some text.
20     This is a bottom anchor<a id="bottom"></A>
21     <BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
22     <DIV ID="bottom2">This is a div</DIV>
23
24
25     <script>
26         if (window.accessibilityController) {
27             var result = document.getElementById("result");
28             result.innerText += "Anchor Tests\n";
29             result.innerText += "----------------------\n";
30
31             var labeledItem = document.getElementById("tourette_anchor");
32             labeledItem.focus();
33             result.innerText += accessibilityController.focusedElement.attributesOfLinkedUIElements() + "\n\n"; 
34
35             labeledItem = document.getElementById("bottom_anchor");
36             labeledItem.focus();
37             result.innerText += accessibilityController.focusedElement.attributesOfLinkedUIElements() + "\n\n"; 
38
39             labeledItem = document.getElementById("bottom2_anchor");
40             labeledItem.focus();
41             result.innerText += accessibilityController.focusedElement.attributesOfLinkedUIElements() + "\n\n"; 
42         }
43     </script>
44 </body>
45 </html>