Skip to content

Conversation

@hamishwillee
Copy link
Collaborator

HTMLIFrameElement.srcdoc now takes TrustedHTML. This updates the docs using similar patterns to the Element.innerHTML docs.

Related docs work can be tracked in #37518 (comment)

@hamishwillee hamishwillee requested a review from a team as a code owner October 10, 2025 06:12
@hamishwillee hamishwillee requested review from sideshowbarker and removed request for a team October 10, 2025 06:12
@github-actions github-actions bot added Content:WebAPI Web API docs size/m [PR only] 51-500 LoC changed labels Oct 10, 2025
@hamishwillee hamishwillee changed the title Tt htmliframeelement srcdoc HTMLIFrameElement.srcdoc - takes trusted types Oct 10, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Oct 10, 2025

Preview URLs

Flaws (6)

Note! 1 document with no flaws that don't need to be listed. 🎉

URL: /en-US/docs/Web/API/HTMLIFrameElement
Title: HTMLIFrameElement
Flaw count: 6

  • macros:
    • Can't resolve /en-US/docs/Web/API/HTMLIFrameElement/align
    • Can't resolve /en-US/docs/Web/API/HTMLIFrameElement/frameBorder
    • Can't resolve /en-US/docs/Web/API/HTMLIFrameElement/longDesc
    • Can't resolve /en-US/docs/Web/API/HTMLIFrameElement/marginHeight
    • Can't resolve /en-US/docs/Web/API/HTMLIFrameElement/marginWidth
    • and 1 more flaws omitted
External URLs (1)

URL: /en-US/docs/Web/API/HTMLIFrameElement/srcdoc
Title: HTMLIFrameElement: srcdoc property

(comment last updated: 2025-10-12 23:45:44)

@hamishwillee
Copy link
Collaborator Author

Thank you for the review @sideshowbarker !

@hamishwillee hamishwillee merged commit 6751741 into mdn:main Oct 12, 2025
8 checks passed
@hamishwillee hamishwillee deleted the tt_htmliframeelement_srcdoc branch October 12, 2025 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:WebAPI Web API docs size/m [PR only] 51-500 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants