1# A hovered row is one even tint: the hover background is on the row, never2# on a table cell, and no cell borrows the icon's class (a td.icon took the3# svg's inline-block size and painted its own small block). The forge's4# CSS has no hover rule that tints a td or th, and no built page has an5# element other than an svg with the class icon.6. "$(dirname "$0")/../lib.sh"7css=$T_HOME/site8if grep -rnE ':(hover|focus-within)[^{,]*[ >](td|th)([.:[][^{,]*)?[{,][^}]*background' "$css" --include=*.css --include=*.njk; then9 fail "a hover rule tints a cell, not its row"10fi11has "$css/assets/style.css" '^table\.list tbody tr:hover, table\.list tbody tr:focus-within, table\.list tbody tr\.sel \{ background: var\(--hover\); \}'12has "$css/assets/style.css" '^svg\.icon \{'13user dami14repo dami/greet15clone dami dami/greet "$T/w/g"16at "$T/w/g" commit "first"17at "$T/w/g" commit "docs" docs/a.md18push_as dami "$T/w/g" origin main19build20for f in "$FORGE_WWW/dami/greet/index.html" "$FORGE_WWW/dami/greet/tree/main/docs/index.html"; do21 has "$f" 'class="file-icon"'22 if grep -oE '<[a-z][a-z0-9]* class="([^"]* )?icon( [^"]*)?"' "$f" | grep -v '^<svg '; then fail "$f: a non-svg element has the class icon"; fi23done