strange event order: 1. DOM inter. 2. Doc complete 3. RUM FP 4. Starts render
|
02-14-2019, 09:31 PM
Post: #1
|
|||
|
|||
![]() ![]() My event order is:
Shouldn't it be:
Why do I have such strange order of events? |
|||
02-15-2019, 03:28 AM
Post: #2
|
|||
|
|||
RE: strange event order: 1. DOM inter. 2. Doc complete 3. RUM FP 4. Starts render
Not necessarily. Layout and painting are done lazily and relatively asynchronously (and it can take a while to actually do the layout and render). If your HTML and included resources load fast enough it is entirely possible for the browser to complete loading technically without having painted anything to the screen yet.
|
|||
02-18-2019, 02:16 AM
Post: #3
|
|||
|
|||
RE: strange event order: 1. DOM inter. 2. Doc complete 3. RUM FP 4. Starts render
My deduction from your answer is, that maybe I understand improperly what is what.
What exactly is DOM interactive? I couldn't find info in DOCs. sites.google.com/a/webpagetest.org/docs/system/app/pages/search?scope=search-site&q=dom+interactive |
|||
02-18-2019, 02:56 AM
Post: #4
|
|||
|
|||
RE: strange event order: 1. DOM inter. 2. Doc complete 3. RUM FP 4. Starts render
DOM Interactive is a spec'd standard: https://developer.mozilla.org/en-US/docs...nteractive
It's basically when the parser completes processing the HTML (before firing the DOMContentLoaded handlers if I remember right). |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)