Dragging & dropping a file creates an attachment element even when it's disabled
[WebKit-https.git] / LayoutTests / accessibility / ios-simulator / attributed-string-for-range.html
1 <!DOCTYPE html><!-- webkit-test-runner [ enableAttachmentElement=true ] -->
2 <html>
3 <body id="body">
4
5 <div id="content">
6 hello 
7
8 <img src="resources/cake.png" alt="cake"> 
9 <attachment id="attachment" title="title" subtitle="subtitle" action="action" progress="0.5"></attachment>
10
11 world
12 </div>
13
14 <p id="description"></p>
15 <div id="console"></div>
16 <script src="../../resources/js-test-pre.js"></script>
17 <script>
18
19     description("This test ensures that attributed string for range works");
20
21     if (window.accessibilityController) {
22
23         var obj = accessibilityController.accessibleElementById("content");
24         var text = obj.attributedStringForRange(0, 10);
25         debug("Attributed string: " + text);
26     }
27
28     successfullyParsed = true;
29 </script>
30
31 <script src="../../resources/js-test-post.js"></script>
32 </body>
33 </html>
34