OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <script src="resources/polyfill.js"></script> | |
3 | 2 |
4 <p>Validation won't be shown if Shadow DOM does not have a shadow element.</p> | 3 <p>Validation won't be shown if Shadow DOM does not have a shadow element.</p> |
5 <form id='form' action="input-with-validation-without-shadow.html"> | 4 <form id='form' action="input-with-validation-without-shadow.html"> |
6 <input id=password type=password maxlength=20 title="Needs at least 8 letters.&#
x0a;Should not be identical with the current password."> | 5 <input id=password type=password maxlength=20 title="Needs at least 8 letters.&#
x0a;Should not be identical with the current password."> |
7 <input type=submit id=submit> | 6 <input type=submit id=submit> |
8 </form> | 7 </form> |
9 | 8 |
10 <script> | 9 <script> |
11 var input = document.getElementById('password'); | 10 var input = document.getElementById('password'); |
12 | 11 |
13 if (window.testRunner) { | 12 if (window.testRunner) { |
14 testRunner.waitUntilDone(); | 13 testRunner.waitUntilDone(); |
15 setTimeout(function() { | 14 setTimeout(function() { |
16 testRunner.notifyDone(); | 15 testRunner.notifyDone(); |
17 }, 10); | 16 }, 10); |
18 } | 17 } |
19 </script> | 18 </script> |
20 | 19 |
OLD | NEW |