@@ 957-963 (lines=7) @@ | ||
954 | ); |
|
955 | break; |
|
956 | ||
957 | case 'border-top-left-radius': |
|
958 | $val = $this->convertToRadius($val); |
|
959 | if (count($val) < 1 || count($val) > 2) { |
|
960 | break; |
|
961 | } |
|
962 | $this->value['border']['radius']['tl'] = array($val[0], isset($val[1]) ? $val[1] : $val[0]); |
|
963 | break; |
|
964 | ||
965 | case 'border-top-right-radius': |
|
966 | $val = $this->convertToRadius($val); |
|
@@ 965-971 (lines=7) @@ | ||
962 | $this->value['border']['radius']['tl'] = array($val[0], isset($val[1]) ? $val[1] : $val[0]); |
|
963 | break; |
|
964 | ||
965 | case 'border-top-right-radius': |
|
966 | $val = $this->convertToRadius($val); |
|
967 | if (count($val) < 1 || count($val) > 2) { |
|
968 | break; |
|
969 | } |
|
970 | $this->value['border']['radius']['tr'] = array($val[0], isset($val[1]) ? $val[1] : $val[0]); |
|
971 | break; |
|
972 | ||
973 | case 'border-bottom-right-radius': |
|
974 | $val = $this->convertToRadius($val); |
|
@@ 973-979 (lines=7) @@ | ||
970 | $this->value['border']['radius']['tr'] = array($val[0], isset($val[1]) ? $val[1] : $val[0]); |
|
971 | break; |
|
972 | ||
973 | case 'border-bottom-right-radius': |
|
974 | $val = $this->convertToRadius($val); |
|
975 | if (count($val) < 1 || count($val) > 2) { |
|
976 | break; |
|
977 | } |
|
978 | $this->value['border']['radius']['br'] = array($val[0], isset($val[1]) ? $val[1] : $val[0]); |
|
979 | break; |
|
980 | ||
981 | case 'border-bottom-left-radius': |
|
982 | $val = $this->convertToRadius($val); |
|
@@ 981-987 (lines=7) @@ | ||
978 | $this->value['border']['radius']['br'] = array($val[0], isset($val[1]) ? $val[1] : $val[0]); |
|
979 | break; |
|
980 | ||
981 | case 'border-bottom-left-radius': |
|
982 | $val = $this->convertToRadius($val); |
|
983 | if (count($val) < 1 || count($val) > 2) { |
|
984 | break; |
|
985 | } |
|
986 | $this->value['border']['radius']['bl'] = array($val[0], isset($val[1]) ? $val[1] : $val[0]); |
|
987 | break; |
|
988 | ||
989 | case 'border-top': |
|
990 | $this->value['border']['t'] = $this->readBorder($val); |