Skip to content

Stale size evaluation of child iframe #45888

Closed

Description

@jschwe

Describe the bug:

#45490 exposes two new subtest failures in css/mediaqueries/test_media_queries.html:

 [should_not_apply: (min-aspect-ratio: 60/80)]
    expected: FAIL

  [should_not_apply: (min-aspect-ratio: 59/79)]
    expected: FAIL

The reason appears to be that the test updates the iframe size, but the updated size does not propagate to the evaluation via media queries.

To Reproduce:

Run the wpt test, or use this reduced Reproducer file that shows, that the size is eventually updated, but not immediately. In Firefox afterImmediate is the same as afterTimer.

Activity

  1. added
    C-untriaged
    on Jun 22, 2026
  2. jdm commented on Jun 22, 2026

    @jdm
    Member

    Probably related:

    /// Whether something has changed since the last "update the rendering" turn

  3. added
    A-content/script
    C-needs-investigation
    and removed
    C-untriaged
    on Jun 26, 2026
  4. added a commit that references this issue on Jul 18, 2026
    af8c181
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

    A-content/scriptC-needs-investigation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions