Lines Matching refs:values
153 $values = preg_split ('/\s+/', $this->value);
155 if ($index < count($values)) {
157 $value = $values [$index];
172 if ($index < count($values)) {
173 $decls [] = new css_declaration ('background-image', $values [$index]);
176 if ($index < count($values)) {
177 $decls [] = new css_declaration ('background-repeat', $values [$index]);
180 if ($index < count($values)) {
181 $decls [] = new css_declaration ('background-attachment', $values [$index]);
184 if ($index < count($values)) {
185 $decls [] = new css_declaration ('background-position', $values [$index]);
196 $values = preg_split ('/\s+/', $this->value);
204 foreach ($values as $value) {
346 $values = preg_split ('/\s+/', $this->value);
347 switch (count($values)) {
349 $decls [] = new css_declaration ('padding-top', $values [0]);
350 $decls [] = new css_declaration ('padding-right', $values [1]);
351 $decls [] = new css_declaration ('padding-bottom', $values [2]);
352 $decls [] = new css_declaration ('padding-left', $values [3]);
355 $decls [] = new css_declaration ('padding-top', $values [0]);
356 $decls [] = new css_declaration ('padding-right', $values [1]);
357 $decls [] = new css_declaration ('padding-left', $values [1]);
358 $decls [] = new css_declaration ('padding-bottom', $values [2]);
361 $decls [] = new css_declaration ('padding-top', $values [0]);
362 $decls [] = new css_declaration ('padding-bottom', $values [0]);
363 $decls [] = new css_declaration ('padding-right', $values [1]);
364 $decls [] = new css_declaration ('padding-left', $values [1]);
367 $decls [] = new css_declaration ('padding-top', $values [0]);
368 $decls [] = new css_declaration ('padding-bottom', $values [0]);
369 $decls [] = new css_declaration ('padding-right', $values [0]);
370 $decls [] = new css_declaration ('padding-left', $values [0]);
381 $values = preg_split ('/\s+/', $this->value);
382 switch (count($values)) {
384 $decls [] = new css_declaration ('margin-top', $values [0]);
385 $decls [] = new css_declaration ('margin-right', $values [1]);
386 $decls [] = new css_declaration ('margin-bottom', $values [2]);
387 $decls [] = new css_declaration ('margin-left', $values [3]);
390 $decls [] = new css_declaration ('margin-top', $values [0]);
391 $decls [] = new css_declaration ('margin-right', $values [1]);
392 $decls [] = new css_declaration ('margin-left', $values [1]);
393 $decls [] = new css_declaration ('margin-bottom', $values [2]);
396 $decls [] = new css_declaration ('margin-top', $values [0]);
397 $decls [] = new css_declaration ('margin-bottom', $values [0]);
398 $decls [] = new css_declaration ('margin-right', $values [1]);
399 $decls [] = new css_declaration ('margin-left', $values [1]);
402 $decls [] = new css_declaration ('margin-top', $values [0]);
403 $decls [] = new css_declaration ('margin-bottom', $values [0]);
404 $decls [] = new css_declaration ('margin-right', $values [0]);
405 $decls [] = new css_declaration ('margin-left', $values [0]);
417 $values = preg_split ('/\s+/', $this->value);
424 if (!isset($values [$index])) $values [$index] = 'medium';
425 switch ($values [$index]) {
429 $decls [] = new css_declaration ('border-width', $values [$index]);
431 … $decls [] = new css_declaration ($border_side.'-width', $values [$index]);
435 if ( strpos ($values [$index], 'px') !== false ) {
436 $decls [] = new css_declaration ('border-width', $values [$index]);
438 … $decls [] = new css_declaration ($border_side.'-width', $values [$index]);
450 if (!isset($values [$index])) $values [$index] = 'none';
451 switch ($values [$index]) {
461 $decls [] = new css_declaration ('border-style', $values [$index]);
463 … $decls [] = new css_declaration ($border_side.'-style', $values [$index]);
478 if (!isset($values [$index])) $values [$index] = 'initial';
479 $decls [] = new css_declaration ('border-color', $values [$index]);
481 $decls [] = new css_declaration ($border_side.'-color', $values [$index]);
489 … $decls [] = new css_declaration ($border_side, $values [0].' '.$values [1].' '.$values [2]);
499 $values = preg_split ('/\s+/', $this->value);
504 foreach ($values as $value) {
578 $values = preg_split ('/\s+/', $this->value);
579 if ( count($values) > 0 ) {
580 $decls [] = new css_declaration ('flex-grow', $values [0]);
582 if ( count($values) > 1 ) {
583 $decls [] = new css_declaration ('flex-shrink', $values [1]);
585 if ( count($values) > 2 ) {
586 $decls [] = new css_declaration ('flex-basis', $values [2]);
596 $values = preg_split ('/\s+/', $this->value);
597 if ( count($values) > 0 ) {
598 $decls [] = new css_declaration ('transition-property', $values [0]);
600 if ( count($values) > 1 ) {
601 $decls [] = new css_declaration ('transition-duration', $values [1]);
603 if ( count($values) > 2 ) {
604 $decls [] = new css_declaration ('transition-timing-function', $values [2]);
606 if ( count($values) > 3 ) {
607 $decls [] = new css_declaration ('transition-delay', $values [3]);
617 $values = preg_split ('/\s+/', $this->value);
622 foreach ($values as $value) {
694 $values = preg_split ('/\s+/', $this->value);
695 if ( count($values) > 0 ) {
696 $decls [] = new css_declaration ('animation-name', $values [0]);
698 if ( count($values) > 1 ) {
699 $decls [] = new css_declaration ('animation-duration', $values [1]);
701 if ( count($values) > 2 ) {
702 $decls [] = new css_declaration ('animation-timing-function', $values [2]);
704 if ( count($values) > 3 ) {
705 $decls [] = new css_declaration ('animation-delay', $values [3]);
707 if ( count($values) > 4 ) {
708 $decls [] = new css_declaration ('animation-iteration-count', $values [4]);
710 if ( count($values) > 5 ) {
711 $decls [] = new css_declaration ('animation-direction', $values [5]);
713 if ( count($values) > 6 ) {
714 $decls [] = new css_declaration ('animation-fill-mode', $values [6]);
716 if ( count($values) > 7 ) {
717 $decls [] = new css_declaration ('animation-play-state', $values [7]);
727 $values = preg_split ('/\s+/', $this->value);
732 foreach ($values as $value) {
804 $values = preg_split ('/\s+/', $this->value);
805 if ( count($values) == 1 && $values [0] == 'auto' ) {
810 if ( count($values) > 0 ) {
811 $decls [] = new css_declaration ('column-width', $values [0]);
813 if ( count($values) > 1 ) {
814 $decls [] = new css_declaration ('column-count', $values [1]);
824 $values = preg_split ('/\s+/', $this->value);
825 if ( count($values) > 0 ) {
826 $decls [] = new css_declaration ('column-rule-width', $values [0]);
828 if ( count($values) > 1 ) {
829 $decls [] = new css_declaration ('column-rule-style', $values [1]);
831 if ( count($values) > 2 ) {
832 $decls [] = new css_declaration ('column-rule-color', $values [2]);
895 $values = preg_split ('/\s+/', $this->value);
896 if (!isset($values [1])) $values [1] = 'none'; // border-style
897 if (!isset($values [2])) $values [2] = 'currentcolor'; // border-color
899 … call_user_func($callback, $this->property, $values [0], CSSValueType::StrokeOrBorderWidth, $rule);
900 $this->value = $width . ' ' . $values [1] . ' ' . $values [2];
959 $values = preg_split ('/\s+/', $value);
961 foreach ($values as $part) {
1066 public function getProperties (&$values) { argument
1070 $values [$property] = $value;
1424 $values = preg_split ('/\s+/', $value);
1426 foreach ($values as $part) {