@@ 77-83 (lines=7) @@ | ||
74 | $this->object->getHTML()); |
|
75 | } |
|
76 | ||
77 | public function testParseStyleSheet() |
|
78 | { |
|
79 | $parsed = $this->object->parseStylesheet("p:not(.p2) { color: red }"); |
|
80 | $this->assertEquals( |
|
81 | array(array("p:not(.p2)", "color: red")), |
|
82 | $parsed); |
|
83 | } |
|
84 | ||
85 | public function testParseStyleSheetWithComments() |
|
86 | { |
|
@@ 85-91 (lines=7) @@ | ||
82 | $parsed); |
|
83 | } |
|
84 | ||
85 | public function testParseStyleSheetWithComments() |
|
86 | { |
|
87 | $parsed = $this->object->parseStylesheet("p:not(.p2) { /* blah */ color: red }"); |
|
88 | $this->assertEquals( |
|
89 | array(array("p:not(.p2)", "color: red")), |
|
90 | $parsed); |
|
91 | } |
|
92 | ||
93 | public function testIllegalXmlUtf8Chars() |
|
94 | { |