Actions
Bug #97561
closedf:asset ViewHelper produces W3C invalid output
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2022-05-05
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
11
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Sprint Focus:
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
Updated by Česlav Przywara over 2 years ago
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.
Updated by Simon Praetorius over 1 year ago
- Status changed from New to Resolved
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.
Actions