We were applying the style to the RenderInline but we actually needed to apply it to the RenderParagraph. The lineHeight property had the same problem.