fck_xhtml10strict.js 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. /*
  2. * FCKeditor - The text editor for Internet - http://www.fckeditor.net
  3. * Copyright (C) 2003-2010 Frederico Caldeira Knabben
  4. *
  5. * == BEGIN LICENSE ==
  6. *
  7. * Licensed under the terms of any of the following licenses at your
  8. * choice:
  9. *
  10. * - GNU General Public License Version 2 or later (the "GPL")
  11. * http://www.gnu.org/licenses/gpl.html
  12. *
  13. * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
  14. * http://www.gnu.org/licenses/lgpl.html
  15. *
  16. * - Mozilla Public License Version 1.1 or later (the "MPL")
  17. * http://www.mozilla.org/MPL/MPL-1.1.html
  18. *
  19. * == END LICENSE ==
  20. *
  21. * Contains the DTD mapping for XHTML 1.0 Strict.
  22. * This file was automatically generated from the file: xhtml10-strict.dtd
  23. */
  24. FCK.DTD = (function()
  25. {
  26. var X = FCKTools.Merge ;
  27. var H,I,J,K,C,L,M,A,B,D,E,G,N,F ;
  28. A = {ins:1, del:1, script:1} ;
  29. B = {hr:1, ul:1, div:1, blockquote:1, noscript:1, table:1, address:1, pre:1, p:1, h5:1, dl:1, h4:1, ol:1, h6:1, h1:1, h3:1, h2:1} ;
  30. C = X({fieldset:1}, B) ;
  31. D = X({sub:1, bdo:1, 'var':1, sup:1, br:1, kbd:1, map:1, samp:1, b:1, acronym:1, '#':1, abbr:1, code:1, i:1, cite:1, tt:1, strong:1, q:1, em:1, big:1, small:1, span:1, dfn:1}, A) ;
  32. E = X({img:1, object:1}, D) ;
  33. F = {input:1, button:1, textarea:1, select:1, label:1} ;
  34. G = X({a:1}, F) ;
  35. H = {img:1, noscript:1, br:1, kbd:1, button:1, h5:1, h4:1, samp:1, h6:1, ol:1, h1:1, h3:1, h2:1, form:1, select:1, '#':1, ins:1, abbr:1, label:1, code:1, table:1, script:1, cite:1, input:1, strong:1, textarea:1, big:1, small:1, span:1, hr:1, sub:1, bdo:1, 'var':1, div:1, object:1, sup:1, map:1, dl:1, del:1, fieldset:1, ul:1, b:1, acronym:1, a:1, blockquote:1, i:1, address:1, tt:1, q:1, pre:1, p:1, em:1, dfn:1} ;
  36. I = X({form:1, fieldset:1}, B, E, G) ;
  37. J = {tr:1} ;
  38. K = {'#':1} ;
  39. L = X(E, G) ;
  40. M = {li:1} ;
  41. N = X({form:1}, A, C) ;
  42. return {
  43. col: {},
  44. tr: {td:1, th:1},
  45. img: {},
  46. colgroup: {col:1},
  47. noscript: N,
  48. td: I,
  49. br: {},
  50. th: I,
  51. kbd: L,
  52. button: X(B, E),
  53. h5: L,
  54. h4: L,
  55. samp: L,
  56. h6: L,
  57. ol: M,
  58. h1: L,
  59. h3: L,
  60. option: K,
  61. h2: L,
  62. form: X(A, C),
  63. select: {optgroup:1, option:1},
  64. ins: I,
  65. abbr: L,
  66. label: L,
  67. code: L,
  68. table: {thead:1, col:1, tbody:1, tr:1, colgroup:1, caption:1, tfoot:1},
  69. script: K,
  70. tfoot: J,
  71. cite: L,
  72. li: I,
  73. input: {},
  74. strong: L,
  75. textarea: K,
  76. big: L,
  77. small: L,
  78. span: L,
  79. dt: L,
  80. hr: {},
  81. sub: L,
  82. optgroup: {option:1},
  83. bdo: L,
  84. param: {},
  85. 'var': L,
  86. div: I,
  87. object: X({param:1}, H),
  88. sup: L,
  89. dd: I,
  90. area: {},
  91. map: X({form:1, area:1}, A, C),
  92. dl: {dt:1, dd:1},
  93. del: I,
  94. fieldset: X({legend:1}, H),
  95. thead: J,
  96. ul: M,
  97. acronym: L,
  98. b: L,
  99. a: X({img:1, object:1}, D, F),
  100. blockquote: N,
  101. caption: L,
  102. i: L,
  103. tbody: J,
  104. address: L,
  105. tt: L,
  106. legend: L,
  107. q: L,
  108. pre: X({a:1}, D, F),
  109. p: L,
  110. em: L,
  111. dfn: L
  112. } ;
  113. })() ;