#97561f:asset ViewHelper produces W3C invalid output
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
-
Česlav Przywara commented 08/08/22, 13:34
-
Simon Praetorius commented and changed status
NewResolved 06/19/23, 09:45With 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.
-
Benni Mack changed status
ResolvedClosed 07/09/24, 12:46
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.