gecko-dev/layout/base
Emilio Cobos Álvarez 45f30e1d19 Bug 1575138 - Don't bother scheduling a reconstruct on <slot>s that have no fallback. r=smaug
So basically what's going on is that we remove all children from the popup here:

  https://searchfox.org/mozilla-central/rev/153feabebc2d13bb4c29ef8adf104ec1ebd246ae/browser/base/content/browser-places.js#687

This makes us schedule a reconstruct of the slot, in case it has fallback
content:

  https://searchfox.org/mozilla-central/rev/153feabebc2d13bb4c29ef8adf104ec1ebd246ae/dom/base/ShadowRoot.cpp#616

Then we insert frames for the items. They get inserted right away, because we
don't support lazy frame construction for XUL:

  https://searchfox.org/mozilla-central/rev/153feabebc2d13bb4c29ef8adf104ec1ebd246ae/layout/base/nsCSSFrameConstructor.cpp#6507

If this was normal HTML content, the insertion would've been lazy, and no
reconstruct would've happened.

The right fix is to support lazy frame construction for XUL. Now that there's
very little XBL it should be possible. This fixes it but it's a kind-of stop-gap
solution.

Differential Revision: https://phabricator.services.mozilla.com/D46825

--HG--
extra : moz-landing-system : lando
2019-09-24 00:03:39 +00:00
..
crashtests Bug 1582884 - Enable some crashtests on Android; r=geckoview-reviewers,agi 2019-09-24 01:12:09 +00:00
doc
gtest Bug 1563139 - Remove StaticPrefs.h. r=glandium 2019-07-26 01:10:23 +00:00
tests Bug 1553804: Part 6 - Fix chrome mochitests which open chrome windows with content openers. r=nika 2019-09-20 10:18:15 -07:00
AccessibleCaret.cpp Bug 1563139 - Remove StaticPrefs.h. r=glandium 2019-07-26 01:10:23 +00:00
AccessibleCaret.h
AccessibleCaretEventHub.cpp Bug 1559414 - Rename unaudited pre-fission methods with SameProcess for future audit burndown. r=nika 2019-07-26 16:48:31 +00:00
AccessibleCaretEventHub.h
AccessibleCaretLogger.h
AccessibleCaretManager.cpp Bug 1579788 - Don't update validity state when the JS engine fails to execute the pattern. r=smaug 2019-09-16 10:11:42 +00:00
AccessibleCaretManager.h
ArenaObjectID.h Bug 1560188 - Fix and improve display list memory reporting. r=mattwoodrow,njn 2019-07-02 02:46:09 +00:00
AutoProfilerStyleMarker.h Bug 1578329 - Use profiler_can_accept_markers() where appropriate - r=gregtatum 2019-09-18 01:22:12 +00:00
CaretAssociationHint.h
FrameProperties.h
GeckoMVMContext.cpp Bug 1573014 - Early-exit ShrinkToDisplaySizeIfNeeded() in reader mode. r=hiro 2019-08-21 23:33:14 +00:00
GeckoMVMContext.h Bug 1573014 - Early-exit ShrinkToDisplaySizeIfNeeded() in reader mode. r=hiro 2019-08-21 23:33:14 +00:00
GeometryUtils.cpp Bug 1567310 Part 2: Make GeometryUtils::GetBoxQuads suppress whitespace frames when requested. r=emilio 2019-09-12 19:05:32 +00:00
GeometryUtils.h
LayoutConstants.h
LayoutLogging.cpp
LayoutLogging.h
MediaEmulationData.h Bug 1570721 - Add an API to nsPresContext to override the prefers-color-scheme value. r=heycam 2019-08-02 15:18:27 +02:00
MobileViewportManager.cpp Bug 1573014 - Early-exit ShrinkToDisplaySizeIfNeeded() in reader mode. r=hiro 2019-08-21 23:33:14 +00:00
MobileViewportManager.h Bug 1523844 Part 3: Make the MVM set resolution only as an adjustment, not a restore resolution. r=botond 2019-08-12 22:23:34 +00:00
moz.build Bug 1570721 - Move the overrides to a separate struct in nsPresContext. r=heycam 2019-08-02 15:18:24 +02:00
MVMContext.h Bug 1573014 - Early-exit ShrinkToDisplaySizeIfNeeded() in reader mode. r=hiro 2019-08-21 23:33:14 +00:00
nsAutoLayoutPhase.cpp Bug 1567818 - Convert nsLayoutPhase into enum class. r=heycam 2019-07-23 05:40:49 +00:00
nsAutoLayoutPhase.h Bug 1567818 - Convert nsLayoutPhase into enum class. r=heycam 2019-07-23 05:40:49 +00:00
nsBidi.cpp
nsBidi.h
nsBidiPresUtils.cpp Bug 1576972 - Keep lastRealFrame up-to-date even when we skip empty text frames. r=jfkthame 2019-08-29 10:14:08 +00:00
nsBidiPresUtils.h Bug 1300293 - Make nsBidiPresUtils track line boxes separately for the progress of TraverseFrames and ResolveParagraph. r=jfkthame 2019-07-22 18:55:56 +00:00
nsCaret.cpp Bug 1582224 - Split SIDEWAYS bit in WritingMode. r=jfkthame,emilio 2019-09-19 02:37:14 +00:00
nsCaret.h
nsChangeHint.h
nsCompatibility.h
nsCounterManager.cpp Bug 1578295 - Use cbindgen for counters. r=mats 2019-09-02 23:11:26 +00:00
nsCounterManager.h Bug 1578295 - Use cbindgen for counters. r=mats 2019-09-02 23:11:26 +00:00
nsCSSColorUtils.cpp
nsCSSColorUtils.h
nsCSSFrameConstructor.cpp Bug 1580576 - Remove an assertion to check <details> element's frame type when reframing. r=emilio 2019-09-11 21:52:40 +00:00
nsCSSFrameConstructor.h Bug 1557825 part 1 - Implement 'display:block ruby'. r=emilio 2019-08-14 14:38:31 +00:00
nsDocumentViewer.cpp Bug 1575938 Convert dom/JSEnvironment GC timing constants to StaticPref r=edgar 2019-08-26 15:51:01 +00:00
nsFrameManager.cpp Bug 1566945 - Add a parameter to nsContainerFrame::InsertFrames for aPrevFrame's line box. r=dholbert 2019-07-17 23:34:45 +00:00
nsFrameManager.h
nsFrameTraversal.cpp
nsFrameTraversal.h
nsGenConList.cpp
nsGenConList.h
nsIDocumentViewerPrint.h
nsIFrameTraversal.h
nsILayoutHistoryState.idl
nsIPercentBSizeObserver.h
nsIPreloadedStyleSheet.idl
nsIReflowCallback.h
nsIStyleSheetService.idl
nsLayoutDebugger.cpp Bug 1566215 - Part 2: Merge nsILayoutDebugger functionality into nsLayoutDebuggingTools. r=dbaron 2019-07-22 04:48:33 +00:00
nsLayoutHistoryState.cpp
nsLayoutUtils.cpp Bug 1582288. Don't get the display port in nsLayoutUtils::SetDisplayPortMargins when we don't need it because we don't have a frame. r=botond 2019-09-20 18:36:30 +00:00
nsLayoutUtils.h Bug 1541705 - Introduce nsLayoutUtils::FrameIsMostlyScrolledOutOfViewInCrossProcess. r=botond 2019-09-12 08:09:09 +00:00
nsPresArena.cpp Bug 1560188 - Fix and improve display list memory reporting. r=mattwoodrow,njn 2019-07-02 02:46:09 +00:00
nsPresArena.h Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-07-16 07:33:44 +00:00
nsPresArenaObjectList.h Bug 1560188 - Fix and improve display list memory reporting. r=mattwoodrow,njn 2019-07-02 02:46:09 +00:00
nsPresContext.cpp Bug 1580690 - Ensure src:local() entries in the user font set are refreshed if the platform font list is rebuilt. r=jwatt 2019-09-20 15:24:33 +00:00
nsPresContext.h Bug 1575806 - Cleanup a bit preference-stylesheet-related code. r=heycam 2019-08-22 23:15:13 +00:00
nsPresContextInlines.h
nsQuoteList.cpp Bug 1421938 - Add an 'auto' value for the CSS 'quotes' property, and make it use language-dependent quote marks. r=emilio 2019-07-09 08:59:27 +00:00
nsQuoteList.h
nsRefreshDriver.cpp Bug 1577642 - Move the timestamp rounding outside of the loop so it's only reduced once r=birtles 2019-09-03 22:38:45 +00:00
nsRefreshDriver.h
nsStyleChangeList.cpp
nsStyleChangeList.h
nsStyleSheetService.cpp Bug 1571530 - Remove various bool arguments in sheet loader APIs. r=heycam 2019-08-16 10:56:05 +00:00
nsStyleSheetService.h
OverflowChangedTracker.h
PositionedEventTargeting.cpp
PositionedEventTargeting.h
PresShell.cpp Bug 1575138 - Don't bother scheduling a reconstruct on <slot>s that have no fallback. r=smaug 2019-09-24 00:03:39 +00:00
PresShell.h Bug 1577859 - Additional post container scrolling removal cleanup in Layout code. r=tnikkel 2019-09-15 21:51:41 +00:00
PresShellForwards.h Bug 1523844 Part 1: Rename ResolutionChangeOrigin::MainThreadRestore in anticipation of adding a related enum. r=botond 2019-08-12 22:21:51 +00:00
PresShellInlines.h Bug 1571612 - P2: Collect flush req and flush telemetry. r=heycam 2019-08-21 01:43:30 +00:00
PresState.ipdlh
RestyleManager.cpp Bug 1579788 - Downgrade a few assertions in beta / release as to avoid crashing there. r=masayuki 2019-09-12 08:46:27 +00:00
RestyleManager.h Bug 1568778 - Do suppress adjustments when switching an undisplayed element to be abspos. r=dholbert 2019-07-29 13:44:46 +00:00
ScrollStyles.cpp
ScrollStyles.h
ScrollTypes.h
ShapeUtils.cpp
ShapeUtils.h
StackArena.cpp
StackArena.h
StaticPresData.cpp
StaticPresData.h
TouchManager.cpp
TouchManager.h
Units.h Bug 1568673 part 1: Adjust MobileViewportManager::ComputeIntrinsicScale to prevent divide-by-zero and to allow for meaningful min/max clamping. r=botond 2019-07-27 00:11:20 +00:00
UnitTransforms.h Bug 1565525 - Add helper functions to make working with Maybe<Matrix> easier. r=hsivonen 2019-08-20 06:36:01 +00:00
WordMovementType.h
ZoomConstraintsClient.cpp Bug 1563139 - Remove StaticPrefs.h. r=glandium 2019-07-26 01:10:23 +00:00
ZoomConstraintsClient.h