Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Side by Side Diff: LayoutTests/fast/dom/shadow/input-with-validation-expected.html

Issue 14594006: Remove Internals::createShadowRoot(element) and polyfill.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="resources/polyfill.js"></script>
3 2
4 <p>Validation should be shown if Shadow DOM has a shadow element.</p> 3 <p>Validation should be shown if Shadow DOM has a shadow element.</p>
5 <form id='form' action="input-with-validation.html"> 4 <form id='form' action="input-with-validation.html">
6 <input id=password type=password required maxlength=20 title="Needs at least 8 l etters.&#x0a;Should not be identical with the current password."> 5 <input id=password type=password required maxlength=20 title="Needs at least 8 l etters.&#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 document.getElementById('submit').click(); 12 document.getElementById('submit').click();
14 if (window.testRunner) { 13 if (window.testRunner) {
15 testRunner.waitUntilDone(); 14 testRunner.waitUntilDone();
16 setTimeout(function() { 15 setTimeout(function() {
17 testRunner.notifyDone(); 16 testRunner.notifyDone();
18 }, 10); 17 }, 10);
19 } 18 }
20 </script> 19 </script>
21 20
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698