blob: a517c4a318a09f886c71728f12b6a8938a2ee4d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<body>
<p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=25379">bug 25379<a>:
Selecting a bank in American Express Pay Bill fails.</p>
<p>Both SELECT elements below should say PASS.</p>
<select>
<option selected>FAIL</option>
<option selected>PASS</option>
</select>
<div id=paymentoptions></div>
<script>
if (window.testRunner)
testRunner.dumpAsText();
document.getElementById("paymentoptions").innerHTML =
'<select>' +
'<option selected>FAIL</option>' +
'<option selected>PASS</option>' +
'</select>'
if (window.testRunner && document.getElementsByTagName("select")[0].value == "PASS" && document.getElementsByTagName("select")[1].value == "PASS")
document.write("PASS");
</script>
</body>
|