Skip to main content

Bug Tracker

Side navigation

Ticket #4224: index.html


File index.html, 0.6 KB (added by Sjeiti, June 23, 2009 03:46PM UTC)

tested xhtml strict proof for 4224 (add jquery-1.3.2.min.js yourself)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-EN">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title>4224</title>
		<script type="text/javascript" src="jquery-1.3.2.min.js"></script>
		<script type="text/javascript">
			$(function() {
				alert("asdf "+$("li").length+"=="+$("body>ul li").length);
			});
		</script>
	</head>
	<body>
		<ul>
			<li>a</li>
			<li>b
				<ul><li>ba</li></ul>
			</li>
		</ul>
	</body>
</html>

Download in other formats:

Original Format