WebkitColumnWidth extends AbstractCssProperty<WebkitColumnWidth> { @Override public String getCssValue() { return cssValue; } WebkitColumnWidth();  WebkitColumnWidth(final String cssValue);  WebkitColumnWidth(final WebkitColumnWidth webkitColumnWidth);  WebkitColumnWidth(final float percent);  WebkitColumnWidth(final float value,
            final CssLengthUnit cssLengthUnit); WebkitColumnWidth setValue(final float value,
            final CssLengthUnit cssLengthUnit); void setPercent(final float percent); @Override String getCssName(); @Override String getCssValue(); @Override String toString(); Float getValue(); CssLengthUnit getUnit(); @Override WebkitColumnWidth setCssValue(final String cssValue); void setAsInitial(); void setAsInherit(); void setAsAuto(); static final String AUTO; static final String INITIAL; static final String INHERIT; }
@Test public void testWebkitColumnWidthString() { { WebkitColumnWidth webkitColumnWidth = new WebkitColumnWidth(WebkitColumnWidth.INITIAL); assertEquals(WebkitColumnWidth.INITIAL, webkitColumnWidth.getCssValue()); } { WebkitColumnWidth webkitColumnWidth = new WebkitColumnWidth("50px"); assertEquals("50px", webkitColumnWidth.getCssValue()); } }
@Test public void testWebkitColumnWidthWebkitColumnWidth() { WebkitColumnWidth webkitColumnWidth = new WebkitColumnWidth("50px"); WebkitColumnWidth webkitColumnWidth1 = new WebkitColumnWidth(webkitColumnWidth); assertEquals("50px", webkitColumnWidth1.getCssValue()); }
@Test public void testWebkitColumnWidthFloat() { WebkitColumnWidth webkitColumnWidth = new WebkitColumnWidth(75); assertEquals("75.0%", webkitColumnWidth.getCssValue()); }
@Test public void testGetCssValue() { WebkitColumnWidth webkitColumnWidth = new WebkitColumnWidth(); webkitColumnWidth.setAsInherit(); assertEquals(WebkitColumnWidth.INHERIT, webkitColumnWidth.getCssValue()); webkitColumnWidth.setAsAuto(); assertEquals(WebkitColumnWidth.AUTO, webkitColumnWidth.getCssValue()); }