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

Side by Side Diff: LayoutTests/fast/forms/suggested-value-after-setvalue.html

Issue 7768005: Merge 94637 - REGRESSION(r94274): The inner text value of an input element is not updated when in... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/874/
Patch Set: Created 9 years, 3 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
« no previous file with comments | « no previous file | LayoutTests/fast/forms/suggested-value-after-setvalue-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <body> 3 <body>
4 <p id="description">This test setting a value clears suggested value.</p> 4 <p id="description">This test setting a value clears suggested value.</p>
5 <pre><input id="test" type="text" value="initial value"></pre> 5 <pre><input id="test" type="text" value="initial value"></pre>
6 <script src="../../resources/dump-as-markup.js"></script> 6 <script src="../../resources/dump-as-markup.js"></script>
7 <script> 7 <script>
8 8
9 var input = document.getElementById('test'); 9 var input = document.getElementById('test');
10 var result = document.getElementById('result'); 10 var result = document.getElementById('result');
(...skipping 28 matching lines...) Expand all
39 39
40 log(); 40 log();
41 var innerTextValue = internals.shadowRoot(input).firstChild.innerText; 41 var innerTextValue = internals.shadowRoot(input).firstChild.innerText;
42 addText(innerTextValue == 'new value' ? 'PASS' : 'FAIL'); 42 addText(innerTextValue == 'new value' ? 'PASS' : 'FAIL');
43 Markup.dump(input.parentNode, 'After setting value'); 43 Markup.dump(input.parentNode, 'After setting value');
44 } 44 }
45 45
46 </script> 46 </script>
47 </body> 47 </body>
48 </html> 48 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/forms/suggested-value-after-setvalue-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698