Avoid firing load events on style elements if there is no listeners for that

This could save 10-20ms in the case (with ShadowRoot) of the bug 699838.
See bug 713562 for details.

We can do the similar technique for load events on img elements. That can be done
as another CL.

BUG=367276

Review-Url: https://codereview.chromium.org/2833733002
Cr-Commit-Position: refs/heads/master@{#466863}
5 files changed