gecko-dev/layout/base
Emilio Cobos Álvarez 729bd14b2b Bug 1447506: Do LazyFC for anonymous nodes too, and clean up MaybeConstructLazily. r=bz
The old style system used FlattenedTreeIterator for lazy frame construction.
That could not find native anonymous nodes, so we had to construct eagerly in
native anonymous subtrees. Servo uses StyleChildrenIterator for the same
purpose, and that knows about native anonymous content, so we can now do lazy
construction for it.

Also, not check the container to do lazyFC on the children, it's no longer
necessary to check for anon content, and the reason we check for XUL is because
of XBL bindings, and those are loaded for the parent already, if we're about to
construct frames for the children.

Also, assert more tightly, we don't insert NAC lazily, that makes no sense.
Well, to be fair editor does insert anonymous nodes lazily sometimes (see al the
ManualNAC machinery), but it goes through the PostRecreateFramesFor path, not
through ContentInserted / LazyFC.

MozReview-Commit-ID: 2TmRNgpWaM
2018-03-23 16:45:07 +01:00
..
crashtests Bug 1446954: Cleanup !stylo and styloVsGecko test expectations. r=xidorn 2018-03-20 11:29:51 +01:00
doc Bug 1432017 - Remove AccessibleCaretEventHub::PostScrollState. r=mats 2018-02-23 22:05:49 +08:00
gtest Bug 1433671: Add MOZ_CAN_RUN_SCRIPT annotations to AccessibleCaret and other stuff. r=bz 2018-03-14 23:32:22 +01:00
tests Bug 1446711 part 7. Switch the nsIDOMMouseEvent::MOZ_SOURCE_* constants over to MouseEventBinding. r=qdot 2018-03-20 00:16:06 -04:00
AccessibleCaret.cpp
AccessibleCaret.h
AccessibleCaretEventHub.cpp Bug 1446711 part 7. Switch the nsIDOMMouseEvent::MOZ_SOURCE_* constants over to MouseEventBinding. r=qdot 2018-03-20 00:16:06 -04:00
AccessibleCaretEventHub.h Bug 1433671: Add MOZ_CAN_RUN_SCRIPT annotations to AccessibleCaret and other stuff. r=bz 2018-03-14 23:32:22 +01:00
AccessibleCaretLogger.h
AccessibleCaretManager.cpp Bug 1446711 part 7. Switch the nsIDOMMouseEvent::MOZ_SOURCE_* constants over to MouseEventBinding. r=qdot 2018-03-20 00:16:06 -04:00
AccessibleCaretManager.h Bug 1446711 part 7. Switch the nsIDOMMouseEvent::MOZ_SOURCE_* constants over to MouseEventBinding. r=qdot 2018-03-20 00:16:06 -04:00
ArenaObjectID.h
ArenaRefPtr.h
ArenaRefPtrInlines.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
AutoProfilerStyleMarker.h Bug 1444296 part 2 - Have a separate marker for styles to present stats. r=mstange 2018-03-15 11:59:22 +11:00
CaretAssociationHint.h
FrameProperties.h
GeometryUtils.cpp Bug 1446533 part 2. Rename nsGenericDOMDataNode.{h,cpp} to CharacterData. r=mystor 2018-03-19 15:18:07 -04:00
GeometryUtils.h
LayoutLogging.cpp
LayoutLogging.h
MobileViewportManager.cpp
MobileViewportManager.h Bug 1437623 part 2: (layout/base) Add missing includes/namespaces to preemptively fix unified bustage. r=mats 2018-02-13 09:08:42 -08:00
OverflowChangedTracker.h
PositionedEventTargeting.cpp Bug 1446711 part 7. Switch the nsIDOMMouseEvent::MOZ_SOURCE_* constants over to MouseEventBinding. r=qdot 2018-03-20 00:16:06 -04:00
PositionedEventTargeting.h
PresShell.cpp Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
PresShell.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
RestyleLogging.h Bug 1447358: Unifdef the old style system code. r=jwatt 2018-03-21 10:20:34 +01:00
RestyleManager.cpp Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
RestyleManager.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
RestyleManagerInlines.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
RestyleTracker.h
RestyleTrackerInlines.h
ScrollbarStyles.cpp
ScrollbarStyles.h
ServoRestyleManager.cpp Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
ServoRestyleManager.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
ShapeUtils.cpp
ShapeUtils.h Bug 1437623 part 2: (layout/base) Add missing includes/namespaces to preemptively fix unified bustage. r=mats 2018-02-13 09:08:42 -08:00
StackArena.cpp
StackArena.h
StaticPresData.cpp
StaticPresData.h
TouchManager.cpp
TouchManager.h
UndisplayedNode.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
UnitTransforms.h
Units.h Bug 1442767 - Rename Box to RectAbsolute (Gecko changes). r=kats 2018-03-05 18:08:18 -05:00
WordMovementType.h
ZoomConstraintsClient.cpp Bug 1443402 - Fix some -Wmissing-prototypes warnings in layout. r=dholbert 2018-02-22 21:03:45 -08:00
ZoomConstraintsClient.h
moz.build Bug 1447367 - Remove files that are not built when MOZ_OLD_STYLE is not defined. r=emilio 2018-03-07 18:08:41 +00:00
nsAutoLayoutPhase.cpp
nsAutoLayoutPhase.h
nsBidi.cpp
nsBidi.h
nsBidiPresUtils.cpp Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsBidiPresUtils.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsCSSColorUtils.cpp
nsCSSColorUtils.h
nsCSSFrameConstructor.cpp Bug 1447506: Do LazyFC for anonymous nodes too, and clean up MaybeConstructLazily. r=bz 2018-03-23 16:45:07 +01:00
nsCSSFrameConstructor.h Bug 1447506: Do LazyFC for anonymous nodes too, and clean up MaybeConstructLazily. r=bz 2018-03-23 16:45:07 +01:00
nsCaret.cpp Bug 1444686 part 10. Remove nsIDOMDragEvent::GetDataTransfer. r=mystor 2018-03-13 16:24:00 -04:00
nsCaret.h Bug 1444686 part 10. Remove nsIDOMDragEvent::GetDataTransfer. r=mystor 2018-03-13 16:24:00 -04:00
nsChangeHint.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsCompatibility.h
nsCounterManager.cpp Bug 1446533 part 3. Remove nsIDOMCharacterData::Get/SetData. r=mystor 2018-03-19 15:18:07 -04:00
nsCounterManager.h
nsDocumentViewer.cpp Bug 1447358: Unifdef the old style system code. r=jwatt 2018-03-21 10:20:34 +01:00
nsFrameManager.cpp Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsFrameManager.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsFrameTraversal.cpp Bug 1443672: Adjust a few .cpp files in layout to #include their own header first. r=emilio 2018-03-06 15:59:36 -08:00
nsFrameTraversal.h
nsGenConList.cpp Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsGenConList.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsIDocumentViewerPrint.h
nsIFrameTraversal.h
nsILayoutDebugger.h
nsILayoutHistoryState.idl
nsIPercentBSizeObserver.h
nsIPreloadedStyleSheet.idl
nsIPresShell.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsIPresShellInlines.h
nsIReflowCallback.h
nsIStyleSheetService.idl
nsLayoutDebugger.cpp Bug 1443402 - Fix some -Wmissing-prototypes warnings in layout. r=dholbert 2018-02-22 21:03:45 -08:00
nsLayoutHistoryState.cpp
nsLayoutUtils.cpp Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsLayoutUtils.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsPresArena.cpp Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsPresArena.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsPresArenaObjectList.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsPresContext.cpp Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsPresContext.h Merge inbound to mozilla-central. a=merge 2018-03-15 12:15:17 +02:00
nsPresState.h
nsQuoteList.cpp Bug 1446533 part 3. Remove nsIDOMCharacterData::Get/SetData. r=mystor 2018-03-19 15:18:07 -04:00
nsQuoteList.h
nsRefreshDriver.cpp Bug 1447358: Unifdef the old style system code. r=jwatt 2018-03-21 10:20:34 +01:00
nsRefreshDriver.h Bug 1443339: Stop observing the refresh driver when inserting into the BFCache. r=bz 2018-03-17 16:11:52 +01:00
nsStyleChangeList.cpp Bug 1024082: Remove PresShell::FrameManager(), use PresShell::FrameConstructor instead. r=dholbert 2018-03-07 10:17:52 +01:00
nsStyleChangeList.h Bug 1445302 - Replace TArray.RemoveElementAt(TArray.Length() - 1) pattern with TArray.RemoveLastElement() or TArray.PopLastElement() r=froydnj 2018-03-13 14:51:33 +01:00
nsStyleSheetService.cpp Bug 1447611: Cleanup prefs that do nothing now. r=jwatt 2018-03-21 19:13:56 +01:00
nsStyleSheetService.h Bug 1447358: Unifdef the old style system code. r=jwatt 2018-03-21 10:20:34 +01:00