eric@webkit.org | 2f851f1 | 2010-02-25 05:24:09 +0000 | [diff] [blame] | 1 | <html> |
| 2 | <head> |
| 3 | </head> |
| 4 | <body> |
| 5 | <p>This page tests that the autofill popup is not shown for read-only and disabled text inputs.</p> |
| 6 | <p>Do the following:</p> |
| 7 | <ul> |
| 8 | <li>Enter a name in the input text in Form 1 and press submit. This is so the autofill has a value for that field.</li> |
| 9 | <li>Reload the page so the input text is empty. Click twice on the Form 1 text input. An autofill popup with the name you entered previously should be shown.</li> |
| 10 | <li>Click twice on the Form 2 text input. No autofill popup should be shown.</li> |
| 11 | <li>Click twice on the Form 3 text input. No autofill popup should be shown.</li> |
| 12 | </ul> |
| 13 | |
| 14 | <h1>Form 1 (text input non read-only)</h1> |
| 15 | <form action="no-autofill-on-readonly.html"> |
| 16 | Name:<input type="text" name="name"></input><br> |
| 17 | <input type="submit"></input> |
| 18 | </form> |
| 19 | |
| 20 | <h1>Form 2 (text input read-only)</h1> |
| 21 | <form action="no-autofill-on-readonly.html"> |
| 22 | Name:<input type="text" name="name" READONLY></input><br> |
| 23 | <input type="submit"></input> |
| 24 | </form> |
| 25 | |
| 26 | <h1>Form 3 (text input disabled)</h1> |
| 27 | <form action="no-autofill-on-readonly.html"> |
| 28 | Name:<input type="text" name="name" DISABLED></input><br> |
| 29 | <input type="submit"></input> |
| 30 | </form> |
| 31 | |
| 32 | </body> |
| 33 | </html> |