Project

General

Profile

Actions

Task #101464

closed

Reactivate usage of constructable stylesheets for icon element

Added by Benjamin Franzke 10 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Should have
Category:
-
Start date:
2023-07-27
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

With #100270 stylesheets in icon elements have been inlined
instead of using lit's own style wrapper that uses constructable
stylesheets if available.
Inline stylesheets need to be parsed over and over again, whenever
a web component is used multiple times.
The icon element is supposed to be used very often, which is why this
matters. Constructable stylesheets are cached and therefore do only
need to be parsed once, regardless how often a web component is used.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Task #100270: Streamline icon elementsClosed2023-03-23

Actions
Related to TYPO3 Core - Bug #101747: Web Components with CSS in shadowRoot are not usable in cross frame boundariesRejectedBenjamin Franzke2023-08-24

Actions
Actions

Also available in: Atom PDF