Dragging & dropping a file creates an attachment element even when it's disabled
[WebKit-https.git] / LayoutTests / fast / attachment / attachment-folder-icon-expected.html
1 <!DOCTYPE html><!-- webkit-test-runner [ enableAttachmentElement=true ] -->
2 <html>
3 <body>
4 <attachment title=" "></attachment>
5 <attachment title=" "></attachment>
6 <script>
7 if (window.internals)
8     file = window.internals.createFile("resources/");
9
10 var attachments = document.getElementsByTagName("attachment");
11 for (var i = 0; i < attachments.length; i++)
12     attachments[i].file = file;
13 </script>
14 </body>
15 </html>