RenderBox* box = toRenderBox(m_current.object());
bool isInlineType = box->style()->isOriginalDisplayInlineType();
if (!isInlineType) {
- m_block->setStaticInlinePositionForChild(box, m_block->logicalHeight(), m_block->startOffsetForContent(m_block->logicalHeight()));
+ m_block->setStaticInlinePositionForChild(box, m_block->logicalHeight(), m_block->startOffsetForContent());
} else {
// If our original display was an INLINE type, then we can go ahead
// and determine our static y position now.
// Non-zero only when kerning is enabled, in which case we measure
// words with their trailing space, then subtract its width.
- float wordTrailingSpaceWidth = (font.typesettingFeatures() & Kerning) ?
+ float wordTrailingSpaceWidth = (font.fontDescription().typesettingFeatures() & Kerning) ?
font.width(RenderBlockFlow::constructTextRun(
renderText, font, &space, 1, style,
textDirectionFromUnicode(m_resolver.position().direction()))) + wordSpacing