update v1.0.7.7

This commit is contained in:
Sujit Prasad
2016-06-21 18:45:34 +05:30
parent 73f6c8d6e7
commit 48ed88a15e
444 changed files with 1581 additions and 37943 deletions

View File

@@ -1,28 +0,0 @@
<?php
class HTMLPurifier_AttrDef_CSS_AlphaValueTest extends HTMLPurifier_AttrDefHarness
{
public function test()
{
$this->def = new HTMLPurifier_AttrDef_CSS_AlphaValue();
$this->assertDef('0');
$this->assertDef('1');
$this->assertDef('.2');
// clamping to [0.0, 1,0]
$this->assertDef('1.2', '1');
$this->assertDef('-3', '0');
$this->assertDef('0.0', '0');
$this->assertDef('1.0', '1');
$this->assertDef('000', '0');
$this->assertDef('asdf', false);
}
}
// vim: et sw=4 sts=4