/*\r
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.\r
For licensing, see LICENSE.html or http://ckeditor.com/license\r
*/\r
\r
*/\r
\r
/**\r
- * Holds and object representation of the HTML DTD to be used by the editor in\r
- * its internal operations.\r
- *\r
- * Each element in the DTD is represented by a\r
- * property in this object. Each property contains the list of elements that\r
- * can be contained by the element. Text is represented by the "#" property.\r
- *\r
+ * @namespace Holds and object representation of the HTML DTD to be used by the\r
+ * editor in its internal operations.<br />\r
+ * <br />\r
+ * Each element in the DTD is represented by a property in this object. Each\r
+ * property contains the list of elements that can be contained by the element.\r
+ * Text is represented by the "#" property.<br />\r
+ * <br />\r
* Several special grouping properties are also available. Their names start\r
* with the "$" character.\r
- * @namespace\r
* @example\r
* // Check if "div" can be contained in a "p" element.\r
* alert( !!CKEDITOR.dtd[ 'p' ][ 'div' ] ); "false"\r
C = X({a:1},B),\r
D = X({iframe:1},C),\r
E = {hr:1,ul:1,menu:1,div:1,blockquote:1,noscript:1,table:1,center:1,address:1,dir:1,pre:1,h5:1,dl:1,h4:1,noframes:1,h6:1,ol:1,h1:1,h3:1,h2:1},\r
- F = {ins:1,del:1,script:1},\r
+ F = {ins:1,del:1,script:1,style:1},\r
G = X({b:1,acronym:1,bdo:1,'var':1,'#':1,abbr:1,code:1,br:1,i:1,cite:1,kbd:1,u:1,strike:1,s:1,tt:1,strong:1,q:1,samp:1,em:1,dfn:1,span:1},F),\r
H = X({sub:1,img:1,object:1,sup:1,basefont:1,map:1,applet:1,font:1,big:1,small:1},G),\r
I = X({p:1},H),\r
*/\r
$blockLimit : { body:1,div:1,td:1,th:1,caption:1,form:1 },\r
\r
+ /**\r
+ * List of inline (<span> like) elements.\r
+ */\r
$inline : L, // Just like span.\r
\r
+ /**\r
+ * list of elements that can be children at <body>.\r
+ */\r
$body : X({script:1,style:1}, block),\r
\r
$cdata : {script:1,style:1},\r
label : L,\r
table : {thead:1,col:1,tbody:1,tr:1,colgroup:1,caption:1,tfoot:1},\r
code : L,\r
- script : N,\r
tfoot : M,\r
cite : L,\r
li : P,\r