Skip to main content

Bug Tracker

Side navigation

Ticket #5716: test-5716.html


File test-5716.html, 0.4 KB (added by dmethvin, December 28, 2009 02:20AM UTC)

Test case

<html >
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

	<title></title>
	<script src="../jquery/dist/jquery.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript" charset="utf-8">
		$(function() {
alert($(":header,p").length);
alert($("p,:header").length);
		});
	</script>
</head>

<body>

<h1>test-h1</h1>
<p>test-p1</p>
<p>test-p2</p>
<h2>test-h2</h2>
<p>test-p3</p>

</body>
</html>

Download in other formats:

Original Format