CR78: Immer 16:9 – ein Player, der die ganze Breite füllt, zählt #11

Merged
oliver.maklott merged 1 commit from cr78-16-9-bounds into main 2026-11-28 00:06:14 +01:00

Befund K17 (Code-Review 3). Bei 400 px ließen vi-sechzehn-neuntel und vi-videokarte höchstens 388 × 220 zu. Ohne Außenabstände (body { margin: 0 }, bei der Videokarte auch figure) ist der Player 400 × 225 – genau, was die Aufgabe verlangt – und wurde abgelehnt.

  • Bei 400 px bis 404 × 229 (mit dem Rahmen des iframe); die Prüfung bei 800 px (640 × 360) bleibt
  • Weiter falsch: Höhe aus dem Einbettungscode (315), 4:3, feste Größe
  • Tests: 5 richtige Layouts ohne Abstände, 3 falsche; in Chromium gemessen (scripts/seiten), alte Einträge unverändert
  • Texte unverändert; keine neue Version (Release eigener Commit)
  • pack test (473) und pack build grün

🤖 Generated with Claude Code

https://claude.ai/code/session_01PVUe4hWqPfFUKC4KEEmcM2

Befund K17 (Code-Review 3). Bei 400 px ließen `vi-sechzehn-neuntel` und `vi-videokarte` höchstens 388 × 220 zu. Ohne Außenabstände (`body { margin: 0 }`, bei der Videokarte auch `figure`) ist der Player 400 × 225 – genau, was die Aufgabe verlangt – und wurde abgelehnt. - [x] Bei 400 px bis 404 × 229 (mit dem Rahmen des iframe); die Prüfung bei 800 px (640 × 360) bleibt - [x] Weiter falsch: Höhe aus dem Einbettungscode (315), 4:3, feste Größe - [x] Tests: 5 richtige Layouts ohne Abstände, 3 falsche; in Chromium gemessen (`scripts/seiten`), alte Einträge unverändert - [x] Texte unverändert; keine neue Version (Release eigener Commit) - [x] `pack test` (473) und `pack build` grün 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01PVUe4hWqPfFUKC4KEEmcM2
CR78: the 16:9 steps accept a player that fills the whole width of a narrow page
All checks were successful
pack / pack (pull_request) Successful in 15s
pack / pack (push) Successful in 17s
c72ad461cc
At 400 px the two layout checks allowed a player of at most 388 × 220: the stage inside the
body's default margin. A page without that margin (`body { margin: 0 }`, a reset with `*`)
has a player of 400 × 225, exactly what the task asks for ("die ganze Breite", 16:9), and was
told "dom-groesse-falsch".

- vi-sechzehn-neuntel, vi-videokarte: at 400 px up to 404 × 229 (400 × 225 plus a border of
  2 px each side, as the check at 800 px already allows). The check at 800 px (640 × 360) and
  the lower bounds stay. A height from the embed code (315) and 4:3 (300) stay outside.
- testdaten: five right layouts without the margins (body, `*`, centred stage, with a border,
  figure without margins) and three wrong ones with them (no `height: auto`, 4:3, the embed
  code's height); measured in Chromium with scripts/seiten, with and without classic
  scrollbars. The entries that were there came out unchanged.
- scripts/seiten/verify.ts: reads the pool from pools/web, where it has been since 2.0.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PVUe4hWqPfFUKC4KEEmcM2
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
aivopod-challenges/Auffrischen-und-Vertiefen!11
No description provided.