Files
luos/thirdparty/html2ps_pdf/css.z-index.inc.php
Paula Quispe 9eb7d6cac2 HOR-2689
2017-08-03 17:00:30 -04:00

29 lines
469 B
PHP

<?php
class CSSZIndex extends CSSPropertyHandler {
function CSSZIndex() {
$this->CSSPropertyHandler(false, false);
}
function default_value() { return 0; }
function parse($value) {
if ($value === 'inherit') {
return CSS_PROPERTY_INHERIT;
};
return (int)$value;
}
function getPropertyCode() {
return CSS_Z_INDEX;
}
function getPropertyName() {
return 'z-index';
}
}
CSS::register_css_property(new CSSZIndex);
?>