1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-07-31 19:30:21 +02:00

Make CSS validator drop duplicate declarations.

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@225 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang
2006-08-13 04:52:40 +00:00
parent bb2a30ee97
commit d721066d27
2 changed files with 8 additions and 2 deletions

View File

@@ -10,6 +10,7 @@ class HTMLPurifier_AttrDef_CSSTest extends HTMLPurifier_AttrDefHarness
$this->def = new HTMLPurifier_AttrDef_CSS();
$this->assertDef('text-align:right;');
$this->assertDef('text-align:right;text-align:left;', 'text-align:left;');
}