Bug Tracker

Ticket #1489 (closed bug: fixed)

Opened 7 years ago

Last modified 7 years ago

<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:
Blocking: Blocked by:

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

comment:1 Changed 7 years ago by john

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

Fixed in SVN rev [2728].

Note: See TracTickets for help on using tickets.