From c056ee803425e6baa53d65af77b7f6544aa49573 Mon Sep 17 00:00:00 2001 From: Chao Wu Date: Wed, 30 Sep 2026 08:20:06 -0700 Subject: [PATCH] Preserve authored mail image proportions in the reader --- docs/SPEC.md | 2 +- e2e/fixtures/seed-mail-image-sizing.json | 20 ++++++++ e2e/mail-image-sizing.spec.ts | 59 ++++++++++++++++++++++++ src/renderer/src/mailFrame.tsx | 9 +++- 4 files changed, 88 insertions(+), 2 deletions(-) create mode 100644 e2e/fixtures/seed-mail-image-sizing.json create mode 100644 e2e/mail-image-sizing.spec.ts diff --git a/docs/SPEC.md b/docs/SPEC.md index a11f9c9..d4bbf89 100644 --- a/docs/SPEC.md +++ b/docs/SPEC.md @@ -1056,7 +1056,7 @@ The app connects to Google for mail. AI writing requests go to the selected prov Signed release builds contact the configured update feed. Attn has no telemetry. Remote images load directly from senders by default. A global block setting and per-sender exceptions control those requests. -**HTML mail rendering:** sanitized (DOMPurify-class allowlist), rendered in a sandboxed `