Ticket #7945 (closed Bug: fixed)
Block insertion in table caption
| Reported by: | garry.yao | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | Core : Pasting | Version: | 3.0 |
| Keywords: | IBM | Cc: | satya_minnekanti@… |
Description
- Load the following content:
<table border="1" cellpadding="1" cellspacing="1" > <caption>table caption</caption> <tbody><tr><td>cell</td></tr></tbody> </table>
- Click inside the table caption and insert a horizontal line;
- Actual Result: JavaScript error thrown.
- Expected Result: block insertion should be disabled at the cursor position
Change History
comment:4 Changed 2 months ago by Reinmar
- Status changed from confirmed to closed
- Resolution set to fixed
Block elements can be now inserted into the table caption without a problem, because caption in HTML5 allows flow elements. However, legend element does not allow flow elements, but only phrasing, therefore insertion isn't possible.
Note: See
TracTickets for help on using
tickets.

Same issue applies to the legend tag: