Skip to content

[TASK] Document rewritten URLs in inline CSS of f:asset.css - #335

Open
linawolf wants to merge 2 commits into
mainfrom
task/asset-css-inline-urls
Open

linawolf wants to merge 2 commits into
mainfrom
task/asset-css-inline-urls

Conversation

@linawolf

Copy link
Copy Markdown
Member

Since TYPO3 14.3.10, f:asset.css with inline="1" rewrites relative
paths in url() and @import, as page.includeCSS does. A relative url()
to a missing file now throws an exception while the page renders, so
integrators need to know that inlined stylesheets must only point to
existing files.

Resolves: TYPO3-Documentation/Changelog-To-Doc#1942
Releases: main, 14.3
Assisted-by: Claude Opus 5.5 noreply@anthropic.com
Signed-off-by: Lina Wolf

Since TYPO3 14.3.10, f:asset.css with inline="1" rewrites relative
paths in url() and @import, as page.includeCSS does. A relative url()
to a missing file now throws an exception while the page renders, so
integrators need to know that inlined stylesheets must only point to
existing files.

Resolves: TYPO3-Documentation/Changelog-To-Doc#1942
Releases: main, 14.3
Assisted-by: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Lina Wolf

@sarahmccarthy123 sarahmccarthy123 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUGFIX] Rewrite relative URLs in inline CSS of f:asset.css

2 participants