diff --git a/tests/HTMLPurifier/AttrDef/CSSTest.php b/tests/HTMLPurifier/AttrDef/CSSTest.php index cff811bc..37ec2d4c 100644 --- a/tests/HTMLPurifier/AttrDef/CSSTest.php +++ b/tests/HTMLPurifier/AttrDef/CSSTest.php @@ -127,7 +127,6 @@ class HTMLPurifier_AttrDef_CSSTest extends HTMLPurifier_AttrDefHarness $this->assertDef('scrollbar-highlight-color:#ff69b4;'); $this->assertDef('scrollbar-shadow-color:#f0f;'); - $this->assertDef('opacity:.2;'); $this->assertDef('-moz-opacity:.2;'); $this->assertDef('-khtml-opacity:.2;'); $this->assertDef('filter:alpha(opacity=20);'); @@ -146,6 +145,7 @@ class HTMLPurifier_AttrDef_CSSTest extends HTMLPurifier_AttrDefHarness $this->assertDef('display:none;'); $this->assertDef('visibility:visible;'); $this->assertDef('overflow:scroll;'); + $this->assertDef('opacity:.2;'); } public function testForbidden()