Opened 15 years ago
Closed 13 years ago
#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 (4)
comment:1 Changed 15 years ago by
| Status: | new → confirmed |
|---|
comment:2 Changed 15 years ago by
| Cc: | satya_minnekanti@… added |
|---|
comment:3 Changed 13 years ago by
| Keywords: | IBM added |
|---|
comment:4 Changed 13 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | confirmed → closed |
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.

Same issue applies to the legend tag: