mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-03-11 17:18:44 +00:00
Update test.
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
This commit is contained in:
parent
4da38aca80
commit
b8704535a3
@ -127,7 +127,6 @@ class HTMLPurifier_AttrDef_CSSTest extends HTMLPurifier_AttrDefHarness
|
|||||||
$this->assertDef('scrollbar-highlight-color:#ff69b4;');
|
$this->assertDef('scrollbar-highlight-color:#ff69b4;');
|
||||||
$this->assertDef('scrollbar-shadow-color:#f0f;');
|
$this->assertDef('scrollbar-shadow-color:#f0f;');
|
||||||
|
|
||||||
$this->assertDef('opacity:.2;');
|
|
||||||
$this->assertDef('-moz-opacity:.2;');
|
$this->assertDef('-moz-opacity:.2;');
|
||||||
$this->assertDef('-khtml-opacity:.2;');
|
$this->assertDef('-khtml-opacity:.2;');
|
||||||
$this->assertDef('filter:alpha(opacity=20);');
|
$this->assertDef('filter:alpha(opacity=20);');
|
||||||
@ -146,6 +145,7 @@ class HTMLPurifier_AttrDef_CSSTest extends HTMLPurifier_AttrDefHarness
|
|||||||
$this->assertDef('display:none;');
|
$this->assertDef('display:none;');
|
||||||
$this->assertDef('visibility:visible;');
|
$this->assertDef('visibility:visible;');
|
||||||
$this->assertDef('overflow:scroll;');
|
$this->assertDef('overflow:scroll;');
|
||||||
|
$this->assertDef('opacity:.2;');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testForbidden()
|
public function testForbidden()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user