Skip to content

Say that lf-shot reads its media size before its images decode, not through aspect-ratio - #6129

Merged
max-sixty merged 2 commits into
mainfrom
html-over-leaf-machinery
Nov 16, 2026
Merged

max-sixty merged 2 commits into
mainfrom
html-over-leaf-machinery

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

package-themes.md told package authors that a theme can shape a frame from data-lf-media-width and data-lf-media-height, "as lf-shot does with aspect-ratio". The CSS rule that did so went in #3635; lf-shot's view now reads the two attributes only as its source size before its images decode (shot-view.js, fit). The sentence now says that. A corrected fact, so no instruction score.

Found during a survey of places Leaf could let authors write HTML instead of its own vocabulary, which Max asked for. Not otherwise reviewed; no tests cover reference prose.

This was written by Claude Code on behalf of max-sixty

…hrough aspect-ratio

package-themes.md said a theme could shape a frame from data-lf-media-width
and data-lf-media-height, "as lf-shot does with aspect-ratio". The CSS rule
that did so went in #3635; lf-shot's view now reads the two attributes only as
the source size before its images decode (shot-view.js, fit).
@max-sixty
max-sixty merged commit 19d330c into main Nov 16, 2026
5 checks passed
@max-sixty
max-sixty deleted the html-over-leaf-machinery branch November 16, 2026 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants