If deferred CSS execution is enabled, and the theme does not include any inline critical CSS, there's a significant reflow which can be disconcerting to content editors.

Given that most admin themes don't include inline CSS, I'd suggest defaulting to not defer CSS in the admin theme.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

malcomio created an issue. See original summary.

malcomio’s picture

mikeytown2’s picture

Status: Needs review » Reviewed & tested by the community

Looks like the patch works; will commit soon.

mikeytown2’s picture

Status: Reviewed & tested by the community » Fixed

Patch committed!

  • mikeytown2 committed 0b48f28 on 7.x-2.x authored by malcomio
    Issue #2623224 by malcomio: Make CSS defer configurable for admin theme...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

NickDickinsonWilde’s picture

Version: 7.x-2.x-dev » 8.x-2.x-dev
Assigned: Unassigned » NickDickinsonWilde
Status: Closed (fixed) » Patch (to be ported)
FileSize
5.59 KB

porting to 8.x-2.x

NickDickinsonWilde’s picture

Assigned: NickDickinsonWilde » Unassigned
Status: Patch (to be ported) » Closed (fixed)