зеркало из https://github.com/mozilla/gecko-dev.git
Bug 312642 followup: move the click/mousedown event handlers to the bubbling phase to make dealing with anonymous content easier, r=neil
This commit is contained in:
Родитель
32a3f7d344
Коммит
6e0d006082
|
@ -146,7 +146,7 @@
|
|||
]]>
|
||||
</handler>
|
||||
|
||||
<handler event="mousedown" phase="capturing">
|
||||
<handler event="mousedown">
|
||||
<![CDATA[
|
||||
this.mIgnoreClick = this.hasAttribute("focused");
|
||||
|
||||
|
@ -157,7 +157,7 @@
|
|||
]]>
|
||||
</handler>
|
||||
|
||||
<handler event="click" phase="capturing">
|
||||
<handler event="click">
|
||||
<![CDATA[
|
||||
if (!this.mIgnoreClick && this.clickSelectsAll &&
|
||||
this.inputField.selectionStart == this.inputField.selectionEnd)
|
||||
|
|
Загрузка…
Ссылка в новой задаче