gecko-dev/dom/events
Masayuki Nakano 0283c8daef Bug 1295354 part.1 ContentEventHandler::GetLastFrameInRangeForTextRect() shouldn't set nextNodeOfRangeEnd to the start node of aRange because the start node should always be in the range r=smaug
nextNodeOfRangeEnd is used for excluding unnecessary node for computing text rect.  When aRange ends at start of a text node, the frames which are created for the text node shouldn't be used.  However, if the end node of aRange is same as the start node of aRange, the node is not outside of aRange.

This could occur when it's called with empty range or there are some empty text nodes.

MozReview-Commit-ID: C1yCN5WrULe

--HG--
extra : rebase_source : 35d5b8feecd351bef29fe4af79a0f6f5bdad8bec
2016-08-16 14:37:40 +09:00
..
crashtests Bug 938341 - Crashtest. 2015-11-24 20:04:04 +01:00
test Bug 1293175 - [Pointer Event] Add Element.hasPointerCapture API. r=smaug 2016-08-10 15:31:43 +08:00
AnimationEvent.cpp Bug 1259655 - part 1 Rename WidgetEventTime::time to WidgetEventTime::mTime r=masayuki 2016-03-28 13:29:42 +09:00
AnimationEvent.h
AsyncEventDispatcher.cpp Bug 1283617 - remove QI call when constructing AsyncEventDispatchers from WidgetEvents; r=baku 2016-07-05 18:49:06 -04:00
AsyncEventDispatcher.h Bug 1263311: Part 3 - s/nsCancelableRunnable/CancelableRunnable/g. r=froydnj 2016-04-11 11:40:06 -07:00
BeforeAfterKeyboardEvent.cpp Bug 1288736 - Add some missing rv.SuppressException(), r=smaug 2016-07-22 16:50:10 +02:00
BeforeAfterKeyboardEvent.h
BeforeUnloadEvent.cpp
BeforeUnloadEvent.h
ClipboardEvent.cpp Bug 1259655 - part 1 Rename WidgetEventTime::time to WidgetEventTime::mTime r=masayuki 2016-03-28 13:29:42 +09:00
ClipboardEvent.h Bug 1224061: Make Event::InitEvent infallible. r=smaug 2015-11-13 08:09:42 +08:00
CommandEvent.cpp Bug 1259669 Rename WidgetCommandEvent::command to WidgetCommandEvent::mCommand r=masayuki 2016-05-12 13:28:31 +09:00
CommandEvent.h
CompositionEvent.cpp Bug 1275473 - Implement CompositionEvent.ranges. r=masayuki, r=smaug 2016-07-26 12:09:07 +02:00
CompositionEvent.h Bug 1275473 - Implement CompositionEvent.ranges. r=masayuki, r=smaug 2016-07-26 12:09:07 +02:00
ContentEventHandler.cpp Bug 1295354 part.1 ContentEventHandler::GetLastFrameInRangeForTextRect() shouldn't set nextNodeOfRangeEnd to the start node of aRange because the start node should always be in the range r=smaug 2016-08-16 14:37:40 +09:00
ContentEventHandler.h Bug 1286464 part.19 ContentEventHandler::OnQueryTextRect() should handle the case when queried range starts from the end of mRootContent r=smaug 2016-08-12 14:57:33 +09:00
CustomEvent.cpp Bug 1003432: Expose CustomEvent in Worker. r=smaug 2016-03-22 00:09:57 +08:00
CustomEvent.h Bug 1003432: Expose CustomEvent in Worker. r=smaug 2016-03-22 00:09:57 +08:00
DataContainerEvent.cpp Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
DataContainerEvent.h
DataTransfer.cpp Bug 1290688 - Part 3: Add the application/x-moz-file to the DataTransfer.types list even though the spec says not to for back-compat, r=baku 2016-08-15 13:16:15 -04:00
DataTransfer.h Bug 1264236 - Implement DataTransfer.getFiles, r=smaug 2016-07-09 11:21:42 +02:00
DataTransferItem.cpp Bug 1290688 - Part 1: Don't provide more than one type from the clipboard when pasting images, r=baku 2016-08-15 13:16:10 -04:00
DataTransferItem.h Bug 1289255 - Implement DataTransferItem.webkitGetAsEntry, r=baku 2016-07-29 14:42:33 +03:00
DataTransferItemList.cpp Bug 906420 - Part 3: Either expose files or strings generated by system drag or clipboard events to content, not both, r=baku 2016-07-04 15:45:45 -04:00
DataTransferItemList.h Bug 906420 - Part 3: Either expose files or strings generated by system drag or clipboard events to content, not both, r=baku 2016-07-04 15:45:45 -04:00
DeviceMotionEvent.cpp Bug 1222098 - Devicemotion event timestamp should return values from Android sensor API and not Gecko. r:smaug 2016-04-04 12:22:59 -05:00
DeviceMotionEvent.h Bug 1222098 - Devicemotion event timestamp should return values from Android sensor API and not Gecko. r:smaug 2016-04-04 12:22:59 -05:00
DOMEventTargetHelper.cpp Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj 2016-08-14 23:44:00 -07:00
DOMEventTargetHelper.h Bug 1282150 part 5. Kill off all the unused GetJSContextForEventHandlers cruft. r=bholley 2016-07-07 20:08:26 -04:00
DragEvent.cpp Bug 1259656 part.1 Rename WidgetEvent::refPoint to WidgetEvent::mRefPoint r=smaug 2016-04-18 23:09:02 +09:00
DragEvent.h Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Event.cpp Bug 1278838 - Remove separate worker binding for Performance API, r=smaug 2016-06-09 19:04:42 +02:00
Event.h Bug 1288898 - Document::createEvent sometimes creates events with the initialized flag set, r=masayuki 2016-07-29 19:45:52 +03:00
EventDispatcher.cpp Bug 1288898 - Document::createEvent sometimes creates events with the initialized flag set, r=masayuki 2016-07-29 19:45:52 +03:00
EventDispatcher.h Bug 1259656 part.5 Rename WidgetEvent::target to WidgetEvent::mTarget r=smaug 2016-04-19 00:46:00 +09:00
EventListenerManager.cpp Bug 991899 part 3 - Disable prefixed PointerLock API by default. r=smaug 2016-07-28 17:15:21 +10:00
EventListenerManager.h Bug 1287706 part 7 - Add support of AddEventListenerOptions.once. r=smaug 2016-07-28 12:00:06 +10:00
EventListenerService.cpp Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
EventListenerService.h
EventNameList.h Backed out 2 changesets (bug 1264769) for invalid-src.html wpt failures a=backout 2016-08-15 13:35:46 -07:00
EventStateManager.cpp Bug 1259665 part.3 Rename WidgetPointerEvent::isPrimary to mIsPrimary r=smaug 2016-08-03 17:34:53 +09:00
EventStateManager.h Bug 1162050 - Remove draggesture and eLegacyDragDrop from comments in EventStateManager.cpp/.h. r=enn 2016-05-27 15:43:17 -04:00
EventStates.h Bug 1287951: stylo: Add support for computing style hints from Servo. r=heycam 2016-07-21 16:57:52 -07:00
EventTarget.cpp Bug 1261673: Handle wheel event when mouse cursor is hovered on a focused number input as increasing/decreasing it's value. r=smaug 2016-05-06 18:39:10 +08:00
EventTarget.h Bug 1261673: Handle wheel event when mouse cursor is hovered on a focused number input as increasing/decreasing it's value. r=smaug 2016-05-06 18:39:10 +08:00
FocusEvent.cpp Bug 1259655 - part 1 Rename WidgetEventTime::time to WidgetEventTime::mTime r=masayuki 2016-03-28 13:29:42 +09:00
FocusEvent.h Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
ImageCaptureError.cpp
ImageCaptureError.h
IMEContentObserver.cpp Bug 1260651 part.59 Rename nsEditor to mozilla::EditorBase (and also their file names) r=mccr8 2016-07-08 13:10:13 +09:00
IMEContentObserver.h Bug 1282668 Get rid of nsIMEUpdatePreference::NOTIFY_SELECTION_CHANGE r=m_kato 2016-06-28 15:23:12 +09:00
IMEStateManager.cpp Bug 1286730 IMEStateManager::NotifyIME() should treat NOTIFY_IME_OF_COMPOSITION_EVENT_HANDLED same as the other notifications because all of them are notified by IMEContentObserver asynchronously r=smaug 2016-07-14 12:11:56 +09:00
IMEStateManager.h Bug 1275918 part.2 Update TextComposition::mCompositionStartOffset when it's modified in the remote process r=m_kato 2016-06-14 21:06:34 +09:00
InputEvent.cpp Bug 1259655 - part 1 Rename WidgetEventTime::time to WidgetEventTime::mTime r=masayuki 2016-03-28 13:29:42 +09:00
InputEvent.h
InternalMutationEvent.h
JSEventHandler.cpp Bug 1292892 part 1 - Stop using JSRuntime outside SpiderMonkey. r=bz,terrence,fitzgen,kanru 2016-08-11 14:39:22 +02:00
JSEventHandler.h summary: Bug 1231378 - part 5 - Fix uninitialized members of classes in dom/{workers,events,media,canvas}, r=smaug 2016-01-12 18:16:59 +00:00
KeyboardEvent.cpp Bug 1254755 part.4 Rename WidgetKeyboardEvent::location to WidgetKeyboardEvent::mLocation r=smaug 2016-05-12 18:17:22 +09:00
KeyboardEvent.h Bug 1110030 - part5 - Expose KeyboardEventInit dictionary. r=masayuki, r=smaug 2016-03-15 13:46:29 +08:00
KeyNameList.h Bug 1277234 - Rename key name VolumeUp to AudioVolumeUp. r=masayuki 2016-06-02 15:55:53 +02:00
MessageEvent.cpp Bug 1247679, part 3 - Replace NS_IMPL_CYCLE_COLLECTION_TRACE_JSVAL_MEMBER_CALLBACK with JS_MEMBER. r=smaug 2016-02-22 10:11:02 -08:00
MessageEvent.h Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
MouseEvent.cpp Bug 1259661 part.9 Rename WidgetMouseEvent::clickCount to WidgetMouseEvent::mClickCount r=smaug 2016-05-10 23:29:14 +09:00
MouseEvent.h Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
MouseScrollEvent.cpp Bug 1259656 part.1 Rename WidgetEvent::refPoint to WidgetEvent::mRefPoint r=smaug 2016-04-18 23:09:02 +09:00
MouseScrollEvent.h Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
moz.build Bug 1275473 - Implement CompositionEvent.ranges. r=masayuki, r=smaug 2016-07-26 12:09:07 +02:00
MutationEvent.cpp Bug 1260871 - Remove do_GetAtom() and rename NS_NewAtom() as NS_Atomize(). r=erahm. 2016-03-29 10:09:43 +11:00
MutationEvent.h
NotifyPaintEvent.cpp Bug 1262671 - void** -> PickleIterator (r=froydnj) 2016-05-27 09:57:38 -07:00
NotifyPaintEvent.h Bug 1262671 - void** -> PickleIterator (r=froydnj) 2016-05-27 09:57:38 -07:00
nsIEventListenerService.idl
PaintRequest.cpp
PaintRequest.h
PhysicalKeyCodeNameList.h
PointerEvent.cpp Bug 1259665 part.3 Rename WidgetPointerEvent::isPrimary to mIsPrimary r=smaug 2016-08-03 17:34:53 +09:00
PointerEvent.h
ScrollAreaEvent.cpp Bug 1262671 - void** -> PickleIterator (r=froydnj) 2016-05-27 09:57:38 -07:00
ScrollAreaEvent.h Bug 1262671 - void** -> PickleIterator (r=froydnj) 2016-05-27 09:57:38 -07:00
SimpleGestureEvent.cpp Bug 1259667 - part5: rename WidgetSimpleGestureEvent.delta to mDelta. r=masayuki 2016-05-10 04:16:55 +09:00
SimpleGestureEvent.h Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
SpeechRecognitionError.cpp Bug 1224061: Make Event::InitEvent infallible. r=smaug 2015-11-13 08:09:42 +08:00
SpeechRecognitionError.h Bug 1224061: Make Event::InitEvent infallible. r=smaug 2015-11-13 08:09:42 +08:00
StorageEvent.cpp Bug 1224061: Make Event::InitEvent infallible. r=smaug 2015-11-13 08:09:42 +08:00
StorageEvent.h Bug 1224061: Make Event::InitEvent infallible. r=smaug 2015-11-13 08:09:42 +08:00
TextClause.cpp Bug 1275473 - Implement CompositionEvent.ranges. r=masayuki, r=smaug 2016-07-26 12:09:07 +02:00
TextClause.h Bug 1275473 - Implement CompositionEvent.ranges. r=masayuki, r=smaug 2016-07-26 12:09:07 +02:00
TextComposition.cpp Bug 1277106 - Part 4: Remove MOZ_UTF16() macro. r=Waldo 2016-07-19 21:07:53 -07:00
TextComposition.h Bug 1275918 part.2 Update TextComposition::mCompositionStartOffset when it's modified in the remote process r=m_kato 2016-06-14 21:06:34 +09:00
Touch.cpp Bug 1234656 - Add TouchEvent ctor, r=mbrubeck 2015-12-29 15:46:18 +02:00
Touch.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
TouchEvent.cpp Bug 970346 - Add a DocShell attribute to override the default touch event options to a tab. r=bz 2016-07-18 10:26:38 -04:00
TouchEvent.h Bug 970346 - Add a DocShell attribute to override the default touch event options to a tab. r=bz 2016-07-18 10:26:38 -04:00
TransitionEvent.cpp Bug 1259655 - part 1 Rename WidgetEventTime::time to WidgetEventTime::mTime r=masayuki 2016-03-28 13:29:42 +09:00
TransitionEvent.h
UIEvent.cpp Bug 1262671 - void** -> PickleIterator (r=froydnj) 2016-05-27 09:57:38 -07:00
UIEvent.h Bug 1262671 - void** -> PickleIterator (r=froydnj) 2016-05-27 09:57:38 -07:00
VirtualKeyCodeList.h
WheelEvent.cpp Bug 1259656 part.1 Rename WidgetEvent::refPoint to WidgetEvent::mRefPoint r=smaug 2016-04-18 23:09:02 +09:00
WheelEvent.h Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
WheelHandlingHelper.cpp Bug 1259656 part.1 Rename WidgetEvent::refPoint to WidgetEvent::mRefPoint r=smaug 2016-04-18 23:09:02 +09:00
WheelHandlingHelper.h Add APZ support for mousewheel.acceleration prefs. (bug 1214170 part 1, r=kats) 2015-12-01 13:45:49 -08:00
XULCommandEvent.cpp Bug 1259655 - part 1 Rename WidgetEventTime::time to WidgetEventTime::mTime r=masayuki 2016-03-28 13:29:42 +09:00
XULCommandEvent.h Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00