You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdelibs/khtml/test/fixed-background.html

48 lines
1017 B

<html> <head> <title>Listing Test 1</title>
<style>
html { background-attachment: fixed;
background-image: url(konqi.gif);
}
body { color: red; }
</style>
</head>
<body>
<H1>Listing Test 1</H1>
This is a regression test to see if the parser handles the &lt;listing&gt;
tag correctly.<BR>
<H2>Simple listing</H2>
Now follows a short listing, after the listing the text
"End of listing" should be visible.
<listing>
//----------------------------------------------------------------------------
//
// KDE HTML Widget -- Debug functions
#include <stdio.h>
#include <stdarg.h>
#include "khtml.h"
#ifdef MARTINSDEBUG
void debugM( const char *msg, ...)
{
va_list ap;
va_start( ap, msg ); // use variable arg list
vfprintf( stdout, msg, ap );
va_end( ap );
#else
void debugM(const char *, ... )
{
#endif
}
</listing>
End of listing.
<H2>Listing with entities</H2>
Now follows a short listing, the listing shoul read
"a = b&amp;amp;"<BR>
<listing>
a = b&amp;
</listing>
</BODY>
</HTML>