Skip to content

Commit

Permalink
We ❤️ HTML.
Browse files Browse the repository at this point in the history
  • Loading branch information
csswizardry committed Aug 14, 2024
1 parent eedd288 commit 13f6064
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion _posts/2024-08-14-blocking-render-why-whould-you-do-that.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,15 @@ Visually, this is how that process looks for each scenario:

<figure>
<img src="{{ site.cloudinary }}/wp-content/uploads/2024/08/blocking-status.png" alt="" width="750" height="424">
<figcaption>A non-, render-, and parser-blocking file in an HTML document.</figcaption>
<figcaption>
A non-, render-, and parser-blocking file in an HTML document. Imagine the
downloading file (pink) is in the <code>&lt;head&gt;</code>—even though you can
never see <code>&lt;head&gt;</code> tags or their children, they still get
rendered just like any other HTML, they’re just set to <code>display:
none;</code>. That said, these diagrams also apply to a downloading file (pink)
that is in the middle of the <code>&lt;body&gt;</code>. HTML is parsed
line-by-line and is very predictable. We ❤️ HTML.
</figcaption>
</figure>

### Blocking Files
Expand Down

0 comments on commit 13f6064

Please sign in to comment.