-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Spec] Elaborate on opaque-ads fenced frame size restrictions #22
Comments
Design doc (WIP): https://docs.google.com/document/d/1MVqxc2nzde3cJYIRC8vnXH-a4A6J4GQE-1vBuXhQsPE/edit#heading=h.67vioho3x0ux The tentative list of options is: Fixed sizes: Fixed-height flexible sizes (H): Fixed-aspect ratio flexible sizes (AR): |
…navigation Known issues: * Filed a bug for a preexisting issue where we hit a DCHECK on Linux when a fenced frame (or div+iframe) is slightly scrollable: https://crbug.com/1307469 * Resize observer is asynchronous, so the semantics are much more nondeterministic than we want. (In the first rendering frame that the fenced frame exists, basically anything goes.) * If the fenced frame has no specified size (i.e. takes the default), when the ResizeObserver handler sets the size of the inner container, the outer container seems to inherit this size. In WPT but not interactive usage, this causes an error due to resize observations coming in too quickly, which we add expected output for. Design doc: https://docs.google.com/document/d/1MVqxc2nzde3cJYIRC8vnXH-a4A6J4GQE-1vBuXhQsPE/edit# Spec issue: WICG/fenced-frame#22 Bug: 1123606 Change-Id: I628b548cc1c747a76893e762fa621966bdfcfb94 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3569887 Reviewed-by: Shivani Sharma <[email protected]> Reviewed-by: Koji Ishii <[email protected]> Reviewed-by: Sadrul Chowdhury <[email protected]> Commit-Queue: Garrett Tanzer <[email protected]> Cr-Commit-Position: refs/heads/main@{#992647}
Related, it would be important for anything that isn’t a fixed sized ad, for the frame height to be set automatically, this has been raised for iframes: w3c/csswg-drafts#1771 |
The frame size is frozen at first navigation and coerced to the nearest allowed size.
The text was updated successfully, but these errors were encountered: