Skip to content

Add iframe vs DOM embedding comparison - #13739

Merged
sfshaza2 merged 4 commits into
mainfrom
web-embedding-docs
Aug 20, 2026
Merged

Add iframe vs DOM embedding comparison#13739
sfshaza2 merged 4 commits into
mainfrom
web-embedding-docs

Conversation

@sfshaza2

Copy link
Copy Markdown
Contributor

Fixes #13621

@sfshaza2
sfshaza2 requested a review from kevmoo August 18, 2026 17:01
@sfshaza2
sfshaza2 requested a review from a team as a code owner August 18, 2026 17:01

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the Flutter web embedding documentation by adding a comparison table between iframe and direct DOM embedding, as well as detailing the mandatory CSS requirements for host elements. The review feedback suggests clarifying that sharing a single engine instance across multiple views is specific to multi-view mode, and recommends avoiding references to internal engine class names in user-facing documentation.

Comment thread sites/docs/src/content/platform-integration/web/embedding-flutter-web.md Outdated
Comment thread sites/docs/src/content/platform-integration/web/embedding-flutter-web.md Outdated
@flutter-website-bot

flutter-website-bot commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

Staged preview of the updated docs.flutter.dev site (updated for commit 9ef078c):

https://flutter-docs-prod--docs-pr13739-web-embedding-docs-n07lu0c9.web.app

@harryterkelsen harryterkelsen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly LGTM but the comment about inheriting CSS from the host page isn't exactly right. All the styling in Flutter apps happens with Flutter widgets, we don't use CSS

Comment thread sites/docs/src/content/platform-integration/web/embedding-flutter-web.md Outdated
@flutter-website-bot

flutter-website-bot commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

Staged preview of the updated flutter.dev site (updated for commit 9ef078c):

https://flutter-dev-230821--www-pr13739-web-embedding-docs-0qlgwxqs.web.app

@harryterkelsen harryterkelsen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sfshaza2
sfshaza2 merged commit 540d226 into main Aug 20, 2026
14 checks passed
@sfshaza2
sfshaza2 deleted the web-embedding-docs branch August 20, 2026 17:12
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.

docs(web): add iframe vs DOM embedding comparison and container CSS styling to embedding-flutter-web

5 participants