Skip to content

Conversation

@kojiishi
Copy link
Contributor

Based on the resolutions at:
#1771 (comment)

@kojiishi kojiishi marked this pull request as ready for review November 12, 2025 10:57
@kojiishi kojiishi requested a review from tabatkins November 12, 2025 10:57
@kojiishi kojiishi force-pushed the responsive-iframe branch 2 times, most recently from 187a8a2 to b472ec5 Compare November 13, 2025 05:38
@kojiishi kojiishi force-pushed the responsive-iframe branch 2 times, most recently from 851052d to 1d6d644 Compare November 21, 2025 09:11
* Did an editorial rewrite of the "responsively-sized iframes" section; should be zero normative changes.
* Rejiggered the syntax of the properties a little, integrating it better with the existing syntax, so that 'from-element' works the same as 'auto' (being a magic source of intrinsic size) and requiring a fallback size to be specified.
@tabatkins
Copy link
Member

I did some rejiggering of the text, Koji; please let me know if that's okay. It's mostly editorial, the only real change is that I integrated the grammar of the new value into the existing grammar better. Now you specify auto or from-element to get a magic intrinsic size from layout, and either way you have to specify a fallback size.

I also moved the statement about the value applying to iframes regardless of contain to an issue, to make it more obvious as a discussion point. If we want to change that behavior, we'll need to slightly rephrase the propdef block's "Applies To" line as well.

Otherwise, the edits are just reworking the text (including rearranging some existing text), and defining a specific term to hook into ("internal layout intrinsic size").

@kojiishi
Copy link
Contributor Author

Thank you @tabatkins, it looks great to me.

chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Nov 26, 2025
…[0,∞]>`

This patch updates the `from-element` syntax from an optional
`<length [0,∞]>` to a required `none | <length [0,∞]>`, to
reflect the review of the spec PR[1].

[1] w3c/csswg-drafts#13099

Bug: 418397278
Change-Id: Ifccbd3a3cd551e47ef16b1585b3859e328946b34
aarongable pushed a commit to chromium/chromium that referenced this pull request Nov 26, 2025
…[0,∞]>`

This patch updates the `from-element` syntax from an optional
`<length [0,∞]>` to a required `none | <length [0,∞]>`, to
reflect the review of the spec PR[1].

[1] w3c/csswg-drafts#13099

Bug: 418397278
Change-Id: Ifccbd3a3cd551e47ef16b1585b3859e328946b34
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7206966
Reviewed-by: Kent Tamura <[email protected]>
Commit-Queue: Koji Ishii <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1550347}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Nov 26, 2025
…[0,∞]>`

This patch updates the `from-element` syntax from an optional
`<length [0,∞]>` to a required `none | <length [0,∞]>`, to
reflect the review of the spec PR[1].

[1] w3c/csswg-drafts#13099

Bug: 418397278
Change-Id: Ifccbd3a3cd551e47ef16b1585b3859e328946b34
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7206966
Reviewed-by: Kent Tamura <[email protected]>
Commit-Queue: Koji Ishii <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1550347}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Nov 26, 2025
…[0,∞]>`

This patch updates the `from-element` syntax from an optional
`<length [0,∞]>` to a required `none | <length [0,∞]>`, to
reflect the review of the spec PR[1].

[1] w3c/csswg-drafts#13099

Bug: 418397278
Change-Id: Ifccbd3a3cd551e47ef16b1585b3859e328946b34
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7206966
Reviewed-by: Kent Tamura <[email protected]>
Commit-Queue: Koji Ishii <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1550347}
@kojiishi kojiishi merged commit 2e767ef into w3c:main Nov 26, 2025
1 check passed
@kojiishi kojiishi deleted the responsive-iframe branch November 26, 2025 19:08
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.

3 participants