You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/quirks.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,11 +13,11 @@ offender; several quirks affect more than one client. Every fix is annotated inl
13
13
| 5 | No `max-width` → layout won't center/constrain | Outlook Windows | 600px MSO ghost table wrapping a fluid `.email-container`|
14
14
| 6 | No CSS background images | Outlook Windows (classic); *partial* in Outlook.com & Yahoo | VML `v:fill type="frame"` for Outlook; solid `bgcolor` fallback always behind |
15
15
| 7 | Message clipped at ~102 KB (footer/unsub hidden) | Gmail |`--production` minify; build warns past the threshold |
16
-
| 8 | Runs its own dark-mode inversion, ignores `prefers-color-scheme`| Gmail | Explicit `bgcolor` on **every** cell so nothing is left "unset" |
16
+
| 8 | Runs its own dark-mode inversion, ignores `prefers-color-scheme`| Gmail | Explicit `background-color` on every element the dark CSS repaints, so nothing is left "unset" |
17
17
| 9 | Inverts pure `#000000` / `#ffffff` unconditionally | Apple Mail (dark) | Off-black `#2b2b30` / off-white text; `supported-color-schemes` meta |
18
18
| 10 |`prefers-color-scheme` support is inconsistent | Cross-client | Progressive enhancement + `color-scheme` meta; never depended on |
| 12 | Undefined `<td>` background repainted dark | Gmail (dark) | Same as #8 — no cell without an explicit colour |
20
+
| 12 | Undefined `<td>` background repainted dark | Gmail (dark) | Same as #8 — every `darkmode-bg`/`darkmode-card` container declares its light colour inline, gated by the `dark-bg-explicit` rule|
21
21
| 13 | Auto-links dates, phones, addresses in blue | iOS Mail |`format-detection` meta + `a[x-apple-data-detectors]` reset |
22
22
| 14 | Auto-inflates "too small" text | iOS, Windows |`-webkit-text-size-adjust` / `-ms-text-size-adjust:100%`|
23
23
| 15 | Auto-scales/reformats the whole layout | Apple Mail |`x-apple-disable-message-reformatting` meta |
? [SEVERITY.WARN,`${inline.length} <img> without display:block — most clients leave a ~3px gap under an inline image. First: ${inline[0].slice(0,80)}…`]
286
+
: [SEVERITY.PASS,`All ${imgs.length} <img> tags are display:block (or deliberately hidden).`];
287
+
},
288
+
},
289
+
{
290
+
// Quirk 6: classic Outlook drops CSS background images entirely.
? [SEVERITY.FAIL,`${unset.length} element(s) carry a darkmode-bg/darkmode-card class with no explicit background-color — the dark override has nothing to override, so Gmail repaints them. First: ${unset[0].slice(0,80)}…`]
342
+
: [SEVERITY.PASS,`All ${painted.length} dark-mode painted elements declare an explicit background-color.`];
343
+
},
344
+
},
345
+
{
346
+
// Quirk 17: Word injects space around tables unless both are zeroed.
0 commit comments