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

Issue 1313853003: CSS Font Loading: FontFaceSet.ready should return the same promise each time (Closed)

Created:
5 years, 3 months ago by Kunihiko Sakamoto
Modified:
5 years, 3 months ago
CC:
darktears, apavlov+blink_chromium.org, bashi, blink-reviews, blink-reviews-css, dglazkov+blink, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

CSS Font Loading: FontFaceSet.ready should return the same promise each time Use ScriptPromiseProperty to return same promise every time, until the FontFaceSet switches from loaded to loading state. This is in line with the spec, and also simplifies the code a bit. TEST=fast/css/fontfaceset-ready.html BUG=510434 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201857

Patch Set 1 : #

Total comments: 6

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -46 lines) Patch
A LayoutTests/fast/css/fontfaceset-ready.html View 1 1 chunk +39 lines, -0 lines 0 comments Download
M Source/core/css/FontFaceSet.h View 2 chunks +4 lines, -2 lines 0 comments Download
M Source/core/css/FontFaceSet.cpp View 1 7 chunks +16 lines, -44 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
Kunihiko Sakamoto
Dominic, could you take a look?
5 years, 3 months ago (2015-09-01 08:42:31 UTC) #3
dominicc (has gone to gerrit)
On 2015/09/01 at 08:42:31, ksakamoto wrote: > Dominic, could you take a look? Tab: Would ...
5 years, 3 months ago (2015-09-01 18:29:15 UTC) #5
dominicc (has gone to gerrit)
Oops, sending a message may have not sent comments. Here they are: https://codereview.chromium.org/1313853003/diff/20001/LayoutTests/fast/css/fontfaceset-ready.html File LayoutTests/fast/css/fontfaceset-ready.html ...
5 years, 3 months ago (2015-09-02 00:14:07 UTC) #6
dominicc (has gone to gerrit)
On 2015/09/02 at 00:14:07, dominicc wrote: ... > https://codereview.chromium.org/1313853003/diff/20001/Source/core/css/FontFaceSet.cpp#newcode259 > Source/core/css/FontFaceSet.cpp:259: if (!m_ready) > Pretty ...
5 years, 3 months ago (2015-09-02 00:31:13 UTC) #7
Kunihiko Sakamoto
As far as I know there are no W3C tests for CSS font loading yet. ...
5 years, 3 months ago (2015-09-02 05:05:42 UTC) #8
dominicc (has gone to gerrit)
On 2015/09/02 at 05:05:42, ksakamoto wrote: > As far as I know there are no ...
5 years, 3 months ago (2015-09-07 04:38:27 UTC) #9
dominicc (has gone to gerrit)
lgtm
5 years, 3 months ago (2015-09-07 04:38:30 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1313853003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1313853003/40001
5 years, 3 months ago (2015-09-07 04:38:33 UTC) #12
commit-bot: I haz the power
5 years, 3 months ago (2015-09-07 05:41:25 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=201857

Powered by Google App Engine
This is Rietveld 408576698