Bug Tracker

Opened 9 years ago

Closed 9 years ago

#1489 closed bug (fixed)

<caption> erroring on append and prepend, nothing on appendTo or prependTo

Reported by: bmsterling Owned by:
Priority: minor Milestone: 1.1.4
Component: core Version: 1.1.3
Keywords: caption, append, prepend, appendTo, prependTo Cc:
Blocked by: Blocking:

Description

The following error out when adding to a <table>

$('table').append('<caption>');
$('table').append('<caption></caption>');
$('table').prepend('<caption>');
$('table').prepend('<caption></caption>');

Nothing happens to the following when adding to a <table> and returns an empty object

$('<caption>').appendTo('table')
$('<caption>').prependTo('table')

The following adds ONLY the word "Test" when adding to a <table>

$('table').append('<caption>Test</caption>');
$('table').prepend('<caption>Test</caption>');
$('<caption>Test</caption>').appendTo('table');
$('<caption>Test</caption>').prependTo('table');

Change History (1)

comment:1 Changed 9 years ago by john

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in SVN rev [2728].

Note: See TracTickets for help on using tickets.