WebkitFlexGrow extends AbstractCssProperty<WebkitFlexGrow> { public WebkitFlexGrow() { value = Float.valueOf(0); cssValue = value.toString(); } WebkitFlexGrow();  WebkitFlexGrow(final String cssValue);  WebkitFlexGrow(final WebkitFlexGrow webkitFlexGrow);  WebkitFlexGrow(final float value); @Override String getCssName(); @Override String getCssValue(); @Override String toString(); Float getValue(); void setValue(final float value); @Override WebkitFlexGrow setCssValue(final String cssValue); void setAsInitial(); void setAsInherit(); static boolean isValid(final String cssValue); static final String INITIAL; static final String INHERIT; }
@Test public void testWebkitFlexGrow() { WebkitFlexGrow webkitFlexGrow = new WebkitFlexGrow(); assertEquals(Float.valueOf(0F), webkitFlexGrow.getValue()); assertEquals("0.0", webkitFlexGrow.getCssValue()); webkitFlexGrow.setAsInherit(); assertEquals(WebkitFlexGrow.INHERIT, webkitFlexGrow.getCssValue()); assertNull(webkitFlexGrow.getValue()); }