HTML rendering is the process by which a web browser parses HTML and CSS and draws it on the user's screen.
Questions tagged [html-rendering]
373 questions
8
votes
1 answer
SVG element rendering quality
I have a SVG canvas which user can select and resize some elements inside. And I use preserveAspectRatio="xMidYMid meet" attribute value to keep the original aspect ratio. The original image sources are mostly 256x256px size. On Firefox and…

Noldor
- 1,122
- 9
- 22
8
votes
3 answers
python / django - bidi brackets issue in html select list
I am running python2.7 with django 1.4.
I have the following code in my views.py page which returns the language names in a select list:
python code: (views.py)
available_languages = []
for lv in language_versions:
language =…

user1261774
- 3,525
- 10
- 55
- 103
8
votes
2 answers
Is DOM rendering GUARANTEED to block during a single (synchronous) function's execution?
DOM blocking is something many people not familiar with JavaScript's strictly single-threaded synchronous execution model find out about the hard way, and it's usually just something we want to work around somehow (using timeouts, web-workers, etc).…

rubyruy
- 7,752
- 3
- 19
- 15
7
votes
4 answers
Is a bulleted list item always indented exactly 1.8em?
I made a css-only dropdown menu. The requirement was to have a horizontal bar of items that can each drop down a vertical menu. Furthermore, those items should not drop a tertiary menu, but instead just show bulleted lists. My html has three nested…

Philip Daubmeier
- 14,584
- 5
- 41
- 77
7
votes
1 answer
How does a browser render the actual pixels
I am looking for an explanation about how a browser renders / paints the actual pixels on your screen.
I found this answer that contains this great image on how a browser goes from html and css to an actual representation on the screen.
But this…

FutureCake
- 2,614
- 3
- 27
- 70
7
votes
2 answers
Render formatted (unminified) HTML in React (SSR with Next.js)
How can I render formatted (unminified) HTML in React (SSR with Next.js)?
Expected output:
Now receiving:
TY!

Nikola Knežević
- 99
- 1
- 2
- 9
7
votes
5 answers
How do I know when HTML has fully rendered
case 1:
I load a very large HTML page that includes a lot of complex layout and fonts.
The page will take some unknown time to render.
case 2:
I use jquery .html() function to make significant changes to my DOM.
The modified DOM will take some…

GroovyDotCom
- 1,304
- 2
- 15
- 29
7
votes
1 answer
Update the DOM vs Rerender the View In Angular
I am following https://docs.angularjs.org/guide/scope.
5.The $watch list detects a change on the name property and notifies the interpolation, which in turn updates the DOM.
6.Angular exits the execution context, which in turn exits the keydown…

Shreyansh Bele
- 529
- 1
- 5
- 14
6
votes
2 answers
Why does the browser wait to end loading the page?
Can anyone explain me why those spaces (marked with ?) are there? They are delaying the page loading. I thought it could be the page/script parsing time, but ~350ms looks too much for a simple page; Okay, there're lots of script, but it still looks…

Diego Jancic
- 7,280
- 7
- 52
- 80
6
votes
1 answer
Mustachejs render html markup as html
We are converting an old CMS using Mustachejs.
The BODY of the content contains some html elements:
Mickey Mouse is a funny animal cartoon character created in 1928 by Walt Disney.
We we apply the value to Mustachejs like…

Ravi Ram
- 24,078
- 21
- 82
- 113
5
votes
2 answers
How to fix inconsistent rendering of adjacent TD borders when they are collapsed?
I have an HTML table with collapsed and adjacent borders and a standard border on all cells and I want to change the border color of a specific row to something else. The problem is that when the borders are collapsed and neighboring cells have…

Jon
- 428,835
- 81
- 738
- 806
5
votes
2 answers
Do any web browsers garbage collect removed dom elements? (as opposed to Javascript objects)
If one made a web application that never refreshed a page but was built completely from the first page plus Javascript requests, thereby creating and destroying elements as required, would any of the browsers reuse the memory used by the obsolete…

barrymac
- 2,750
- 1
- 20
- 32
5
votes
3 answers
Why isn't html rendering on my web browser?
It just appears like this in Google Chrome:
Hello World!
Hello World!
Why isn't it transforming as expected?
Edit: Yes the file does…
Hello World!
Welcome to My Web Server.
Why isn't it transforming as expected?
Edit: Yes the file does…
Chucky
- 1,701
- 7
- 28
- 62
5
votes
2 answers
How can I render custom widget according to html tags using flutter_html package?
I have a HTML document and I want to render it with Flutter using flutter_html plugin. I want to render different typography differently. Eg. I want to have different font and size for bold and different for non-bold.
I tried reading the…

Sailesh Dahal
- 159
- 1
- 9
5
votes
0 answers
Why is my JavaScript search MUCH slower if the previous search returned many results?
I have a really strange effect in a web app I wrote. The number of current search results has a huge impact on the speed of the next search, even though the search does in no way use the result list.
I'm not sure how much code I should post here to…

Felix Dombek
- 13,664
- 17
- 79
- 131