Skip to content

Consider improving interoperability of <iframe> throttling margins. #10333

@emilio

Description

@emilio

What is the issue with the HTML Standard?

My understanding is that all browsers implement some sort of throttling of offscreen / invisible iframes.

In Firefox, this is kind of messy, and differs between in-process and out-of-process iframes right now.

It seems according to @szager-chromium in Chromium there's no margin at all.

I think some things could probably be specified properly:

  • visibility: hidden / display: none should always be throttled.
  • Offscreen iframes should be throttled, with some UA-defined margin perhaps?

Are there other cases where UAs throttle iframes? cc @khushalsagar

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions