mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-07-30 19:00:10 +02:00
Commit initial implementation of AttrDef_CSS, with text-align being the only defined property. Further development will be going on in AttrDef and CSSDefinition.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@223 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
@@ -64,8 +64,8 @@ class HTMLPurifier_Strategy_ValidateAttributesTest extends
|
||||
$expect[11] = '<span lang="fr" xml:lang="fr">La soupe.</span>';
|
||||
|
||||
// test align (won't work till CSS validation is implemented)
|
||||
// $inputs[12] = '<h1 align="center">Centered Headline</h1>';
|
||||
// $expect[12] = '<h1 style="text-align:center;">Centered Headline</h1>';
|
||||
$inputs[12] = '<h1 align="center">Centered Headline</h1>';
|
||||
$expect[12] = '<h1 style="text-align:center;">Centered Headline</h1>';
|
||||
|
||||
// test table
|
||||
$inputs[13] = <<<HTML
|
||||
|
Reference in New Issue
Block a user