The browser CRP, or Critical Rendering Path, is the fundamental sequence of steps required to get the "glorified text files" of HTML, CSS, and JS, from lines of text in a file, to pixels in a browser.
HTTP request-response cycle resulting in HTTP response body containing HTML string.
Parse of HTML, turning it into the DOM in the browser. This is an incremental process that can involve additional requests for additional payloads that affect the construction of the DOM. For example, additional CSS and JS files can be requests, and the JS file could itself manipulate the DOM.
Further parsing of the HTML, this time focused on CSS and generating the CSSOM in the browser
Processing the DOM and CSSOM to determine what is to be rendered, thereby generating the "render tree".
Use the "render tree" of what ought to be rendered, and process it to calculate what the layout of the page ought to be, accounting for z-index layering, entity widths and heights and colors, etc. This is the "layout tree".
Turning the "layout tree" into "painted pixels" in the browser. I'm unaware of a name for this step.
nodejs on the server. You could then