/[suikacvs]/www/test/html/script/event-attr/language/label-javascript-2.html
Suika

Contents of /www/test/html/script/event-attr/language/label-javascript-2.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Fri Dec 29 11:52:54 2006 UTC (19 years, 6 months ago) by wakaba
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/html
New tests

1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <title>onload="javascript: code"</title>
5 </head>
6 <body onload="
7
8
9 javascript:
10 for (var i = 0; i < 2; i++) {
11 if (i == 0) {
12 document.forms.results.result.value = 'PASS';
13 break javascript;
14 } else {
15 document.forms.results.result.value = 'FAIL (ignored)';
16 }
17 }"><form name="results">
18 <noscript><input type="text" name="result" value="noscript"></noscript>
19 <script type="text/javascript">
20 document.write ('<input type="text" name="result"\
21 value="FAIL (not executed)">');
22 </script>
23 </form></body>
24 </html>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24