Project

General

Profile

Actions

Bug #97561

closed

f:asset ViewHelper produces W3C invalid output

Added by Paul Beck almost 2 years ago. Updated 10 months ago.

Status:
Resolved
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

Actions #1

Updated by Česlav Przywara over 1 year 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.

Actions #2

Updated by Simon Praetorius 10 months 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

Also available in: Atom PDF