Issue Bug Closed

#101173f:asset.css -> argument "importance" is outdated

Sven Juergens 06/26/23, 20:52 updated 07/23/24, 16:40

Description

hi,

could it be that, the argument “importance” in Viewhelper asset.css is outdated?
https://github.com/TYPO3/typo3/blob/03f9d4ab83ba0ba93f73fc83aeeebcd8483b4a0b/typo3/sysext/fluid/Classes/ViewHelpers/Asset/CssViewHelper.php#L94C38-L94C48

Found only that note on “importance”:

Fetch Priority was first experimented with in Chrome as an origin trial in 2018 and then again in 2021 using the importance attribute.

https://web.dev/fetch-priority/#history

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 7

  1. Susanne Moog commented and changed status New Accepted 07/05/23, 19:36

    this should nowadays be the attribute fetchPriority.
    We should deprecate `importance` and use fetchPriority instead.

  2. Riccardo De Contardi changed category 08/02/23, 13:42

  3. Markus Klein changed target version 04/10/24, 08:30

  4. Georg Ringer changed Sprint Focus On Location Sprint 06/11/24, 04:36

  5. Georg Ringer changed Related to #97765 06/11/24, 20:14

  6. Garvin Hicking commented 07/23/24, 16:40

    With #104443 all specific registration of fluid tag attributes that are just “passed along” has ben changed. These attributes no longer are specifically registered.

    Integrators using this tag would use them just as normal HTML tag attributes, beyond the scope of TYPO3 – so they either use this deprecated/outdated argument, or not. But it is no longer advocated/propagated by TYPO3/fluid.

    Because of this I’m now closing this issue.

  7. Garvin Hicking changed status Accepted Closed 07/23/24, 16:40