[Webkit-unassigned] [Bug 51354] Don't block rendering and script execution on deferred stylesheets

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 20 17:06:21 PST 2010


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





--- Comment #11 from Alexey Proskuryakov <ap at webkit.org>  2010-12-20 17:06:20 PST ---
Apparently, we're breaking scripts that access "unnecessary" stylesheets via CSSOM before a load event fires. I'm ready to accept that level of brokenness, even though debugging will be a huge pain if this breaks a live Web site (clearly, the problem would be intermittent). If you can think of any remedy, that would be great.

> Ok, that is easy to fix. Anything else?

I didn't notice anything else when looking through the patch. Those hardcoded "screen" and "print" were commanding most attention.

One thing that seemed worth double checking was whether the document pending sheet count was used for anything else. It can get ugly if it is, or if someone reuses it later. Speaking of which, it looks like a comment in Document.h really needs to be updated.

> This patch should have no impact on when load events fire.

Is this covered by existing regression tests? Seems important enough to add a new test if it isn't.

-- 
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