Lines Matching refs:this

45         $this->property = $property;
46 $this->value = trim($value, ';');
55 return $this->property;
64 return $this->value;
71 if ( empty ($this->property) ) {
75 switch ($this->property) {
77 $this->explodeBackgroundShorthand ($decls);
80 $this->explodeFontShorthand ($decls);
83 $this->explodePaddingShorthand ($decls);
86 $this->explodeMarginShorthand ($decls);
89 $this->explodeBorderShorthand ($decls);
92 $this->explodeListStyleShorthand ($decls);
95 $this->explodeFlexShorthand ($decls);
98 $this->explodeTransitionShorthand ($decls);
101 $this->explodeOutlineShorthand ($decls);
104 $this->explodeAnimationShorthand ($decls);
107 $this->explodeBorderBottomShorthand ($decls);
110 $this->explodeColumnsShorthand ($decls);
113 $this->explodeColumnRuleShorthand ($decls);
125 switch ($this->property) {
152 if ( $this->property == 'background' ) {
153 $values = preg_split ('/\s+/', $this->value);
195 if ( $this->property == 'font' ) {
196 $values = preg_split ('/\s+/', $this->value);
345 if ( $this->property == 'padding' ) {
346 $values = preg_split ('/\s+/', $this->value);
380 if ( $this->property == 'margin' ) {
381 $values = preg_split ('/\s+/', $this->value);
416 if ( $this->property == 'border' ) {
417 $values = preg_split ('/\s+/', $this->value);
498 if ( $this->property == 'list-style' ) {
499 $values = preg_split ('/\s+/', $this->value);
577 if ( $this->property == 'flex' ) {
578 $values = preg_split ('/\s+/', $this->value);
595 if ( $this->property == 'transition' ) {
596 $values = preg_split ('/\s+/', $this->value);
616 if ( $this->property == 'outline' ) {
617 $values = preg_split ('/\s+/', $this->value);
693 if ( $this->property == 'animation' ) {
694 $values = preg_split ('/\s+/', $this->value);
726 if ( $this->property == 'border-bottom' ) {
727 $values = preg_split ('/\s+/', $this->value);
803 if ( $this->property == 'columns' ) {
804 $values = preg_split ('/\s+/', $this->value);
823 if ( $this->property == 'column-rule' ) {
824 $values = preg_split ('/\s+/', $this->value);
841 switch ($this->property) {
846 $this->value =
847 …call_user_func($callback, $this->property, $this->value, CSSValueType::StrokeOrBorderWidth, $rule);
856 $this->value =
857 … call_user_func($callback, $this->property, $this->value, CSSValueType::LengthValueXAxis, $rule);
867 $this->value =
868 … call_user_func($callback, $this->property, $this->value, CSSValueType::LengthValueYAxis, $rule);
876 $this->adjustLengthValuesBorder ($callback, $rule);
889 switch ($this->property) {
895 $values = preg_split ('/\s+/', $this->value);
899 … call_user_func($callback, $this->property, $values [0], CSSValueType::StrokeOrBorderWidth, $rule);
900 $this->value = $width . ' ' . $values [1] . ' ' . $values [2];
909 if (strncmp($this->value, 'url(', 4) == 0) {
910 $url = substr($this->value, 4, -1);
911 $this->value = call_user_func($callback, $this->property, $this->value, $url);
934 $this->media = trim ($media);
937 $this->selectors = explode (' ', $selector);
970 $this->declarations [] = $declaration;
974 $declaration->explode ($this->declarations);
986 $returnString .= "Media= \"".$this->media."\"\n";
987 foreach ($this->selectors as $selector) {
991 foreach ($this->declarations as $declaration) {
1007 if ( !empty($this->media) && $media != $this->media ) {
1016 foreach ($this->selectors as $selector) {
1040 if ( $matches == count($this->selectors) ) {
1054 foreach ($this->declarations as $declaration) {
1067 foreach ($this->declarations as $declaration) {
1079 foreach ($this->declarations as $declaration) {
1104 $this->importFromFile($filename);
1112 $this->deleteComments ($contents);
1113 return $this->importFromStringInternal ($contents);
1196 … $result = $this->importFromStringInternal ($contents_in_media, $new_media, $nested_processed);
1213 $this->rules [] = new css_rule ($selector, $decls, $media);
1246 return $this->importFromString ($contents);
1332 $this->replacements [$replacement] = $value;
1344 return $this->raw;
1352 return $this->replacements [$name];
1368 foreach ($this->rules as $rule) {
1391 $value = $this->getPropertyForElement (NULL, $classString, $name);
1406 foreach ($this->rules as $rule) {
1429 $rep = $this->getReplacement($part);
1473 foreach ($this->rules as $rule) {
1498 foreach ($this->rules as $rule) {