function testCSSContentStringEscapeNoSpaceHex()
 {
     $content =& ValueContent::parse('"Sample\\4Content"');
     $counters =& new CSSCounterCollection();
     $rendered = $content->render($counters);
     $this->assertEqual($rendered, "SampleLontent");
 }
Example #2
0
 function &parse($value)
 {
     if ($value == 'inherit') {
         return CSS_PROPERTY_INHERIT;
     }
     $value_obj =& ValueContent::parse($value);
     return $value_obj;
 }