import torrus 1.0.9
[freeside.git] / httemplate / elements / fckeditor / editor / dtd / fck_xhtml10transitional.js
1 /*\r
2  * FCKeditor - The text editor for Internet - http://www.fckeditor.net\r
3  * Copyright (C) 2003-2010 Frederico Caldeira Knabben\r
4  *\r
5  * == BEGIN LICENSE ==\r
6  *\r
7  * Licensed under the terms of any of the following licenses at your\r
8  * choice:\r
9  *\r
10  *  - GNU General Public License Version 2 or later (the "GPL")\r
11  *    http://www.gnu.org/licenses/gpl.html\r
12  *\r
13  *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")\r
14  *    http://www.gnu.org/licenses/lgpl.html\r
15  *\r
16  *  - Mozilla Public License Version 1.1 or later (the "MPL")\r
17  *    http://www.mozilla.org/MPL/MPL-1.1.html\r
18  *\r
19  * == END LICENSE ==\r
20  *\r
21  * Contains the DTD mapping for XHTML 1.0 Transitional.\r
22  * This file was automatically generated from the file: xhtml10-transitional.dtd\r
23  */\r
24 FCK.DTD = (function()\r
25 {\r
26     var X = FCKTools.Merge ;\r
27 \r
28     var A,L,J,M,N,O,D,H,P,K,Q,F,G,C,B,E,I ;\r
29     A = {isindex:1, fieldset:1} ;\r
30     B = {input:1, button:1, select:1, textarea:1, label:1} ;\r
31     C = X({a:1}, B) ;\r
32     D = X({iframe:1}, C) ;\r
33     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
34     F = {ins:1, del:1, script:1} ;\r
35     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
36     H = X({sub:1, img:1, object:1, sup:1, basefont:1, map:1, applet:1, font:1, big:1, small:1}, G) ;\r
37     I = X({p:1}, H) ;\r
38     J = X({iframe:1}, H, B) ;\r
39     K = {img:1, noscript:1, br:1, kbd:1, center:1, button:1, basefont:1, h5:1, h4:1, samp:1, h6:1, ol:1, h1:1, h3:1, h2:1, form:1, font:1, '#':1, select:1, menu:1, ins:1, abbr:1, label:1, code:1, table:1, script:1, cite:1, input:1, iframe:1, strong:1, textarea:1, noframes:1, big:1, small:1, span:1, hr:1, sub:1, bdo:1, 'var':1, div:1, object:1, sup:1, strike:1, dir:1, map:1, dl:1, applet:1, del:1, isindex:1, fieldset:1, ul:1, b:1, acronym:1, a:1, blockquote:1, i:1, u:1, s:1, tt:1, address:1, q:1, pre:1, p:1, em:1, dfn:1} ;\r
40 \r
41     L = X({a:1}, J) ;\r
42     M = {tr:1} ;\r
43     N = {'#':1} ;\r
44     O = X({param:1}, K) ;\r
45     P = X({form:1}, A, D, E, I) ;\r
46     Q = {li:1} ;\r
47 \r
48     return {\r
49         col: {},\r
50         tr: {td:1, th:1},\r
51         img: {},\r
52         colgroup: {col:1},\r
53         noscript: P,\r
54         td: P,\r
55         br: {},\r
56         th: P,\r
57         center: P,\r
58         kbd: L,\r
59         button: X(I, E),\r
60         basefont: {},\r
61         h5: L,\r
62         h4: L,\r
63         samp: L,\r
64         h6: L,\r
65         ol: Q,\r
66         h1: L,\r
67         h3: L,\r
68         option: N,\r
69         h2: L,\r
70         form: X(A, D, E, I),\r
71         select: {optgroup:1, option:1},\r
72         font: J,                // Changed from L to J (see (1))\r
73         ins: P,\r
74         menu: Q,\r
75         abbr: L,\r
76         label: L,\r
77         table: {thead:1, col:1, tbody:1, tr:1, colgroup:1, caption:1, tfoot:1},\r
78         code: L,\r
79         script: N,\r
80         tfoot: M,\r
81         cite: L,\r
82         li: P,\r
83         input: {},\r
84         iframe: P,\r
85         strong: J,              // Changed from L to J (see (1))\r
86         textarea: N,\r
87         noframes: P,\r
88         big: J,                 // Changed from L to J (see (1))\r
89         small: J,               // Changed from L to J (see (1))\r
90         span: J,                // Changed from L to J (see (1))\r
91         hr: {},\r
92         dt: L,\r
93         sub: J,                 // Changed from L to J (see (1))\r
94         optgroup: {option:1},\r
95         param: {},\r
96         bdo: L,\r
97         'var': J,               // Changed from L to J (see (1))\r
98         div: P,\r
99         object: O,\r
100         sup: J,                 // Changed from L to J (see (1))\r
101         dd: P,\r
102         strike: J,              // Changed from L to J (see (1))\r
103         area: {},\r
104         dir: Q,\r
105         map: X({area:1, form:1, p:1}, A, F, E),\r
106         applet: O,\r
107         dl: {dt:1, dd:1},\r
108         del: P,\r
109         isindex: {},\r
110         fieldset: X({legend:1}, K),\r
111         thead: M,\r
112         ul: Q,\r
113         acronym: L,\r
114         b: J,                   // Changed from L to J (see (1))\r
115         a: J,\r
116         blockquote: P,\r
117         caption: L,\r
118         i: J,                   // Changed from L to J (see (1))\r
119         u: J,                   // Changed from L to J (see (1))\r
120         tbody: M,\r
121         s: L,\r
122         address: X(D, I),\r
123         tt: J,                  // Changed from L to J (see (1))\r
124         legend: L,\r
125         q: L,\r
126         pre: X(G, C),\r
127         p: L,\r
128         em: J,                  // Changed from L to J (see (1))\r
129         dfn: L\r
130     } ;\r
131 })() ;\r
132 \r
133 /*\r
134         Notes:\r
135         (1) According to the DTD, many elements, like <b> accept <a> elements\r
136             inside of them. But, to produce better output results, we have manually\r
137             changed the map to avoid breaking the links on pieces, having\r
138             "<b>this is a </b><a><b>link</b> test</a>", instead of\r
139             "<b>this is a <a>link</a></b><a> test</a>".\r
140 */\r