mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-07-31 19:30:21 +02:00
CSS: added "initial" and "inherit" to width + height (#144)
* CSS: added "initial" and "inherit" to width + height CSS: added "initial" and "inherit" to min-width + min-height, removed "auto" CSS: added "initial" and "inherit" and "none" to max-width + max-height, removed "auto" * Fixed test: min-width:auto; should be false
This commit is contained in:
committed by
Edward Z. Yang
parent
8c153eef3a
commit
7cfc44654a
@@ -64,7 +64,9 @@ class HTMLPurifier_AttrDef_CSSTest extends HTMLPurifier_AttrDefHarness
|
||||
$this->assertDef('width:-50px;', false);
|
||||
$this->assertDef('min-width:50%;');
|
||||
$this->assertDef('min-width:50px;');
|
||||
$this->assertDef('min-width:auto;');
|
||||
$this->assertDef('min-width:auto;', false);
|
||||
$this->assertDef('min-width:initial;');
|
||||
$this->assertDef('min-width:inherit;');
|
||||
$this->assertDef('min-width:-50px;', false);
|
||||
$this->assertDef('min-width:50ch;');
|
||||
$this->assertDef('min-width:50rem;');
|
||||
|
Reference in New Issue
Block a user