2 ms·
"Opera's parser will pause until that script has loaded" I read this as working like IE6 loading a standard SCRIPT tag in HTML. When the parser hits it all HTM
by driverdan 15y ago
"Opera's parser will pause until that script has loaded"
I read this as working like IE6 loading a standard SCRIPT tag in HTML. When the parser hits it all HTML parsing stops, waits for the script to download, parse, and run, then resumes. While slow it works for inline HTML parsing.
Dynamically loaded scripts, such as what Opera is describing, shouldn't cause the HTML parser to pause while the script is downloading and parsing. IMO this is a pretty big bug considering how popular dynamically appending scripts has become (eg Google Analytics async loader).