WebkitBackgroundSize extends AbstractCssProperty<WebkitBackgroundSize> { @Override public String getCssValue() { return cssValue; } WebkitBackgroundSize();  WebkitBackgroundSize(final String cssValue);  WebkitBackgroundSize(final WebkitBackgroundSize backgroundSize);  WebkitBackgroundSize(final float horizontalHeight,
            final CssLengthUnit cssLengthUnit);  WebkitBackgroundSize(final float width,
            final CssLengthUnit widthCssLengthUnit, final float height,
            final CssLengthUnit heightCssLengthUnit); WebkitBackgroundSize setValue(final float width,
            final CssLengthUnit widthCssLengthUnit, final float height,
            final CssLengthUnit heightCssLengthUnit); WebkitBackgroundSize setValue(final float widthHeight,
            final CssLengthUnit cssLengthUnit); @Override String getCssName(); @Override String getCssValue(); @Override String toString(); Float getWidth(); Float getHeight(); CssLengthUnit getWidthUnit(); CssLengthUnit getHeightUnit(); @Override WebkitBackgroundSize setCssValue(final String cssValue); void setAsInitial(); void setAsInherit(); static boolean isValid(final String cssValue); static final String INITIAL; static final String INHERIT; static final String AUTO; static final String COVER; static final String CONTAIN; }
@Test public void testGetCssValue() { WebkitBackgroundSize backgroundSize = new WebkitBackgroundSize(WebkitBackgroundSize.INHERIT); assertEquals(WebkitBackgroundSize.INHERIT, backgroundSize.getCssValue()); backgroundSize.setCssValue("30px"); assertEquals("30px", backgroundSize.getCssValue()); }