X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=_source%2Fcore%2Fdtd.js;h=105e9967f5252431101cf598ed31f87d337d62c4;hb=refs%2Ftags%2Fv3.5.3;hp=d5af5bfaa3df35c94d82c15846c84a078446d2f3;hpb=e7789c1ad838194d45eeee6ac2eb6e55f5cf35a1;p=ckeditor.git
diff --git a/_source/core/dtd.js b/_source/core/dtd.js
index d5af5bf..105e996 100644
--- a/_source/core/dtd.js
+++ b/_source/core/dtd.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
@@ -10,16 +10,15 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/**
- * Holds and object representation of the HTML DTD to be used by the editor in
- * its internal operations.
- *
- * Each element in the DTD is represented by a
- * property in this object. Each property contains the list of elements that
- * can be contained by the element. Text is represented by the "#" property.
- *
+ * @namespace Holds and object representation of the HTML DTD to be used by the
+ * editor in its internal operations.
+ *
+ * Each element in the DTD is represented by a property in this object. Each
+ * property contains the list of elements that can be contained by the element.
+ * Text is represented by the "#" property.
+ *
* Several special grouping properties are also available. Their names start
* with the "$" character.
- * @namespace
* @example
* // Check if "div" can be contained in a "p" element.
* alert( !!CKEDITOR.dtd[ 'p' ][ 'div' ] ); "false"
@@ -81,8 +80,14 @@ CKEDITOR.dtd = (function()
*/
$blockLimit : { body:1,div:1,td:1,th:1,caption:1,form:1 },
+ /**
+ * List of inline (<span> like) elements.
+ */
$inline : L, // Just like span.
+ /**
+ * list of elements that can be children at <body>.
+ */
$body : X({script:1,style:1}, block),
$cdata : {script:1,style:1},