Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / file / file-reset-in-change.html
blob7e4952e8d4bb3f5ef58a230504c5e8b66faccf59
1 <!DOCTYPE html>
2 <script src="resources/file-drag-common.js"></script>
3 <body>
4 <p>Resetting a file upload control by script should clear the icon.</p>
5 <p>Manual test: Select a file for the file upload control, and confirm it has no icon.</p>
6 <input id=file1 type=file>
7 </form>
8 <script>
9 function handleChange() {
10 file1.value = '';
13 var file1 = document.getElementById('file1');
14 file1.addEventListener('change', handleChange);
15 dragFilesOntoElement(file1, ['foo.txt']);
16 </script>
17 </body>