Skip to content

[css-view-transition-2] Test for opt-in to cross-document view transitions does not need to wait for external stylesheets #13758

@martrapp

Description

@martrapp

From

  • External stylesheets in the head are render blocking.
  • The pagereveal event fires right before the first frame of the new document is presented.
  • The opt in for newDocument is checked when the pagereveal event fires.

I got the impression that you could opt in to view transitions from arbitrary stylesheets linked within the head. In practice, that does not seem to be the case, which is especially annoying because it sometimes works and sometimes does not.

Perhaps the spec could thate more clearly that the browser does not have to wait for @view-transition rules in external stylesheets and you better put the @view-transition rule into a style element within the head, as suggested here: https://un5pwb8rvk5j89wkxbcf89h0br.julianrbryant.com/issues/383014860#comment9

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