assertNotNull("Could not retrieve the StyleKey for [background-color]", backgroundColor);
}
public void testParseSingleStyle() throws Exception
{
StyleSheet s = new StyleSheet();
CSSStyleRule rule = new CSSStyleRule(s, null);
rule.setPropertyValueAsString(BoxStyleKeys.HEIGHT, "10%");
assertEquals("10%", rule.getPropertyCSSValue(BoxStyleKeys.HEIGHT).toString());
rule.setPropertyValueAsString(BoxStyleKeys.HEIGHT, "10pt");
assertEquals("10pt", rule.getPropertyCSSValue(BoxStyleKeys.HEIGHT).toString());