Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Issue 324293003: Change FontFaceSet#check() behavior when no matched font-face (Closed)

Created:
6 years, 6 months ago by Kunihiko Sakamoto
Modified:
6 years, 6 months ago
Reviewers:
dglazkov, bashi
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, dglazkov+blink, ed+blinkwatch_opera.com, rwlbuis, rune+blink
Visibility:
Public.

Description

Change FontFaceSet#check() behavior when no matched font-face When the font name passed to check() does not match any font face in the FontFaceSet, current implementation always returns true. As per the latest spec draft [1], it should return true if it matches platform font name, otherwise false. [1] http://dev.w3.org/csswg/css-font-loading/#font-face-set-check BUG=378989 TEST=fast/css/fontfaceset-check-platform-fonts.html Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176278

Patch Set 1 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -4 lines) Patch
A LayoutTests/fast/css/fontfaceset-check-platform-fonts.html View 1 chunk +11 lines, -0 lines 0 comments Download
A LayoutTests/fast/css/fontfaceset-check-platform-fonts-expected.txt View 1 chunk +14 lines, -0 lines 0 comments Download
M Source/core/css/CSSFontSelector.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/css/CSSFontSelector.cpp View 1 chunk +8 lines, -0 lines 0 comments Download
M Source/core/css/FontFaceSet.cpp View 1 chunk +16 lines, -4 lines 1 comment Download

Messages

Total messages: 7 (0 generated)
Kunihiko Sakamoto
6 years, 6 months ago (2014-06-13 06:26:32 UTC) #1
bashi
non-owner LGTM with one question. https://codereview.chromium.org/324293003/diff/70001/Source/core/css/FontFaceSet.cpp File Source/core/css/FontFaceSet.cpp (right): https://codereview.chromium.org/324293003/diff/70001/Source/core/css/FontFaceSet.cpp#newcode492 Source/core/css/FontFaceSet.cpp:492: } Question: If face ...
6 years, 6 months ago (2014-06-13 06:55:15 UTC) #2
bashi
On 2014/06/13 06:55:15, bashi1 wrote: > non-owner LGTM with one question. > > https://codereview.chromium.org/324293003/diff/70001/Source/core/css/FontFaceSet.cpp > ...
6 years, 6 months ago (2014-06-13 07:13:17 UTC) #3
dglazkov
lgtm
6 years, 6 months ago (2014-06-13 15:08:37 UTC) #4
Kunihiko Sakamoto
The CQ bit was checked by ksakamoto@chromium.org
6 years, 6 months ago (2014-06-17 01:54:19 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ksakamoto@chromium.org/324293003/70001
6 years, 6 months ago (2014-06-17 01:55:06 UTC) #6
commit-bot: I haz the power
6 years, 6 months ago (2014-06-17 03:32:45 UTC) #7
Message was sent while issue was closed.
Change committed as 176278

Powered by Google App Engine
This is Rietveld 408576698