Commit c8e25045 authored by Aaron Wells's avatar Aaron Wells
Browse files

Skins: Sanitize Custom CSS

Bug 1168213

Change-Id: I608460518a7135db4d713de6efe56481ea7a42fb
parent 3dae4e71
testing/simpletest*
testing/Text*
nbproject*
This diff is collapsed.
<html>
<head>
<title>Class Trees for Package csstidy</title>
<link rel="stylesheet" type="text/css" href="media/style.css">
</head>
<body>
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
<tr>
<td class="header_top">csstidy</td>
</tr>
<tr><td class="header_line"><img src="media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
<tr>
<td class="header_menu">
[ <a href="classtrees_csstidy.html" class="menu">class tree: csstidy</a> ]
[ <a href="elementindex_csstidy.html" class="menu">index: csstidy</a> ]
[ <a href="elementindex.html" class="menu">all elements</a> ]
</td>
</tr>
<tr><td class="header_line"><img src="media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="top">
<td width="200" class="menu">
<div id="todolist">
<p><a href="todolist.html">Todo List</a></p>
</div>
<b>Packages:</b><br />
<a href="li_csstidy.html">csstidy</a><br />
<br /><br />
</td>
<td>
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
<h1>Class Trees for Package csstidy</h1>
<hr />
<div class="classtree">Root class csstidy</div><br>
<ul>
<li><a href="csstidy/csstidy.html">csstidy</a></li></ul>
<hr />
<div class="classtree">Root class csstidy_optimise</div><br>
<ul>
<li><a href="csstidy/csstidy_optimise.html">csstidy_optimise</a></li></ul>
<hr />
<div class="classtree">Root class csstidy_print</div><br>
<ul>
<li><a href="csstidy/csstidy_print.html">csstidy_print</a></li></ul>
<div class="credit">
<hr />
Documentation generated on Mon, 15 May 2006 22:54:54 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.3.0RC3</a>
</div>
</td></tr></table>
</td>
</tr>
</table>
</body>
</html>
\ No newline at end of file
<html>
<head>
<title>Docs for page class.csstidy_optimise.php</title>
<link rel="stylesheet" type="text/css" href="../media/style.css">
</head>
<body>
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
<tr>
<td class="header_top">csstidy</td>
</tr>
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
<tr>
<td class="header_menu">
[ <a href="../classtrees_csstidy.html" class="menu">class tree: csstidy</a> ]
[ <a href="../elementindex_csstidy.html" class="menu">index: csstidy</a> ]
[ <a href="../elementindex.html" class="menu">all elements</a> ]
</td>
</tr>
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="top">
<td width="200" class="menu">
<div id="todolist">
<p><a href="../todolist.html">Todo List</a></p>
</div>
<b>Packages:</b><br />
<a href="../li_csstidy.html">csstidy</a><br />
<br /><br />
<b>Files:</b><br />
<div class="package">
<a href="../csstidy/_class_csstidy_php.html"> class.csstidy.php
</a><br>
<a href="../csstidy/_class_csstidy_optimise_php.html"> class.csstidy_optimise.php
</a><br>
<a href="../csstidy/_class_csstidy_print_php.html"> class.csstidy_print.php
</a><br>
<a href="../csstidy/_data_inc_php.html"> data.inc.php
</a><br>
</div><br />
<b>Classes:</b><br />
<div class="package">
<a href="../csstidy/csstidy.html">csstidy</a><br />
<a href="../csstidy/csstidy_optimise.html">csstidy_optimise</a><br />
<a href="../csstidy/csstidy_print.html">csstidy_print</a><br />
</div>
</td>
<td>
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
<h1>Procedural File: class.csstidy_optimise.php</h1>
Source Location: /class.csstidy_optimise.php<br /><br />
<br>
<br>
<div class="contents">
<h2>Classes:</h2>
<dt><a href="../csstidy/csstidy_optimise.html">csstidy_optimise</a></dt>
<dd>CSS Optimising Class</dd>
</div><br /><br />
<h2>Page Details:</h2>
CSSTidy - CSS Parser and Optimiser<br /><br /><p>CSS Optimising Class This class optimises CSS data generated by csstidy.</p><p>This file is part of CSSTidy.</p><p>CSSTidy is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.</p><p>CSSTidy is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.</p><p>You should have received a copy of the GNU General Public License along with CSSTidy; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>filesource:</b>&nbsp;&nbsp;</td><td><a href="..//__filesource/fsource_csstidy__class.csstidy_optimise.php.html">Source Code for this file</a></td>
</tr>
<tr>
<td><b>author:</b>&nbsp;&nbsp;</td><td>Florian Schmitz (floele at gmail dot com) 2005-2006</td>
</tr>
<tr>
<td><b>license:</b>&nbsp;&nbsp;</td><td><a href="http://opensource.org/licenses/gpl-license.php">GNU Public License</a></td>
</tr>
</table>
</div>
<br /><br />
<br /><br />
<br /><br />
<br />
<div class="credit">
<hr />
Documentation generated on Mon, 15 May 2006 22:55:16 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.3.0RC3</a>
</div>
</td></tr></table>
</td>
</tr>
</table>
</body>
</html>
\ No newline at end of file
<html>
<head>
<title>Docs for page class.csstidy.php</title>
<link rel="stylesheet" type="text/css" href="../media/style.css">
</head>
<body>
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
<tr>
<td class="header_top">csstidy</td>
</tr>
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
<tr>
<td class="header_menu">
[ <a href="../classtrees_csstidy.html" class="menu">class tree: csstidy</a> ]
[ <a href="../elementindex_csstidy.html" class="menu">index: csstidy</a> ]
[ <a href="../elementindex.html" class="menu">all elements</a> ]
</td>
</tr>
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="top">
<td width="200" class="menu">
<div id="todolist">
<p><a href="../todolist.html">Todo List</a></p>
</div>
<b>Packages:</b><br />
<a href="../li_csstidy.html">csstidy</a><br />
<br /><br />
<b>Files:</b><br />
<div class="package">
<a href="../csstidy/_class_csstidy_php.html"> class.csstidy.php
</a><br>
<a href="../csstidy/_class_csstidy_optimise_php.html"> class.csstidy_optimise.php
</a><br>
<a href="../csstidy/_class_csstidy_print_php.html"> class.csstidy_print.php
</a><br>
<a href="../csstidy/_data_inc_php.html"> data.inc.php
</a><br>
</div><br />
<b>Classes:</b><br />
<div class="package">
<a href="../csstidy/csstidy.html">csstidy</a><br />
<a href="../csstidy/csstidy_optimise.html">csstidy_optimise</a><br />
<a href="../csstidy/csstidy_print.html">csstidy_print</a><br />
</div>
</td>
<td>
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
<h1>Procedural File: class.csstidy.php</h1>
Source Location: /class.csstidy.php<br /><br />
<br>
<br>
<div class="contents">
<h2>Classes:</h2>
<dt><a href="../csstidy/csstidy.html">csstidy</a></dt>
<dd>CSS Parser class</dd>
</div><br /><br />
<h2>Page Details:</h2>
CSSTidy - CSS Parser and Optimiser<br /><br /><p>CSS Parser class</p><p>This file is part of CSSTidy.</p><p>CSSTidy is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.</p><p>CSSTidy is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.</p><p>You should have received a copy of the GNU General Public License along with CSSTidy; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>filesource:</b>&nbsp;&nbsp;</td><td><a href="..//__filesource/fsource_csstidy__class.csstidy.php.html">Source Code for this file</a></td>
</tr>
<tr>
<td><b>author:</b>&nbsp;&nbsp;</td><td>Florian Schmitz (floele at gmail dot com) 2005-2006</td>
</tr>
<tr>
<td><b>license:</b>&nbsp;&nbsp;</td><td><a href="http://opensource.org/licenses/gpl-license.php">GNU Public License</a></td>
</tr>
</table>
</div>
<br /><br />
<h4>Includes:</h4>
<div class="tags">
require(<a href="../csstidy/_data_inc_php.html">'data.inc.php'</a>) [line <a href="..//__filesource/fsource_csstidy__class.csstidy.php.html#a33">33</a>]<br />
Various CSS data needed for correct optimisations etc.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>version:</b>&nbsp;&nbsp;</td><td>1.2</td>
</tr>
</table>
</div>
require(<a href="../csstidy/_class_csstidy_print_php.html">'class.csstidy_print.php'</a>) [line <a href="..//__filesource/fsource_csstidy__class.csstidy.php.html#a40">40</a>]<br />
Contains a class for printing CSS code<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>version:</b>&nbsp;&nbsp;</td><td>1.0</td>
</tr>
</table>
</div>
require(<a href="../csstidy/_class_csstidy_optimise_php.html">'class.csstidy_optimise.php'</a>) [line <a href="..//__filesource/fsource_csstidy__class.csstidy.php.html#a47">47</a>]<br />
Contains a class for optimising CSS code<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>version:</b>&nbsp;&nbsp;</td><td>1.0</td>
</tr>
</table>
</div>
</div>
<br /><br />
<br /><br />
<br />
<div class="credit">
<hr />
Documentation generated on Mon, 15 May 2006 22:54:54 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.3.0RC3</a>
</div>
</td></tr></table>
</td>
</tr>
</table>
</body>
</html>
\ No newline at end of file
<html>
<head>
<title>Docs for page class.csstidy_print.php</title>
<link rel="stylesheet" type="text/css" href="../media/style.css">
</head>
<body>
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
<tr>
<td class="header_top">csstidy</td>
</tr>
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
<tr>
<td class="header_menu">
[ <a href="../classtrees_csstidy.html" class="menu">class tree: csstidy</a> ]
[ <a href="../elementindex_csstidy.html" class="menu">index: csstidy</a> ]
[ <a href="../elementindex.html" class="menu">all elements</a> ]
</td>
</tr>
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="top">
<td width="200" class="menu">
<div id="todolist">
<p><a href="../todolist.html">Todo List</a></p>
</div>
<b>Packages:</b><br />
<a href="../li_csstidy.html">csstidy</a><br />
<br /><br />
<b>Files:</b><br />
<div class="package">
<a href="../csstidy/_class_csstidy_php.html"> class.csstidy.php
</a><br>
<a href="../csstidy/_class_csstidy_optimise_php.html"> class.csstidy_optimise.php
</a><br>
<a href="../csstidy/_class_csstidy_print_php.html"> class.csstidy_print.php
</a><br>
<a href="../csstidy/_data_inc_php.html"> data.inc.php
</a><br>
</div><br />
<b>Classes:</b><br />
<div class="package">
<a href="../csstidy/csstidy.html">csstidy</a><br />
<a href="../csstidy/csstidy_optimise.html">csstidy_optimise</a><br />
<a href="../csstidy/csstidy_print.html">csstidy_print</a><br />
</div>
</td>
<td>
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
<h1>Procedural File: class.csstidy_print.php</h1>
Source Location: /class.csstidy_print.php<br /><br />
<br>
<br>
<div class="contents">
<h2>Classes:</h2>
<dt><a href="../csstidy/csstidy_print.html">csstidy_print</a></dt>
<dd>CSS Printing class</dd>
</div><br /><br />
<h2>Page Details:</h2>
CSSTidy - CSS Parser and Optimiser<br /><br /><p>CSS Printing class This class prints CSS data generated by csstidy.</p><p>This file is part of CSSTidy.</p><p>CSSTidy is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.</p><p>CSSTidy is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.</p><p>You should have received a copy of the GNU General Public License along with CSSTidy; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>filesource:</b>&nbsp;&nbsp;</td><td><a href="..//__filesource/fsource_csstidy__class.csstidy_print.php.html">Source Code for this file</a></td>
</tr>
<tr>
<td><b>author:</b>&nbsp;&nbsp;</td><td>Florian Schmitz (floele at gmail dot com) 2005-2006</td>
</tr>
<tr>
<td><b>license:</b>&nbsp;&nbsp;</td><td><a href="http://opensource.org/licenses/gpl-license.php">GNU Public License</a></td>
</tr>
</table>
</div>
<br /><br />
<br /><br />
<br /><br />
<br />
<div class="credit">
<hr />
Documentation generated on Mon, 15 May 2006 22:55:35 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.3.0RC3</a>
</div>
</td></tr></table>
</td>
</tr>
</table>
</body>
</html>
\ No newline at end of file
<html>
<head>
<title>Docs for page data.inc.php</title>
<link rel="stylesheet" type="text/css" href="../media/style.css">
</head>
<body>
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
<tr>
<td class="header_top">csstidy</td>
</tr>
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
<tr>
<td class="header_menu">
[ <a href="../classtrees_csstidy.html" class="menu">class tree: csstidy</a> ]
[ <a href="../elementindex_csstidy.html" class="menu">index: csstidy</a> ]
[ <a href="../elementindex.html" class="menu">all elements</a> ]
</td>
</tr>
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="top">
<td width="200" class="menu">
<div id="todolist">
<p><a href="../todolist.html">Todo List</a></p>
</div>
<b>Packages:</b><br />
<a href="../li_csstidy.html">csstidy</a><br />
<br /><br />
<b>Files:</b><br />
<div class="package">
<a href="../csstidy/_class_csstidy_php.html"> class.csstidy.php
</a><br>
<a href="../csstidy/_class_csstidy_optimise_php.html"> class.csstidy_optimise.php
</a><br>
<a href="../csstidy/_class_csstidy_print_php.html"> class.csstidy_print.php
</a><br>
<a href="../csstidy/_data_inc_php.html"> data.inc.php
</a><br>
</div><br />
<b>Classes:</b><br />
<div class="package">
<a href="../csstidy/csstidy.html">csstidy</a><br />
<a href="../csstidy/csstidy_optimise.html">csstidy_optimise</a><br />
<a href="../csstidy/csstidy_print.html">csstidy_print</a><br />
</div>
</td>
<td>
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
<h1>Procedural File: data.inc.php</h1>
Source Location: /data.inc.php<br /><br />
<br>
<br>
<h2>Page Details:</h2>
Various CSS Data for CSSTidy<br /><br /><p>This file is part of CSSTidy.</p><p>CSSTidy is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.</p><p>CSSTidy is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.</p><p>You should have received a copy of the GNU General Public License along with CSSTidy; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>filesource:</b>&nbsp;&nbsp;</td><td><a href="..//__filesource/fsource_csstidy__data.inc.php.html">Source Code for this file</a></td>
</tr>
<tr>
<td><b>author:</b>&nbsp;&nbsp;</td><td>Florian Schmitz (floele at gmail dot com) 2005</td>
</tr>
<tr>
<td><b>license:</b>&nbsp;&nbsp;</td><td><a href="http://opensource.org/licenses/gpl-license.php">GNU Public License</a></td>
</tr>
</table>
</div>
<br /><br />
<br /><br />
<hr />
<a name="global$GLOBALS['csstidy']['all_properties']"></a>
<h4><i>array</i> $GLOBALS['csstidy']['all_properties'] <span class="smalllinenumber">[line <a href="..//__filesource/fsource_csstidy__data.inc.php.html#a277">277</a>]</span></h4>
<div class="tags">
All CSS Properties. Needed for csstidy::property_is_next()<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>see:</b>&nbsp;&nbsp;</td><td><a href="../csstidy/csstidy.html#methodproperty_is_next">csstidy::property_is_next()</a></td>
</tr>
<tr>
<td><b>version:</b>&nbsp;&nbsp;</td><td>1.0</td>
</tr>
<tr>
<td><b>todo:</b>&nbsp;&nbsp;</td><td>Add CSS3 properties</td>
</tr>
</table>
</div>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>Default value:</b>&nbsp;&nbsp;</td>
<td>array()</td>
</tr>
</table>
</div><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
<hr />
<a name="global$GLOBALS['csstidy']['at_rules']"></a>
<h4><i>array</i> $GLOBALS['csstidy']['at_rules'] <span class="smalllinenumber">[line <a href="..//__filesource/fsource_csstidy__data.inc.php.html#a66">66</a>]</span></h4>
<div class="tags">
Available at-rules<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>version:</b>&nbsp;&nbsp;</td><td>1.0</td>
</tr>
</table>
</div>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>Default value:</b>&nbsp;&nbsp;</td>
<td>array('page'&nbsp;=&gt;&nbsp;'is','font-face'&nbsp;=&gt;&nbsp;'is','charset'&nbsp;=&gt;&nbsp;'iv',&nbsp;'import'&nbsp;=&gt;&nbsp;'iv','namespace'&nbsp;=&gt;&nbsp;'iv','media'&nbsp;=&gt;&nbsp;'at')</td>
</tr>
</table>
</div><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
<hr />
<a name="global$GLOBALS['csstidy']['background_prop_default']"></a>
<h4><i>array</i> $GLOBALS['csstidy']['background_prop_default'] <span class="smalllinenumber">[line <a href="..//__filesource/fsource_csstidy__data.inc.php.html#a106">106</a>]</span></h4>
<div class="tags">
Default values for the background properties<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>version:</b>&nbsp;&nbsp;</td><td>1.0</td>
</tr>
<tr>
<td><b>see:</b>&nbsp;&nbsp;</td><td>merge_bg()</td>
</tr>
<tr>
<td><b>see:</b>&nbsp;&nbsp;</td><td>dissolve_short_bg()</td>
</tr>
<tr>
<td><b>todo:</b>&nbsp;&nbsp;</td><td>Possibly property names will change during CSS3 development</td>
</tr>
</table>
</div>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>Default value:</b>&nbsp;&nbsp;</td>
<td>array()</td>
</tr>
</table>
</div><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
<hr />
<a name="global$GLOBALS['csstidy']['color_values']"></a>
<h4><i>array</i> $GLOBALS['csstidy']['color_values'] <span class="smalllinenumber">[line <a href="..//__filesource/fsource_csstidy__data.inc.php.html#a86">86</a>]</span></h4>
<div class="tags">
Properties that allow &lt;color&gt; as value<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>version:</b>&nbsp;&nbsp;</td><td>1.0</td>
</tr>
<tr>
<td><b>see:</b>&nbsp;&nbsp;</td><td>compress_numbers();</td>
</tr>
<tr>
<td><b>todo:</b>&nbsp;&nbsp;</td><td>CSS3 properties</td>
</tr>
</table>
</div>