2021-06-18
3441
#css#html#vanilla javascript
Ohans Emmanuel
300
Jun 18, 2021 ⋅ 12 min read

How browser rendering works — behind the scenes

Ohans Emmanuel Visit me at ohansemmanuel.com to learn more about what I do!

Recent posts:

How to use CSS line-clamp to trim lines of text

Master the CSS line-clamp property. Learn how to truncate text lines, ensure cross-browser compatibility, and avoid hidden UX pitfalls when designing modern web layouts.

Daniel Schwarz
Oct 30, 2025 ⋅ 3 min read
7 react Hooks you need to know

7 custom React Hooks every developer should be using

Discover seven custom React Hooks that will simplify your web development process and make you a faster, better, more efficient developer.

Murat Yüksel
Oct 30, 2025 ⋅ 8 min read
Understanding Promise.all in JavaScript

Is Promise.all still relevant in 2025?

In 2025, async JavaScript looks very different. With tools like Promise.any, Promise.allSettled, and Array.fromAsync, many developers wonder if Promise.all is still worth it. The short answer is yes — but only if you know when and why to use it.

Leonardo Maldonado
Oct 29, 2025 ⋅ 7 min read
the replay october 29

The Replay (10/29/25): Tiny AI agents, Next.js 16, and more

Discover what’s new in The Replay, LogRocket’s newsletter for dev and engineering leaders, in the October 29th issue.

Matt MacCormack
Oct 29, 2025 ⋅ 34 sec read
View all posts

30 Replies to "How browser rendering works — behind the scenes"

  1. So there are various engines in the browser: 1. The browser engine, 2. The rendering engine, 3. The JavaScript Engine
    These are the three main engines. The V8 engine is an example of a JavaScript engine. Chrome uses the V8 engine, Safari uses JavaScriptCore, and Firefox uses SpiderMonkey

  2. If you extract the inline to an external local file , the behavior is not the same.

    “`html

    body,
    html {
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    }

    1

    <!– http://./1.js –>

    i = 0;
    do {
    i++;
    } while (i < 1000000000)
    matrix.innerText = i;

    2

    “`

  3. this is absolutely an amazing article .these single article has cleared couple of doubts that have been tinkering in my mind for a longtime.Absolutely amazing,great work.thankyou!!!!!!!!

  4. Amazing article! Worth the read. The examples and the diagramatic explanation makes people understand the functionality much easily.

  5. Great post indeed, I loved to read it as it provides all the necessary details of what I was searching for. Thanks for great information you write it very clean. I am very lucky to get these tips from you.

Leave a Reply

Would you be interested in joining LogRocket's developer community?

Join LogRocket’s Content Advisory Board. You’ll help inform the type of content we create and get access to exclusive meetups, social accreditation, and swag.

Sign up now