repo.or.cz
/
webbrowser.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Rubber-stamped by Brady Eidson.
[webbrowser.git]
/
LayoutTests
/
fast
/
forms
/
menulist-selection-reset.html
blob
20ac958e09d6320f405488d1a9918ae197dce317
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
.
layoutTestController
)
10
layoutTestController
.
dumpAsText
();
11
12
select
.
selectedIndex
=
1
;
13
result
.
innerText
=
select
.
selectedIndex
==
1
?
"PASS"
:
"FAIL"
;
14
</script>