Skip to main content

Bug Tracker

Side navigation

#12999 closed bug (notabug)

Opened December 04, 2012 09:46AM UTC

Closed December 06, 2012 11:10PM UTC

Last modified December 08, 2012 07:46PM UTC

bug using append() on tag <section> in IE8

Reported by: jerikojerk@gmail.com Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.3
Keywords: Cc:
Blocked by: Blocking:
Description

this valid html5 document will raise an error in IE8 (access to unexpected properties)

my IE8: v8.0.7601.17514


<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
	<title>bug ie 8</title>
	<script type="text/javascript" src="libraries/jquery-1.8.3.min.js" ></script>

</head>
<body>
<p>Démo</p>
<section id="foobar">
	<h2>titre</h2>
</section>

<script>
$('#foobar').append('<p>example</p>');
</script>

</body>
</html>
Attachments (0)
Change History (3)

Changed December 06, 2012 11:10PM UTC by timmywil comment:1

resolution: → notabug
status: newclosed

It probably has to do with the lack of an html5 shim on the page, but it's hard to know for sure without a test case. In the future, support can be found on the forums or in the #jquery irc channel.

Changed December 08, 2012 07:41PM UTC by anonymous comment:2

i diseagree. I think jquery should behave the very same way accross all supported browser. if a hack is needed for ie, so jquery should do it automaticaly.

Changed December 08, 2012 07:46PM UTC by dmethvin comment:3

Did you include an HTML5 shim? We can't do that for you.