moved to pub
git-svn-id: svn://10.0.0.236/trunk@165 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
53
mozilla/parser/htmlparser/tests/html/pre005.html
Normal file
53
mozilla/parser/htmlparser/tests/html/pre005.html
Normal file
@@ -0,0 +1,53 @@
|
||||
<html>
|
||||
<body>
|
||||
use a PRE tag for C or JAVA source code.
|
||||
<br> The lt and gt signes are problematic.
|
||||
|
||||
|
||||
<PRE>
|
||||
cc = 123;
|
||||
// test lt
|
||||
if( cc < hhh ) {
|
||||
if(cc<xxx || as > gh) {
|
||||
//do womthing here;
|
||||
}
|
||||
}
|
||||
if( cc <= iii ) {
|
||||
if(cc<=yyy) {
|
||||
if(cc<-yyy) {
|
||||
if(cc<+yyy) {
|
||||
if(cc<3) {
|
||||
if(cc<33) {
|
||||
if(cc<_abc) {
|
||||
//do womthing here;
|
||||
}
|
||||
}
|
||||
// test gt
|
||||
if( cc > rrr ) {
|
||||
if(cc>eee) {
|
||||
//do womthing here;
|
||||
}
|
||||
}
|
||||
if( cc >= www ) {
|
||||
if(cc>=qqq) {
|
||||
//do womthing here;
|
||||
}
|
||||
}
|
||||
// what if the variable name is a valid tag name.
|
||||
if( cc < B && cc > kk ) {
|
||||
if(cc<B && cc > gg) {
|
||||
//do womthing here;
|
||||
}
|
||||
}
|
||||
cc = aa<<I;
|
||||
cc = B>>3;
|
||||
gt = true;
|
||||
for(a=0,gt=true; (a>0)&> a++) {
|
||||
}
|
||||
a = 0x0004;
|
||||
lt = 0x0002;
|
||||
for(; a< ) {
|
||||
}
|
||||
</PRE>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user