[Webkit-unassigned] [Bug 38995] link element for CSS stylesheet should emit load event when sheet loads
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Feb 21 12:38:59 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=38995
--- Comment #20 from Adam Barth <abarth at webkit.org> 2012-02-21 12:38:58 PST ---
(From update of attachment 127530)
View in context: https://bugs.webkit.org/attachment.cgi?id=127530&action=review
> Source/WebCore/html/HTMLLinkElement.cpp:60
> +typedef EventSender<HTMLLinkElement> LoadEventSender;
> +static LoadEventSender& loadEventSender()
> +{
> + DEFINE_STATIC_LOCAL(LoadEventSender, sharedLoadEventSender, (eventNames().loadEvent));
> + return sharedLoadEventSender;
> +}
Woah, shared across all of WebKit. Crazy.
> Source/WebCore/html/HTMLLinkElement.h:66
> + void dispatchPendingEvent(EventSender<HTMLLinkElement>*);
Should we create a typedef for EventSender<HTMLLinkElement> like we did in the image case?
> Source/WebCore/html/HTMLStyleElement.cpp:40
> +typedef EventSender<HTMLStyleElement> LoadEventSender;
Ah, I see we do here. It might be worth moving this to the header.
--
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