Opened 13 years ago

Closed 11 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@…


  1. Load the following content:
    <table border="1" cellpadding="1" cellspacing="1" >
    					<caption>table caption</caption>
  2. 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 13 years ago by Garry Yao

Status: newconfirmed

Same issue applies to the legend tag:

		<legend>fieldset^ legend</legend>
		height: <input type="text"/>
		weight: <input type="text"/>

comment:2 Changed 13 years ago by Satya Minnekanti

Cc: satya_minnekanti@… added

comment:3 Changed 11 years ago by Satya Minnekanti

Keywords: IBM added

comment:4 Changed 11 years ago by Piotrek Koszuliński

Resolution: fixed
Status: confirmedclosed

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.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy