Lines Matching refs:collection

6     $collection =& parse_css_property('VISIBILITY: hidden;', $null);
7 $this->assertTrue($collection->contains(CSS_VISIBILITY));
8 $this->assertEqual($collection->getPropertyValue(CSS_VISIBILITY), VISIBILITY_HIDDEN);
13 $collection =& parse_css_property('VISibiLitY: hidden;', $null);
14 $this->assertTrue($collection->contains(CSS_VISIBILITY));
15 $this->assertEqual($collection->getPropertyValue(CSS_VISIBILITY), VISIBILITY_HIDDEN);
20 $collection =& parse_css_property('-html2ps-html-content: "Sample;Text";', $null);
21 $this->assertTrue($collection->contains(CSS_HTML2PS_HTML_CONTENT));
23 $content =& $collection->getPropertyValue(CSS_HTML2PS_HTML_CONTENT);
30 $collection =& parse_css_property('content: "TEXT"', $null);
31 $this->assertTrue($collection->contains(CSS_CONTENT));
33 $content =& $collection->getPropertyValue(CSS_CONTENT);
40 …$collection =& parse_css_property('-html2ps-html-content: "Double Quoted String" \'Single Quoted S…
42 $this->assertTrue($collection->contains(CSS_HTML2PS_HTML_CONTENT));
44 $content =& $collection->getPropertyValue(CSS_HTML2PS_HTML_CONTENT);
51 …$collection =& parse_css_properties('font-weight: bold; -html2ps-html-content: "Sample;Text"; colo…
53 $properties = $collection->getPropertiesRaw();
54 $this->assertTrue($collection->contains(CSS_HTML2PS_HTML_CONTENT));
55 $this->assertTrue($collection->contains(CSS_COLOR));
56 $this->assertTrue($collection->contains(CSS_FONT_WEIGHT));
58 $this->assertEqual($collection->getPropertyValue(CSS_FONT_WEIGHT), WEIGHT_BOLD);
60 $content =& $collection->getPropertyValue(CSS_HTML2PS_HTML_CONTENT);
64 $color = $collection->getPropertyValue(CSS_COLOR);
72 $collection =& parse_css_properties('font-weight: bold;
76 $properties = $collection->getPropertiesRaw();
77 $this->assertTrue($collection->contains(CSS_HTML2PS_HTML_CONTENT));
78 $this->assertTrue($collection->contains(CSS_COLOR));
79 $this->assertTrue($collection->contains(CSS_FONT_WEIGHT));
81 $this->assertEqual($collection->getPropertyValue(CSS_FONT_WEIGHT), WEIGHT_BOLD);
83 $content =& $collection->getPropertyValue(CSS_HTML2PS_HTML_CONTENT);
87 $color = $collection->getPropertyValue(CSS_COLOR);
95 $collection =& parse_css_properties('font-weight: bold;
99 $properties = $collection->getPropertiesRaw();
100 $this->assertTrue($collection->contains(CSS_HTML2PS_HTML_CONTENT));
101 $this->assertTrue($collection->contains(CSS_COLOR));
102 $this->assertTrue($collection->contains(CSS_FONT_WEIGHT));
104 $this->assertEqual($collection->getPropertyValue(CSS_FONT_WEIGHT), WEIGHT_BOLD);
106 $content =& $collection->getPropertyValue(CSS_HTML2PS_HTML_CONTENT);
110 $color = $collection->getPropertyValue(CSS_COLOR);
118 $collection =& parse_css_properties('font-weight: bold;
124 $properties = $collection->getPropertiesRaw();
125 $this->assertTrue($collection->contains(CSS_HTML2PS_HTML_CONTENT));
126 $this->assertTrue($collection->contains(CSS_COLOR));
127 $this->assertTrue($collection->contains(CSS_FONT_WEIGHT));
129 $this->assertEqual($collection->getPropertyValue(CSS_FONT_WEIGHT), WEIGHT_BOLD);
131 $content =& $collection->getPropertyValue(CSS_HTML2PS_HTML_CONTENT);
135 $color = $collection->getPropertyValue(CSS_COLOR);
143 $collection =& parse_css_properties('
149 $properties = $collection->getPropertiesRaw();
150 $this->assertTrue($collection->contains(CSS_HTML2PS_HTML_CONTENT));
151 $this->assertTrue($collection->contains(CSS_COLOR));
152 $this->assertTrue($collection->contains(CSS_FONT_WEIGHT));
154 $this->assertEqual($collection->getPropertyValue(CSS_FONT_WEIGHT), WEIGHT_BOLD);
156 $content =& $collection->getPropertyValue(CSS_HTML2PS_HTML_CONTENT);
160 $color = $collection->getPropertyValue(CSS_COLOR);