diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-22 23:27:15 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-22 23:27:15 +0000 |
commit | 5a7362fefe60518a51593ddbf4649bc48493d459 (patch) | |
tree | 4a4d6029d59e25e2dacc96c588c156007288175b /webkit/glue | |
parent | 85a335194de26a289376e7322818540d7aa617f1 (diff) | |
download | chromium_src-5a7362fefe60518a51593ddbf4649bc48493d459.zip chromium_src-5a7362fefe60518a51593ddbf4649bc48493d459.tar.gz chromium_src-5a7362fefe60518a51593ddbf4649bc48493d459.tar.bz2 |
Rebaseline 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.
Review URL: http://codereview.chromium.org/18693
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8519 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue')
0 files changed, 0 insertions, 0 deletions