Dragging & dropping a file creates an attachment element even when it's disabled
[WebKit-https.git] / LayoutTests / fast / attachment / attachment-title.html
1 <!DOCTYPE html><!-- webkit-test-runner [ enableAttachmentElement=true ] -->
2 <html>
3 <body>
4 <attachment id="attachment" title="overridden title" subtitle="1024 bytes"></attachment>
5 <script>
6 var file;
7 if (window.internals)
8     file = window.internals.createFile("resources/test-file.txt");
9
10 document.getElementById("attachment").file = file;
11 </script>
12 </body>
13 </html>