@Test
public void resolve34ToSmaller() throws IOException {

    p.getCSS().put(CSS.Property.FONT_SIZE, "34pt");
    p.getCSS().put(CSS.Property.FONT_SIZE, fst.translateFontSize(p) + "pt");
    Chunk c1 = new ChunkCssApplier().apply(new Chunk("Text before span "), p);
    assertEquals(34, c1.getFont().getSize(), 0);
    span.getCSS().put(CSS.Property.FONT_SIZE, CSS.Value.SMALLER);
    span.getCSS().put(CSS.Property.FONT_SIZE, fst.translateFontSize(span) + "pt");
    Chunk c2 = new ChunkCssApplier().apply(new Chunk("text in span "), span);
    assertEquals(34 * 2 / 3f, c2.getFont().getSize(), 0);
}