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