diff --git a/docs/progress.html b/docs/progress.html index d4a825ae..9ab3f26b 100644 --- a/docs/progress.html +++ b/docs/progress.html @@ -198,7 +198,7 @@ thead th {text-align:left;padding:0.1em;background-color:#EEE;} right top clip- -positionENUM(static, relative, absolute, fixed), permit +positionENUM(static, relative, absolute, fixed), permit relative not absolute? z-indexDangerous diff --git a/tests/HTMLPurifier/AttrDef/CSSTest.php b/tests/HTMLPurifier/AttrDef/CSSTest.php index 8fdcd04c..a33af872 100644 --- a/tests/HTMLPurifier/AttrDef/CSSTest.php +++ b/tests/HTMLPurifier/AttrDef/CSSTest.php @@ -22,14 +22,16 @@ class HTMLPurifier_AttrDef_CSSTest extends HTMLPurifier_AttrDefHarness $this->assertDef('text-transform:capitalize;'); // duplicates - $this->assertDef('text-align:right;text-align:left;', 'text-align:left;'); + $this->assertDef('text-align:right;text-align:left;', + 'text-align:left;'); // a few composites $this->assertDef('font-variant:small-caps;font-weight:900;'); $this->assertDef('float:right;text-align:right;'); // selective removal - $this->assertDef('text-transform:capitalize;destroy:it;', 'text-transform:capitalize;'); + $this->assertDef('text-transform:capitalize;destroy:it;', + 'text-transform:capitalize;'); // inherit works for everything $this->assertDef('text-align:inherit;');