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

Issue 2385873002: MD Settings: preload Roboto bold to reduce flicker (Closed)

Created:
4 years, 2 months ago by Dan Beam
Modified:
4 years, 2 months ago
Reviewers:
michaelpg, dpapad
CC:
arv+watch_chromium.org, chromium-reviews, dbeam+watch-settings_chromium.org, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, stevenjb+watch-md-settings_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD Settings: preload Roboto bold to reduce flicker R=dpapad@chromium.org BUG=651730 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/90bc6bfd63b17209926b0028f34ef8cd3e36b620 Cr-Commit-Position: refs/heads/master@{#422514}

Patch Set 1 : @override #

Total comments: 2

Patch Set 2 : comment for dpapad@ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M chrome/browser/resources/settings/settings_ui/settings_ui.js View 1 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (11 generated)
Dan Beam
4 years, 2 months ago (2016-10-01 02:12:52 UTC) #2
dpapad
LGTM https://codereview.chromium.org/2385873002/diff/20001/chrome/browser/resources/settings/settings_ui/settings_ui.js File chrome/browser/resources/settings/settings_ui/settings_ui.js (right): https://codereview.chromium.org/2385873002/diff/20001/chrome/browser/resources/settings/settings_ui/settings_ui.js#newcode110 chrome/browser/resources/settings/settings_ui/settings_ui.js:110: document.fonts.load('bold 12px Roboto'); Perhaps add a short comment ...
4 years, 2 months ago (2016-10-03 17:32:00 UTC) #10
Dan Beam
https://codereview.chromium.org/2385873002/diff/20001/chrome/browser/resources/settings/settings_ui/settings_ui.js File chrome/browser/resources/settings/settings_ui/settings_ui.js (right): https://codereview.chromium.org/2385873002/diff/20001/chrome/browser/resources/settings/settings_ui/settings_ui.js#newcode110 chrome/browser/resources/settings/settings_ui/settings_ui.js:110: document.fonts.load('bold 12px Roboto'); On 2016/10/03 17:31:59, dpapad wrote: > ...
4 years, 2 months ago (2016-10-03 19:26:48 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2385873002/40001
4 years, 2 months ago (2016-10-03 19:27:23 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 2 months ago (2016-10-03 20:28:03 UTC) #15
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/90bc6bfd63b17209926b0028f34ef8cd3e36b620 Cr-Commit-Position: refs/heads/master@{#422514}
4 years, 2 months ago (2016-10-03 20:31:17 UTC) #17
michaelpg
did we give up on `font-display`? On Mon, Oct 3, 2016, 1:31 PM commit-bot@chromium.org via ...
4 years, 2 months ago (2016-10-04 04:37:49 UTC) #18
Dan Beam
On 2016/10/04 04:37:49, michaelpg wrote: > did we give up on `font-display`? I'm not sure ...
4 years, 2 months ago (2016-10-04 04:45:21 UTC) #19
michaelpg
4 years, 2 months ago (2016-10-04 05:29:23 UTC) #20
Message was sent while issue was closed.
On 2016/10/04 04:45:21, Dan Beam wrote:
> On 2016/10/04 04:37:49, michaelpg wrote:
> > did we give up on `font-display`?
> 
> I'm not sure but we had a big talk about whether we wanted to lazy/remotely
load
> Roboto from the web fonts API.
> 
> It'd save a bit of space for the installer, but it'd be slightly more
> code/access.
> 
> Just don't think it was a huge priority for anybody yet, and font-display
wasn't
> quite tune-able to our liking.

ah ok, thanks for the context!

Powered by Google App Engine
This is Rietveld 408576698