This commit is contained in:
Paula Quispe
2017-08-02 16:06:56 -04:00
committed by davidcallizaya
parent 8359e30998
commit 9eb7d6cac2
2289 changed files with 204853 additions and 80064 deletions

View File

@@ -0,0 +1,35 @@
<?php
// $Header: /cvsroot/html2ps/css.text-transform.inc.php,v 1.2 2006/07/09 09:07:46 Konstantin Exp $
define('CSS_TEXT_TRANSFORM_NONE' ,0);
define('CSS_TEXT_TRANSFORM_CAPITALIZE',1);
define('CSS_TEXT_TRANSFORM_UPPERCASE' ,2);
define('CSS_TEXT_TRANSFORM_LOWERCASE' ,3);
class CSSTextTransform extends CSSPropertyStringSet {
function CSSTextTransform() {
$this->CSSPropertyStringSet(false,
true,
array('inherit' => CSS_PROPERTY_INHERIT,
'none' => CSS_TEXT_TRANSFORM_NONE,
'capitalize' => CSS_TEXT_TRANSFORM_CAPITALIZE,
'uppercase' => CSS_TEXT_TRANSFORM_UPPERCASE,
'lowercase' => CSS_TEXT_TRANSFORM_LOWERCASE));
}
function default_value() {
return CSS_TEXT_TRANSFORM_NONE;
}
function getPropertyCode() {
return CSS_TEXT_TRANSFORM;
}
function getPropertyName() {
return 'text-transform';
}
}
CSS::register_css_property(new CSSTextTransform);
?>