[Webkit-unassigned] [Bug 54108] Layout stall waiting for external scripts to load

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Feb 12 12:09:50 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=54108





--- Comment #12 from Silvio <silvio.ventres at gmail.com>  2011-02-12 12:09:50 PST ---
Yes, you are correct in that it might cause broken layouts.
But, given the current situation, where 90% of the web developers don't have much clue regarding the async/defer and don't want to break anything by, f.e., deferring an ad script, the heuristic works surprisingly well.

What happens when a heuristically-deferred script cause a layout problem? Can the whole page be rerendered from null, using the already-cached resources?
Then adding a counter to see amount of such events during normal operation will allow to judge the actual impact of the heuristics.

You as well as anyone know that pushing responsibility to web developers won't cause any actual change. And even if they use it, there will be ones that break their own websites by using it. The percentage will probably be much higher than the amount of errors in layout caused by this patch. 

And you will have to add "quirks" to ignore those wrongly-added asyncs/defers..

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list