Skip to main content

Bug Tracker

Side navigation

#10048 closed bug (duplicate)

Opened August 14, 2011 03:37PM UTC

Closed August 14, 2011 08:27PM UTC

Last modified August 18, 2011 04:16PM UTC

Using find('*') on HTML5 tags includes closing tags in IE7 & 8

Reported by: Motty Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.6.2
Keywords: Cc:
Blocked by: Blocking:
Description

When using find('*') in IE7 & 8, almost all HTML5 closing tags are included (except for <ruby>)

http://jsfiddle.net/L7d9g/4/

This may be related to http://bugs.jquery.com/ticket/10047 but I opened a separate ticket just in case it isn't.

This appears to be happening in all jQuery versions.

Attachments (0)
Change History (3)

Changed August 14, 2011 08:27PM UTC by dmethvin comment:1

resolution: → duplicate
status: newclosed

This is because the tags are seen as invalid, notice what happens when Modernizr is included:

http://jsfiddle.net/L7d9g/5/

Any code that is expecting HTML5 tags to work should be including a shiv. This is really under the umbrella of the HTML5 ticket.

Changed August 14, 2011 08:27PM UTC by dmethvin comment:2

_comment0: Duplicate of #6845.1313353668293739

Duplicate of #6485.

Changed August 18, 2011 04:16PM UTC by dmethvin comment:3

#10047 is a duplicate of this ticket.