1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-07-30 19:00:10 +02:00

Implement 'overflow' CSS property.

Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
This commit is contained in:
Edward Z. Yang
2008-11-27 16:14:50 -05:00
parent 6691676666
commit f5cd2c07ea
5 changed files with 4 additions and 3 deletions

View File

@@ -257,6 +257,7 @@ class HTMLPurifier_CSSDefinition extends HTMLPurifier_Definition
$this->info['visibility'] = new HTMLPurifier_AttrDef_Enum(array(
'visible', 'hidden', 'collapse'
));
$this->info['overflow'] = new HTMLPurifier_AttrDef_Enum(array('visible', 'hidden', 'auto', 'scroll'));
}