Should blur or mousedown fire first?

后端 未结 2 1975
清酒与你
清酒与你 2021-01-05 09:34





<
2条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-05 09:46

    Oh gosh, that is a neverending story. I don't want to know how many hours I spent to figure that behavior correctly. As you mentioned, it behaves differently, so there actually is no "correct". However I'm not that much aware of the W3C spec about this particular instance (if there actuall is one?), but for know, you have to create some logic to have things fired in the correct order. It's pretty disgusting tho.

提交回复
热议问题