Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions features/frame-sizing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Responsive iframes
description: >
The `frame-sizing` CSS property sets the size of an `<iframe>` element to that of it contents, to avoid scrolling in the iframe.
Embedded documents allow this with the `<meta name="responsive-embedded-sizing">` element and request resizing in the embedding page by calling `window.requestResize()`.
spec: https://drafts.csswg.org/css-sizing-4/#propdef-frame-sizing
# Expected
# compat_features:
# - css.properties.frame-sizing

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Question for @ddbeck: The linked spec in the feature here mentions the frame's "internal intrinsic size"—would this warrant linking the min-content and max-content CSS keywords in this feature? I'm referring specifically to the intrinsic size concept, as it figures in pretty heavily here for <iframe> contents.

On the other side, I suppose it could be argued that you'd then have to add references for these keywords to many features' compat_features field.

# - css.properties.frame-sizing.auto
# - css.properties.frame-sizing.content-width

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

C.f. https://collector.openwebdocs.org/tests/css/properties/frame-sizing

Suggested change
# - css.properties.frame-sizing.content-width
# - css.properties.frame-sizing.content-height
# - css.properties.frame-sizing.content-width

# - css.properties.frame-sizing.content-block-size
# - css.properties.frame-sizing.content-inline-size
# - api.Window.requestResize

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Maybe also this?

Suggested change
# - api.Window.requestResize
# - api.Window.requestResize
# - html.elements.meta.name.responsive-embedded-sizing

6 changes: 6 additions & 0 deletions features/frame-sizing.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Generated from: frame-sizing.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: false
support: {}