gecko-dev/layout/base
Emilio Cobos Álvarez cb56e2c9f3 Bug 1459529: Remove UPDATE_STYLE. r=heycam
Now that BeginUpdate is useless for the UPDATE_STYLE case, we don't need the
update mechanism at all. Just ensure that ApplicableStylesChanged is called on
the pres shell via the relevant RuleChanged, etc. notifications.

There's a big hidden gotcha here. nsIDocument::BeginUpdate does put a script
blocker on the stack for these updates. However it's not needed, since no script
can run during these notifications (only the stylesheet events we post for
devtools, but those use AsyncEventDispatcher and PostDOMEvents, so they don't
try to run immediately).

nsIDocument::BeginUpdate also does XBL binding attached queue stuff, but we
can't change bindings during these notifications anyway, so it also doesn't
matter.

MozReview-Commit-ID: HJvK6zQfloh
2018-05-15 18:44:29 +02:00
..
crashtests Bug 1414303: Make nsLayoutUtils::CompareTreePosition handle Shadow DOM in a sensible way. r=xidorn 2018-05-14 16:34:45 +02:00
doc Bug 1432017 - Remove AccessibleCaretEventHub::PostScrollState. r=mats 2018-02-23 22:05:49 +08:00
gtest Bug 1347049 - Remove the ability to hide AccessibleCaret when scrolling. r=mats 2018-04-04 15:45:52 +08:00
tests Bug 1460993: Skip layout/base/tests/test_bug394057.html on Windows ASan builds. DONTBUILD 2018-05-11 17:25:12 -04:00
AccessibleCaret.cpp Bug 1426649: Remove nsCSSFrameConstructor updates. r=mats 2017-12-21 19:34:48 +01:00
AccessibleCaret.h Bug 1455055 part 1. Convert nsIDOMEventListener to taking an Event, not an nsIDOMEvent. r=masayuki 2018-04-20 00:49:29 -04:00
AccessibleCaretEventHub.cpp Bug 1387143 part 1. Stop using nsISelection in nsISelectionListener. r=mats 2018-05-08 13:52:35 -04:00
AccessibleCaretEventHub.h Bug 1387143 part 1. Stop using nsISelection in nsISelectionListener. r=mats 2018-05-08 13:52:35 -04:00
AccessibleCaretLogger.h
AccessibleCaretManager.cpp Bug 1387143 part 26. Remove nsISelection::Modify. r=mats 2018-05-08 13:52:42 -04:00
AccessibleCaretManager.h Bug 1387143 part 1. Stop using nsISelection in nsISelectionListener. r=mats 2018-05-08 13:52:35 -04:00
ArenaObjectID.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
ArenaRefPtr.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
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 Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
FrameProperties.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
GeometryUtils.cpp Bug 1449670, part 1 - Convert IsNodeOfType(nsINode::eTEXT) to IsText(). r=bz 2018-04-12 15:41:00 -07:00
GeometryUtils.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
LayoutConstants.h Bug 1434478 part 4 - Factor out constants like NS_UNCONSTRAINEDSIZE so they can be used in headers without needing nsIFrame.h (idempotent patch). r=dholbert 2018-04-10 00:16:58 +02:00
LayoutLogging.cpp Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
LayoutLogging.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
MobileViewportManager.cpp Bug 1455055 part 1. Convert nsIDOMEventListener to taking an Event, not an nsIDOMEvent. r=masayuki 2018-04-20 00:49:29 -04:00
MobileViewportManager.h Bug 1449631 part 2. Remove nsIDOMEventTarget::RemoveEventListener. r=smaug 2018-04-05 13:42:40 -04:00
moz.build Bug 1438026 - Part 4: Remove the old nsPresState code completely, r=baku 2018-04-10 17:49:44 -04:00
nsAutoLayoutPhase.cpp Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsAutoLayoutPhase.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsBidi.cpp
nsBidi.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsBidiPresUtils.cpp Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj 2018-04-28 12:50:58 -07: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
nsCaret.cpp Bug 1387143 part 28. Remove nsISelection::AsSelection(). r=mats 2018-05-08 13:52:42 -04:00
nsCaret.h Bug 1387143 part 29. Remove nsISelection. r=mats 2018-05-08 13:52:42 -04:00
nsChangeHint.h Bug 1453877 - Remove unused RestyleHintData struct. r=xidorn 2018-04-13 15:16:13 +10:00
nsCompatibility.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsCounterManager.cpp Bug 1449404 part 1. Get rid of nsIContent::SetText. r=mccr8 2018-03-28 18:01:46 -04:00
nsCounterManager.h
nsCSSColorUtils.cpp Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsCSSColorUtils.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsCSSFrameConstructor.cpp Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj 2018-04-28 12:50:58 -07:00
nsCSSFrameConstructor.h Bug 1421807: Wallpaper SVG text code which makes too many assumptions about the DOM. r=heycam 2018-04-23 21:23:50 +02:00
nsDocumentViewer.cpp Bug 1459529: Remove ServoStyleSet::{Begin,End}Update. r=heycam 2018-05-15 18:44:26 +02:00
nsFrameManager.cpp Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj 2018-04-28 12:50:58 -07:00
nsFrameManager.h Bug 1454503: Remove unused nsFrameManager::mIsDestroyingFrames. r=xidorn 2018-04-17 11:25:04 +02: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 Bug 1413834 - part 1: Limit frame traversal and getting of next tabindex inside scope owned by document root, r=smaug 2018-01-26 17:47:44 +02:00
nsGenConList.cpp Bug 1414303: Make nsLayoutUtils::CompareTreePosition handle Shadow DOM in a sensible way. r=xidorn 2018-05-14 16:34:45 +02: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 Bug 1449400 part 5 - Remove StyleSetHandle. r=emilio 2018-03-29 22:15:46 +11:00
nsIFrameTraversal.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsILayoutDebugger.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsILayoutHistoryState.idl Bug 1438026 - Part 3: Replace nsPresState with the new PresState type, r=baku 2018-04-10 17:49:44 -04:00
nsIPercentBSizeObserver.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsIPreloadedStyleSheet.idl
nsIPresShell.h Bug 1459529: Remove UPDATE_STYLE. r=heycam 2018-05-15 18:44:29 +02:00
nsIPresShellInlines.h Bug 1350930 - Move profiler markers for reflow and style flushes from the refresh driver into the PresShell. r=bz 2017-11-15 16:10:32 -05:00
nsIReflowCallback.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsIStyleSheetService.idl
nsLayoutDebugger.cpp Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj 2018-04-28 12:50:58 -07:00
nsLayoutHistoryState.cpp Bug 1438026 - Part 3: Replace nsPresState with the new PresState type, r=baku 2018-04-10 17:49:44 -04:00
nsLayoutUtils.cpp Bug 1414303: Make nsLayoutUtils::CompareTreePosition handle Shadow DOM in a sensible way. r=xidorn 2018-05-14 16:34:45 +02:00
nsLayoutUtils.h Bug 1457802 part 2 - Remove pref callbacks touching keyword tables from nsLayoutUtils. r=heycam 2018-04-30 09:26:37 +10:00
nsPresArena.cpp Bug 1448728 followup 2 - Remove style structs from nsPresArena::AddSizeOfExcludingThis on a CLOSED TREE. r=emilio 2018-03-28 11:17:19 +11:00
nsPresArena.h Bug 1406727 - Improve diagnostics in BuildDisplayList. r=froydnj 2018-02-06 12:21:31 +13:00
nsPresArenaObjectList.h Bug 1448535 part 2 - Remove arena-related code from style structs. r=emilio 2018-03-29 03:45:18 +11:00
nsPresContext.cpp Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj 2018-04-28 12:50:58 -07:00
nsPresContext.h Bug 1457325 - Expose time to DOMContentFlushed on the timeline. r=bholley,r=mstange 2018-04-27 11:15:27 -07:00
nsQuoteList.cpp Bug 1449404 part 1. Get rid of nsIContent::SetText. r=mccr8 2018-03-28 18:01:46 -04:00
nsQuoteList.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsRefreshDriver.cpp Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj 2018-04-28 12:50:58 -07:00
nsRefreshDriver.h Bug 1457325 - Expose time to DOMContentFlushed on the timeline. r=bholley,r=mstange 2018-04-27 11:15:27 -07:00
nsStyleChangeList.cpp Bug 1449670, part 1 - Convert IsNodeOfType(nsINode::eTEXT) to IsText(). r=bz 2018-04-12 15:41:00 -07:00
nsStyleChangeList.h Bug 1447828 part 8 - Remove remaining uses of StyleBackendType as well as the type itself. r=emilio 2018-03-29 02:34:34 +11:00
nsStyleSheetService.cpp Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj 2018-04-28 12:50:58 -07:00
nsStyleSheetService.h Bug 1447828 part 5 - Remove StyleBackendType uses from nsStyleSheetService. r=emilio 2018-03-29 02:34:34 +11:00
OverflowChangedTracker.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
PositionedEventTargeting.cpp Bug 1449670, part 1 - Convert IsNodeOfType(nsINode::eTEXT) to IsText(). r=bz 2018-04-12 15:41:00 -07:00
PositionedEventTargeting.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
PresShell.cpp Bug 1459529: Remove UPDATE_STYLE. r=heycam 2018-05-15 18:44:29 +02:00
PresShell.h Bug 1459529: Remove UPDATE_STYLE. r=heycam 2018-05-15 18:44:29 +02:00
PresState.ipdlh Bug 1443954 - Part 3: Add support for RefCounted types to IPDL, r=bz,froydnj,baku 2018-04-10 17:49:48 -04:00
RestyleManager.cpp Bug 1459529: Remove UPDATE_STYLE. r=heycam 2018-05-15 18:44:29 +02:00
RestyleManager.h Bug 1459529: Remove UPDATE_STYLE. r=heycam 2018-05-15 18:44:29 +02:00
ScrollbarStyles.cpp Bug 951793 - Add overscroll-behavior attributes to ScrollbarStyles. r=mstange 2017-11-25 01:28:59 +01:00
ScrollbarStyles.h Bug 951793 - Add overscroll-behavior attributes to ScrollbarStyles. r=mstange 2017-11-25 01:28:59 +01:00
ShapeUtils.cpp Bug 1418905 - Move nsRuleNode::ComputeCoordPercentCalc() into nsStyleCoord. r=heycam 2017-11-20 14:05:19 +08:00
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 Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
StackArena.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
StaticPresData.cpp Bug 90440 - Remove the font.size.unit pref. r=dbaron. 2017-11-16 09:54:17 +11:00
StaticPresData.h
TouchManager.cpp Bug 1426388 - Crash in mozilla::TouchManager::SuppressInvalidPointsAndGetTargetedFrame. r=smaug. 2017-12-20 23:32:52 +08:00
TouchManager.h Bug 1420589 Part6: Keep those touch points that are not in the same document so that we can use them to dispatch pointer events. 2017-12-09 10:06:18 +08:00
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
Units.h Bug 1442767 - Rename Box to RectAbsolute (Gecko changes). r=kats 2018-03-05 18:08:18 -05:00
UnitTransforms.h
WordMovementType.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
ZoomConstraintsClient.cpp Bug 1455055 part 1. Convert nsIDOMEventListener to taking an Event, not an nsIDOMEvent. r=masayuki 2018-04-20 00:49:29 -04:00
ZoomConstraintsClient.h Bug 1449631 part 2. Remove nsIDOMEventTarget::RemoveEventListener. r=smaug 2018-04-05 13:42:40 -04:00