示例代码如下。当我点击DIV时为什么FORM元素的事件被触发了?即使我停止FORM元素的事件冒泡
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
</head>
<body>
<style>
body * {
margin: 10px;
border: 1px solid blue;
}
</style>
<form onclick="event.stopPropagation();alert('form')">FORM
<div>DIV
<p onclick="event.stopPropagation();alert('p')">P</p>
</div>
</form>
</body>
</html>
&#13;