Skip to main content

Bug Tracker

Side navigation

#13024 closed bug (notabug)

Opened December 10, 2012 12:39PM UTC

Closed December 11, 2012 03:09PM UTC

Appending a table row beginning with a tab char doesn't work under IE7

Reported by: marc.mignonsin@softonic.com Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.2
Keywords: Cc:
Blocked by: Blocking:
Description

When trying to append a table row directly to a table element, it works fine if the HTML describing the row does not begin with a tab char ("\\t"), meaning : the row is displayed.

If the HTML begins with a tab char, the row is not displayed.

Reason seems to be that in the 1st case, the row is appended to the tbody element of the table and in the 2nd case not.

Ideally, to be consistent, it should work in both cases.

OS : Windows 7

Browser : IE 7

jQuery version : 1.8.2

jsFiddle : http://jsfiddle.net/mawrkus/5bkPF/9/

Does not happen under IE8+, FF 17, Chrome 23, Safari 5, Opera 12

Attachments (0)
Change History (1)

Changed December 11, 2012 03:09PM UTC by dmethvin comment:1

resolution: → notabug
status: newclosed

This doesn't look like a bug to me. The tr elements should be appended to the tbody, and technically you're trying to append a text node to the tbody which isn't good either. The fact that some browsers allow a tr to be appended to the table element but really put it under the tbody isn't something I think we need to support cross browser.