]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - inc/3rdparty/htmlpurifier/HTMLPurifier/HTMLModule/Tables.php
remove 3rd libraries
[github/wallabag/wallabag.git] / inc / 3rdparty / htmlpurifier / HTMLPurifier / HTMLModule / Tables.php
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/HTMLModule/Tables.php b/inc/3rdparty/htmlpurifier/HTMLPurifier/HTMLModule/Tables.php
deleted file mode 100644 (file)
index f993e3c..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-<?php\r
-\r
-/**\r
- * XHTML 1.1 Tables Module, fully defines accessible table elements.\r
- */\r
-class HTMLPurifier_HTMLModule_Tables extends HTMLPurifier_HTMLModule\r
-{\r
-    /**\r
-     * @type string\r
-     */\r
-    public $name = 'Tables';\r
-\r
-    /**\r
-     * @param HTMLPurifier_Config $config\r
-     */\r
-    public function setup($config)\r
-    {\r
-        $this->addElement('caption', false, 'Inline', 'Common');\r
-\r
-        $this->addElement(\r
-            'table',\r
-            'Block',\r
-            new HTMLPurifier_ChildDef_Table(),\r
-            'Common',\r
-            array(\r
-                'border' => 'Pixels',\r
-                'cellpadding' => 'Length',\r
-                'cellspacing' => 'Length',\r
-                'frame' => 'Enum#void,above,below,hsides,lhs,rhs,vsides,box,border',\r
-                'rules' => 'Enum#none,groups,rows,cols,all',\r
-                'summary' => 'Text',\r
-                'width' => 'Length'\r
-            )\r
-        );\r
-\r
-        // common attributes\r
-        $cell_align = array(\r
-            'align' => 'Enum#left,center,right,justify,char',\r
-            'charoff' => 'Length',\r
-            'valign' => 'Enum#top,middle,bottom,baseline',\r
-        );\r
-\r
-        $cell_t = array_merge(\r
-            array(\r
-                'abbr' => 'Text',\r
-                'colspan' => 'Number',\r
-                'rowspan' => 'Number',\r
-                // Apparently, as of HTML5 this attribute only applies\r
-                // to 'th' elements.\r
-                'scope' => 'Enum#row,col,rowgroup,colgroup',\r
-            ),\r
-            $cell_align\r
-        );\r
-        $this->addElement('td', false, 'Flow', 'Common', $cell_t);\r
-        $this->addElement('th', false, 'Flow', 'Common', $cell_t);\r
-\r
-        $this->addElement('tr', false, 'Required: td | th', 'Common', $cell_align);\r
-\r
-        $cell_col = array_merge(\r
-            array(\r
-                'span' => 'Number',\r
-                'width' => 'MultiLength',\r
-            ),\r
-            $cell_align\r
-        );\r
-        $this->addElement('col', false, 'Empty', 'Common', $cell_col);\r
-        $this->addElement('colgroup', false, 'Optional: col', 'Common', $cell_col);\r
-\r
-        $this->addElement('tbody', false, 'Required: tr', 'Common', $cell_align);\r
-        $this->addElement('thead', false, 'Required: tr', 'Common', $cell_align);\r
-        $this->addElement('tfoot', false, 'Required: tr', 'Common', $cell_align);\r
-    }\r
-}\r
-\r
-// vim: et sw=4 sts=4\r