Chromium Code Reviews
DescriptionRebaseline tests where sizes are off by 1 due to font differences.
For fast/forms/input-baseline.html, RenderTextControl::calcHeight() uses the
value from m_innerText->renderer()->lineHeight(true, true), but
RenderFlow::lineHeight() returns s->font().lineSpacing(), which is off by 1.
For fast/forms/textfield-outline.html, it comes down to
RenderTextControlSingleLine::preferredContentWidth() calling
style()->font().primaryFont()->maxCharWidth() which returns a value that's off
by 1.
Patch Set 1 #
Messages
Total messages: 2 (0 generated)
|
|||||||||||||||||||||||||||||||||||||