summaryrefslogtreecommitdiffstats
path: root/DEPS
diff options
context:
space:
mode:
authorsky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-13 19:39:23 +0000
committersky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-13 19:39:23 +0000
commita860f0ce5d5e216b52c282f765d81278800c6325 (patch)
tree8421be7d00b1e2e8cccaf0fee13d584adeb433a0 /DEPS
parent47028388af6a20514807997ff3384304d0c168d0 (diff)
downloadchromium_src-a860f0ce5d5e216b52c282f765d81278800c6325.zip
chromium_src-a860f0ce5d5e216b52c282f765d81278800c6325.tar.gz
chromium_src-a860f0ce5d5e216b52c282f765d81278800c6325.tar.bz2
Rebaselines the test
tables/mozilla_expected_failures/bugs/bug14007-2.html. This test needs to be rebaselined as prior to the merge we treated font-weight:600 as bold, after the merge we don't. The changed code is in FontCacheChromiumWin, it's now: winfont->lfWeight = toGDIFontWeight(fontDescription.weight()); static LONG toGDIFontWeight(FontWeight fontWeight) { static LONG gdiFontWeights[] = { FW_THIN, // FontWeight100 FW_EXTRALIGHT, // FontWeight200 FW_LIGHT, // FontWeight300 FW_NORMAL, // FontWeight400 FW_MEDIUM, // FontWeight500 FW_SEMIBOLD, // FontWeight600 FW_BOLD, // FontWeight700 FW_EXTRABOLD, // FontWeight800 FW_HEAVY // FontWeight900 }; return gdiFontWeights[fontWeight]; } where as previously it was: winfont->lfWeight = fontDescription.bold() ? 700 : 400; BUG=none TEST=none Review URL: http://codereview.chromium.org/18002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7956 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'DEPS')
0 files changed, 0 insertions, 0 deletions