Skip to content

Iframe with 3D transform, content not clipped #11650

Closed

Description

@paulrouget

Even though both #11151 and #11358 are now fixed, we still have issues with iframe content not being properly clipped.

Both previous test case render correctly, so it's something new.

Working on a reduced test case now.

screen shot 2016-06-07 at 07 51 46

Activity

  1. changed the title [-]Iframe content not clipped, again[/-] [+]Iframe with 3D transform, content not clipped[/+] on Jun 7, 2016
  2. paulrouget commented on Jun 7, 2016

    @paulrouget
    ContributorAuthor

    It's 3D transform specific:

    <style>
      div, iframe {
        width: 100vw;
        height: 100vh;
        top: 0px;
        left: 0px;
      }
      div {
        perspective: 1000px;
        background: grey;
      }
      iframe {
        display: block;
        transform-origin: left center 0px;
        transform: translate3d(0px, 0px, -200px);
      }
    </style>
    
    <div>
      <iframe src="https://duckduckgo.com/?q=foobar&amp;ia=about">
      </iframe>
    </div>

    @pcwalton any ideas? If that's too hard to fix, I think we can simply move to 2D transforms in browserhtml.

  3. pcwalton commented on Jun 9, 2016

    @pcwalton
    Contributor

    I think this is probably something related to DDG's specific use of stacking contexts, similar to #11648.

  4. added a commit that references this issue on Jun 13, 2016
  5. added a commit that references this issue on Jun 20, 2016
  6. cbrewster commented on Aug 3, 2016

    @cbrewster
    Contributor

    This appears to be fixed with WR2 #12711

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions