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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/select-initial-position.html

Issue 1509853008: Move select/option/optgroup-related tests in fast/forms to fast/forms/select. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/forms/select-initial-position.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/select-initial-position.html b/third_party/WebKit/LayoutTests/fast/forms/select-initial-position.html
deleted file mode 100644
index 7e24851b603e3841d6b4f9e0210238f362f887c5..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/forms/select-initial-position.html
+++ /dev/null
@@ -1,148 +0,0 @@
-<html>
-
-<body>
-initial selected:<br>
-<select name="component" size="4">
- <option>opt</option>
- <option>opt</option>
- <option>opt</option>
- <option>opt</option>
- <option>opt</option>
- <option>opt</option>
- <option>opt</option>
- <option>opt</option>
- <option>opt</option>
- <option>opt</option>
- <option selected=selected>this should be selected</option>
- <option>opt</option>
- <option>opt</option>
- <option>opt</option>
-</select>
-<br>
-dynamic selected change:<br>
-<select size="4">
- <option>opt</option>
- <option>opt</option>
- <option>opt</option>
- <option>opt</option>
- <option>opt</option>
- <option>opt</option>
- <option>opt</option>
- <option>opt</option>
- <option>opt</option>
- <option>opt</option>
- <option id='x'>this should be selected</option>
- <option>opt</option>
- <option>opt</option>
- <option>opt</option>
-</select>
-<script>
-document.getElementById('x').selected = 'selected';
-</script>
-<br>
-dynamic insert of selected option:<br>
-<script>
-var sel = document.createElement('select');
-sel.setAttribute('size','4');
-document.body.appendChild(sel);
-var opt = document.createElement('option')
-opt.innerHTML = 'opt';
-sel.appendChild(opt);
-opt = document.createElement('option')
-opt.innerHTML = 'opt';
-sel.appendChild(opt);
-opt = document.createElement('option')
-opt.innerHTML = 'opt';
-sel.appendChild(opt);
-opt = document.createElement('option')
-opt.innerHTML = 'opt';
-sel.appendChild(opt);
-opt = document.createElement('option')
-opt.innerHTML = 'opt';
-sel.appendChild(opt);
-opt = document.createElement('option')
-opt.innerHTML = 'opt';
-sel.appendChild(opt);
-opt = document.createElement('option')
-opt.innerHTML = 'this should be selected';
-opt.selected = 'selected';
-sel.appendChild(opt);
-opt = document.createElement('option')
-opt.innerHTML = 'opt';
-sel.appendChild(opt);
-</script>
-<br>
-initial selected:<br>
-<select name="component" size="1">
- <option>opt</option>
- <option>opt</option>
- <option>opt</option>
- <option>opt</option>
- <option>opt</option>
- <option>opt</option>
- <option>opt</option>
- <option>opt</option>
- <option>opt</option>
- <option>opt</option>
- <option selected=selected>this should be selected</option>
- <option>opt</option>
- <option>opt</option>
- <option>opt</option>
-</select>
-<br>
-dynamic selected change:<br>
-<select size="1">
- <option>opt</option>
- <option>opt</option>
- <option>opt</option>
- <option>opt</option>
- <option>opt</option>
- <option>opt</option>
- <option>opt</option>
- <option>opt</option>
- <option>opt</option>
- <option>opt</option>
- <option id='xx'>this should be selected</option>
- <option>opt</option>
- <option>opt</option>
- <option>opt</option>
-</select>
-<script>
-document.getElementById('xx').selected = 'selected';
-</script>
-<br>
-dynamic insert of selected option:<br>
-<script>
-var sel = document.createElement('select');
-sel.setAttribute('size','1');
-document.body.appendChild(sel);
-var opt = document.createElement('option')
-opt.innerHTML = 'opt';
-sel.appendChild(opt);
-opt = document.createElement('option')
-opt.innerHTML = 'opt';
-sel.appendChild(opt);
-opt = document.createElement('option')
-opt.innerHTML = 'opt';
-sel.appendChild(opt);
-opt = document.createElement('option')
-opt.innerHTML = 'opt';
-sel.appendChild(opt);
-opt = document.createElement('option')
-opt.innerHTML = 'opt';
-sel.appendChild(opt);
-opt = document.createElement('option')
-opt.innerHTML = 'opt';
-sel.appendChild(opt);
-opt = document.createElement('option')
-opt.innerHTML = 'this should be selected';
-opt.selected = 'selected';
-sel.appendChild(opt);
-opt = document.createElement('option')
-opt.innerHTML = 'opt';
-sel.appendChild(opt);
-</script>
-
-</body>
-
-</html>

Powered by Google App Engine
This is Rietveld 408576698