Lines Matching refs:properties

135     static public function normalize (array &$properties) {  argument
151 if (!empty($properties ['border'])) {
155 self::getShorthandValues ($properties ['border'], $width, $style, $color);
174 unset ($properties ['border']);
177 if (!empty($properties ['border-left'])) {
181 self::getShorthandValues ($properties ['border-left'], $width, $style, $color);
191 unset ($properties ['border-left']);
194 if (!empty($properties ['border-right'])) {
198 self::getShorthandValues ($properties ['border-right'], $width, $style, $color);
208 unset ($properties ['border-right']);
211 if (!empty($properties ['border-top'])) {
215 self::getShorthandValues ($properties ['border-top'], $width, $style, $color);
225 unset ($properties ['border-top']);
228 if (!empty($properties ['border-bottom'])) {
232 self::getShorthandValues ($properties ['border-bottom'], $width, $style, $color);
242 unset ($properties ['border-bottom']);
245 if (!empty($properties ['border-width'])) {
250 … self::getWidthShorthandValues ($properties ['border-width'], $top, $right, $bottom, $left);
263 unset ($properties ['border-width']);
270 $properties ['border-top'] = $bt_width.' '.$bt_style.' '.$bt_color;
273 $properties ['border-right'] = $br_width.' '.$br_style.' '.$br_color;
276 $properties ['border-bottom'] = $bb_width.' '.$bb_style.' '.$bb_color;
279 $properties ['border-left'] = $bl_width.' '.$bl_style.' '.$bl_color;
283 if ($properties ['border-top'] == $properties ['border-right'] &&
284 $properties ['border-top'] == $properties ['border-bottom'] &&
285 $properties ['border-top'] == $properties ['border-left']) {
286 $properties ['border'] = $properties ['border-top'];
287 unset ($properties ['border-top']);
288 unset ($properties ['border-right']);
289 unset ($properties ['border-bottom']);
290 unset ($properties ['border-left']);