Skip to content

[TASK] Store the extension icon without CSS - #59

Open
davidsteeb wants to merge 1 commit into
masterfrom
bugfix/inline-safe-icons
Open

davidsteeb wants to merge 1 commit into
masterfrom
bugfix/inline-safe-icons

Conversation

@davidsteeb

Copy link
Copy Markdown
Contributor

Extension.svg carried its colours in a <style> block and/or style attributes. The TYPO3 backend renders icons inline in several places (module menu, context menu, form engine), where such a block becomes CSS for the whole page. This file is currently only shown as <img>, but it now follows the same rule as inline-safe icons: colours as presentation attributes only, no <style>, no class, no style.

The icon looks the same; compared pixel by pixel against the previous file.

The icon carried its colours in a <style> block or style attributes.
It now uses presentation attributes only, like the other icons, so it
is also safe when the backend renders it inline. It looks the same.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant