Current time: 06-20-2019, 03:31 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
strange event order: 1. DOM inter. 2. Doc complete 3. RUM FP 4. Starts render
02-14-2019, 09:31 PM
Post: #1
Question strange event order: 1. DOM inter. 2. Doc complete 3. RUM FP 4. Starts render
[Image: 0FE83m4.png]

My event order is:
  1. DOM interactive
  2. Document complete
  3. RUM First Paint
  4. Starts render

Shouldn't it be:

  1. RUM First Paint || Starts render
  2. DOM interactive
  3. Document complete

Why do I have such strange order of events?
Find all posts by this user
Quote this message in a reply
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.
Visit this user's website Find all posts by this user
Quote this message in a reply
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
Find all posts by this user
Quote this message in a reply
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).
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)