As noted in the review of https://bugs.webkit.org/show_bug.cgi?id=58369, when HTMLMediaElement checks attribute values style attributes and SVG animated attributes are not involved so it would be faster to use fastHasAttribute instead of hasAttribute.
<rdar://problem/10061390>
Created attachment 105999 [details] Proposed patch
Comment on attachment 105999 [details] Proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=105999&action=review > Source/WebCore/ChangeLog:8 > + No new tests required, this is just an optimization. It would be nice if your change log explained why it's better, for those of us following along.
http://trac.webkit.org/changeset/94344