Lines Matching refs:value

76   function applicable_value($value, &$box) {  argument
86 function _fix_value($value, &$box, $default, $no_table_recursion) { argument
88 if ($value[1]) {
99 return mm2pt($g_media->real_height()) * $value[0] / 100;
104 return mm2pt($g_media->real_height()) * $value[0] / 100;
123 return $rhc->apply($box->parent->get_height(), $box, true) * $value[0] / 100;
125 return $box->parent->parent->get_height() * $value[0] / 100;
129 return $box->parent->get_height() * $value[0] / 100;
132 return $value[0];
138 $value = $box->get_css_property(CSS_HEIGHT);
140 if ($value->isAuto($value)) {
142 } elseif ($value->isPercentage()) {
143 $constant = array($value->getPercentage(), true);
145 $constant = array($value->getPoints(), false);
149 $value = $box->get_css_property(CSS_MIN_HEIGHT);
150 if ($value->isAuto($value)) {
152 } elseif ($value->isPercentage()) {
153 $min = array($value->getPercentage(), true);
155 $min = array($value->getPoints(), false);
159 $value = $box->get_css_property(CSS_MAX_HEIGHT);
160 if ($value->isAuto($value)) {
162 } elseif ($value->isPercentage()) {
163 $max = array($value->getPercentage(), true);
165 $max = array($value->getPoints(), false);
184 function apply_min($value, &$box, $no_table_recursion) { argument
186 return $value;
188 return max($this->_fix_value($this->min, $box, $value, $no_table_recursion), $value);
192 function apply_max($value, &$box, $no_table_recursion) { argument
194 return $value;
196 return min($this->_fix_value($this->max, $box, $value, $no_table_recursion), $value);
200 function apply($value, &$box, $no_table_recursion = false) { argument
202 $height = $this->_fix_value($this->constant, $box, $value, $no_table_recursion);
204 …$height = $this->apply_min($this->apply_max($value, $box, $no_table_recursion), $box, $no_table_r…