gecko-dev/layout/generic
Masayuki Nakano 0ef47eccb5 Bug 1347809 Set Selection::mCalledByJS to false before moving focus in NotifySelectionListeners() because non-*JS() methods don't set it to false r=smaug
Currently, Selection::NotifySelectionListeners() moves focus before setting mCalledByJS to false.  Therefore, if moving focus causes some calls of internal Selection methods, it may cause moving focus due to mCalledByJS being still true.  So, mCalledByJS should be set to false before moving focus in NotifySelectionListeners().

MozReview-Commit-ID: F879bOmhZlv

--HG--
extra : rebase_source : 80790d24f1c78d9aeb20e5735e0c7c45111e69b3
2017-03-16 17:15:20 +09:00
..
crashtests Merge inbound to central, a=merge 2017-03-14 17:18:59 -07:00
test Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
AsyncScrollBase.cpp
AsyncScrollBase.h
BlockReflowInput.cpp Bug 775624 Part 22 - Remove NS_FRAME_COMPLETE. r=dholbert 2017-02-14 17:55:48 +08:00
BlockReflowInput.h Bug 1338443 Part 1 - Use ReflowInput's float manager in BlockReflowInput. r=dholbert 2017-02-09 16:59:07 +08:00
BRFrame.cpp Bug 775624 Part 22 - Remove NS_FRAME_COMPLETE. r=dholbert 2017-02-14 17:55:48 +08:00
broken-image.png
CSSAlignUtils.cpp Bug 1321387 part 4: Add #includes to some .cpp files in layout/generic, to provide types/definitions used in those files. r=TYLin 2016-11-30 14:51:12 -08:00
CSSAlignUtils.h Bug 1321387 part 6: Add #includes & forward declarations to some headers in layout/generic, to provide types used in those files. r=TYLin 2016-11-30 14:52:26 -08:00
DetailsFrame.cpp Bug 1321166 - Wrap DetailsFrame's definition and implementation in mozilla namespace. r=dholbert 2016-12-01 13:18:03 +08:00
DetailsFrame.h Bug 1321166 - Wrap DetailsFrame's definition and implementation in mozilla namespace. r=dholbert 2016-12-01 13:18:03 +08:00
folder.png
frame-graph.py
FrameChildList.cpp
FrameChildList.h Bug 1317430 - Avoid a unnecessary copy by passing a const & in layout/ r=mstange 2016-11-15 17:30:59 +01:00
jar.mn
JustificationUtils.h Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
loading-image.png
MathMLTextRunFactory.cpp Bug 1280887 - patch 2 - Make gfxTextRun refcounted, replace usage of UniquePtr<> with RefPtr<> for textruns, and make nsTextFrame hold a strong reference to its run(s). r=mats 2016-08-19 13:14:22 +01:00
MathMLTextRunFactory.h Bug 1321387 part 3: Add "mozilla::" namespace prefix to some types in header files. r=TYLin 2016-11-30 14:50:22 -08:00
moz.build Bug 1304598 Part 7 - Move BRFrame to mozilla namespace, and rename nsBRFrame.cpp to BRFrame.cpp. r=dholbert 2016-11-30 11:14:29 +08:00
nsAbsoluteContainingBlock.cpp Bug 775624 Part 22 - Remove NS_FRAME_COMPLETE. r=dholbert 2017-02-14 17:55:48 +08:00
nsAbsoluteContainingBlock.h Bug 1269046 part 2: Spin out a helper function to hold nsAbsoluteContainingBlock's code for resolving abspos offsets. r=mats 2016-10-31 08:58:18 -07:00
nsAtomicContainerFrame.h
nsAutoCopyListener.h Bug 1261299 - Add new clipboard kSelectionCache to cache the current selection for OSX service menu. Add a constructor to nsAutoCopyListener which sets the clipboard to copy to. Pass in kSelectionCache for OSX or kSelectionClipboard for linux. r=mstange 2016-06-03 12:04:22 -04:00
nsBackdropFrame.cpp Bug 775624 Part 22 - Remove NS_FRAME_COMPLETE. r=dholbert 2017-02-14 17:55:48 +08:00
nsBackdropFrame.h Bug 1300369 part 4 - Refactor all ComputeAutoSize methods to take the full ComputeSizeFlags instead of just a "bool aShrinkWrap" for the eShrinkWrap flag (idempotent patch). r=dholbert 2016-11-05 02:57:06 +01:00
nsBlockDebugFlags.h Bug 1302758 Part 2 - Replace NOISY_FLOATMANAGER with nsBlockFrame::gNoisyFloatManager. r=dholbert 2016-09-15 14:32:12 +08:00
nsBlockFrame.cpp Bug 775624 Part 24 - Implement operator<< for nsReflowStatus to use mozilla::ToString. r=dholbert 2017-02-14 18:41:41 +08:00
nsBlockFrame.h Bug 410857 part 1 - Traverse overflow lines too so we don't miss some text. r=jfkthame 2017-02-20 17:43:08 +01:00
nsBlockReflowContext.cpp Bug 775624 Part 16 - Convert NS_INLINE_IS_BREAK_BEFORE to a method. r=dholbert 2017-02-14 16:05:24 +08:00
nsBlockReflowContext.h Bug 1277129 Part 7c - Rename various RS variables to RI. r=dbaron 2016-07-21 18:36:39 +08:00
nsBulletFrame.cpp Bug 1345907 - Use clip region instead of clip rect r=kats 2017-03-09 11:57:06 -05:00
nsBulletFrame.h Bug 1328494 - Convert nsDisplayBullet to layer. r=mattwoodrow 2017-01-24 16:53:42 +08:00
nsCanvasFrame.cpp Bug 1344954: Give nsCanvasFrame.cpp an include for nsIFrameInlines.h. r=TYLin 2017-03-06 16:11:44 -08:00
nsCanvasFrame.h Bug 1342801 - Store the 'writing-mode' used value on nsIFrame and make GetWritingMode non-virtual. r=jfkthame 2017-02-28 18:58:30 +01:00
nsColumnSetFrame.cpp Bug 1347411 part 6. Change stylo to correctly recompute style of column-content anonymous boxes. r=heycam 2017-03-15 14:00:43 -04:00
nsColumnSetFrame.h Bug 1347411 part 6. Change stylo to correctly recompute style of column-content anonymous boxes. r=heycam 2017-03-15 14:00:43 -04:00
nsContainerFrame.cpp Bug 1340771 part 1 - Rename nsWeakFrame to AutoWeakFrame (automated change). r=tn 2017-03-01 18:03:14 +01:00
nsContainerFrame.h Bug 1341981 Part 2 - Convert frame completion status to a tri-state enum class. r=dholbert 2017-02-24 14:34:50 +08:00
nsDirection.h
nsFirstLetterFrame.cpp Bug 1343078 part 1. Give placeholders and first-letter continuations different kinds of anonymous boxes. r=dbaron 2017-03-08 00:18:32 -05:00
nsFirstLetterFrame.h Bug 1277129 Part 7b - Rename various ReflowState variables to ReflowInput. r=dbaron 2016-07-21 18:36:39 +08:00
nsFlexContainerFrame.cpp Bug 1340309 part 1: Resolve "align-self:auto"/"justify-self:auto" to flex/grid parent's *-items value, when resolving static pos of abspos children. r=mats 2017-02-24 08:38:31 -08:00
nsFlexContainerFrame.h Bug 1336708: Don't reuse cached flex-item reflow measurements if the item's computed height has changed. r=dholbert 2017-02-07 21:00:45 +01:00
nsFloatManager.cpp Bug 1326409 Part 6 - Convert aBasicShape to a pointer to a const value. r=dholbert 2017-03-13 12:03:40 +08:00
nsFloatManager.h Bug 1326409 Part 6 - Convert aBasicShape to a pointer to a const value. r=dholbert 2017-03-13 12:03:40 +08:00
nsFontInflationData.cpp Bug 1277129 Part 7b - Rename various ReflowState variables to ReflowInput. r=dbaron 2016-07-21 18:36:39 +08:00
nsFontInflationData.h Bug 1277129 Part 7b - Rename various ReflowState variables to ReflowInput. r=dbaron 2016-07-21 18:36:39 +08:00
nsFrame.cpp Merge mozilla-central to mozilla-inbound 2017-03-16 15:39:58 +01:00
nsFrame.h Bug 1343771. Fix stylo to properly update styles on the anonymous block inside a table cell. r=emilio 2017-03-03 16:14:39 -05:00
nsFrameIdList.h Bug 1239100 - Implement SVGGeometryElement interface. r=cam r=peterv 2016-12-18 11:11:47 +00:00
nsFrameList.cpp Bug 1295192 - part 1 - remove CPP_THROW_NEW on layout struct operator new overloads that forward to nsPresShell::AllocateByObjectID; r=dholbert 2016-08-17 15:28:45 -04:00
nsFrameList.h Bug 1295192 - part 1 - remove CPP_THROW_NEW on layout struct operator new overloads that forward to nsPresShell::AllocateByObjectID; r=dholbert 2016-08-17 15:28:45 -04:00
nsFrameSelection.h Bug 1345247 - Devirtualize nsFrameSelection. r=dholbert 2017-03-10 14:52:08 +01:00
nsFrameSetFrame.cpp Bug 1347411 part 4. Change the various anonymous boxes associated with framesets to be non-inheriting, since their styles aren't really used for anything. r=heycam 2017-03-15 14:00:43 -04:00
nsFrameSetFrame.h Bug 1277129 Part 7b - Rename various ReflowState variables to ReflowInput. r=dbaron 2016-07-21 18:36:39 +08:00
nsFrameState.cpp Bug 1060419 - make AppendPrintf and nsPrintfCString use Printf.h, r=froydnj 2016-12-14 09:32:21 -07:00
nsFrameState.h Bug 1265624 - Remove unnecessary compiler version check for MSVS 2010 in nsFrameState.h. r=heycam 2016-04-17 17:09:32 -07:00
nsFrameStateBits.h Bug 1340723 part 1. Add an nsIFrame function that can be called from the stylo restyle manager to update style contexts on anonymous boxes associated with that frame, and a frame state bit that can be used to optimize out the virtual calls. r=emilio 2017-03-03 15:44:24 -05:00
nsFrameUtil.cpp
nsGfxScrollFrame.cpp Bug 1316318 - Disable paint-skipping for elements where we disable APZ. r=mstange 2017-03-15 08:24:08 -04:00
nsGfxScrollFrame.h Bug 1346109. Allow asking an nsIScrollableFrame if it is the root scroll frame. r=botond 2017-03-11 01:00:46 -06:00
nsGridContainerFrame.cpp Bug 1346699 part 2 - [css-grid] Don't require 'fr' to be non-zero to apply min/max-size. r=dholbert 2017-03-16 13:24:50 +01:00
nsGridContainerFrame.h Bug 1287006 - Don't pass Maybe (or any class containing a Maybe member) by value, only by reference or pointer, in layout/-related code. r=bz 2017-02-13 09:07:40 -08:00
nsHTMLCanvasFrame.cpp Bug 1347411 part 2. Fix stylo to properly update styles for the various frames that use FCDATA_WITH_WRAPPING_BLOCK to wrap an anonymous block around their kids. r=heycam 2017-03-15 14:00:43 -04:00
nsHTMLCanvasFrame.h Bug 1347411 part 2. Fix stylo to properly update styles for the various frames that use FCDATA_WITH_WRAPPING_BLOCK to wrap an anonymous block around their kids. r=heycam 2017-03-15 14:00:43 -04:00
nsHTMLParts.h Bug 1334358 - Stop using CreateAnonymousFrames for combo box creation. r=bz 2017-01-27 16:13:33 -08:00
nsIAnonymousContentCreator.h Bug 1331322 - Allow tagging of pseudo-implementing native anonymous content with the pseudo type at creation time, and eliminate explicit style contexts in nsIAnonymousContentCreator::ContentInfo. r=bholley 2017-01-13 03:21:11 +00:00
nsIFrame.h Bug 1343937 - Implement and use GetInFlowParent. r=bz 2017-03-07 13:54:36 -08:00
nsIFrameInlines.h Bug 1343937 - Implement and use GetInFlowParent. r=bz 2017-03-07 13:54:36 -08:00
nsIFrameUtil.h
nsILineIterator.h
nsImageFrame.cpp Bug 1345053 - Add webrender support for nsDisplayImage. r=mattwoodrow 2017-03-10 09:57:07 +08:00
nsImageFrame.h Bug 1287006 - Don't pass Maybe (or any class containing a Maybe member) by value, only by reference or pointer, in layout/-related code. r=bz 2017-02-13 09:07:40 -08:00
nsImageMap.cpp Bug 1263782 - Kill off the deprecated nsINode::IsInDoc(). r=baku 2016-03-31 11:58:25 +01:00
nsImageMap.h
nsInlineFrame.cpp Bug 1345362 part 4. Rename ResolveAnonymousBoxStyle to ResolveInheritingAnonymousBoxStyle. r=heycam 2017-03-08 23:50:28 -05:00
nsInlineFrame.h Bug 1340723 part 3. Fix stylo to properly update styles on the anonymous blocks we create in a block-inside-inline situation when the style of the inline changes. r=emilio 2017-03-03 15:45:40 -05:00
nsIntervalSet.cpp
nsIntervalSet.h
nsIObjectFrame.h
nsIPageSequenceFrame.h
nsIScrollableFrame.h Bug 1346109. Allow asking an nsIScrollableFrame if it is the root scroll frame. r=botond 2017-03-11 01:00:46 -06:00
nsIScrollPositionListener.h
nsIStatefulFrame.h Bug 1300206: Add some missing #includes & namespaces in layout/generic, to prevent unified build bustage. r=mats 2016-09-02 15:01:09 -07:00
nsLeafFrame.cpp Bug 775624 Part 22 - Remove NS_FRAME_COMPLETE. r=dholbert 2017-02-14 17:55:48 +08:00
nsLeafFrame.h Bug 1300369 part 4 - Refactor all ComputeAutoSize methods to take the full ComputeSizeFlags instead of just a "bool aShrinkWrap" for the eShrinkWrap flag (idempotent patch). r=dholbert 2016-11-05 02:57:06 +01:00
nsLineBox.cpp Bug 1316556 - Remove zeroing allocation in class nsIPresShell. r=dbaron. 2016-12-01 09:06:50 +01:00
nsLineBox.h Bug 1342330 Part 3 - Convert FlagBits::mBreakType to StyleClear. r=xidorn 2017-02-24 15:27:23 +08:00
nsLineLayout.cpp Bug 775624 Part 16 - Convert NS_INLINE_IS_BREAK_BEFORE to a method. r=dholbert 2017-02-14 16:05:24 +08:00
nsLineLayout.h Bug 1338443 Part 2 - Convert nsAutoFloatManager::mNew to use UniquePtr. r=dholbert 2017-02-09 17:57:16 +08:00
nsPageContentFrame.cpp Bug 775624 Part 22 - Remove NS_FRAME_COMPLETE. r=dholbert 2017-02-14 17:55:48 +08:00
nsPageContentFrame.h Bug 1342801 - Store the 'writing-mode' used value on nsIFrame and make GetWritingMode non-virtual. r=jfkthame 2017-02-28 18:58:30 +01:00
nsPageFrame.cpp Bug 1344629 - Part 6: Rewrite unnecessary uses of nsLiteralString. r=dbaron 2017-03-14 15:26:27 +13:00
nsPageFrame.h Bug 1342801 - Store the 'writing-mode' used value on nsIFrame and make GetWritingMode non-virtual. r=jfkthame 2017-02-28 18:58:30 +01:00
nsPlaceholderFrame.cpp Bug 1343078 part 7. Make placeholders a non-inheriting anon box. r=dbaron 2017-03-08 00:18:40 -05:00
nsPlaceholderFrame.h Bug 1343078 part 7. Make placeholders a non-inheriting anon box. r=dbaron 2017-03-08 00:18:40 -05:00
nsPluginFrame.cpp Bug 1340771 part 1 - Rename nsWeakFrame to AutoWeakFrame (automated change). r=tn 2017-03-01 18:03:14 +01:00
nsPluginFrame.h Bug 1313560: Undefine LoadImage in nsPluginFrame.h (alongside other undefines) to prevent windows.h macros from causing unified bustage in other files. rs=dmajor 2016-10-28 05:59:17 -07:00
nsQueryFrame.h Bug 1331756 part 1: Drop redundant 'virtual' keyword from some macros that declare nsIFrame method overrides. r=xidorn 2017-01-17 16:27:02 -08:00
nsRubyBaseContainerFrame.cpp Bug 775624 Part 22 - Remove NS_FRAME_COMPLETE. r=dholbert 2017-02-14 17:55:48 +08:00
nsRubyBaseContainerFrame.h Bug 1267515 part 2 - Place ruby annotations outside annotations from ruby descendants. r=dholbert 2016-10-26 17:40:58 +11:00
nsRubyBaseFrame.cpp Bug 1264837 Part 9 - Remove nsRubyBaseFrameSuper. r=dholbert 2016-04-18 14:04:03 +08:00
nsRubyBaseFrame.h Bug 1264837 Part 9 - Remove nsRubyBaseFrameSuper. r=dholbert 2016-04-18 14:04:03 +08:00
nsRubyContentFrame.cpp Bug 1264837 Part 10 - Remove nsRubyContentFrameSuper. r=dholbert 2016-04-18 14:06:23 +08:00
nsRubyContentFrame.h Bug 1264837 Part 10 - Remove nsRubyContentFrameSuper. r=dholbert 2016-04-18 14:06:23 +08:00
nsRubyFrame.cpp Bug 775624 Part 22 - Remove NS_FRAME_COMPLETE. r=dholbert 2017-02-14 17:55:48 +08:00
nsRubyFrame.h Bug 1267515 part 1 - Refactor ruby leadings into a helper RubyBlockLeadings struct. r=dholbert 2016-11-10 11:10:42 +11:00
nsRubyTextContainerFrame.cpp Bug 775624 Part 22 - Remove NS_FRAME_COMPLETE. r=dholbert 2017-02-14 17:55:48 +08:00
nsRubyTextContainerFrame.h Bug 1277129 Part 7b - Rename various ReflowState variables to ReflowInput. r=dbaron 2016-07-21 18:36:39 +08:00
nsRubyTextFrame.cpp Bug 1277129 Part 7b - Rename various ReflowState variables to ReflowInput. r=dbaron 2016-07-21 18:36:39 +08:00
nsRubyTextFrame.h Bug 1277129 Part 7b - Rename various ReflowState variables to ReflowInput. r=dbaron 2016-07-21 18:36:39 +08:00
nsSelection.cpp Bug 1347809 Set Selection::mCalledByJS to false before moving focus in NotifySelectionListeners() because non-*JS() methods don't set it to false r=smaug 2017-03-16 17:15:20 +09:00
nsSimplePageSequenceFrame.cpp Bug 1340771 part 1 - Rename nsWeakFrame to AutoWeakFrame (automated change). r=tn 2017-03-01 18:03:14 +01:00
nsSimplePageSequenceFrame.h Bug 1342801 - Store the 'writing-mode' used value on nsIFrame and make GetWritingMode non-virtual. r=jfkthame 2017-02-28 18:58:30 +01:00
nsSplittableFrame.cpp Bug 1232194 part 2 - [writing-mode] Make ConsumedBSize() return the block-axis size, not the physical height. r=dholbert 2017-01-04 00:56:19 +01:00
nsSplittableFrame.h Bug 1232194 part 2 - [writing-mode] Make ConsumedBSize() return the block-axis size, not the physical height. r=dholbert 2017-01-04 00:56:19 +01:00
nsSubDocumentFrame.cpp Bug 1340771 part 2 - Introduce a WeakFrame class for heap allocated weak frame pointers, stored in a hashtable for fast lookup. r=tn 2017-03-01 18:03:14 +01:00
nsSubDocumentFrame.h Bug 1331756 part 5: Drop redundant 'virtual' keyword from method overrides in several frame classes. r=xidorn 2017-01-17 16:27:03 -08:00
nsTextFrame.cpp Bug 1343695 Part 2: Narrow an overly restrictive assert in GetRenderedText. r=mats 2017-03-14 14:27:30 -07:00
nsTextFrame.h Bug 1343552 part 1 - Invalidate the cached flow length when the next-in-flow/continuation changes. r=jfkthame 2017-03-09 13:18:26 +01:00
nsTextFrameUtils.cpp Bug 1330236 - Compute SVG getNumberOfChars() quicker in simple cases. r=longsonr+218550 2017-01-17 13:45:43 +08:00
nsTextFrameUtils.h Bug 1330236 - Compute SVG getNumberOfChars() quicker in simple cases. r=longsonr+218550 2017-01-17 13:45:43 +08:00
nsTextRunTransformations.cpp Bug 1322989 - Preserve accent on Greek disjunctive eta (ή) when applying text-transform:uppercase. r=m_kato 2016-12-20 10:06:51 +00:00
nsTextRunTransformations.h Bug 1321387 part 3: Add "mozilla::" namespace prefix to some types in header files. r=TYLin 2016-11-30 14:50:22 -08:00
nsVideoFrame.cpp Bug 775624 Part 22 - Remove NS_FRAME_COMPLETE. r=dholbert 2017-02-14 17:55:48 +08:00
nsVideoFrame.h Bug 1287006 - Don't pass Maybe (or any class containing a Maybe member) by value, only by reference or pointer, in layout/-related code. r=bz 2017-02-13 09:07:40 -08:00
ReflowInput.cpp Bug 775624 Part 10a - Move ReflowInput::SetTruncated() into nsReflowStatus. r=dholbert 2017-02-20 14:58:58 +08:00
ReflowInput.h Bug 1338443 Part 2 - Convert nsAutoFloatManager::mNew to use UniquePtr. r=dholbert 2017-02-09 17:57:16 +08:00
ReflowOutput.cpp Bug 1321387 part 1: Wrap ReflowOutput impl in "namespace mozilla {}". r=TYLin 2016-11-30 14:47:45 -08:00
ReflowOutput.h Bug 1277129 Part 5c - Rename nsHTMLReflowMetrics to ReflowOutput. r=dbaron 2016-07-21 18:36:38 +08:00
RubyUtils.cpp
RubyUtils.h Bug 1321387 part 6: Add #includes & forward declarations to some headers in layout/generic, to provide types used in those files. r=TYLin 2016-11-30 14:52:26 -08:00
ScrollbarActivity.cpp Bug 1340771 part 1 - Rename nsWeakFrame to AutoWeakFrame (automated change). r=tn 2017-03-01 18:03:14 +01:00
ScrollbarActivity.h
ScrollSnap.cpp Bug 1219296 - Move the layout.css.scroll-snap.proximity-threshold pref to gfxPrefs, so it can be queried on the compositor thread. r=kats 2016-03-18 21:15:45 -04:00
ScrollSnap.h Bug 1321387 part 6: Add #includes & forward declarations to some headers in layout/generic, to provide types used in those files. r=TYLin 2016-11-30 14:52:26 -08:00
ScrollVelocityQueue.cpp
ScrollVelocityQueue.h
Selection.h Bug 1318312 part.3 Selection should move focus at every selection change when it's called by JS r=smaug 2017-03-14 10:36:21 +09:00
SelectionChangeListener.h
StickyScrollContainer.cpp Bug 1316101 - Avoid excessive clamping in StickyScrollContainer::GetScrollRanges(). r=mstange 2016-11-14 19:01:37 -05:00
StickyScrollContainer.h
TextOverflow.cpp Bug 1303241 part 2 - Make GetVisitedDependentColor use style structs directly. r=dbaron 2016-12-31 00:57:37 +11:00
TextOverflow.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
ViewportFrame.cpp Bug 775624 Part 22 - Remove NS_FRAME_COMPLETE. r=dholbert 2017-02-14 17:55:48 +08:00
ViewportFrame.h Bug 1342801 - Store the 'writing-mode' used value on nsIFrame and make GetWritingMode non-virtual. r=jfkthame 2017-02-28 18:58:30 +01:00
Visibility.h Bug 1284350. Backed out changeset 69abdc731a99 (Bug 1261554 (Part 1) - Prepare for implementing in-displayport visibility tracking. r=mstange) 2016-09-12 00:19:08 -05:00
WritingModes.h Backed out 8 changesets (bug 1311244) for OOM failures in Win7 debug R1 2017-01-08 21:11:25 -08:00