Repository navigation
Add pagereveal event - #9818
Add pagereveal event#9818
pagereveal event#9818Conversation
|
@smaug---- @domenic I think this is ready for review, I checked the appropriate boxes. |
|
@domenic I think this is ready for another run. |
domenic
left a comment
There was a problem hiding this comment.
Sorry for the delay. Found a few new nits, and several old ones did not get resolved, including:
noamr
left a comment
There was a problem hiding this comment.
Sorry for the missed comments, apparently some comments appear in the review pane and not in the comments pane...
domenic
left a comment
There was a problem hiding this comment.
LGTM. I did push one more commit to move the event interface back into event interfaces.
Since Gecko has been quite involved in reviewing this, and hasn't yet given a clear "LGTM", I'll give folks like @smaug---- and @zcorpan another day or two to weigh in before we merge. But I agree with your current assessment that there seems to be Gecko support, so unless I hear otherwise I'll default to merging soon.
Add
pagerevealevent, and thePageRevealEventinterface.The
pagerevealevent is fired at the beginning of the first rendering opportunity after activation (initial load or reactivation).It is a way for the author to execute some JS that affects the presentation "just in time" for the first frame.
If there is an inbound cross-document view transition, the reveal event holds a reference to the
ViewTransitionobject.Closes #9315.
pagerevealevent mdn/mdn#467(See WHATWG Working Mode: Changes for more details.)
/browsing-the-web.html ( diff )
/index.html ( diff )
/indices.html ( diff )
/infrastructure.html ( diff )
/nav-history-apis.html ( diff )
/webappapis.html ( diff )