<!DOCTYPE html>
<html>
<head>
<script src="resources/process-auto-fill-button-type-and-invoke-runTest.js"></script>
<script>
if (window.testRunner)
    testRunner.waitUntilDone();

function runTest()
{
    document.forms[0].reset();
    if (window.internals)
        internals.updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks();
    if (window.testRunner)
        testRunner.notifyDone();
}
</script>
</head>
<body>
<p>This tests that that an autofilled and viewable Strong Password decorated text field reverts to its original appearance when the form is reset. It can only be tested in the test tool.</p>
<form>
<input type="password" value="Cupertino" data-auto-fill-button-type="StrongPassword" data-autofilled="true">
</form>
</body>
</html>
