Skip to content
Snippets Groups Projects
Commit 8f335d72 authored by Benjamin Kott's avatar Benjamin Kott Committed by Andreas Fernandez
Browse files

[TASK] Adjust CSS compiling to keep breaks in results

Today we are dropping the removal of breaks in compiled CSS.

This will hopefully make the need for rebasing of CSS patches less
likely and improve the readability of compiled CSS massively
and better shows the impact of changes.

With the current state of CSS the overall increase of file size
will be marginally and not noticeable at all.

This is a well thought through tradeoff, that feels more
than acceptable. The differences in size are listed below:

adminpanel.css
- without breaks: 40.3 kB
- with breaks: 40.6 kB

webfont.css
- without breaks: 3.09 kB
- with breaks: 3.1 kB

backend.css:
- without breaks: 380 kb
- with breaks: 385 kB

dashboard.css:
- without breaks: 6.97 kB
- with breaks: 7.06 kB

dashboard/modal.css
- without breaks: 1.21 kB
- with breaks: 1.22 kB

form.css
- without breaks: 28 kB
- with breaks: 28.3 kB

workspaces.css
- without breaks: 3.05 kB
- with breaks: 3.09 kB

Note: Those files are transferred using compression usually.
That means the additional white spaces will be almost eliminated
by brotli and colleagues.

Resolves: #100529
Releases: main
Change-Id: I12c5f018cdd92512127915753a536eb4f41dee0c
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78538


Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Tested-by: default avatarMarkus Klein <markus.klein@typo3.org>
Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: default avatarMarkus Klein <markus.klein@typo3.org>
parent 87627c9c
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment