Status: MR !17967 is open. This is an independent review lab, not an official Drupal repository, and not RTBC.
29b0a0b2256eb5ed27df6ec5e4e4e33142a717e8fe4adb4f942385912bb3244b570afa475cadf3bdv0.1-reviewStatus: branch and MR published. Issue-fork branch 3603162-svg-revision; MR !17967 is open. No Drupal.org issue comment has been posted.
fe4adb4f942385912bb3244b570afa475cadf3bd.main: 0387fb948f786bc344a5cc54aa0d98b8f552e378.d4728a2aa3fc34e45e428d78ac111bd0c5e228ad.The revision restores the autocomplete and media-edit icons, fixes dark disabled checkbox and select states, keeps status masks visible in forced colours, replaces the invalid sticky-loader pseudo-element, and makes tabledrag tree strokes use currentColor. It removes 15 unused assets and 20 registry entries, and adopts 45 pixel-identical SVGO results; 41 existing SVGs are smaller, 2 are larger, and 2 are new pretints.
Executed: 64 SVGs validated with 0 errors; reference audit 0 undefined/missing/unused; 46 regression tests; 14 theme Unit/Kernel tests with 209 assertions; axe 0 violations on three pages; Stylelint, Twig lint and Core CSS build checks pass.
Not executed: 8 functional PHPUnit tests (no test web server), native Windows High Contrast, Firefox or WebKit. Full AJAX Save/Preview was not exercised; Drupal's real progress markup was injected. No WCAG 2.2 AA claim.
The sections below describe the earlier nine-patch proposal and are historical.
Start with the proposed reports index for the current revision and the full report list.
The repo contains proposed fixes, cleanup and optimisation built on top of the MR. It is not a mirror of the MR. “After-side” means the MR tree; “proposed” means this working tree. “Unused — optional removal” is a cleanup recommendation, not an MR deletion.
The unused conclusion comes from a literal source + CSS-variable alias scan, not a rendered-page audit. See the usage method.
checkmark_regression.pyforced_colors_status_icons.pyloader_dark_test.pysvg_cleanup_test.pysvg_optimization_pilot.pysvg_optimization_status_family.pysvg_properties_test.pycompiled_icons_test.pyviewBox, aria-hidden="true" and focusable="false"; no IDs, external references, scripts or foreignObject.icons.css data URIs were re-synced with the source SVGs; compiled_icons_test.py verifies equivalence.search-muted, search-muted-rtl, and edit-inverse were identified but not implemented.help.svg optimisation was skipped because rounding changed 3 pixels at 24px and 2 at 32px.back-to-site.svg and cog.svg have recorded high-zoom/edge-pixel exceptions.Apply in this order to a checkout at the MR head:
| # | Patch | Purpose |
|---|---|---|
| 1 | proposed/interdiff-checkmark.patch |
Dark disabled checkmark contrast |
| 2 | proposed/interdiff-forced-colors-status-icons.patch |
Status icons in forced colours |
| 3 | proposed/interdiff-svg-optimization-required.patch |
Required marker optimisation |
| 4 | proposed/interdiff-svg-cleanup.patch |
Remove unused after-side assets |
| 5 | proposed/interdiff-svg-optimization-status-family.patch |
Status family optimisation |
| 6 | proposed/interdiff-loader-currentcolor.patch |
Sticky loader currentColor/mask |
| 7 | proposed/interdiff-svg-metadata-normalization.patch |
Decorative ARIA/viewBox consistency |
| 8 | proposed/interdiff-svg-high-use-optimization.patch |
Repeated controls |
| 9 | proposed/interdiff-svg-over-300-optimization.patch |
Latest: every SVG over 300 B |
git apply -p1 proposed/interdiff-checkmark.patch
git apply -p1 proposed/interdiff-forced-colors-status-icons.patch
git apply -p1 proposed/interdiff-svg-optimization-required.patch
git apply -p1 proposed/interdiff-svg-cleanup.patch
git apply -p1 proposed/interdiff-svg-optimization-status-family.patch
git apply -p1 proposed/interdiff-loader-currentcolor.patch
git apply -p1 proposed/interdiff-svg-metadata-normalization.patch
git apply -p1 proposed/interdiff-svg-high-use-optimization.patch
git apply -p1 proposed/interdiff-svg-over-300-optimization.patch
Do not apply patch 7 independently of patches 1–6: it is generated against the preceding working tree.
| Measure | Before / after |
|---|---|
| SVG set | 41,981 → 28,661 bytes (−31.7%) |
Compiled icons.css |
40,615 → 25,587 bytes (−37.0%) |
| Proposed SVG count | 74 after-side → 61 (14 optional removals + 1 new pretint) |
| Over-300 files | 39 attempted; 38 adopted; help.svg skipped |
| High-use set | 21 files; 562 SVG bytes; 1,492 compiled CSS bytes |
menu.svg is an important nuance: the supplied hamburger path is used, but the proposed source is 438 B versus the MR's 421 B because it restores viewBox/ARIA. The compiled hamburger data URI is still smaller: 432 B proposed vs 451 B after-side.
Do not submit all nine patches as one change. Proposed split:
This release is a review artefact. No upstream Drupal push, no MR comment, and no RTBC claim were made. Any upstream submission needs explicit authorization and a maintainer-scoped subset.