Skip to content

Chrome 151 responsive iframe sizing#29911

Merged
Elchi3 merged 2 commits into
mdn:mainfrom
chrisdavidmills:responsive-iframe-sizing
Jun 26, 2026
Merged

Chrome 151 responsive iframe sizing#29911
Elchi3 merged 2 commits into
mdn:mainfrom
chrisdavidmills:responsive-iframe-sizing

Conversation

@chrisdavidmills

Copy link
Copy Markdown
Contributor

Summary

Chrome 151 adds support for responsive iframe sizing; see https://chromestatus.com/feature/5108373464547328.

This relies on three new features:

This PR adds data for all three features.

Test results and supporting details

Related issues

@chrisdavidmills chrisdavidmills requested a review from Elchi3 June 23, 2026 19:37
@github-actions github-actions Bot added data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS data:html Compat data for HTML elements. https://developer.mozilla.org/docs/Web/HTML size:l [PR only] 101-1000 LoC changed labels Jun 23, 2026
@github-actions

github-actions Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs).

@Elchi3 Elchi3 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is still behind the "Responsive Iframes" flag for me.
(Otherwise I would have caught it in collector runs already.)

@chrisdavidmills

Copy link
Copy Markdown
Contributor Author

This is still behind the "Responsive Iframes" flag for me. (Otherwise I would have caught it in collector runs already.)

Ah, sorry about that. I'm sure the ChromeStatus page said 151 the other day.

I've had another look, and the ChromeStatus now says 152 for release. It doesn't work in Chrome beta, but it seems to work in Canary (the flag is enabled by default).

In which case, "preview" seems like the right value for now? Updated in my latest commit.

@chrisdavidmills chrisdavidmills requested a review from Elchi3 June 26, 2026 16:32

@Elchi3 Elchi3 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks Chris! 👍

It wasn't in preview either but today it is.

I opened #29905 earlier this week and I'm not yet sure how often I want to run it. I think weekly might be good (or whenever I see new features). Still figuring this out.

@Elchi3 Elchi3 merged commit 7f1f09a into mdn:main Jun 26, 2026
10 checks passed
@mdn-bot mdn-bot mentioned this pull request Jun 26, 2026
@Elchi3

Elchi3 commented Jun 26, 2026

Copy link
Copy Markdown
Member

Actually, I spoke too soon. I had the flag enabled and then it worked of course. I don't see this working in Canary yet without flags yet.

@chrisdavidmills

Copy link
Copy Markdown
Contributor Author

Actually, I spoke too soon. I had the flag enabled and then it worked of course. I don't see this working in Canary yet without flags yet.

Hrm, this is different from what I experienced. I hadn't touched the "Responsive Iframes" flag on Canary (the value was kept at "default"), and it worked for me.

I had to explicitly set the flag to "disabled" to stop the feature working.

I've just tried updating Canary this morning to the latest, and the behavior is still the same for me.

I'm on macOS. They wouldn't have different flag settings on different OSes, would they?

@Elchi3

Elchi3 commented Jun 29, 2026

Copy link
Copy Markdown
Member

I'm on macOS, too.

The test is here: https://collector.openwebdocs.org/tests/api/Window/requestResize. Reports no support without "Experimental web platform features". Works with that flag enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS data:html Compat data for HTML elements. https://developer.mozilla.org/docs/Web/HTML size:l [PR only] 101-1000 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants