mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-23 08:51:53 +00:00
d721066d27
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@225 48356398-32a2-884e-a903-53898d9a118a
19 lines
379 B
PHP
19 lines
379 B
PHP
<?php
|
|
|
|
require_once 'HTMLPurifier/AttrDef/CSS.php';
|
|
|
|
class HTMLPurifier_AttrDef_CSSTest extends HTMLPurifier_AttrDefHarness
|
|
{
|
|
|
|
function test() {
|
|
|
|
$this->def = new HTMLPurifier_AttrDef_CSS();
|
|
|
|
$this->assertDef('text-align:right;');
|
|
$this->assertDef('text-align:right;text-align:left;', 'text-align:left;');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|