repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
fast
/
forms
/
menulist-selection-reset.html
blob
0f790d10a918a06188dcaba6fe48e64fd3aeb390
1
<select
id
=
"select"
>
2
<option>
FAIL
</option>
3
<option>
PASS
</option>
4
<option
selected
=
"true"
>
Did not run
</option>
5
</select>
6
<p
id
=
"result"
>
7
</p>
8
<script>
9
if
(
window
.
testRunner
)
10
testRunner
.
dumpAsText
();
11
12
select
.
selectedIndex
=
1
;
13
result
.
innerText
=
select
.
selectedIndex
==
1
?
"PASS"
:
"FAIL"
;
14
</script>