LineHeight extends AbstractCssProperty<LineHeight> { @Override public String getCssValue() { return cssValue; } LineHeight();  LineHeight(final String cssValue);  LineHeight(final LineHeight lineHeight);  LineHeight(final float value);  LineHeight(final float value, final CssLengthUnit cssLengthUnit); LineHeight setValue(final float value); LineHeight 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 LineHeight setCssValue(final String cssValue); void setAsInitial(); void setAsInherit(); void setAsNormal(); static boolean isValid(final String cssValue); static final String NORMAL; static final String INITIAL; static final String INHERIT; }
@Test public void testLineHeightString() { { LineHeight lineHeight = new LineHeight(LineHeight.INITIAL); assertEquals(LineHeight.INITIAL, lineHeight.getCssValue()); } { LineHeight lineHeight = new LineHeight("50px"); assertEquals("50px", lineHeight.getCssValue()); } }
@Test public void testLineHeightLineHeight() { LineHeight lineHeight = new LineHeight("50px"); LineHeight lineHeight1 = new LineHeight(lineHeight); assertEquals("50px", lineHeight1.getCssValue()); }
@Test public void testGetCssValue() { LineHeight lineHeight = new LineHeight(); lineHeight.setAsInherit(); assertEquals(LineHeight.INHERIT, lineHeight.getCssValue()); lineHeight.setAsInitial(); assertEquals(LineHeight.INITIAL, lineHeight.getCssValue()); }