| @@ 689-693 (lines=5) @@ | ||
| 686 | } |
|
| 687 | ||
| 688 | foreach ($background_prop_default as $bg_prop => $default_value) { |
|
| 689 | if ($return[$bg_prop] !== null) { |
|
| 690 | $return[$bg_prop] = substr($return[$bg_prop], 0, -1) . $important; |
|
| 691 | } |
|
| 692 | else |
|
| 693 | $return[$bg_prop] = $default_value . $important; |
|
| 694 | } |
|
| 695 | return $return; |
|
| 696 | } |
|
| @@ 857-861 (lines=5) @@ | ||
| 854 | } |
|
| 855 | ||
| 856 | foreach ($font_prop_default as $font_prop => $default_value) { |
|
| 857 | if ($return[$font_prop] !== null) { |
|
| 858 | $return[$font_prop] = $return[$font_prop] . $important; |
|
| 859 | } |
|
| 860 | else |
|
| 861 | $return[$font_prop] = $default_value . $important; |
|
| 862 | } |
|
| 863 | return $return; |
|
| 864 | } |
|