﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
12707	Table CAPTION output below THEAD	hel	kkrzton	"The table properties editor looks to be placing the CAPTION element below the THEAD element. 

The following ticket from a while back sounds like the same issue but this was noticed on our version 4.4.4 and can also be recreated on the ckeditor/demo version (4.4.6?).

https://dev.ckeditor.com/ticket/4809

The problem can be recreated in the demo ckeditor by:

{{{
1) Clicking the Table toolbar button
2) Selecting Headers ""First Row""
3) Specifying a Caption
4) Clicking Ok to create the table
5) Click the Source toolbar button to view the generated HTML (screen shot attached).
}}}

This generates the following HTML output:


{{{
<table border=""1"" cellpadding=""1"" cellspacing=""1"" style=""width:500px"">
	<thead>
		<tr>
			<th scope=""col"">&nbsp;</th>
			<th scope=""col"">&nbsp;</th>
		</tr>
	</thead>
	<caption>Caption</caption>
	<tbody>
		<tr>
			<td>&nbsp;</td>
			<td>&nbsp;</td>
		</tr>
		<tr>
			<td>&nbsp;</td>
			<td>&nbsp;</td>
		</tr>
	</tbody>
</table>

<p>&nbsp;</p>

}}}


Having the CAPTION below the THEAD does not pass w3c validation:


{{{
Line 10, Column 10: document type does not allow element ""caption"" here

	<caption>Caption</caption>
}}}

"	Bug	closed	Normal	CKEditor 4.5.8	Core : Tables	3.5.3	fixed		
