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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Feb 6 11:20:59 PST 2016


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

            Bug ID: 153952
           Summary: Feature request: Auto-resize iframes based on content
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Frames
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: craig+webkit at craigfrancis.co.uk

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 the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160206/ebab60c6/attachment-0001.html>


More information about the webkit-unassigned mailing list