DescriptionAvoid 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}
Committed: https://chromium.googlesource.com/chromium/src/+/bbd49ad1a5a9d48eda803b3d77ea765ca7748cff
Patch Set 1 #Patch Set 2 : try #Patch Set 3 : try #Patch Set 4 : fix style #Patch Set 5 : fix style #
Total comments: 2
Messages
Total messages: 35 (26 generated)
|