Skip to content

iframe doesn't clip its content anymore #11151

Closed

Description

@paulrouget

This breaks browserhtml (can't scroll, overflowing content visible when zooming out, chrome buttons are covered by content).

<style>
  iframe {
    display: block;
    width: 500px;
    height: 500px;
    border: 2px solid green;
  }
</style>
<iframe src="http://duckduckgo.com/?q=foobar"></iframe>

screen shot 2016-05-12 at 09 34 52

Activity

  1. paulrouget commented on May 12, 2016

    @paulrouget
    ContributorAuthor

    Might be related: #11150

  2. paulrouget commented on May 16, 2016

    @paulrouget
    ContributorAuthor
  3. pcwalton commented on May 16, 2016

    @pcwalton
    Contributor

    More minimal test case:

    <style>
      iframe {
        display: block;
        width: 500px;
        height: 500px;
        border: 2px solid green;
      }
    </style>
    <iframe src="data:text/html,<body style='overflow: hidden; overflow-y: auto;'><div style='background: blue; height: 2000px'>"></iframe>
    
  4. added
    C-has-manual-testcase
    on May 16, 2016
  5. pcwalton commented on May 17, 2016

    @pcwalton
    Contributor

    Regression started with overflow: scroll support: #10717

  6. added
    C-assigned
    on May 23, 2016
  7. added 2 commits that reference this issue on May 23, 2016
  8. paulrouget commented on May 24, 2016

    @paulrouget
    ContributorAuthor

    This is now fixed. But in browser.html, the iframe is not clipped when zoomed out. I'll file a different issue.

  9. paulrouget commented on May 24, 2016

    @paulrouget
    ContributorAuthor

    Follow up: #11358

  10. added a commit that references this issue on May 24, 2016
  11. added 2 commits that reference this issue on May 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

C-assignedC-has-manual-testcase

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions