I think that we could use <a> for links, not <div>.
Created attachment 220004 [details] proposed fix I think that this makes the code noticeably simpler, although I do not know if forcing display:block is a good idea. Without display:block, the label line becomes a few pixels higher, breaking layout. Is there another way around that?
Committed <http://trac.webkit.org/r161092>.