Historical page. This page describes the earlier nine-patch proposal. For the 2026-11-25 revision see the revised MR review.

SVG structural and visual property matrix

After-side is the MR !16166 tree. Proposed is our separate fixes/cleanup working copy, not upstream. Recommended removal (unused) means the MR keeps the file but we found no CSS/template/JS consumer and recommend deleting it in the proposed cleanup; it is not an MR deletion.

After-side and proposed SVGs in default_admin/images. The matrix is generated from the committed SVG files; the visual columns come from rasterising each SVG on a transparent canvas at 160px. Padding and centre offsets are percentages of the viewBox, not component sizes.

Baseline: 74 after-side SVGs, 41,981 bytes. Proposed: 61 SVGs, 28,661 bytes. 14 after assets are recommended for removal in the proposed cleanup because no consumer was found; the cleanup is optional.

74after-side files
41,981after bytes
61proposed files
28,661proposed bytes
14with aria-hidden
17with >4 decimals

Families: ui 58, file-types 14, logos 2. Paint: currentColor 53, hardcoded 21. ViewBox: 0 0 24 24 56, 0 0 16 16 17, 0 0 66 33.447 1.

All 74 after-side SVGs. Flags are structural/visual prompts, not automatic failures. “Padding” = left/right/top/bottom transparent space as % of viewBox; “ink” = painted alpha coverage.
PathFamilyviewBoxwidth×heightPaintStrokeCap/joinFill opacityPaths/shapes/groupsDecimalsaria-hiddenTitle/descIDsBytesPad L/R/T/B %Ink %Centre X/Y %Proposed statusFlags
file-types/application-octet-stream.svgfile-types0 0 16 1616×16hardcoded——/——9/0/01trueno/no058212.5/12.5/0/073.30/0present
file-types/application-pdf.svgfile-types0 0 16 1616×16hardcoded0.8—/——10/0/02trueno/no083812.5/12.5/0/073.30/0present
file-types/application-x-executable.svgfile-types0 0 16 1616×16hardcoded——/——9/0/01trueno/no058212.5/12.5/0/073.30/0present
file-types/audio-x-generic.svgfile-types0 0 16 1616×16hardcoded——/——10/0/02trueno/no084612.5/12.5/0/073.30/0present
file-types/image-x-generic.svgfile-types0 0 16 1616×16hardcoded——/——11/1/02trueno/no095112.5/12.5/0/073.30/0present
file-types/package-x-generic.svgfile-types0 0 16 1616×16hardcoded——/—0.8,0.512/0/01trueno/no087212.5/12.5/0/073.30/0present
file-types/text-html.svgfile-types0 0 16 1616×16hardcoded——/——10/0/02trueno/no076112.5/12.5/0/073.30/0present
file-types/text-plain.svgfile-types0 0 16 1616×16hardcoded——/—0.65,0.8,0.45,0.314/0/02trueno/no096412.5/12.5/0/073.30/0present
file-types/text-x-generic.svgfile-types0 0 16 1616×16hardcoded——/—0.65,0.8,0.45,0.314/0/02trueno/no096412.5/12.5/0/073.30/0present
file-types/text-x-script.svgfile-types0 0 16 1616×16hardcoded——/——10/0/02trueno/no0101212.5/12.5/0/073.30/0present
file-types/video-x-generic.svgfile-types0 0 16 1616×16hardcoded——/——10/0/01trueno/no077512.5/12.5/0/073.30/0present
file-types/x-office-document.svgfile-types0 0 16 1616×16hardcoded——/——11/0/01trueno/no078512.5/12.5/0/073.30/0present
file-types/x-office-presentation.svgfile-types0 0 16 1616×16hardcoded——/——11/0/01trueno/no075112.5/12.5/0/073.30/0present
file-types/x-office-spreadsheet.svgfile-types0 0 16 1616×16hardcoded——/——11/0/01trueno/no079212.5/12.5/0/073.30/0present
icons/appearance.svgui0 0 24 24—×—currentColor2.25,0round/round.152/1/15—no/no061715.6/15.6/0/2.537.150/-1.3recommended removal (unused)missing aria-hidden; precision 5
icons/back-to-site.svgui0 0 24 24—×—currentColor2.25round/round—1/1/15—no/no033811.9/11.9/11.9/2015.520/-4.1presentmissing aria-hidden; precision 5
icons/blocks.svgui0 0 24 24—×—currentColor2.25round/round.154/0/15—no/no013265/5/0.6/047.820/0.3recommended removal (unused)missing aria-hidden; precision 5
icons/bookmarks.svgui0 0 24 24—×—currentColor0.5round/round—1/0/16—no/no0117115.6/11.2/0/0.637.662.2/-0.3recommended removal (unused)missing aria-hidden; precision 6
icons/check.svgui0 0 24 24—×—currentColor——/——1/0/05—no/no021714.4/14.4/20.6/20.612.530/0presentmissing aria-hidden; precision 5
icons/chevron-down.svgui0 0 24 24—×—currentColor3round/round—1/0/10—no/no021210/10/26.9/26.913.30/0presentmissing aria-hidden
icons/chevron-left.svgui0 0 24 24—×—currentColor3round/round—1/0/10—no/no021326.9/26.9/10/1013.30/0presentmissing aria-hidden
icons/chevron-right.svgui0 0 24 24—×—currentColor3round/round—1/0/10—no/no021226.9/26.9/10/1013.30/0presentmissing aria-hidden
icons/clock.svgui0 0 24 24—×—currentColor2.25round/round—0/2/12—no/no02793.1/3.1/3.1/3.131.170/0presentmissing aria-hidden
icons/close.svgui0 0 24 24—×—currentColor2.25round/round—2/0/12—no/no023811.9/11.9/11.9/11.919.670/0presentmissing aria-hidden
icons/cog.svgui0 0 24 24—×—currentColor2.25round/round.151/1/12—no/no010220/0/0/043.30/0presentmissing aria-hidden
icons/content.svgui0 0 24 24—×—currentColor2.25round/round.152/0/12—no/no033111.9/11.9/3.1/3.134.730/0recommended removal (unused)missing aria-hidden
icons/database.svgui0 0 24 24—×—currentColor2.25round/round—2/1/12—no/no03497.5/7.5/3.1/3.141.180/0presentmissing aria-hidden
icons/drag-y.svgui0 0 24 24—×—currentColor2.25round/round—0/3/12—no/no03323.1/3.1/3.8/3.817.380/0presentmissing aria-hidden
icons/drag.svgui0 0 24 24—×—currentColor2.25round/round—0/6/12—no/no04823.1/3.1/3.1/3.128.450/0presentmissing aria-hidden
icons/error.svgui0 0 24 24—×—currentColor2.25round/round—0/2/12—no/no02873.1/3.1/3.1/3.133.60/0presentmissing aria-hidden
icons/files.svgui0 0 24 24—×—currentColor0.5round/round—1/0/17—no/no022346.9/5.6/0/046.890.6/0recommended removal (unused)missing aria-hidden; precision 7
icons/grid.svgui0 0 24 24—×—currentColor3round/round—0/4/10—no/no03876.3/6.3/6.3/6.358.450/0presentmissing aria-hidden
icons/help.svgui0 0 24 24—×—currentColor2.25round/round—3/0/15—no/no05910/0/0/034.720/0presentmissing aria-hidden; precision 5
icons/hide.svgui0 0 24 24—×—currentColor3round/round—1/1/12—no/no04300/0/0/046.130/0presentmissing aria-hidden
icons/info.svgui0 0 24 24—×—currentColor2.25round/round—1/0/12—no/no02667.5/7.5/7.5/7.527.540/0presentmissing aria-hidden
icons/key.svgui0 0 16 1616×16currentColor——/——1/0/03—no/no04800/6.3/6.3/6.331.91-3.1/0presentmissing aria-hidden
icons/list.svgui0 0 24 24—×—currentColor3round/round—0/6/12—no/no04756.3/6.3/18.8/18.828.240/0presentmissing aria-hidden
icons/loader.svgui0 0 24 24—×—currentColor2.25round/round—1/0/15—no/no031041.3/41.2/3.8/78.82.50/-37.5presentmissing aria-hidden; precision 5; padding
icons/media.svgui0 0 24 24—×—currentColor0.5round/round—1/0/16—no/no021780/0/0/060.480/0recommended removal (unused)missing aria-hidden; precision 6
icons/menu.svgui0 0 16 1616×16currentColor——/——1/0/00—no/no04210/0/12.5/12.536.70/0presentmissing aria-hidden
icons/nav-toggle-left.svgui0 0 24 24—×—currentColor2.25round/round—0/2/12—no/no026815.6/15.6/16.3/16.313.990/0recommended removal (unused)missing aria-hidden
icons/nav-toggle-top.svgui0 0 24 24—×—currentColor2.25round/round—0/2/12—no/no026616.3/16.3/15.6/15.613.970/0recommended removal (unused)missing aria-hidden
icons/pager-first.svgui0 0 24 24—×—currentColor2.25round/round—0/2/12—no/no028520/20/24.4/24.413.110/0presentmissing aria-hidden
icons/pager-last.svgui0 0 24 24—×—currentColor2.25round/round—0/2/12—no/no028420/20/24.4/24.413.110/0presentmissing aria-hidden
icons/pager-next.svgui0 0 24 24—×—currentColor2.25round/round—0/1/12—no/no023232.5/32.5/20/207.850/0presentmissing aria-hidden; padding
icons/pager-prev.svgui0 0 24 24—×—currentColor2.25round/round—0/1/12—no/no023332.5/32.5/20/207.850/0presentmissing aria-hidden; padding
icons/pencil.svgui0 0 24 24—×—currentColor2.25round/round—1/0/13—no/no02603.8/4.4/4.4/3.723.54-0.3/0.3presentmissing aria-hidden
icons/people.svgui0 0 24 24—×—currentColor2.25,0round/round.153/1/15—no/no07840/0/0/055.550/0recommended removal (unused)missing aria-hidden; precision 5
icons/plus.svgui0 0 24 24—×—currentColor2.25round/round—2/0/12—no/no023411.9/11.9/11.9/11.913.910/0presentmissing aria-hidden
icons/pretint/check-disabled.svgui0 0 24 24—×—hardcoded——/——1/0/05—no/no021214.4/14.4/20.6/20.612.530/0presentmissing aria-hidden; precision 5
icons/pretint/check-inverse.svgui0 0 24 24—×—hardcoded——/——1/0/05—no/no021214.4/14.4/20.6/20.612.530/0presentmissing aria-hidden; precision 5
icons/pretint/chevron-down-default.svgui0 0 24 24—×—hardcoded3round/round—1/0/10—no/no020710/10/26.9/26.913.30/0recommended removal (unused)missing aria-hidden
icons/pretint/chevron-down-disabled.svgui0 0 24 24—×—hardcoded3round/round—1/0/10—no/no020710/10/26.9/26.913.30/0presentmissing aria-hidden
icons/pretint/chevron-down-inverse.svgui0 0 24 24—×—hardcoded3round/round—1/0/10—no/no020710/10/26.9/26.913.30/0presentmissing aria-hidden
icons/pretint/remove-default.svgui0 0 24 24—×—hardcoded2.25round/round—2/0/12—no/no023311.9/11.9/11.9/11.919.670/0recommended removal (unused)missing aria-hidden
icons/pretint/remove-inverse.svgui0 0 24 24—×—hardcoded2.25round/round—2/0/12—no/no023311.9/11.9/11.9/11.919.670/0presentmissing aria-hidden
icons/reports.svgui0 0 24 24—×—currentColor2.25round/round.152/0/12—no/no03253.1/3.1/3.1/3.838.360/-0.3recommended removal (unused)missing aria-hidden
icons/required.svgui0 0 24 24—×—currentColor——/——1/0/06—no/no011301.9/1.9/2.5/5.641.30/-1.6presentmissing aria-hidden; precision 6
icons/search.svgui0 0 24 24—×—currentColor2.25round/round—2/0/15—no/no03457.5/7.5/7.5/7.521.330/0presentmissing aria-hidden; precision 5
icons/server.svgui0 0 24 24—×—currentColor2.25round/round—0/4/12—no/no04153.1/3.1/3.1/3.145.340/0presentmissing aria-hidden
icons/show.svgui0 0 24 24—×—currentColor3round/round—1/1/10—no/no02900/0/10/1040.580/0presentmissing aria-hidden
icons/sidebar.svgui0 0 24 24—×—currentColor2round/round—0/4/12—no/no04073.8/3.8/3.8/12.533.350/-4.4presentmissing aria-hidden
icons/sort-asc.svgui0 0 24 24—×—currentColor2.25round/round—2/0/12—no/no024216.3/16.3/7.5/7.515.980/0presentmissing aria-hidden
icons/sort-desc.svgui0 0 24 24—×—currentColor2.25round/round—2/0/12—no/no024316.3/16.3/7.5/7.515.980/0presentmissing aria-hidden
icons/sort.svgui0 0 24 24—×—currentColor2.25round/round—3/0/12—no/no02597.5/7.5/20/2019.910/0presentmissing aria-hidden
icons/status.svgui0 0 24 24—×—currentColor2.25round/round—1/1/12—no/no02963.8/3.1/3.1/3.830.210.3/-0.3presentmissing aria-hidden
icons/structure.svgui0 0 24 24—×—currentColor2.25round/round.153/0/15—no/no05871.3/1.3/0.6/0.651.050/0recommended removal (unused)missing aria-hidden; precision 5
icons/tabledrag-handle.svgui0 0 16 1617×17currentColor——/——1/0/03—no/no07740/0/0/021.790/0presentmissing aria-hidden
icons/toggle-unchecked.svgui0 0 24 24—×—currentColor——/——1/0/15—no/no0126028.7/25/25/2512.421.9/0presentmissing aria-hidden; precision 5
icons/trash.svgui0 0 24 24—×—currentColor3round/round—1/3/10—no/no04286.3/6.3/1.9/1.948.550/0presentmissing aria-hidden
icons/user.svgui0 0 24 24—×—currentColor2.25round/round—3/0/15—no/no05410/0/0/044.660/0recommended removal (unused)missing aria-hidden; precision 5
icons/warning.svgui0 0 24 24—×—currentColor2.25round/round—0/3/12—no/no03883.1/3.1/3.1/3.130.450/0presentmissing aria-hidden
logos/drupal.svglogos0 0 24 24—×—currentColor——/——1/0/03—no/no0161011.9/11.9/0/035.890/0presentmissing aria-hidden
logos/php.svglogos0 0 66 33.44766×33.447currentColor——/——3/0/13—no/no012110/0/-0.6/-0.631.010/0presentmissing aria-hidden

Normalisation targets

FamilyTarget
UI master, 24 gridviewBox="0 0 24 24"; no width/height; currentColor; aria-hidden="true" focusable="false"; no IDs, external refs, scripts or foreignObject. 2.25 stroke is the standard line weight; 3 is the bold class.
UI 16 gridviewBox="0 0 16 16", width="16" height="16", currentColor, aria-hidden/focusable. tabledrag-handle was 17×17 and is normalised to 16×16 in the proposed tree.
PretintSame geometry as the master; hardcoded palette colour instead of currentColor; 24 grid, aria-hidden/focusable. No title/desc unless it is a meaningful inline image.
File typeviewBox="0 0 16 16", width="16" height="16", hardcoded multicolour palette, aria-hidden/focusable. Do not convert to currentColor.
LogoPreserve intrinsic aspect/viewBox (the PHP logo is 66×33.447); currentColor; decorative aria-hidden/focusable.

Not normalised yet: optical padding, stroke-weight exceptions, fill-accent opacity, and path precision. Those need family-by-family visual diffs. The matrix exposes the current values rather than rewriting geometry blindly.

Patch provenance

Latest patch: interdiff-svg-over-300-optimization.patch. The metadata normalisation link below is only interdiff-svg-metadata-normalization.patch, not the latest patch.

  1. Checkmark dark-mode fix
  2. Forced-colours status icons
  3. Required marker optimisation
  4. Unused-asset cleanup
  5. Status icon optimisation
  6. Loader currentColor fix
  7. Decorative metadata normalisation
  8. High-use optimisation
  9. Over-300 optimisation

Machine-readable data: svg-properties.json and svg-visual-metrics.json. File-by-file changes: change ledger.