gecko-dev/content
Kyle Huey 41e8bbcab3 Bug 646157: Prevent 2^n growth in event dispatch in a chain of nested labels. r=smaug
Prior to this patch, Gecko allowed bubbling click events to trigger multiple <label>s, and for the synthetic click events generated by <label>s to also trigger additional <label>s.  In contrast, Opera allows only the latter, and Webkit/IE allow neither.  Gecko's behavior leads to 2^n events being dispatched in the case of markup like:

<label for="thing1" /><input type="foo" name="thing1" />
<label for="thing2" /><input type="foo" name="thing2" />
...

After this patch a bubbling click event triggers at most one <label>, and the synthetic click event cannot trigger additional labels.  Our behavior is still not identical to Webkit/IE though, because in Gecko a click event will still bubble up past a <label>, while in Webkit/IE the click event will stop at the <label>.
2011-07-19 09:19:32 -07:00
..
base Bug 646157: Prevent 2^n growth in event dispatch in a chain of nested labels. r=smaug 2011-07-19 09:19:32 -07:00
canvas Bug 670260 [OS/2] add WebGLExtension to WebGLContextNotSupported r=vlad 2011-07-14 13:30:12 -07:00
events Merge the last green changeset on mozilla-inbound to mozilla-central 2011-07-15 08:13:08 -04:00
html Bug 646157: Prevent 2^n growth in event dispatch in a chain of nested labels. r=smaug 2011-07-19 09:19:32 -07:00
mathml Bug 427990 Gecko part - Make XLink href work on MathML element. r=jonas. 2011-06-24 14:54:28 +02:00
media Bug 671438 - Make nsOggCodecState::PacketOutUntilGranulepos() return an error on failure. r=doublec 2011-07-19 09:36:30 +12:00
smil Bug 671749 - Rename incorrectly named SMIL crashtest 665335-1.svg to 665334-1.svg, r=dholbert 2011-07-19 09:23:21 +09:00
svg Bug 669155 - animation of filterRes does not result in layout being refreshed. r=jwatt 2011-07-08 18:10:07 +01:00
test Bug 659053 Part 2: Implement a faster non-recursive Node.isEqualNode directly on nsINode. r=peterv. Fixes were r=bent 2011-06-14 00:56:48 -07:00
xbl Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
xml Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
xslt Fix for bug 667315 (Make unknown handler forward to new handler). r=sicking. 2011-07-01 12:55:05 +02:00
xtf Bug 658714 Part 7: DeCOMtaminate nsEventListenerManager. r=smaug 2011-06-23 19:18:01 -07:00
xul Bug 579571 - Remove --enable-timeline support. r=tglek 2011-07-17 12:07:42 +02:00
Makefile.in Bug 614515 - Remove MOZ_SVG conditions. r=roc 2011-05-30 09:34:50 +02:00