PageRenderTime 22ms CodeModel.GetById 15ms app.highlight 5ms RepoModel.GetById 0ms app.codeStats 0ms

/EQT_V2/EQT/EQTWebApp/fckeditor/editor/dtd/fck_xhtml10strict.js

http://sgsoft-las.googlecode.com/
JavaScript | 116 lines | 90 code | 3 blank | 23 comment | 0 complexity | c2b2ead85dbf8761bbc7efcc85905f7c MD5 | raw file
Possible License(s): LGPL-2.1
  1/*
  2 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
  3 * Copyright (C) 2003-2009 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 */
 24FCK.DTD = (function()
 25{
 26    var X = FCKTools.Merge ;
 27
 28    var H,I,J,K,C,L,M,A,B,D,E,G,N,F ;
 29    A = {ins:1, del:1, script:1} ;
 30    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} ;
 31    C = X({fieldset:1}, B) ;
 32    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) ;
 33    E = X({img:1, object:1}, D) ;
 34    F = {input:1, button:1, textarea:1, select:1, label:1} ;
 35    G = X({a:1}, F) ;
 36    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} ;
 37
 38    I = X({form:1, fieldset:1}, B, E, G) ;
 39    J = {tr:1} ;
 40    K = {'#':1} ;
 41    L = X(E, G) ;
 42    M = {li:1} ;
 43    N = X({form:1}, A, C) ;
 44
 45    return {
 46        col: {},
 47        tr: {td:1, th:1},
 48        img: {},
 49        colgroup: {col:1},
 50        noscript: N,
 51        td: I,
 52        br: {},
 53        th: I,
 54        kbd: L,
 55        button: X(B, E),
 56        h5: L,
 57        h4: L,
 58        samp: L,
 59        h6: L,
 60        ol: M,
 61        h1: L,
 62        h3: L,
 63        option: K,
 64        h2: L,
 65        form: X(A, C),
 66        select: {optgroup:1, option:1},
 67        ins: I,
 68        abbr: L,
 69        label: L,
 70        code: L,
 71        table: {thead:1, col:1, tbody:1, tr:1, colgroup:1, caption:1, tfoot:1},
 72        script: K,
 73        tfoot: J,
 74        cite: L,
 75        li: I,
 76        input: {},
 77        strong: L,
 78        textarea: K,
 79        big: L,
 80        small: L,
 81        span: L,
 82        dt: L,
 83        hr: {},
 84        sub: L,
 85        optgroup: {option:1},
 86        bdo: L,
 87        param: {},
 88        'var': L,
 89        div: I,
 90        object: X({param:1}, H),
 91        sup: L,
 92        dd: I,
 93        area: {},
 94        map: X({form:1, area:1}, A, C),
 95        dl: {dt:1, dd:1},
 96        del: I,
 97        fieldset: X({legend:1}, H),
 98        thead: J,
 99        ul: M,
100        acronym: L,
101        b: L,
102        a: X({img:1, object:1}, D, F),
103        blockquote: N,
104        caption: L,
105        i: L,
106        tbody: J,
107        address: L,
108        tt: L,
109        legend: L,
110        q: L,
111        pre: X({a:1}, D, F),
112        p: L,
113        em: L,
114        dfn: L
115    } ;
116})() ;