[Webkit-unassigned] [Bug 186275] New: Feature request: Auto-resize iframes based on content

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 4 12:00:07 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=186275

            Bug ID: 186275
           Summary: Feature request: Auto-resize iframes based on content
           Product: Security
           Version: WebKit Nightly Build
          Hardware: iPhone / iPad
                OS: iOS 10.3
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Security
          Assignee: webkit-security-unassigned at lists.webkit.org
          Reporter: baebytasyatechiq at gmail.com
                CC: bfulgham at webkit.org, craig+webkit at craigfrancis.co.uk,
                    hyatt at apple.com, product-security at apple.com,
                    simon.fraser at apple.com,
                    webkit-bug-importer at group.apple.com,
                    webkit-unassigned at lists.webkit.org, zalan at apple.com
             Group: Security-Sensitive

+++ This bug was initially created as a clone of Bug #153952 +++

After the recent removal of the `@seamless` attribute on the `<iframe>` from the WHATWG spec:

https://github.com/whatwg/html/issues/331

We still need to consider the problem of setting the height of iframes, so they contain their content without scroll bars.

As discussed at:

https://github.com/whatwg/html/issues/555
https://lists.w3.org/Archives/Public/www-style/2016Jan/0236.html
https://lists.w3.org/Archives/Public/www-style/2016Feb/0004.html

The solution may simply involve the CSS:

    #iframe { height: max-content; }

And a header on the framed content, rather than custom/buggy JavaScript.

-----

I'm keeping my notes on:

https://github.com/craigfrancis/iframe-height

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180604/d071f606/attachment.html>


More information about the webkit-unassigned mailing list