Commit 64a3403
committed
minor #49977 [VarDumper] Reduce stylesheet assignments via JavaScript in
This PR was squashed before being merged into the 6.3 branch.
Discussion
----------
[VarDumper] Reduce stylesheet assignments via JavaScript in `HtmlDumper`
| Q | A
| ------------- | ---
| Branch? | 6.3
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Tickets | *none*
| License | MIT
The dynamic `<style>` element in the JavaScript variable `refStyle` can be replaced by static CSS and element states.
The new rule `.sf-dump-hover:hover` substitutes JavaScript event handling for `mouseover` events.
This is a preparation to have the possibility to assign `nonce` HTML attributes to inline `<script>` and `<style>` nodes, e.g. shown as proof-of-concept at
https://review.typo3.org/c/Packages/TYPO3.CMS/+/78512/2/typo3/sysext/adminpanel/Classes/Utility/HtmlDumper.php
Commits
-------
53046a3bac [VarDumper] Reduce stylesheet assignments via JavaScript in `HtmlDumper`HtmlDumper (ohader)1 file changed
+16
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
167 | | - | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
168 | 171 | | |
169 | 172 | | |
170 | 173 | | |
171 | 174 | | |
172 | 175 | | |
173 | 176 | | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | 177 | | |
180 | 178 | | |
181 | 179 | | |
| |||
355 | 353 | | |
356 | 354 | | |
357 | 355 | | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | 356 | | |
364 | 357 | | |
365 | 358 | | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | | - | |
370 | | - | |
371 | 359 | | |
372 | 360 | | |
373 | 361 | | |
| |||
436 | 424 | | |
437 | 425 | | |
438 | 426 | | |
| 427 | + | |
439 | 428 | | |
440 | 429 | | |
441 | 430 | | |
| |||
652 | 641 | | |
653 | 642 | | |
654 | 643 | | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
655 | 654 | | |
656 | 655 | | |
657 | 656 | | |
| |||
0 commit comments