gecko/layout/base
Kartikaya Gupta 3311542644 Bug 1181763 - Allow the target fluffing code to fluff even when directly hitting something clickable. r=roc
There is a common pattern on the web where a click listener is registered on a
container element high up in the DOM tree, and based on the target of the click
events, it performs the appropriate action. In such cases, our existing fluffing
code was not getting activated anywhere inside the container, because the entire
container was considered clickable. However, this is not user-friendly because
often the actual targets inside the container are small and hard to hit. Also,
the fluffing code will often take the container element itself as the target,
even if the user actually hit something inside the container.

This patch changes this behaviour so when an event hits inside a clickable
container, fluffing still occurs, but is restricted to DOM descendants of the
container. This allows fluffing to work in the above scenarios, and since the
events will bubble up to the container, the listeners on the container are
guaranteed to still trigger.
2015-07-17 08:36:00 -04:00
..
crashtests Backed out changeset acb7eb7f5ad4 (bug 1176496) for web compat problems 2015-07-15 23:37:22 +09:00
doc Bug 1110039 - Part 2.4 - Add AccessibleCaretEventHub. r=roc 2015-05-03 23:37:00 +02:00
gtest Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
tests Bug 1181763 - Allow the target fluffing code to fluff even when directly hitting something clickable. r=roc 2015-07-17 08:36:00 -04:00
AccessibleCaret.cpp Bug 1161392 - Enlarge touch area for AccessibleCaret. r=roc 2015-05-27 16:37:28 +08:00
AccessibleCaret.h Bug 1161392 - Enlarge touch area for AccessibleCaret. r=roc 2015-05-27 16:37:28 +08:00
AccessibleCaretEventHub.cpp Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange) 2015-06-04 16:51:10 -04:00
AccessibleCaretEventHub.h Bug 1110039 followup: Add 'override' keyword to Name() decl in AccessibleCaretEventHub's macro NS_IMPL_STATE_UTILITIES. rs=ehsan 2015-05-12 10:00:10 -07:00
AccessibleCaretLogger.cpp Bug 1163907 - Remove #ifdef PR_LOGGING in AccessibleCaretLogger 2015-05-11 23:05:00 +08:00
AccessibleCaretLogger.h Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj 2015-06-03 15:25:57 -07:00
AccessibleCaretManager.cpp Bug 1174600 - Fix first AccessibleCarets jumps to top of the screen when dragging. r=mtseng 2015-06-14 22:40:00 +08:00
AccessibleCaretManager.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
ActiveLayerTracker.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
ActiveLayerTracker.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
CaretAssociationHint.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
DisplayItemClip.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
DisplayItemClip.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
DisplayListClipState.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
DisplayListClipState.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
FrameLayerBuilder.cpp Bug 1182963 - Use nsTHashTable::Iterator in FrameLayerBuilder. r=roc,njn 2015-07-15 17:05:06 +08:00
FrameLayerBuilder.h Bug 1182963 - Use nsTHashTable::Iterator in FrameLayerBuilder. r=roc,njn 2015-07-15 17:05:06 +08:00
FramePropertyTable.cpp Bug 1182963 - Use nsTHashTable::Iterator in FramePropertyTable. r=njn 2015-07-15 17:05:06 +08:00
FramePropertyTable.h Bug 1182963 - Use nsTHashTable::Iterator in FramePropertyTable. r=njn 2015-07-15 17:05:06 +08:00
GeometryUtils.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
GeometryUtils.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
LayerState.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
LayoutLogging.cpp Bug 1175289 - Part 1: Add LAYOUT_WARNING. r=mats 2015-06-16 16:37:14 -07:00
LayoutLogging.h Bug 1175289 - Part 1: Add LAYOUT_WARNING. r=mats 2015-06-16 16:37:14 -07:00
MaskLayerImageCache.cpp Bug 1182963 - Use nsTHashTable::Iterator in MaskLayerImageCache. r=njn 2015-07-15 17:05:06 +08:00
MaskLayerImageCache.h Bug 1182963 - Use nsTHashTable::Iterator in MaskLayerImageCache. r=njn 2015-07-15 17:05:06 +08:00
moz.build Bug 1174711 - patch 1 - Rename nsIPercentHeightObserver to nsIPercentBSizeObserver, and update related frame methods to match. r=dholbert 2015-06-22 10:33:34 +01:00
nsArenaMemoryStats.h Bug 1168299 - Break out style struct memory usage reporting from pres-shell. r=njn 2015-05-27 12:08:42 +10:00
nsAutoLayoutPhase.cpp
nsAutoLayoutPhase.h
nsBidi.cpp Bug 1173415 - Fix incorrect mask used for nsBidi::mFlags [r=smontagu] 2015-06-11 10:10:48 -07:00
nsBidi.h Bug 1157726: Updated algorithm to match ICU implementation of support for bidi isolates. r=smontagu 2015-04-28 22:41:44 -04:00
nsBidiPresUtils.cpp Bug 1131451 part 2 - Respect the container height when converting vertical-RTL inline-direction coordinates. r=dholbert 2015-07-16 10:08:05 +01:00
nsBidiPresUtils.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
nsCaret.cpp Bug 1164693 - Part 1: Directional caret should point in caret direction in bidi paragraphs. r=smontagu 2015-06-05 21:44:54 -04:00
nsCaret.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
nsChangeHint.h Bug 1169440 patch 3 - Add nsChangeHint_ReflowChangesSizeOrPosition. r=heycam 2015-06-20 21:54:15 -07:00
nsCompatibility.h
nsCounterManager.cpp
nsCounterManager.h
nsCSSColorUtils.cpp
nsCSSColorUtils.h
nsCSSFrameConstructor.cpp Bug 1182496 - Don't create frames for SVG <text> descendants with failing conditional processing attributes. r=dholbert 2015-07-17 11:29:22 +10:00
nsCSSFrameConstructor.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
nsCSSRendering.cpp Backed out changeset acb7eb7f5ad4 (bug 1176496) for web compat problems 2015-07-15 23:37:22 +09:00
nsCSSRendering.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
nsCSSRenderingBorders.cpp Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan 2015-06-17 10:00:52 -04:00
nsCSSRenderingBorders.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
nsDisplayItemTypes.h
nsDisplayItemTypesList.h
nsDisplayList.cpp Bug 1180899 - Do not clobber frame metrics on the root layer added during a previous paint if there is no other frame metrics for the root scroll frame. r=tn 2015-07-13 17:48:14 -04:00
nsDisplayList.h Bug 1183085 - Update description for nsDisplayList methods; r=roc 2015-07-13 21:44:11 +08:00
nsDisplayListInvalidation.cpp Bug 1175217 - Fix non-unified (and some unified) builds for nsDisplayListInvalidation.cpp. r=mstange 2015-06-16 15:16:30 -04:00
nsDisplayListInvalidation.h Bug 1157951 patch 1 - Rename fields and variables in nsCharClipDisplayItem etc using VisIStart/End instead of left/right. r=roc 2015-04-29 08:18:53 +01:00
nsDocumentViewer.cpp Bug 1169512 - Add and remove quirk.css rather than enable and disable a clone of it. r=jwatt 2015-06-26 13:49:58 +10:00
nsFrameManager.cpp Bug 1174631 (part 4) - Replace nsFrameManager's uses of PL_DHashTableEnumerate() with PLDHashTable::Iterator. r=dholbert. 2015-06-16 21:09:39 -07:00
nsFrameManager.h
nsFrameManagerBase.h Bug 1170416 (part 3) - Remove the PLDHashTable2 typedef. r=froydnj. 2015-05-19 16:46:17 -07:00
nsFrameTraversal.cpp Bug 1132518, add a flag to nsIFrameTraversal to skip the popup checks, r=mats 2015-07-13 06:07:49 -04:00
nsFrameTraversal.h Bug 1132518, add a flag to nsIFrameTraversal to skip the popup checks, r=mats 2015-07-13 06:07:49 -04:00
nsGenConList.cpp
nsGenConList.h
nsIDocumentViewerPrint.h
nsIFrameTraversal.h Bug 1132518, add a flag to nsIFrameTraversal to skip the popup checks, r=mats 2015-07-13 06:07:49 -04:00
nsILayoutDebugger.h
nsILayoutHistoryState.h
nsIPercentBSizeObserver.h Bug 1174711 - patch 1 - Rename nsIPercentHeightObserver to nsIPercentBSizeObserver, and update related frame methods to match. r=dholbert 2015-06-22 10:33:34 +01:00
nsIPresShell.h Bug 941858 - Do not scale down elements passed to setDragImage. r=roc 2015-07-11 10:15:19 -06:00
nsIReflowCallback.h
nsIStyleSheetService.idl
nsLayoutDebugger.cpp
nsLayoutHistoryState.cpp
nsLayoutUtils.cpp Bug 1131451 part 1 - Replace containerWidth with containerSize in logical-coordinate classes and APIs, frame classes, etc. r=dholbert 2015-07-16 10:07:57 +01:00
nsLayoutUtils.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
nsPresArena.cpp Bug 1182963 - Use nsTHashTable::Iterator in nsPresArena. r=njn 2015-07-15 17:05:06 +08:00
nsPresArena.h Bug 1182963 - Use nsTHashTable::Iterator in nsPresArena. r=njn 2015-07-15 17:05:06 +08:00
nsPresContext.cpp Bug 1182963 - Use nsTHashTable::Iterator in nsPresContext. r=njn 2015-07-15 17:05:07 +08:00
nsPresContext.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
nsPresShell.cpp Bug 1182963 - Use nsTHashTable::Iterator in nsPresShell. r=njn 2015-07-15 17:05:06 +08:00
nsPresShell.h Bug 941858 - Do not scale down elements passed to setDragImage. r=roc 2015-07-11 10:15:19 -06:00
nsPresState.h
nsQuoteList.cpp
nsQuoteList.h
nsRefreshDriver.cpp Bug 1182963 - Use nsTHashTable::Iterator in nsRefreshDriver. r=njn 2015-07-15 17:05:06 +08:00
nsRefreshDriver.h Bug 1182963 - Use nsTHashTable::Iterator in nsRefreshDriver. r=njn 2015-07-15 17:05:06 +08:00
nsStyleChangeList.cpp
nsStyleChangeList.h
nsStyleSheetService.cpp Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
nsStyleSheetService.h
PaintTracker.cpp
PaintTracker.h
PositionedEventTargeting.cpp Bug 1181763 - Allow the target fluffing code to fluff even when directly hitting something clickable. r=roc 2015-07-17 08:36:00 -04:00
PositionedEventTargeting.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
RestyleLogging.h
RestyleManager.cpp Bug 1183896. Don't assume that relatively positioned table cells actually have positioned offsets computed, because in the case of position:sticky they don't. r=dholbert 2015-07-16 17:53:52 -04:00
RestyleManager.h Bug 1164338 - Move styles markers to be generated in DoProcessRestyles rather than when the Flush_Style queue is flushed. r=smaug,heycam 2015-05-18 16:03:04 -07:00
RestyleTracker.cpp Bug 1178833 - Fix for unified builds when a new file is added to layout/base. r=mstange 2015-06-30 14:49:03 -04:00
RestyleTracker.h
RestyleTrackerInlines.h
ScrollbarStyles.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
ScrollbarStyles.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
SelectionCarets.cpp Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange) 2015-06-04 16:51:10 -04:00
SelectionCarets.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
StackArena.cpp
StackArena.h
TouchCaret.cpp Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj 2015-06-03 15:25:57 -07:00
TouchCaret.h Bug 988143 - Enable Gecko Touch in Fennec, TouchCaret Scroll mods, r=ehsan 2015-05-14 22:06:13 -04:00
TouchManager.cpp
TouchManager.h
Units.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
UnitTransforms.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
WordMovementType.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
ZoomConstraintsClient.cpp Bug 1055557 - Add a ZoomConstraintsClient class to manage pushing zoom constraints updates to the APZ code. r=botond 2015-06-17 12:32:42 -04:00
ZoomConstraintsClient.h Bug 1055557 - Add a ZoomConstraintsClient class to manage pushing zoom constraints updates to the APZ code. r=botond 2015-06-17 12:32:42 -04:00