REGRESSION TEST FILES - *** NOT PART OF THE BUILD ***

a=granrose
This commit is contained in:
harishd%netscape.com 2000-12-05 18:51:05 +00:00
parent 20c82f88e9
commit 6b35919567
26 changed files with 9608 additions and 0 deletions

View File

@ -0,0 +1,18 @@
<html>
<head><title> &lt </title></head>
<body>
<FORM>
<TEXTAREA ROWS=8 COLS=50>&lt
<table width="100%"; >
bgcolor= #FFFFFF ;
<tr> &lt
<td> a </td>
</tr>
</table>
</TEXTAREA>
</FORM>
<script>
err()
</script>
</body>
</html>

View File

@ -0,0 +1,7 @@
<table border=1>
<tr><td bgcolor="red>1</td>
</tr>
bad text
<tr><td bgcolor=blue>2</td>
</tr>
</table>

View File

@ -0,0 +1,259 @@
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<title>Rob Kaper's Capsi | Beyond Paradise</title>
<meta name="author" content="Rob Kaper">
<meta name="copyright" content="&copy; Copyright 1995-2000 Rob Kaper.">
<meta name="capsi_layout" content="HTML4/CSS2 incompatible: Netscape, Explorer (Mozilla/4.72 (Macintosh; U; PPC))">
<meta name="keywords" content="capsi,rob,kaper,cap,pepsi,capricorn,rjkap,beyond,paradise,home,page,homepage,home-page,web,site,website,web-site,personal,code,chat,fun,entertainment">
<meta name="description" content="Rob Kaper's Capsi: a splarkling website including personal items (a bio, poetry and a resume), fun stuff (a postcard server, the Capsi chat) and serious stuff (Linux code).">
<style type="text/css">
<!--
a
{
text-decoration: none
}
a:hover
{
text-decoration: underline
}
h4
{
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 12pt;
font-style: normal;
font-weight: bold;
list-style-type: square;
list-style-image: none
}
b
{
font-weight: bold
}
td
{
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 10pt;
font-style: normal;
font-weight: normal;
list-style-type: square;
list-style-image: none
}
small
{
font-family: Helvetica, Arial, sans-serif;
font-size: 10pt;
font-style: normal;
font-weight: normal;
list-style-type: square;
list-style-image: none
}
pre
{
font-family: Verdana, Fixed, Courier, sans-serif;
font-size: 10pt;
font-style: normal;
font-weight: normal;
list-style-type: square;
list-style-image: none
}
tt
{
font-family: Fixed, Courier, monospace;
font-size: 12pt;
font-style: normal;
font-weight: normal;
list-style-type: square;
list-style-image: none
}
#title
{
position: absolute;
width: auto;
height: 20px;
left: 170px;
right: 10px;
top: 87px;
bottom: auto;
border: solid 1px #ffffff;
background-color: #e1e0ff;
background-image: url("/img/bg-layer.jpg");
font-family: Verdana, Helvetica, Arial, sans-serif;
font-weight: bold;
font-size: 12pt;
}
#header
{
position: absolute;
width: auto;
height: 68px;
left: 170px;
right: 10px;
top: 10px;
bottom: auto;
text-align: center;
margin-top: auto;
border: solid 1px white;
background-color: #e1e0ff;
background-image: url("/img/bg-layer.jpg");
font-family: Helvetica, Arial, sans-serif;
font-size: 10pt;
padding: 2px;
}
#footer
{
position: fixed;
width: auto;
height: 15px;
left: 10px;
right: 10px;
top: auto;
bottom: 0;
text-align: right;
margin-top: auto;
background-color: #e1e0ff;
background-image: url("/img/bg-blue.jpg");
font-family: Helvetica, Arial, sans-serif;
font-size: 10pt;
padding: 0px;
}
#ad
{
position: absolute;
width: auto;
height: 60px;
left: 170px;
right: 10px;
top: auto;
bottom: 15px;
text-align: center;
margin-top: auto;
border: solid 1px white;
background-color: #e1e0ff;
background-image: url("/img/bg-layer.jpg");
font-family: Helvetica, Arial, sans-serif;
font-size: 10pt;
}
#sidebar
{
position: fixed;
width: 150px;
height: auto;
left: 10px;
right: 160px;
top: 10px;
bottom: 15px;
background-color: #e1e0ff;
background-image: url("/img/bg-horizontal.jpg");
border: solid 1px white;
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 10pt;
}
#main
{
position: absolute;
width: auto;
height: auto;
left: 170px;
right: 10px;
top: 112px;
bottom: 80px;
background-color: #ffffff;
border: solid 1px #ccccff;
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 10pt;
list-style-image: url("/img/box-tiny.jpg");
padding: 5px;
}
-->
</style>
</head>
<body bgcolor="#ffffff" background="/img/bg-blue.jpg" text="#000000" link="#0000aa" alink="#000000" vlink="#3333ff">
<div id="header">
<a href="/personal.html"><img src="/img/menu/personal.jpg" width=69 height=68 alt="[Personal]" border=0></a>
<a href="/code.html"><img src="/img/menu/code.jpg" width=69 height=68 alt="[Code]" border=0></a>
<a href="/chat.html"><img src="/img/menu/chat.jpg" width=69 height=68 alt="[Chat]" border=0></a>
<a href="/starcrush.html"><img src="/img/menu/starcrush.jpg" width=145 height=68 alt="[Starcrush]" border=0></a>
</div>
<div id="title">&nbsp; <a href="./">Capsi</a> | Beyond Paradise &nbsp;</div>
<div id="sidebar" style="position: absolute">
<a href="./"><img src="/img/capsi-blue.jpg" width=150 height=60 alt="[Capsi]" border=0></a>
<center><small>
<a href="/">Home</a>
<br><a href="/faq.html">FAQ</a>
+ <a href="/gbook-read.html">Guestbook</a>
+ <a href="/mail.html">Mail</a>
<br><a href="/postcards.html">Postcards</a>
+ <a href="/vortex.html">Vortex</a>
<br><a href="/user-login.html?r=/index.html">Login</a>
</small>
<p><b>Sections</b>
<br><a href="/personal.html">Personal</a>
<br><a href="/code.html">Code</a>
<br><a href="/chat.html">CapsiChat</a>
<br><a href="/starcrush.html">Starcrush</a>
</center>
</div>
<div id="main">
Welcome to Capsi! This website is divided into the following sections:
<br><br>
<center><table border=0 cellpadding=1 cellspacing=0 bgcolor="#ccccff"><tr><td>
<table border=0 cellpadding=1 cellspacing=0 bgcolor="#ffffff"><tr><td>
<table border=0 cellpadding=2 cellspacing=1 bgcolor="#e1e0ff"><tr>
<td><b>Section</b></td>
<td><b>Description</b></td>
</tr><tr>
<td><img src="img/box-tiny.jpg" width=12 height=12 alt=""> <a href="personal.html">Personal</a></td>
<td><small>Aptly named because it's all about me</small></td>
</tr><tr>
<td><img src="img/box-tiny.jpg" width=12 height=12 alt=""> <a href="code.html">Code</a></td>
<td><small>Various programs and utilities I have written</small></td>
</tr><tr>
<td><img src="img/box-tiny.jpg" width=12 height=12 alt=""> <a href="chat.html">CapsiChat</a></td>
<td><small>My haven, or chat-box</small></td>
</tr><tr>
<td><img src="img/box-tiny.jpg" width=12 height=12 alt=""> <a href="starcrush.html">Starcrush</a></td>
<td><small>Chicks and babes, lads and dudes.</small></td>
</tr>
</table>
</td></tr></table>
</td></tr></table></center>
<br><br>
<center><table border=0 cellpadding=1 cellspacing=0 bgcolor="#ccccff"><tr><td>
<table border=0 cellpadding=1 cellspacing=0 bgcolor="#ffffff"><tr><td>
<table border=0 cellpadding=2 cellspacing=1 bgcolor="#e1e0ff"><tr>
<td valign=top><small>2000.05.19</small></td>
<td>
<b>Mission Back to Dot-Com</b>
<p>
I have made up my mind: I will drop the capsi.cx domain! Everything will
move back to capsi.com and the Capsi services in Maryland will be hosted
under the usa.capsi.com subdomain. Until the capsi.cx domain expires in
February 2001 all requests will be forwarded to the proper capsi.com
locations. I expect to make the big move in June or July.
</td>
</table>
</td></tr></table>
</td></tr></table></center>
<p><hr><center><a target="_top" href="http://ads.capsi.cx/redirect?host=hs0002586&amp;b=98&amp;v=0"><small>Please visit Capsi's sponsor</small><br><img src="http://ads.capsi.cx/cycle?host=hs0002586&amp;b=98&amp;noscript=1" width=468 height=60 alt="[Please visit Capsi's sponsor]" border=0></a></center>
</div>
</body>
</html>

View File

@ -0,0 +1,9 @@
<HTML>
<BODY>
<FORM METHOD=GET>
<INPUT TYPE=hidden NAME=blah VALUE="a
b">
<INPUT TYPE=submit>
</FORM>
</BODY>
</HTML>

View File

@ -0,0 +1,37 @@
<html>
<head>
<script>
function changePage() {
dump("Change Page!\n");
}
</script>
</head>
<body>
Start of Body Content
<script>
document.writeln('<FORM name="SelectMenu" method=post action="javascript:changePage();">');
with (document){
writeln('<FORM name="SelectMenu" method=post action="javascript:changePage();">');
writeln('script form content');
}
</script>
<noscript>
<FORM name="SelectMenu" method="post">
noscript form content goes here
<table border=1>
<tr><td>TABLE</td></tr>
illegal table content
</table>
</FORM>
</noscript>
<center>
<INPUT TYPE="IMAGE" WIDTH="50" HEIGTH="25" SRC="../Images/aim.gif" ALT="GO!" BORDER="0" valign="top">
</center>
</FORM>
</body>
</html>

View File

@ -0,0 +1,12 @@
<html>
<head>
<title>Computer Market Online</title>
<BASE HREF="http://www.computermarket.com.au/">\
</head>
<body bgcolor="#ffffff">
<table>
<tr><td><a href='prodDetail.asp?id=6007&catid=241'>This shows</a></td></tr>
<tr><td><a href='prodDetail.asp?id=6007&catid=241'"bgcolor=>This does not show</a></td></tr>
</table>
</body>
</html>x

View File

@ -0,0 +1,13 @@
<html>
<head>
<title>script test</title>
<script>
<!--
document.write("</script>");
document.write("hello there");
//-->
</script>
</head>
<body>
</body>
</html>

View File

@ -0,0 +1,421 @@
<HTML>
<BODY BGCOLOR="#FFFFFF" LINK="#000000" VLINK="#000000">
<img src="igh.src">ddasdasd
<CENTER>
<script language="Javascript">
var oldBrowser = 0
var curDate = new Date()
var curDay = curDate.getDate()
var curMonth = curDate.getMonth()
var curYear = curDate.getYear()
var nextDate = curDate
nextDate.setDate(curDay + 1) // increment the next day to set it right
var nextDay = nextDate.getDate()
var nextMonth = nextDate.getMonth()
var nextYear = nextDate.getYear()
var month = new Array(12)
month[0] = "Jan"
month[1] = "Feb"
month[2] = "Mar"
month[3] = "Apr"
month[4] = "May"
month[5] = "Jun"
month[6] = "Jul"
month[7] = "Aug"
month[8] = "Sep"
month[9] = "Oct"
month[10] = "Nov"
month[11] = "Dec"
if(navigator.appVersion.charAt(0) == "2") {
if (navigator.appName != "Microsoft Internet Explorer") {
oldBrowser=1
}
}
function writeOption(myNum, myValue, mySelected) {
if (oldBrowser == 0) {
if (mySelected == 1) {
document.write ('<option value=' + myNum + ' selected>' + myValue )
}
else
{
document.write ('<option value=' + myNum + '>' + myValue )
}
}
}
function showMonth(toSelect) {
for (var i=0; i < 12; i++ ) {
if (i == toSelect) {
writeOption(month[i], month[i], 1)
}
else
{
writeOption(month[i], month[i], 0)
}
}
}
function showDay(toSelect, myMonth, myYear) {
for (i=1; i <= 31; i++) {
if (i == toSelect) {
writeOption(i, i, 1)
}
else
{
writeOption(i, i, 0)
}
}
}
function mySubmit(myForm) {
// Dealing with year returned by different browsers
//if (curYear < 99) {
// var leaveYear = curYear + 2000
// var returnYear = curYear + 2000
//}
//else
//{
// var leaveYear = curYear + 1900
// var returnYear = curYear + 1900
//}
tempyear = new String(curYear)
if (tempyear.length < 4) {
curYear = curYear + 1900
}
var leaveYear = curYear
var returnYear = curYear
var leaveDay;
var returnDay;
if (curMonth > myForm.leaveMonth.selectedIndex) {
leaveYear = curYear+1
}
if (curMonth > myForm.returnMonth.selectedIndex) {
returnYear = curYear + 1
}
else
{
if (myForm.returnMonth.selectedIndex < myForm.leaveMonth.selectedIndex)
returnYear = curYear + 1
}
var tempDate = new Date(leaveYear, myForm.leaveMonth.selectedIndex, myForm.inp_dep_dt_dy_1.options[myForm.inp_dep_dt_dy_1.selectedIndex].value)
var leaveDay = tempDate.getDay()
tempDate = new Date(returnYear, myForm.returnMonth.selectedIndex, myForm.inp_ret_dep_dt_dy.options[myForm.inp_ret_dep_dt_dy.selectedIndex].value)
var returnDay = tempDate.getDay()
myForm.inp_dep_year.value = leaveYear
myForm.inp_arr_year.value = returnYear
myForm.inp_dep_day.value = leaveDay
myForm.inp_arr_day.value = returnDay
myForm.inp_dep_dt_mn_1.value = month[myForm.inp_dep_dt_mn_1.selectedIndex]
myForm.inp_dep_dt_mn_1.value = month[myForm.leaveMonth.selectedIndex]
myForm.inp_ret_dep_dt_mn.value = month[myForm.returnMonth.selectedIndex]
var myMessage = " Form fields: \n"
// myMessage += "Login - inp_es_alias - " + myForm.inp_es_alias.value + "\n"
// myMessage += "Password - inp_es_passwd - " + myForm.inp_es_passwd.value + "\n"
myMessage += "Travelers - inp_pax_cnt - " + (myForm.inp_pax_cnt.selectedIndex+1) + "\n"
myMessage += "Leaving From - inp_dep_arp_cd_1 - " + myForm.inp_dep_arp_cd_1.value + "\n"
myMessage += "Going To - inp_arr_arp_cd_1 - " + myForm.inp_arr_arp_cd_1.value + "\n"
myMessage += "Leave Year - inp_dep_year - " + leaveYear + "\n"
myMessage += "Leave Month - inp_dep_dt_mn_1 - " + myForm.inp_dep_dt_mn_1.value + "\n"
myMessage += "Leave Day - inp_dep_dt_dy_1 - " + (myForm.inp_dep_dt_dy_1.selectedIndex+1) + "\n"
myMessage += "Leave Weekday - inp_dep_day - " + leaveDay + "\n"
myMessage += "Leave Time - inp_dep_tm_1 - " + (myForm.inp_dep_tm_1.options[myForm.inp_dep_tm_1.selectedIndex].text) + "\n"
myMessage += "Return Year - inp_arr_year - " + returnYear + "\n"
myMessage += "Return Month - inp_ret_dep_dt_mn - " + myForm.inp_ret_dep_dt_mn.value + "\n"
myMessage += "Return Day - inp_ret_dep_dt_dy - " + (myForm.inp_ret_dep_dt_dy.selectedIndex+1) + "\n"
myMessage += "Return Weekday - inp_arr_day - " + returnDay + "\n"
myMessage += "Return Time - inp_ret_dep_tm - " + myForm.inp_ret_dep_tm.options[myForm.inp_ret_dep_tm.selectedIndex].text + "\n"
myMessage += "Service - Service - " + myService + "\n"
// myMessage += "SID - SID - " + myForm.SID.value + "\n"
// alert(myMessage)
myForm.submit()
}
// Get ready for some low down, ugly parsing. Don't say you weren't warned!
// var queryString = location.search.substring(0, location.search.length)
var queryString = window.location.href
var myStart = queryString.indexOf("?")
var myEnd = queryString.length
if (myStart < 0) {
myStart = 0
}
queryString = queryString.substring(myStart, myEnd)
var stampStart = queryString.indexOf("timestamp=") + 10 // 10 is len of string
var stampEnd = queryString.indexOf("&", stampStart) // get ending timestamp index
stampStart = parseFloat(stampStart)
stampEnd = parseFloat(stampEnd)
if (stampEnd < 0) {
stampEnd = location.search.length
}
var timeStamp = parseFloat(queryString.substring(stampStart, stampEnd)) // get timestamp
var timeOutStart = parseFloat(stampEnd + 9) // 9 is len of string
var timeOutEnd = parseFloat(queryString.indexOf("&", timeOutStart)) // get ending timeout index
if (timeOutEnd < 0 ) {
timeOutEnd = location.search.length
}
var timeOut = parseFloat(queryString.substring(timeOutStart, timeOutEnd)); // get timeout
var expireAt = timeStamp + timeOut
var sysStart = parseFloat(queryString.indexOf("systemtime=") + 11)
var sysEnd = parseFloat(queryString.indexOf("&", sysStart))
if (sysEnd < 0) {
sysEnd = location.search.length
}
var serviceStart = parseFloat(queryString.indexOf("Service=") + 8)
var serviceEnd = parseFloat(queryString.indexOf("&", serviceStart))
if (serviceEnd < 0) {
serviceEnd = location.search.length
}
var myService = queryString.substring(serviceStart, serviceEnd)
var sidStart = parseFloat(queryString.indexOf("SID=") + 4)
var sidEnd = parseFloat(queryString.indexOf("&", sidStart))
if (sidEnd < 0) {
sidEnd = location.search.length
}
if (queryString.indexOf("SID=") < 0 ) {
mySID = "NULL"
}
else {
mySID = queryString.substring(sidStart, sidEnd)
}
//-------------------------------------------------------------
// D E F A U L T S E R V I C E / C O B R A N D L O G I C
//-------------------------------------------------------------
if (queryString.indexOf("Service=") < 0) { // there is no service so set a default
myService = 'TRAVELOCITY'
}
var isNotCobrand = ( myService.toUpperCase() != "COMDEX" && myService.toUpperCase() != "JAL" && myService.toUpperCase() != "NETWORLD")
var sysTime = parseFloat(location.search.substring(sysStart, sysEnd))
// The next 2 ifs are hacks for NS 3.0
if (!queryString) {
queryString= "?undefined"
isNotCobrand = "true"
}
if (!expireAt) {
queryString = "?undefined"
}
if (isNotCobrand) {
document.write ('<CENTER>')
myVar = '<FORM ACT' + 'ION=http://dps1.travelocity.com/express.ctl?Service=TRAVELOCITY&expr_path=Y METHOD=POST>'
document.write (myVar)
document.write ('<input type=hidden name=Service value=' + myService + '> ')
if (mySID != "NULL") {
document.write (' <input type=hidden name=SID value=' + mySID + '>')
}
document.write ('<table cellspacing=0 cellpadding=1 bgcolor="#336699" WIDTH="405" border="0" align="left">')
document.write ('<tr>')
document.write ('<td>')
document.write ('<table cellspacing=0 cellpadding=0 bgcolor="#FFFFFF" WIDTH="405">')
document.write ('<tr>')
document.write ('<td bgcolor="#FFFFFF">')
document.write ('<TABLE WIDTH="405" CELLPADDING="2" CELLSPACING="0" BORDER="0">')
//
// -- TITLE --
//
document.write ('<TR>')
document.write ('<TD COLSPAN="6" BGCOLOR="#FFFFFF" VALIGN=TOP>')
document.write ('<TABLE WIDTH="405" BGCOLOR="#FFFFFF" CELLPADDING="0" CELLSPACING="0" BORDER="0">')
document.write ('<TR ALIGN=LEFT>')
document.write ('<TD VALIGN=TOP ALIGN=LEFT BGCOLOR="#336699"><FONT FACE="helvetica, arial" SIZE="2" color="#FFFFFF">&nbsp;<B>Book Your Roundtrip Flight Now!</FONT></B></TD>')
if ( ( parseFloat(expireAt) < parseFloat(sysTime)) || (parseFloat(timeStamp) == -1) || (queryString== "?undefined")){ // if we have session already
document.write ('<TD ALIGN=RIGHT BGCOLOR="#336699" valign=top><A HREF="http://dps1.travelocity.com/lognmemnew.ctl?Service=TRAVELOCITY&expr_path=Y' + myService + '&expr_path=Y" style=color=#FFFFFF><font face="arial, helvetica" size="1" color="#FFFFFF"><u>Need a login name?</u></A></font>&nbsp;')
}
else
{
document.write ('<td bgcolor="#000000">')
}
document.write ('</TD>')
document.write ('</TR>')
//
// don't display login message for express path if already logged in and we have a session
//
if ( ( parseFloat(expireAt) < parseFloat(sysTime)) || (parseFloat(timeStamp) == -1) || (queryString== "?undefined")){
document.write ('<TR><TD colspan="2"><FONT FACE="helvetica, arial" SIZE="1"><i>Log in here to search for roundtrip flights and special offers.</i></a></font></TD></TR>')
}
else
{
document.write ('<TR><TD colspan="2"><FONT FACE="helvetica, arial" SIZE="1"><i>Search for roundtrip flights and special offers.</i></a></font></TD></TR>')
}
document.write ('</TABLE>')
document.write ('</TD>')
document.write ('</TR>')
//
// -- END TITLE --
//
if ( (parseFloat(expireAt) < parseFloat(sysTime)) || (parseFloat(timeStamp) == -1) || queryString== "?undefined"){ // if we have an expired session, so form
// -- LOGIN/PASSWORD --
document.write ('<TR>')
document.write ('<TD NOWRAP><FONT FACE="helvetica, arial" SIZE="1">Login<br> name:</FONT></TD>')
document.write ('<TD VALIGN="TOP"><FONT SIZE="2"><INPUT TYPE="TEXT" NAME=inp_es_alias SIZE="8" MAXLENGTH="20"></FONT></TD>')
document.write ('<TD>&nbsp;</TD>')
document.write ('<TD align=left><FONT FACE="helvetica, arial" SIZE="1">Password:</FONT></TD>')
document.write ('<TD COLSPAN="2" align="left"><FONT SIZE="2"><INPUT TYPE="PASSWORD" NAME=inp_es_passwd SIZE="8"></FONT></TD>')
document.write ('</TR>')
// -- END LOGIN/PASSWORD --
} // end if
// -- LEAVING FROM/GOING TO --
//
document.write ('<TR>')
document.write ('<!-- a comment -->')
document.write ('<TD NOWRAP><FONT FACE="helvetica, arial" SIZE="1">Leaving<br>from:</FONT></TD>')
document.write ('<TD VALIGN="TOP"><FONT SIZE="2"><INPUT TYPE="TEXT" NAME="inp_dep_arp_cd_1" SIZE="10"></FONT></TD>')
document.write ('<TD><FONT SIZE="1" FACE="helvetica, arial">On:</FONT></TD>')
document.write ('<TD VALIGN="TOP" ALIGN="LEFT">')
document.write ('<FONT SIZE="2">')
document.write ('<SELECT NAME=leaveMonth size=1>')
document.write ('<scrip' + 't language="javascript"> ')
document.write ('show' + 'Month(curMonth); ')
document.write ('</scrip' + 't> ')
document.write ('</SELECT>')
document.write ('</FONT>')
document.write ('</TD>')
document.write ('<TD VALIGN="TOP" ALIGN="LEFT">')
document.write ('<FONT SIZE="2">')
document.write ('<SELECT NAME="inp_dep_dt_dy_1" size="1">')
document.write ('<scrip' + 't language="javascript"> ')
document.write ('show' + 'Day(curDay, curMonth, curYear); ')
document.write ('</scrip' + 't> ')
document.write ('</SELECT>')
document.write ('</FONT>')
document.write ('</TD>')
document.write ('<TD VALIGN="TOP" ALIGN="LEFT">')
document.write ('<FONT SIZE="2">')
document.write (' <SELECT NAME="inp_dep_tm_1" size="1">')
document.write ('<OPTION>12:00 AM</OPTION>')
document.write ('<OPTION>1:00 AM</OPTION>')
document.write ('<OPTION>2:00 AM</OPTION>')
document.write ('<OPTION>3:00 AM</OPTION>')
document.write ('<OPTION>4:00 AM</OPTION>')
document.write ('<OPTION>5:00 AM</OPTION>')
document.write ('<OPTION SELECTED>6:00 AM</OPTION>')
document.write ('<OPTION>7:00 AM</OPTION>')
document.write ('<OPTION>8:00 AM</OPTION>')
document.write ('<OPTION>9:00 AM</OPTION>')
document.write ('<OPTION>10:00 AM</OPTION>')
document.write ('<OPTION>11:00 AM</OPTION>')
document.write ('<OPTION>12:00 PM</OPTION>')
document.write ('<OPTION>1:00 PM</OPTION>')
document.write ('<OPTION>2:00 PM</OPTION>')
document.write ('<OPTION>3:00 PM</OPTION>')
document.write ('<OPTION>4:00 PM</OPTION>')
document.write ('<OPTION>5:00 PM</OPTION>')
document.write ('<OPTION>6:00 PM</OPTION>')
document.write ('<OPTION>7:00 PM</OPTION>')
document.write ('<OPTION>8:00 PM</OPTION>')
document.write ('<OPTION>9:00 PM</OPTION>')
document.write ('<OPTION>10:00 PM</OPTION>')
document.write ('<OPTION>11:00 PM</OPTION>')
document.write ('</SELECT>')
document.write ('</FONT>')
document.write ('</TD>')
document.write ('</TR>')
document.write ('<TR>')
document.write ('<TD NOWRAP>')
document.write ('<FONT FACE="helvetica, arial" SIZE="1">Going<br>to:</FONT></TD>')
document.write ('<TD VALIGN="TOP">')
document.write ('<FONT SIZE="2">')
document.write ('<INPUT TYPE="TEXT" NAME="inp_arr_arp_cd_1" SIZE="10"></FONT>')
document.write ('</TD>')
document.write ('<TD ALIGN="LEFT"><FONT SIZE="1" FACE="helvetica, arial">Return:</FONT></TD><TD VALIGN="TOP">')
document.write ('<FONT SIZE="2">')
document.write ('<SELECT NAME=returnMonth size=1>')
document.write ('<scrip' + 't language="javascript"> ')
document.write ('show' + 'Month(nextMonth); ')
document.write ('</scrip' + 't> ')
document.write ('</SELECT>')
document.write ('</FONT>')
document.write ('</TD>')
document.write ('<TD VALIGN="TOP" ALIGN="LEFT">')
document.write ('<FONT SIZE="2">')
document.write ('<SELECT NAME="inp_ret_dep_dt_dy" size="1">')
document.write ('<scrip' + 't language="javascript"> ')
document.write ('show' + 'Day(nextDay, nextMonth, nextYear); ')
document.write ('</scrip' + 't> ')
document.write ('</SELECT>')
document.write ('</FONT>')
document.write ('</TD>')
document.write ('<TD VALIGN="TOP" ALIGN="LEFT">')
document.write ('<FONT SIZE="2">')
document.write ('<SELECT NAME="inp_ret_dep_tm" size="1">')
document.write ('<OPTION>12:00 AM</OPTION>')
document.write ('<OPTION>1:00 AM</OPTION>')
document.write ('<OPTION>2:00 AM</OPTION>')
document.write ('<OPTION>3:00 AM</OPTION>')
document.write ('<OPTION>4:00 AM</OPTION>')
document.write ('<OPTION>5:00 AM</OPTION>')
document.write ('<OPTION SELECTED>6:00 AM</OPTION>')
document.write ('<OPTION>7:00 AM</OPTION>')
document.write ('<OPTION>8:00 AM</OPTION>')
document.write ('<OPTION>9:00 AM</OPTION>')
document.write ('<OPTION>10:00 AM</OPTION>')
document.write ('<OPTION>11:00 AM</OPTION>')
document.write ('<OPTION>12:00 PM</OPTION>')
document.write ('<OPTION>1:00 PM</OPTION>')
document.write ('<OPTION>2:00 PM</OPTION>')
document.write ('<OPTION>3:00 PM</OPTION>')
document.write ('<OPTION>4:00 PM</OPTION>')
document.write ('<OPTION>5:00 PM</OPTION>')
document.write ('<OPTION>6:00 PM</OPTION>')
document.write ('<OPTION>7:00 PM</OPTION>')
document.write ('<OPTION>8:00 PM</OPTION>')
document.write ('<OPTION>9:00 PM</OPTION>')
document.write ('<OPTION>10:00 PM</OPTION>')
document.write ('<OPTION>11:00 PM</OPTION>')
document.write ('</SELECT>')
document.write ('</FONT>')
document.write ('</TD>')
document.write ('</TR>')
document.write ('<TR ALIGN=CENTER>')
document.write ('<TD colspan=3>')
document.write ('<TABLE CELLPADDING="0" CELLSPACING="0" BORDER="0">')
document.write ('<TR ALIGN=LEFT>')
document.write ('<TD ALIGN=RIGHT NOWRAP><FONT FACE="helvetica, arial" SIZE="1">Total Travelers: </FONT></TD>')
document.write ('<TD VALIGN="TOP">')
document.write ('<FONT SIZE="2">')
document.write ('<SELECT NAME="inp_pax_cnt" size="1">')
document.write ('<OPTION>1')
document.write ('<OPTION>2')
document.write ('<OPTION>3')
document.write ('<OPTION>4')
document.write ('</SELECT>')
document.write ('</FONT>')
document.write ('</TD>')
document.write ('</TR>')
document.write ('</TABLE>')
document.write ('</TD>')
document.write ('<TD VALIGN="MIDDLE" BGCOLOR="#FFFFFF" colspan="3">')
document.write ('<input type=hidden name=inp_dep_dt_mn_1>')
document.write ('<input type=hidden name=inp_ret_dep_dt_mn>')
document.write ('<INPUT type=hidden name=inp_dep_day>')
document.write ('<INPUT type=hidden name=inp_arr_day>')
document.write ('<INPUT type=hidden name=inp_dep_year>')
document.write ('<INPUT type=hidden name=inp_arr_year>')
document.write ('<INPUT TYPE=HIDDEN NAME=tv_module VALUE=TR>')
document.write ('<INPUT TYPE=HIDDEN NAME=expr_path VALUE="Y">')
document.write ('<FONT SIZE="3">')
document.write ('<b>')
document.write ('<INPUT TYPE=button VALUE="Search Flights" onClick="mySubmit(this.form)"></b>')
document.write ('</FONT>')
document.write ('</TD>')
document.write ('</TR></FORM>')
document.write ('</CENTER>')
document.write ('</TABLE>')
//
// -- END SEARCH FLIGHTS/TOTAL TRAVELERS --
//
document.write ('</td>')
document.write ('</tr>')
document.write ('</table>')
document.write ('</td>')
document.write ('</tr>')
document.write ('</table>')
document.write ('<!--')
}
else
{
document.write ('Else info here')
}
// -->
</scRipt>
Done
</BODY>
</HTML>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,310 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<HTML lang="en">
<HEAD>
<META name="author" content="Ian Hickson">
<META name="copyright" content="&copy; copyright 1999 Ian Hickson">
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<META http-equiv="Content-Style-Type" content="text/css">
<TITLE>Evil Tests: Comments</TITLE>
<STYLE TYPE="text/css">
.test { background: purple; color: yellow; font-weight: bolder; padding: 0.3em; border: 3px solid fuchsia; }
.note { font-weight: bolder; color: green; }
</STYLE>
</HEAD>
<BODY>
<H1>Comments</H1>
<p>If you have any comments to make regarding this test, e-mail <a
href="mailto:py8ieh=eviltests-comments@bath.ac.uk">py8ieh=eviltests@bath.ac.uk</a>.</p>
<dl>
<dt>Prerequisites</dt>
<dd>Browsers that are subjected to this test should support the
SGML comments: <code>&lt;!-- -- -- --&gt;</code>.</dd>
</dl>
<h2>1. The comment delimited is <code>--</code></h2>
<p class="note">Note that there are four (4) sub-tests to this
section. Because of the nature of these tests, some may not appear. If
so, there is a bug. I repeat: there should be four separate tests in
section 1! Each consists of a bit of explanatory text, a purple box
with yellow text, and some explanatory markup.</p>
<P>The comment delimiter is <code>--</code>, not <code>&lt;!--</code>
and <code>--&gt</code>. In the following sentence, the word
<q>INCORRECTLY</q> should not appear:</P>
<P class=test>This browser parses comments <!-- -- -->
INCORRECTLY! Yes, I said in<!-- -- -->correctly.</P>
<!-- -->
<P>The markup used was:</P>
<PRE>
&lt;P&gt;This browser parses comments &lt;!-- -- --&gt; INCORRECTLY!
Yes, I said in&lt;!-- -- --&gt;correctly.&lt;/P&gt;
</PRE>
<P>If you take <code>--</code> to be the comment delimiter, you can
easily see that the words in the middle are actually inside a
comment.</P>
<P>Here is another:</P>
<P class=test>This browser parses comments
<!---- -->INCORRECTLY! Yes, I said in<!------>correctly.</P>
<P>The markup used was:</P>
<PRE>
&lt;P&gt;This browser parses comments
&lt;!---- --&gt;INCORRECTLY! Yes, I said in&lt;!------&gt;correctly.&lt;/P&gt;
</PRE>
<p>Note that it is a serious error if this is the paragraph
immediately after the test line! There should be some commentary
(including a snippet of the source of the last test) between this
paragraph and the previous test.</p>
<P>Here is yet another:</P>
<P class=test>This browser parses comments
<!------>INCORRECTLY! Yes, I said in<!------>correctly.</P>
<P>The markup used was:</P>
<PRE>
&lt;P&gt;This browser parses comments
&lt;!------&gt;INCORRECTLY! Yes, I said in&lt;!------&gt;correctly.&lt;/P&gt;
</PRE>
<p>Note that it is a serious error if this is the paragraph
immediately after the test line! There should be some commentary
(including a snippet of the source of the last test) between this
paragraph and the previous test.</p>
<P>And finally, here is yet another. Hopefully that should cover all bases...</P>
<P class=test>This browser parses comments
<!-- ---->INCORRECTLY! Yes, I said in<!------>correctly.</P>
<P>The markup used was:</P>
<PRE>
&lt;P&gt;This browser parses comments
&lt;!-- ----&gt;INCORRECTLY! Yes, I said in&lt;!------&gt;correctly.&lt;/P&gt;
</PRE>
<p>Note that it is a serious error if this is the paragraph
immediately after the test line! There should be some commentary
(including a snippet of the source of the last test) between this
paragraph and the previous test.</p>
<h2>2. Comments should not mess up whitespace collapsing!</h2>
<P>In the following, the words should not be spaced out any more than normal.</P>
<P class=test>These words are not separated by comments. They <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> should <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> be <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> spaced <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> out <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> as
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> much <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> as <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> these <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> words.</P>
<h2>3. Comment Terminator</h2>
<P>The comment delimiter is <code>--</code>, so the end delimited is
certainly not <code>-&gt</code>. In the following sentence, the word
<q>INCORRECTLY</q> should not appear:</P>
<P class=test>This browser parses comments <!-- ->
INCORRECTLY! Yes, I said in<!- -->correctly.</P>
<P>The markup used was:</P>
<PRE>
&lt;P&gt;This browser parses comments &lt;!-- -&gt; INCORRECTLY!
Yes, I said in&lt;!- --&gt;correctly.&lt;/P&gt;
</PRE>
<P>If you take <code>--</code> to be the comment delimiter, you can
easily see that the words in the middle are actually inside a
comment.</P>
<h2>Submit Results</h2>
<FORM action="/%7Epy8ieh/cgi/newresult.pl" method="POST" class="resultsubmission">
<P>How does your browser fare on this test?
<SELECT NAME="result">
<OPTION VALUE="Y"> The three tests are correctly parsed. </OPTION>
<OPTION VALUE="B"> Some of the tests are incorrectly parsed. </OPTION>
<OPTION VALUE="D"> Large parts of the document are missing. </OPTION>
</SELECT>
<LABEL>Comment: <INPUT TYPE="text" NAME="comment"></LABEL>
<INPUT TYPE="submit" VALUE="Submit">
</P>
</FORM>
<HR title="Footer">
<p><a href="home.html">Up to the Evil Tests Page</A>.</p>
<P>Bugzilla: <a href="http://bugzilla.mozilla.org/show_bug.cgi?id=2749">Bug 2749</A> (parsing errors - reported fixed, awaiting strict DTD mode to verify) ; <a href="http://bugzilla.mozilla.org/show_bug.cgi?id=3304">Bug 3304</A> (page does not display)</P>
<p>This page is maintained by <a class=External HREF="http://www.bath.ac.uk/%7Epy8ieh/">Ian Hickson</A> (<a class=Mail HREF="mailto:py8ieh=website@bath.ac.uk">py8ieh@bath.ac.uk</A>).</p>
<p>Last updated in January 1999.</p>
</BODY></HTML>

Binary file not shown.

View File

@ -0,0 +1,9 @@
<html>
<body>
<form>
<option>there
<option SELECTED/>hello
</form>
</body>
</html>

View File

@ -0,0 +1,8 @@
<html>
<head>
<title/>
</head>
<body>
This should be in the body
</body>
</html>

View File

@ -0,0 +1,18 @@
<html>
<head><title> &lt </title></head>
<body>
<FORM>
<TEXTAREA ROWS=8 COLS=50>&lt
<table width="100%"; >
bgcolor= #FFFFFF ;
<tr> &lt
<td> a </td>
</tr>
</table>
</TEXTAREA>
</FORM>
<script>
err()
</script>
</body>
</html>

View File

@ -0,0 +1,7 @@
<table border=1>
<tr><td bgcolor="red>1</td>
</tr>
bad text
<tr><td bgcolor=blue>2</td>
</tr>
</table>

View File

@ -0,0 +1,259 @@
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<title>Rob Kaper's Capsi | Beyond Paradise</title>
<meta name="author" content="Rob Kaper">
<meta name="copyright" content="&copy; Copyright 1995-2000 Rob Kaper.">
<meta name="capsi_layout" content="HTML4/CSS2 incompatible: Netscape, Explorer (Mozilla/4.72 (Macintosh; U; PPC))">
<meta name="keywords" content="capsi,rob,kaper,cap,pepsi,capricorn,rjkap,beyond,paradise,home,page,homepage,home-page,web,site,website,web-site,personal,code,chat,fun,entertainment">
<meta name="description" content="Rob Kaper's Capsi: a splarkling website including personal items (a bio, poetry and a resume), fun stuff (a postcard server, the Capsi chat) and serious stuff (Linux code).">
<style type="text/css">
<!--
a
{
text-decoration: none
}
a:hover
{
text-decoration: underline
}
h4
{
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 12pt;
font-style: normal;
font-weight: bold;
list-style-type: square;
list-style-image: none
}
b
{
font-weight: bold
}
td
{
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 10pt;
font-style: normal;
font-weight: normal;
list-style-type: square;
list-style-image: none
}
small
{
font-family: Helvetica, Arial, sans-serif;
font-size: 10pt;
font-style: normal;
font-weight: normal;
list-style-type: square;
list-style-image: none
}
pre
{
font-family: Verdana, Fixed, Courier, sans-serif;
font-size: 10pt;
font-style: normal;
font-weight: normal;
list-style-type: square;
list-style-image: none
}
tt
{
font-family: Fixed, Courier, monospace;
font-size: 12pt;
font-style: normal;
font-weight: normal;
list-style-type: square;
list-style-image: none
}
#title
{
position: absolute;
width: auto;
height: 20px;
left: 170px;
right: 10px;
top: 87px;
bottom: auto;
border: solid 1px #ffffff;
background-color: #e1e0ff;
background-image: url("/img/bg-layer.jpg");
font-family: Verdana, Helvetica, Arial, sans-serif;
font-weight: bold;
font-size: 12pt;
}
#header
{
position: absolute;
width: auto;
height: 68px;
left: 170px;
right: 10px;
top: 10px;
bottom: auto;
text-align: center;
margin-top: auto;
border: solid 1px white;
background-color: #e1e0ff;
background-image: url("/img/bg-layer.jpg");
font-family: Helvetica, Arial, sans-serif;
font-size: 10pt;
padding: 2px;
}
#footer
{
position: fixed;
width: auto;
height: 15px;
left: 10px;
right: 10px;
top: auto;
bottom: 0;
text-align: right;
margin-top: auto;
background-color: #e1e0ff;
background-image: url("/img/bg-blue.jpg");
font-family: Helvetica, Arial, sans-serif;
font-size: 10pt;
padding: 0px;
}
#ad
{
position: absolute;
width: auto;
height: 60px;
left: 170px;
right: 10px;
top: auto;
bottom: 15px;
text-align: center;
margin-top: auto;
border: solid 1px white;
background-color: #e1e0ff;
background-image: url("/img/bg-layer.jpg");
font-family: Helvetica, Arial, sans-serif;
font-size: 10pt;
}
#sidebar
{
position: fixed;
width: 150px;
height: auto;
left: 10px;
right: 160px;
top: 10px;
bottom: 15px;
background-color: #e1e0ff;
background-image: url("/img/bg-horizontal.jpg");
border: solid 1px white;
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 10pt;
}
#main
{
position: absolute;
width: auto;
height: auto;
left: 170px;
right: 10px;
top: 112px;
bottom: 80px;
background-color: #ffffff;
border: solid 1px #ccccff;
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 10pt;
list-style-image: url("/img/box-tiny.jpg");
padding: 5px;
}
-->
</style>
</head>
<body bgcolor="#ffffff" background="/img/bg-blue.jpg" text="#000000" link="#0000aa" alink="#000000" vlink="#3333ff">
<div id="header">
<a href="/personal.html"><img src="/img/menu/personal.jpg" width=69 height=68 alt="[Personal]" border=0></a>
<a href="/code.html"><img src="/img/menu/code.jpg" width=69 height=68 alt="[Code]" border=0></a>
<a href="/chat.html"><img src="/img/menu/chat.jpg" width=69 height=68 alt="[Chat]" border=0></a>
<a href="/starcrush.html"><img src="/img/menu/starcrush.jpg" width=145 height=68 alt="[Starcrush]" border=0></a>
</div>
<div id="title">&nbsp; <a href="./">Capsi</a> | Beyond Paradise &nbsp;</div>
<div id="sidebar" style="position: absolute">
<a href="./"><img src="/img/capsi-blue.jpg" width=150 height=60 alt="[Capsi]" border=0></a>
<center><small>
<a href="/">Home</a>
<br><a href="/faq.html">FAQ</a>
+ <a href="/gbook-read.html">Guestbook</a>
+ <a href="/mail.html">Mail</a>
<br><a href="/postcards.html">Postcards</a>
+ <a href="/vortex.html">Vortex</a>
<br><a href="/user-login.html?r=/index.html">Login</a>
</small>
<p><b>Sections</b>
<br><a href="/personal.html">Personal</a>
<br><a href="/code.html">Code</a>
<br><a href="/chat.html">CapsiChat</a>
<br><a href="/starcrush.html">Starcrush</a>
</center>
</div>
<div id="main">
Welcome to Capsi! This website is divided into the following sections:
<br><br>
<center><table border=0 cellpadding=1 cellspacing=0 bgcolor="#ccccff"><tr><td>
<table border=0 cellpadding=1 cellspacing=0 bgcolor="#ffffff"><tr><td>
<table border=0 cellpadding=2 cellspacing=1 bgcolor="#e1e0ff"><tr>
<td><b>Section</b></td>
<td><b>Description</b></td>
</tr><tr>
<td><img src="img/box-tiny.jpg" width=12 height=12 alt=""> <a href="personal.html">Personal</a></td>
<td><small>Aptly named because it's all about me</small></td>
</tr><tr>
<td><img src="img/box-tiny.jpg" width=12 height=12 alt=""> <a href="code.html">Code</a></td>
<td><small>Various programs and utilities I have written</small></td>
</tr><tr>
<td><img src="img/box-tiny.jpg" width=12 height=12 alt=""> <a href="chat.html">CapsiChat</a></td>
<td><small>My haven, or chat-box</small></td>
</tr><tr>
<td><img src="img/box-tiny.jpg" width=12 height=12 alt=""> <a href="starcrush.html">Starcrush</a></td>
<td><small>Chicks and babes, lads and dudes.</small></td>
</tr>
</table>
</td></tr></table>
</td></tr></table></center>
<br><br>
<center><table border=0 cellpadding=1 cellspacing=0 bgcolor="#ccccff"><tr><td>
<table border=0 cellpadding=1 cellspacing=0 bgcolor="#ffffff"><tr><td>
<table border=0 cellpadding=2 cellspacing=1 bgcolor="#e1e0ff"><tr>
<td valign=top><small>2000.05.19</small></td>
<td>
<b>Mission Back to Dot-Com</b>
<p>
I have made up my mind: I will drop the capsi.cx domain! Everything will
move back to capsi.com and the Capsi services in Maryland will be hosted
under the usa.capsi.com subdomain. Until the capsi.cx domain expires in
February 2001 all requests will be forwarded to the proper capsi.com
locations. I expect to make the big move in June or July.
</td>
</table>
</td></tr></table>
</td></tr></table></center>
<p><hr><center><a target="_top" href="http://ads.capsi.cx/redirect?host=hs0002586&amp;b=98&amp;v=0"><small>Please visit Capsi's sponsor</small><br><img src="http://ads.capsi.cx/cycle?host=hs0002586&amp;b=98&amp;noscript=1" width=468 height=60 alt="[Please visit Capsi's sponsor]" border=0></a></center>
</div>
</body>
</html>

View File

@ -0,0 +1,9 @@
<HTML>
<BODY>
<FORM METHOD=GET>
<INPUT TYPE=hidden NAME=blah VALUE="a
b">
<INPUT TYPE=submit>
</FORM>
</BODY>
</HTML>

View File

@ -0,0 +1,37 @@
<html>
<head>
<script>
function changePage() {
dump("Change Page!\n");
}
</script>
</head>
<body>
Start of Body Content
<script>
document.writeln('<FORM name="SelectMenu" method=post action="javascript:changePage();">');
with (document){
writeln('<FORM name="SelectMenu" method=post action="javascript:changePage();">');
writeln('script form content');
}
</script>
<noscript>
<FORM name="SelectMenu" method="post">
noscript form content goes here
<table border=1>
<tr><td>TABLE</td></tr>
illegal table content
</table>
</FORM>
</noscript>
<center>
<INPUT TYPE="IMAGE" WIDTH="50" HEIGTH="25" SRC="../Images/aim.gif" ALT="GO!" BORDER="0" valign="top">
</center>
</FORM>
</body>
</html>

View File

@ -0,0 +1,12 @@
<html>
<head>
<title>Computer Market Online</title>
<BASE HREF="http://www.computermarket.com.au/">\
</head>
<body bgcolor="#ffffff">
<table>
<tr><td><a href='prodDetail.asp?id=6007&catid=241'>This shows</a></td></tr>
<tr><td><a href='prodDetail.asp?id=6007&catid=241'"bgcolor=>This does not show</a></td></tr>
</table>
</body>
</html>x

View File

@ -0,0 +1,13 @@
<html>
<head>
<title>script test</title>
<script>
<!--
document.write("</script>");
document.write("hello there");
//-->
</script>
</head>
<body>
</body>
</html>

View File

@ -0,0 +1,421 @@
<HTML>
<BODY BGCOLOR="#FFFFFF" LINK="#000000" VLINK="#000000">
<img src="igh.src">ddasdasd
<CENTER>
<script language="Javascript">
var oldBrowser = 0
var curDate = new Date()
var curDay = curDate.getDate()
var curMonth = curDate.getMonth()
var curYear = curDate.getYear()
var nextDate = curDate
nextDate.setDate(curDay + 1) // increment the next day to set it right
var nextDay = nextDate.getDate()
var nextMonth = nextDate.getMonth()
var nextYear = nextDate.getYear()
var month = new Array(12)
month[0] = "Jan"
month[1] = "Feb"
month[2] = "Mar"
month[3] = "Apr"
month[4] = "May"
month[5] = "Jun"
month[6] = "Jul"
month[7] = "Aug"
month[8] = "Sep"
month[9] = "Oct"
month[10] = "Nov"
month[11] = "Dec"
if(navigator.appVersion.charAt(0) == "2") {
if (navigator.appName != "Microsoft Internet Explorer") {
oldBrowser=1
}
}
function writeOption(myNum, myValue, mySelected) {
if (oldBrowser == 0) {
if (mySelected == 1) {
document.write ('<option value=' + myNum + ' selected>' + myValue )
}
else
{
document.write ('<option value=' + myNum + '>' + myValue )
}
}
}
function showMonth(toSelect) {
for (var i=0; i < 12; i++ ) {
if (i == toSelect) {
writeOption(month[i], month[i], 1)
}
else
{
writeOption(month[i], month[i], 0)
}
}
}
function showDay(toSelect, myMonth, myYear) {
for (i=1; i <= 31; i++) {
if (i == toSelect) {
writeOption(i, i, 1)
}
else
{
writeOption(i, i, 0)
}
}
}
function mySubmit(myForm) {
// Dealing with year returned by different browsers
//if (curYear < 99) {
// var leaveYear = curYear + 2000
// var returnYear = curYear + 2000
//}
//else
//{
// var leaveYear = curYear + 1900
// var returnYear = curYear + 1900
//}
tempyear = new String(curYear)
if (tempyear.length < 4) {
curYear = curYear + 1900
}
var leaveYear = curYear
var returnYear = curYear
var leaveDay;
var returnDay;
if (curMonth > myForm.leaveMonth.selectedIndex) {
leaveYear = curYear+1
}
if (curMonth > myForm.returnMonth.selectedIndex) {
returnYear = curYear + 1
}
else
{
if (myForm.returnMonth.selectedIndex < myForm.leaveMonth.selectedIndex)
returnYear = curYear + 1
}
var tempDate = new Date(leaveYear, myForm.leaveMonth.selectedIndex, myForm.inp_dep_dt_dy_1.options[myForm.inp_dep_dt_dy_1.selectedIndex].value)
var leaveDay = tempDate.getDay()
tempDate = new Date(returnYear, myForm.returnMonth.selectedIndex, myForm.inp_ret_dep_dt_dy.options[myForm.inp_ret_dep_dt_dy.selectedIndex].value)
var returnDay = tempDate.getDay()
myForm.inp_dep_year.value = leaveYear
myForm.inp_arr_year.value = returnYear
myForm.inp_dep_day.value = leaveDay
myForm.inp_arr_day.value = returnDay
myForm.inp_dep_dt_mn_1.value = month[myForm.inp_dep_dt_mn_1.selectedIndex]
myForm.inp_dep_dt_mn_1.value = month[myForm.leaveMonth.selectedIndex]
myForm.inp_ret_dep_dt_mn.value = month[myForm.returnMonth.selectedIndex]
var myMessage = " Form fields: \n"
// myMessage += "Login - inp_es_alias - " + myForm.inp_es_alias.value + "\n"
// myMessage += "Password - inp_es_passwd - " + myForm.inp_es_passwd.value + "\n"
myMessage += "Travelers - inp_pax_cnt - " + (myForm.inp_pax_cnt.selectedIndex+1) + "\n"
myMessage += "Leaving From - inp_dep_arp_cd_1 - " + myForm.inp_dep_arp_cd_1.value + "\n"
myMessage += "Going To - inp_arr_arp_cd_1 - " + myForm.inp_arr_arp_cd_1.value + "\n"
myMessage += "Leave Year - inp_dep_year - " + leaveYear + "\n"
myMessage += "Leave Month - inp_dep_dt_mn_1 - " + myForm.inp_dep_dt_mn_1.value + "\n"
myMessage += "Leave Day - inp_dep_dt_dy_1 - " + (myForm.inp_dep_dt_dy_1.selectedIndex+1) + "\n"
myMessage += "Leave Weekday - inp_dep_day - " + leaveDay + "\n"
myMessage += "Leave Time - inp_dep_tm_1 - " + (myForm.inp_dep_tm_1.options[myForm.inp_dep_tm_1.selectedIndex].text) + "\n"
myMessage += "Return Year - inp_arr_year - " + returnYear + "\n"
myMessage += "Return Month - inp_ret_dep_dt_mn - " + myForm.inp_ret_dep_dt_mn.value + "\n"
myMessage += "Return Day - inp_ret_dep_dt_dy - " + (myForm.inp_ret_dep_dt_dy.selectedIndex+1) + "\n"
myMessage += "Return Weekday - inp_arr_day - " + returnDay + "\n"
myMessage += "Return Time - inp_ret_dep_tm - " + myForm.inp_ret_dep_tm.options[myForm.inp_ret_dep_tm.selectedIndex].text + "\n"
myMessage += "Service - Service - " + myService + "\n"
// myMessage += "SID - SID - " + myForm.SID.value + "\n"
// alert(myMessage)
myForm.submit()
}
// Get ready for some low down, ugly parsing. Don't say you weren't warned!
// var queryString = location.search.substring(0, location.search.length)
var queryString = window.location.href
var myStart = queryString.indexOf("?")
var myEnd = queryString.length
if (myStart < 0) {
myStart = 0
}
queryString = queryString.substring(myStart, myEnd)
var stampStart = queryString.indexOf("timestamp=") + 10 // 10 is len of string
var stampEnd = queryString.indexOf("&", stampStart) // get ending timestamp index
stampStart = parseFloat(stampStart)
stampEnd = parseFloat(stampEnd)
if (stampEnd < 0) {
stampEnd = location.search.length
}
var timeStamp = parseFloat(queryString.substring(stampStart, stampEnd)) // get timestamp
var timeOutStart = parseFloat(stampEnd + 9) // 9 is len of string
var timeOutEnd = parseFloat(queryString.indexOf("&", timeOutStart)) // get ending timeout index
if (timeOutEnd < 0 ) {
timeOutEnd = location.search.length
}
var timeOut = parseFloat(queryString.substring(timeOutStart, timeOutEnd)); // get timeout
var expireAt = timeStamp + timeOut
var sysStart = parseFloat(queryString.indexOf("systemtime=") + 11)
var sysEnd = parseFloat(queryString.indexOf("&", sysStart))
if (sysEnd < 0) {
sysEnd = location.search.length
}
var serviceStart = parseFloat(queryString.indexOf("Service=") + 8)
var serviceEnd = parseFloat(queryString.indexOf("&", serviceStart))
if (serviceEnd < 0) {
serviceEnd = location.search.length
}
var myService = queryString.substring(serviceStart, serviceEnd)
var sidStart = parseFloat(queryString.indexOf("SID=") + 4)
var sidEnd = parseFloat(queryString.indexOf("&", sidStart))
if (sidEnd < 0) {
sidEnd = location.search.length
}
if (queryString.indexOf("SID=") < 0 ) {
mySID = "NULL"
}
else {
mySID = queryString.substring(sidStart, sidEnd)
}
//-------------------------------------------------------------
// D E F A U L T S E R V I C E / C O B R A N D L O G I C
//-------------------------------------------------------------
if (queryString.indexOf("Service=") < 0) { // there is no service so set a default
myService = 'TRAVELOCITY'
}
var isNotCobrand = ( myService.toUpperCase() != "COMDEX" && myService.toUpperCase() != "JAL" && myService.toUpperCase() != "NETWORLD")
var sysTime = parseFloat(location.search.substring(sysStart, sysEnd))
// The next 2 ifs are hacks for NS 3.0
if (!queryString) {
queryString= "?undefined"
isNotCobrand = "true"
}
if (!expireAt) {
queryString = "?undefined"
}
if (isNotCobrand) {
document.write ('<CENTER>')
myVar = '<FORM ACT' + 'ION=http://dps1.travelocity.com/express.ctl?Service=TRAVELOCITY&expr_path=Y METHOD=POST>'
document.write (myVar)
document.write ('<input type=hidden name=Service value=' + myService + '> ')
if (mySID != "NULL") {
document.write (' <input type=hidden name=SID value=' + mySID + '>')
}
document.write ('<table cellspacing=0 cellpadding=1 bgcolor="#336699" WIDTH="405" border="0" align="left">')
document.write ('<tr>')
document.write ('<td>')
document.write ('<table cellspacing=0 cellpadding=0 bgcolor="#FFFFFF" WIDTH="405">')
document.write ('<tr>')
document.write ('<td bgcolor="#FFFFFF">')
document.write ('<TABLE WIDTH="405" CELLPADDING="2" CELLSPACING="0" BORDER="0">')
//
// -- TITLE --
//
document.write ('<TR>')
document.write ('<TD COLSPAN="6" BGCOLOR="#FFFFFF" VALIGN=TOP>')
document.write ('<TABLE WIDTH="405" BGCOLOR="#FFFFFF" CELLPADDING="0" CELLSPACING="0" BORDER="0">')
document.write ('<TR ALIGN=LEFT>')
document.write ('<TD VALIGN=TOP ALIGN=LEFT BGCOLOR="#336699"><FONT FACE="helvetica, arial" SIZE="2" color="#FFFFFF">&nbsp;<B>Book Your Roundtrip Flight Now!</FONT></B></TD>')
if ( ( parseFloat(expireAt) < parseFloat(sysTime)) || (parseFloat(timeStamp) == -1) || (queryString== "?undefined")){ // if we have session already
document.write ('<TD ALIGN=RIGHT BGCOLOR="#336699" valign=top><A HREF="http://dps1.travelocity.com/lognmemnew.ctl?Service=TRAVELOCITY&expr_path=Y' + myService + '&expr_path=Y" style=color=#FFFFFF><font face="arial, helvetica" size="1" color="#FFFFFF"><u>Need a login name?</u></A></font>&nbsp;')
}
else
{
document.write ('<td bgcolor="#000000">')
}
document.write ('</TD>')
document.write ('</TR>')
//
// don't display login message for express path if already logged in and we have a session
//
if ( ( parseFloat(expireAt) < parseFloat(sysTime)) || (parseFloat(timeStamp) == -1) || (queryString== "?undefined")){
document.write ('<TR><TD colspan="2"><FONT FACE="helvetica, arial" SIZE="1"><i>Log in here to search for roundtrip flights and special offers.</i></a></font></TD></TR>')
}
else
{
document.write ('<TR><TD colspan="2"><FONT FACE="helvetica, arial" SIZE="1"><i>Search for roundtrip flights and special offers.</i></a></font></TD></TR>')
}
document.write ('</TABLE>')
document.write ('</TD>')
document.write ('</TR>')
//
// -- END TITLE --
//
if ( (parseFloat(expireAt) < parseFloat(sysTime)) || (parseFloat(timeStamp) == -1) || queryString== "?undefined"){ // if we have an expired session, so form
// -- LOGIN/PASSWORD --
document.write ('<TR>')
document.write ('<TD NOWRAP><FONT FACE="helvetica, arial" SIZE="1">Login<br> name:</FONT></TD>')
document.write ('<TD VALIGN="TOP"><FONT SIZE="2"><INPUT TYPE="TEXT" NAME=inp_es_alias SIZE="8" MAXLENGTH="20"></FONT></TD>')
document.write ('<TD>&nbsp;</TD>')
document.write ('<TD align=left><FONT FACE="helvetica, arial" SIZE="1">Password:</FONT></TD>')
document.write ('<TD COLSPAN="2" align="left"><FONT SIZE="2"><INPUT TYPE="PASSWORD" NAME=inp_es_passwd SIZE="8"></FONT></TD>')
document.write ('</TR>')
// -- END LOGIN/PASSWORD --
} // end if
// -- LEAVING FROM/GOING TO --
//
document.write ('<TR>')
document.write ('<!-- a comment -->')
document.write ('<TD NOWRAP><FONT FACE="helvetica, arial" SIZE="1">Leaving<br>from:</FONT></TD>')
document.write ('<TD VALIGN="TOP"><FONT SIZE="2"><INPUT TYPE="TEXT" NAME="inp_dep_arp_cd_1" SIZE="10"></FONT></TD>')
document.write ('<TD><FONT SIZE="1" FACE="helvetica, arial">On:</FONT></TD>')
document.write ('<TD VALIGN="TOP" ALIGN="LEFT">')
document.write ('<FONT SIZE="2">')
document.write ('<SELECT NAME=leaveMonth size=1>')
document.write ('<scrip' + 't language="javascript"> ')
document.write ('show' + 'Month(curMonth); ')
document.write ('</scrip' + 't> ')
document.write ('</SELECT>')
document.write ('</FONT>')
document.write ('</TD>')
document.write ('<TD VALIGN="TOP" ALIGN="LEFT">')
document.write ('<FONT SIZE="2">')
document.write ('<SELECT NAME="inp_dep_dt_dy_1" size="1">')
document.write ('<scrip' + 't language="javascript"> ')
document.write ('show' + 'Day(curDay, curMonth, curYear); ')
document.write ('</scrip' + 't> ')
document.write ('</SELECT>')
document.write ('</FONT>')
document.write ('</TD>')
document.write ('<TD VALIGN="TOP" ALIGN="LEFT">')
document.write ('<FONT SIZE="2">')
document.write (' <SELECT NAME="inp_dep_tm_1" size="1">')
document.write ('<OPTION>12:00 AM</OPTION>')
document.write ('<OPTION>1:00 AM</OPTION>')
document.write ('<OPTION>2:00 AM</OPTION>')
document.write ('<OPTION>3:00 AM</OPTION>')
document.write ('<OPTION>4:00 AM</OPTION>')
document.write ('<OPTION>5:00 AM</OPTION>')
document.write ('<OPTION SELECTED>6:00 AM</OPTION>')
document.write ('<OPTION>7:00 AM</OPTION>')
document.write ('<OPTION>8:00 AM</OPTION>')
document.write ('<OPTION>9:00 AM</OPTION>')
document.write ('<OPTION>10:00 AM</OPTION>')
document.write ('<OPTION>11:00 AM</OPTION>')
document.write ('<OPTION>12:00 PM</OPTION>')
document.write ('<OPTION>1:00 PM</OPTION>')
document.write ('<OPTION>2:00 PM</OPTION>')
document.write ('<OPTION>3:00 PM</OPTION>')
document.write ('<OPTION>4:00 PM</OPTION>')
document.write ('<OPTION>5:00 PM</OPTION>')
document.write ('<OPTION>6:00 PM</OPTION>')
document.write ('<OPTION>7:00 PM</OPTION>')
document.write ('<OPTION>8:00 PM</OPTION>')
document.write ('<OPTION>9:00 PM</OPTION>')
document.write ('<OPTION>10:00 PM</OPTION>')
document.write ('<OPTION>11:00 PM</OPTION>')
document.write ('</SELECT>')
document.write ('</FONT>')
document.write ('</TD>')
document.write ('</TR>')
document.write ('<TR>')
document.write ('<TD NOWRAP>')
document.write ('<FONT FACE="helvetica, arial" SIZE="1">Going<br>to:</FONT></TD>')
document.write ('<TD VALIGN="TOP">')
document.write ('<FONT SIZE="2">')
document.write ('<INPUT TYPE="TEXT" NAME="inp_arr_arp_cd_1" SIZE="10"></FONT>')
document.write ('</TD>')
document.write ('<TD ALIGN="LEFT"><FONT SIZE="1" FACE="helvetica, arial">Return:</FONT></TD><TD VALIGN="TOP">')
document.write ('<FONT SIZE="2">')
document.write ('<SELECT NAME=returnMonth size=1>')
document.write ('<scrip' + 't language="javascript"> ')
document.write ('show' + 'Month(nextMonth); ')
document.write ('</scrip' + 't> ')
document.write ('</SELECT>')
document.write ('</FONT>')
document.write ('</TD>')
document.write ('<TD VALIGN="TOP" ALIGN="LEFT">')
document.write ('<FONT SIZE="2">')
document.write ('<SELECT NAME="inp_ret_dep_dt_dy" size="1">')
document.write ('<scrip' + 't language="javascript"> ')
document.write ('show' + 'Day(nextDay, nextMonth, nextYear); ')
document.write ('</scrip' + 't> ')
document.write ('</SELECT>')
document.write ('</FONT>')
document.write ('</TD>')
document.write ('<TD VALIGN="TOP" ALIGN="LEFT">')
document.write ('<FONT SIZE="2">')
document.write ('<SELECT NAME="inp_ret_dep_tm" size="1">')
document.write ('<OPTION>12:00 AM</OPTION>')
document.write ('<OPTION>1:00 AM</OPTION>')
document.write ('<OPTION>2:00 AM</OPTION>')
document.write ('<OPTION>3:00 AM</OPTION>')
document.write ('<OPTION>4:00 AM</OPTION>')
document.write ('<OPTION>5:00 AM</OPTION>')
document.write ('<OPTION SELECTED>6:00 AM</OPTION>')
document.write ('<OPTION>7:00 AM</OPTION>')
document.write ('<OPTION>8:00 AM</OPTION>')
document.write ('<OPTION>9:00 AM</OPTION>')
document.write ('<OPTION>10:00 AM</OPTION>')
document.write ('<OPTION>11:00 AM</OPTION>')
document.write ('<OPTION>12:00 PM</OPTION>')
document.write ('<OPTION>1:00 PM</OPTION>')
document.write ('<OPTION>2:00 PM</OPTION>')
document.write ('<OPTION>3:00 PM</OPTION>')
document.write ('<OPTION>4:00 PM</OPTION>')
document.write ('<OPTION>5:00 PM</OPTION>')
document.write ('<OPTION>6:00 PM</OPTION>')
document.write ('<OPTION>7:00 PM</OPTION>')
document.write ('<OPTION>8:00 PM</OPTION>')
document.write ('<OPTION>9:00 PM</OPTION>')
document.write ('<OPTION>10:00 PM</OPTION>')
document.write ('<OPTION>11:00 PM</OPTION>')
document.write ('</SELECT>')
document.write ('</FONT>')
document.write ('</TD>')
document.write ('</TR>')
document.write ('<TR ALIGN=CENTER>')
document.write ('<TD colspan=3>')
document.write ('<TABLE CELLPADDING="0" CELLSPACING="0" BORDER="0">')
document.write ('<TR ALIGN=LEFT>')
document.write ('<TD ALIGN=RIGHT NOWRAP><FONT FACE="helvetica, arial" SIZE="1">Total Travelers: </FONT></TD>')
document.write ('<TD VALIGN="TOP">')
document.write ('<FONT SIZE="2">')
document.write ('<SELECT NAME="inp_pax_cnt" size="1">')
document.write ('<OPTION>1')
document.write ('<OPTION>2')
document.write ('<OPTION>3')
document.write ('<OPTION>4')
document.write ('</SELECT>')
document.write ('</FONT>')
document.write ('</TD>')
document.write ('</TR>')
document.write ('</TABLE>')
document.write ('</TD>')
document.write ('<TD VALIGN="MIDDLE" BGCOLOR="#FFFFFF" colspan="3">')
document.write ('<input type=hidden name=inp_dep_dt_mn_1>')
document.write ('<input type=hidden name=inp_ret_dep_dt_mn>')
document.write ('<INPUT type=hidden name=inp_dep_day>')
document.write ('<INPUT type=hidden name=inp_arr_day>')
document.write ('<INPUT type=hidden name=inp_dep_year>')
document.write ('<INPUT type=hidden name=inp_arr_year>')
document.write ('<INPUT TYPE=HIDDEN NAME=tv_module VALUE=TR>')
document.write ('<INPUT TYPE=HIDDEN NAME=expr_path VALUE="Y">')
document.write ('<FONT SIZE="3">')
document.write ('<b>')
document.write ('<INPUT TYPE=button VALUE="Search Flights" onClick="mySubmit(this.form)"></b>')
document.write ('</FONT>')
document.write ('</TD>')
document.write ('</TR></FORM>')
document.write ('</CENTER>')
document.write ('</TABLE>')
//
// -- END SEARCH FLIGHTS/TOTAL TRAVELERS --
//
document.write ('</td>')
document.write ('</tr>')
document.write ('</table>')
document.write ('</td>')
document.write ('</tr>')
document.write ('</table>')
document.write ('<!--')
}
else
{
document.write ('Else info here')
}
// -->
</scRipt>
Done
</BODY>
</HTML>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,310 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<HTML lang="en">
<HEAD>
<META name="author" content="Ian Hickson">
<META name="copyright" content="&copy; copyright 1999 Ian Hickson">
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<META http-equiv="Content-Style-Type" content="text/css">
<TITLE>Evil Tests: Comments</TITLE>
<STYLE TYPE="text/css">
.test { background: purple; color: yellow; font-weight: bolder; padding: 0.3em; border: 3px solid fuchsia; }
.note { font-weight: bolder; color: green; }
</STYLE>
</HEAD>
<BODY>
<H1>Comments</H1>
<p>If you have any comments to make regarding this test, e-mail <a
href="mailto:py8ieh=eviltests-comments@bath.ac.uk">py8ieh=eviltests@bath.ac.uk</a>.</p>
<dl>
<dt>Prerequisites</dt>
<dd>Browsers that are subjected to this test should support the
SGML comments: <code>&lt;!-- -- -- --&gt;</code>.</dd>
</dl>
<h2>1. The comment delimited is <code>--</code></h2>
<p class="note">Note that there are four (4) sub-tests to this
section. Because of the nature of these tests, some may not appear. If
so, there is a bug. I repeat: there should be four separate tests in
section 1! Each consists of a bit of explanatory text, a purple box
with yellow text, and some explanatory markup.</p>
<P>The comment delimiter is <code>--</code>, not <code>&lt;!--</code>
and <code>--&gt</code>. In the following sentence, the word
<q>INCORRECTLY</q> should not appear:</P>
<P class=test>This browser parses comments <!-- -- -->
INCORRECTLY! Yes, I said in<!-- -- -->correctly.</P>
<!-- -->
<P>The markup used was:</P>
<PRE>
&lt;P&gt;This browser parses comments &lt;!-- -- --&gt; INCORRECTLY!
Yes, I said in&lt;!-- -- --&gt;correctly.&lt;/P&gt;
</PRE>
<P>If you take <code>--</code> to be the comment delimiter, you can
easily see that the words in the middle are actually inside a
comment.</P>
<P>Here is another:</P>
<P class=test>This browser parses comments
<!---- -->INCORRECTLY! Yes, I said in<!------>correctly.</P>
<P>The markup used was:</P>
<PRE>
&lt;P&gt;This browser parses comments
&lt;!---- --&gt;INCORRECTLY! Yes, I said in&lt;!------&gt;correctly.&lt;/P&gt;
</PRE>
<p>Note that it is a serious error if this is the paragraph
immediately after the test line! There should be some commentary
(including a snippet of the source of the last test) between this
paragraph and the previous test.</p>
<P>Here is yet another:</P>
<P class=test>This browser parses comments
<!------>INCORRECTLY! Yes, I said in<!------>correctly.</P>
<P>The markup used was:</P>
<PRE>
&lt;P&gt;This browser parses comments
&lt;!------&gt;INCORRECTLY! Yes, I said in&lt;!------&gt;correctly.&lt;/P&gt;
</PRE>
<p>Note that it is a serious error if this is the paragraph
immediately after the test line! There should be some commentary
(including a snippet of the source of the last test) between this
paragraph and the previous test.</p>
<P>And finally, here is yet another. Hopefully that should cover all bases...</P>
<P class=test>This browser parses comments
<!-- ---->INCORRECTLY! Yes, I said in<!------>correctly.</P>
<P>The markup used was:</P>
<PRE>
&lt;P&gt;This browser parses comments
&lt;!-- ----&gt;INCORRECTLY! Yes, I said in&lt;!------&gt;correctly.&lt;/P&gt;
</PRE>
<p>Note that it is a serious error if this is the paragraph
immediately after the test line! There should be some commentary
(including a snippet of the source of the last test) between this
paragraph and the previous test.</p>
<h2>2. Comments should not mess up whitespace collapsing!</h2>
<P>In the following, the words should not be spaced out any more than normal.</P>
<P class=test>These words are not separated by comments. They <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> should <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> be <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> spaced <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> out <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> as
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> much <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> as <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> these <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- -->
<!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!-- --> <!--
--> <!-- --> <!-- --> words.</P>
<h2>3. Comment Terminator</h2>
<P>The comment delimiter is <code>--</code>, so the end delimited is
certainly not <code>-&gt</code>. In the following sentence, the word
<q>INCORRECTLY</q> should not appear:</P>
<P class=test>This browser parses comments <!-- ->
INCORRECTLY! Yes, I said in<!- -->correctly.</P>
<P>The markup used was:</P>
<PRE>
&lt;P&gt;This browser parses comments &lt;!-- -&gt; INCORRECTLY!
Yes, I said in&lt;!- --&gt;correctly.&lt;/P&gt;
</PRE>
<P>If you take <code>--</code> to be the comment delimiter, you can
easily see that the words in the middle are actually inside a
comment.</P>
<h2>Submit Results</h2>
<FORM action="/%7Epy8ieh/cgi/newresult.pl" method="POST" class="resultsubmission">
<P>How does your browser fare on this test?
<SELECT NAME="result">
<OPTION VALUE="Y"> The three tests are correctly parsed. </OPTION>
<OPTION VALUE="B"> Some of the tests are incorrectly parsed. </OPTION>
<OPTION VALUE="D"> Large parts of the document are missing. </OPTION>
</SELECT>
<LABEL>Comment: <INPUT TYPE="text" NAME="comment"></LABEL>
<INPUT TYPE="submit" VALUE="Submit">
</P>
</FORM>
<HR title="Footer">
<p><a href="home.html">Up to the Evil Tests Page</A>.</p>
<P>Bugzilla: <a href="http://bugzilla.mozilla.org/show_bug.cgi?id=2749">Bug 2749</A> (parsing errors - reported fixed, awaiting strict DTD mode to verify) ; <a href="http://bugzilla.mozilla.org/show_bug.cgi?id=3304">Bug 3304</A> (page does not display)</P>
<p>This page is maintained by <a class=External HREF="http://www.bath.ac.uk/%7Epy8ieh/">Ian Hickson</A> (<a class=Mail HREF="mailto:py8ieh=website@bath.ac.uk">py8ieh@bath.ac.uk</A>).</p>
<p>Last updated in January 1999.</p>
</BODY></HTML>

Binary file not shown.

View File

@ -0,0 +1,9 @@
<html>
<body>
<form>
<option>there
<option SELECTED/>hello
</form>
</body>
</html>

View File

@ -0,0 +1,8 @@
<html>
<head>
<title/>
</head>
<body>
This should be in the body
</body>
</html>