Responsive iframes
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 40/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- css, html, javascript
- Domain
- frontend, testing-qa, web-dev
Research direction
The issue is about implementing tests for the 'frame-sizing' CSS feature in the web-platform-tests suite. Start by reviewing the specification at drafts.csswg.org/css-sizing-4/#responsive-iframes and the existing test results at wpt.fyi/results/css/css-sizing/responsive-iframe. Look at the test structure in the repository to understand how CSS sizing tests are organized. 'Done' means adding new test cases that cover the embedding opt-in, embedded opt-in, and dynamic updates as described, and ensuring they pass in browsers that support the feature.
Written by the indexing model from the issue text.
Description
Description
Embedding third-party content (e.g., payment widgets, comment sections, social posts, live charts, embedded demos) is one of the most fundamental architecture patterns on the web.
However, <iframe> elements have historically been unable to automatically size themselves to the natural dimensions of their embedded documents without producing scrollbars or requiring brittle postMessage() polyfills .
Responsive Iframes (part of CSS Box Sizing Module Level 4) introduces a standardized, security-preserving mechanism for seamless frame sizing and consists of three parts:
- Embedding Opt-in: The parent document specifies
frame-sizing: content-height | content-width | content-block-size | content-inline-size | noneon the<iframe> - Embedded Opt-in: The embedded document includes
<meta name="responsive-embedded-sizing">to explicitly authorize sharing its layout intrinsic size - Dynamic Updates: The embedded document can trigger re-measurements via
window.requestResize()
Specification
https://drafts.csswg.org/css-sizing-4/#responsive-iframes
web-feature
frame-sizing
Test Links
https://wpt.fyi/results/css/css-sizing/responsive-iframe
Additional Signals
- Blink / Chromium:
- Gecko / Firefox:
- Not implemented
- Standards Position: no position
- WebKit / Safari:
- Not implemented
- Standards Position: no position
- Dominant language
- JavaScript
- Stars
- 591
- Forks
- 39
- Avg merge
- 3h 8m
- Merged PRs (30d)
- 2
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from web-platform-tests/interop
-
focus-area-proposal
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
web-platform-tests/interop#1363 · 2 comments · 32 reactions ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
web-platform-tests/interop#1362 · 1 comment · 5 reactions ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
web-platform-tests/interop#1267 · 5 comments · 2 reactions ·
-
meta
Difficulty 1/5 Under an hour Newbie friendliness 62/100
web-platform-tests/interop#931 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
web-platform-tests/interop#1522 ·
All issues in web-platform-tests/interop
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
web-platform-tests/wpt#65844 ·
Maintainers usually reply within 1 day
-
marketing
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Kanevry/session-orchestrator#108 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
awesomemotive/all-in-one-seo-pack#3238 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
andromarces/agent-loops#2055 ·
Maintainers usually reply within 1 day