Skip to content

https://html.spec.whatwg.org/#reactivate-a-document 4.3 doesn't match implementations, visibilityState isn't always set to 'visible' #12070

@smaug----

Description

@smaug----

What is the issue with the HTML Standard?

If a page is in a background tab and comes out of bfcache, visibility doesn't automatically change to "visible". Firefox and Chrome dispatch a single visibilitychange event and state is "hidden". Webkit on linux dispatches two events, and state is in both cases "hidden".

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