Issue Bug Closed

#97561f:asset ViewHelper produces W3C invalid output

Paul Beck 05/05/22, 14:21 updated 07/09/24, 12:46

Description

If you add CSS inline with the f:asset.css ViewHelper the CSS will be added to the body which is not valid to W3C.
Backgroundstory: https://stackoverflow.com/a/50154225/4533462

Reviews 0

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

History 3

  1. Česlav Przywara commented 08/08/22, 13:34

    If you call the view helper with priority="true" , the CSS is rendered as part of <head /> . Perhaps this option should be on by default.

  2. Simon Praetorius commented and changed status New Resolved 06/19/23, 09:45

    With Declarative Shadow DOM it is possible to use the <style> tag outside of the document head in certain conditions. So I don’t think that this is a problem anymore.

    I’ll be closing this issue. If you don’t think that this is resolved, feel free to comment here and I’ll reopen.

  3. Benni Mack changed status Resolved Closed 07/09/24, 12:46