Lines Matching refs:value

6   var $value;  variable in PaddingSideValue
16 $this->value = $base * $this->percentage / 100;
20 $value =& new PaddingSideValue;
21 $value->value = $this->value;
22 $value->auto = $this->auto;
23 $value->percentage = $this->percentage;
24 $value->_units = $this->_units;
25 return $value;
29 return $this->value;
34 $this->value == 0 &&
46 $value = new PaddingSideValue;
47 $value->_units = Value::fromString($data);
48 $value->value = $data;
49 $value->percentage = $is_percentage ? (int)($data) : null;
50 $value->auto = $data === 'auto';
51 return $value;
56 $this->value = $this->_units->toPt($base);
69 $value = $state->getInheritedProperty(CSS_PADDING_TOP);
70 $this->top = $value->copy();
74 $value = $state->getInheritedProperty(CSS_PADDING_BOTTOM);
75 $this->bottom = $value->copy();
79 $value = $state->getInheritedProperty(CSS_PADDING_RIGHT);
80 $this->right = $value->copy();
84 $value = $state->getInheritedProperty(CSS_PADDING_LEFT);
85 $this->left = $value->copy();
90 $value =& new PaddingValue;
91 …$value->top = ($this->top === CSS_PROPERTY_INHERIT) ? CSS_PROPERTY_INHERIT : $this->top->cop…
92 …$value->bottom = ($this->bottom === CSS_PROPERTY_INHERIT) ? CSS_PROPERTY_INHERIT : $this->bottom->…
93 …$value->left = ($this->left === CSS_PROPERTY_INHERIT) ? CSS_PROPERTY_INHERIT : $this->left->co…
94 …$value->right = ($this->right === CSS_PROPERTY_INHERIT) ? CSS_PROPERTY_INHERIT : $this->right->c…
95 return $value;
107 $value = new PaddingValue;
108 $value->top = PaddingSideValue::init($data[0]);
109 $value->right = PaddingSideValue::init($data[1]);
110 $value->bottom = PaddingSideValue::init($data[2]);
111 $value->left = PaddingSideValue::init($data[3]);
112 return $value;