Deprecated scrolling="no" iframe attribute used instead of CSS #8
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
paul_loth/krautspaceTV#8
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
`backend/slides/media.py` renders URL-embed iframes with the legacy HTML attribute `scrolling="no"`. This attribute was dropped from the HTML5 spec (it's obsolete/non-conforming) and only still works because browsers keep it for backwards compatibility.
Suggested fix
Replace with the standards-compliant CSS equivalent, e.g. `overflow: hidden` on the iframe (or a wrapping container), which achieves the same "no scrollbars" effect without relying on deprecated markup.
Fixed in
a841b02(merged to main at103cdf2): removed scrolling="no" entirely; iframes now always carry an inline style with overflow:hidden instead.