Why gmail buttons is “div” tag and not “button” tag?
The gmail button code from chrome firebug:
<div id=":or" class="T-I J-J5-Ji ar7 T-I-ax7 L3 T-I-JO" role="button" tabindex="0" aria-expanded="false" style="-webkit-user-select: none; " aria-haspopup="true">
<span class="Ykrj7b">More</span>
<div class="G-asx T-I-J3 J-J5-Ji"></div>
</div>
Thanks in advance,
Yosef
I would assume its Google going to insane depths over performance, as behind the scenes the
buttonelement has one of the longer trips through the WebKit stack.As shown in this video by Alex Russell.