~ubuntu-branches/ubuntu/raring/qtwebkit-source/raring-proposed

« back to all changes in this revision

Viewing changes to ManualTests/input-empty-on-focus.html

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2013-02-18 14:24:18 UTC
  • Revision ID: package-import@ubuntu.com-20130218142418-eon0jmjg3nj438uy
Tags: upstream-2.3
ImportĀ upstreamĀ versionĀ 2.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<div><img width="200" height="200" src="resources/200x200.png"></div>
 
2
<div><input onfocus="this.value = ''" value="drop image here go boom"></div>
 
3
<p>Drag the image above down into the text field.
 
4
If the test succeeds there will be no crash and you'll end up with an empty text field with a blinking caret.
 
5
It's arguably a bug that the text field accepts an image at all, so some day we might fix that and make this
 
6
test obsolete. Maybe we can find some other way to test the same code path.</p>