gecko-dev/layout/generic
cku eb978c416f Bug 577824 - Part 1. Set the frame size in nsIFrame::FinishAndStoreOverflow before the ComputeEffectsRect call that uses it. r=jwatt
This change ensures that HTML frames with SVG filters applied are given the
correct overflow regions so that they will display and invalidate correctly.

The bug that this commit fixes does not manifest in many cases since
often elements happen to be reflowed more than once when a document loads.
When that happened the bug would be masked because the filtered frame would be
given a size during the first reflow, and that would then make the overflow
calculations in subsequent reflows work.  It was only in cases where the
filtered frame was only reflowed once (such as when dynamically inserting a
filtered element into the DOM using script) that the lack of a valid frame
size during the overflow calculations would result in bad overflow regions
being calculated.

MozReview-Commit-ID: 79lR27KRSym

--HG--
extra : rebase_source : 9df6ff87002f0af4abf0b97e2a084902d81f468c
2017-08-09 01:04:49 +08:00
..
crashtests Bug 1385027 - Update Stylo test annotations for Windows. r=manishearth 2017-08-01 16:32:48 -05:00
test Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj 2017-08-04 17:49:22 +09:00
AsyncScrollBase.cpp
AsyncScrollBase.h
BlockReflowInput.cpp Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
BlockReflowInput.h Bug 944200 part 1 - [css-ui] Make TextOverflow::CanHaveTextOverflow not take a nsDisplayListBuilder so we can use it in Reflow; cache the value in BlockReflowInput::mCanHaveTextOverflow. r=dholbert 2017-04-15 00:31:43 +02:00
BRFrame.cpp Bug 1375825 - part2: ContentEventHandler::ExpandToClusterBoundary() should check the return value of nsTextFrame::PeekOffsetCharacter() r=jfkthame 2017-06-29 10:58:16 +09:00
broken-image.png
CSSAlignUtils.cpp
CSSAlignUtils.h
CSSOrderAwareFrameIterator.cpp Bug 812687 part 4: Add an optional parameter which can make CSSOrderAwareFrameIterator use the legacy "box-ordinal-group" property. r=mats 2017-04-05 19:31:47 -07:00
CSSOrderAwareFrameIterator.h Bug 1360241: Devirtualize nsIFrame::GetType. r=heycam 2017-04-30 17:30:08 +02:00
DetailsFrame.cpp Bug 1386600 - Change nsIStringBundle methods to return |AString| instead of |wstring|. r=emk,sr=dbaron. 2017-08-04 14:40:52 +10:00
DetailsFrame.h Bug 1377648 - Check summary frame instead of summary element on removing the summary. r=heycam 2017-07-05 15:52:37 +09:00
folder.png
frame-graph.py
FrameChildList.cpp
FrameChildList.h
FrameTypeList.h Bug 265894 - Part 5. Implement nsSVGSymbolFrame to layout symbol element. r=heycam 2017-06-14 21:40:59 +08:00
jar.mn
JustificationUtils.h
loading-image.png
MathMLTextRunFactory.cpp Bug 1362167 - Use strongly-typed enum classes instead of generic uint16_t fields for the gfxShapedText and gfxTextRun flags. r=jrmuizel 2017-05-04 22:27:05 +01:00
MathMLTextRunFactory.h
moz.build Bug 1357545 - handle text-shadows/decorations with webrender (layers-free) r=jrmuizel 2017-06-19 10:58:28 -04:00
nsAbsoluteContainingBlock.cpp Bug 1379306 - Fix the wrong position when we calculate the position for position:absolute child. r=dbaron 2017-08-07 20:31:00 +02:00
nsAbsoluteContainingBlock.h
nsAtomicContainerFrame.h Bug 1375825 - part2: ContentEventHandler::ExpandToClusterBoundary() should check the return value of nsTextFrame::PeekOffsetCharacter() r=jfkthame 2017-06-29 10:58:16 +09:00
nsAutoCopyListener.h
nsBackdropFrame.cpp Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange 2017-08-07 14:23:35 +12:00
nsBackdropFrame.h Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange 2017-08-07 14:23:35 +12:00
nsBlockDebugFlags.h
nsBlockFrame.cpp Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange 2017-08-07 14:23:35 +12:00
nsBlockFrame.h Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange 2017-08-07 14:23:35 +12:00
nsBlockReflowContext.cpp Bug 1379474 - Update various ReflowInput variable names to match the new type name. r=xidorn 2017-07-25 12:02:35 +01:00
nsBlockReflowContext.h Bug 1379474 - Update various ReflowInput variable names to match the new type name. r=xidorn 2017-07-25 12:02:35 +01:00
nsBulletFrame.cpp Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange 2017-08-07 14:23:35 +12:00
nsBulletFrame.h Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange 2017-08-07 14:23:35 +12:00
nsCanvasFrame.cpp Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange 2017-08-07 14:23:35 +12:00
nsCanvasFrame.h Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange 2017-08-07 14:23:35 +12:00
nsColumnSetFrame.cpp Bug 1388162 - Add a Destroy function to nsDisplayItem to use instead of manually invoking the destructor, this will allow us to recycle them in the future. r=mstange 2017-08-07 16:07:43 +12:00
nsColumnSetFrame.h Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange 2017-08-07 14:23:35 +12:00
nsContainerFrame.cpp Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange 2017-08-07 14:23:35 +12:00
nsContainerFrame.h Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange 2017-08-07 14:23:35 +12:00
nsDirection.h
nsFirstLetterFrame.cpp Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange 2017-08-07 14:23:35 +12:00
nsFirstLetterFrame.h Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange 2017-08-07 14:23:35 +12:00
nsFlexContainerFrame.cpp Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange 2017-08-07 14:23:35 +12:00
nsFlexContainerFrame.h Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange 2017-08-07 14:23:35 +12:00
nsFloatManager.cpp Bug 1365982 - Attach frame properties to each frame instead of looking them up in a hashtable on the prescontext. r=mats 2017-05-27 12:36:00 +01:00
nsFloatManager.h Bug 1363252 - Increase NS_FLOAT_MANAGER_CACHE_SIZE to 64 in order to reduce the likelihood of dynamic allocations when creating new nsFloatManagers; r=dbaron 2017-05-08 22:27:26 -04:00
nsFontInflationData.cpp Bug 1365982 - Attach frame properties to each frame instead of looking them up in a hashtable on the prescontext. r=mats 2017-05-27 12:36:00 +01:00
nsFontInflationData.h
nsFrame.cpp Bug 577824 - Part 1. Set the frame size in nsIFrame::FinishAndStoreOverflow before the ComputeEffectsRect call that uses it. r=jwatt 2017-08-09 01:04:49 +08:00
nsFrame.h Backed out changeset f07caa23cdbb (bug 1377497) for bustage at layout/generic/ReflowInput.cpp:2543: macro "DISPLAY_INIT_OFFSETS" passed 6 arguments, but takes just 5. r=backout on a CLOSED TREE 2017-07-07 18:52:50 +02:00
nsFrameIdList.h Bug 265894 - Part 5. Implement nsSVGSymbolFrame to layout symbol element. r=heycam 2017-06-14 21:40:59 +08:00
nsFrameList.cpp Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
nsFrameList.h
nsFrameSelection.cpp Bug 1388004 - part1: Make nsContentUtils::GetHTMLEditor() return HTMLEditor* rather than nsIEditor* r=smaug 2017-08-07 16:33:59 +09:00
nsFrameSelection.h Bug 1386472 - Only register the AccessibleCaretEventHub when the accessible caret is enabled; r=bzbarsky 2017-08-03 23:06:15 -04:00
nsFrameSetFrame.cpp Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange 2017-08-07 14:23:35 +12:00
nsFrameSetFrame.h Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange 2017-08-07 14:23:35 +12:00
nsFrameState.cpp
nsFrameState.h Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
nsFrameStateBits.h Bug 1367209 part 3 - Add a generic frame state bit, NS_FRAME_HAS_CSS_COUNTERS, to indicate that a frame maybe has some counter styles and thus be known by nsCounterManager. r=jfkthame 2017-06-04 16:45:15 +02:00
nsFrameUtil.cpp Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
nsGfxScrollFrame.cpp Bug 1388162 - Add a Destroy function to nsDisplayItem to use instead of manually invoking the destructor, this will allow us to recycle them in the future. r=mstange 2017-08-07 16:07:43 +12:00
nsGfxScrollFrame.h Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange 2017-08-07 14:23:35 +12:00
nsGridContainerFrame.cpp Merge inbound to central, a=merge 2017-08-11 13:15:33 -07:00
nsGridContainerFrame.h Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange 2017-08-07 14:23:35 +12:00
nsHTMLCanvasFrame.cpp Merge inbound to central, a=merge 2017-08-11 13:15:33 -07:00
nsHTMLCanvasFrame.h Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange 2017-08-07 14:23:35 +12:00
nsHTMLParts.h Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
nsIAnonymousContentCreator.h
nsIFrame.h Bug 1387514: Upgrade BaseRect (derived classes) width and height direct member variable use to instead use Width()/SetWidth() and Height()/SetHeight() in layout/*. r=dholbert 2017-08-14 08:30:04 -04:00
nsIFrameInlines.h bug 1368547 part 2 - Remove nsFrameManager/PresShell methods dealing with placeholders and introduce a nsIFrame::GetPlaceholderFrame() convenience method. r=jfkthame 2017-05-31 21:29:49 +02:00
nsIFrameUtil.h Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
nsILineIterator.h
nsImageFrame.cpp Bug 1388162 - Add a Destroy function to nsDisplayItem to use instead of manually invoking the destructor, this will allow us to recycle them in the future. r=mstange 2017-08-07 16:07:43 +12:00
nsImageFrame.h Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange 2017-08-07 14:23:35 +12:00
nsImageMap.cpp Bug 1382593: Clean a bit nsImageMap. r=heycam 2017-07-03 20:35:14 +02:00
nsImageMap.h Bug 1382593: Clean a bit nsImageMap. r=heycam 2017-07-03 20:35:14 +02:00
nsInlineFrame.cpp Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange 2017-08-07 14:23:35 +12:00
nsInlineFrame.h Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange 2017-08-07 14:23:35 +12:00
nsIntervalSet.cpp Bug 1367190 patch 1 - Convert the 4 objects that use nsPresArena::AllocateBySize to use AllocateByObjectID. r=mats 2017-05-24 09:35:26 -04:00
nsIntervalSet.h Bug 1367190 - Fix bustage on a CLOSED TREE. 2017-05-24 10:17:19 -04:00
nsIObjectFrame.h
nsIPageSequenceFrame.h
nsIScrollableFrame.h Bug 1382682 - Update a param to be a const-ptr. r=mstange 2017-07-20 12:33:09 -04:00
nsIScrollPositionListener.h
nsIStatefulFrame.h Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
nsLeafFrame.cpp Bug 1088760 - Remove nsRenderingContext, replacing all of its uses with gfxContext. r=jwatt,jrmuizel 2017-06-13 11:00:10 -04:00
nsLeafFrame.h Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange 2017-08-07 14:23:35 +12:00
nsLineBox.cpp Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
nsLineBox.h Bug 944200 part 2 - [css-ui] Store the line's float edges for text-overflow analysis if needed. r=dholbert 2017-04-15 00:31:43 +02:00
nsLineLayout.cpp Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
nsLineLayout.h Bug 1389168 - Remove unnecessary IBM license text. r=gerv 2017-08-16 16:10:56 -05:00
nsPageContentFrame.cpp Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
nsPageContentFrame.h Bug 1379474 - Update various ReflowInput variable names to match the new type name. r=xidorn 2017-07-25 12:02:35 +01:00
nsPageFrame.cpp Bug 1388253 - Convert nsTextFormatter:[v]smprintf() use to [v]ssprintf(). r=erahm. 2017-08-09 10:41:14 +10:00
nsPageFrame.h Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange 2017-08-07 14:23:35 +12:00
nsPlaceholderFrame.cpp Bug 1388162 - Add a Destroy function to nsDisplayItem to use instead of manually invoking the destructor, this will allow us to recycle them in the future. r=mstange 2017-08-07 16:07:43 +12:00
nsPlaceholderFrame.h Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange 2017-08-07 14:23:35 +12:00
nsPluginFrame.cpp Bug 1388162 - Add a Destroy function to nsDisplayItem to use instead of manually invoking the destructor, this will allow us to recycle them in the future. r=mstange 2017-08-07 16:07:43 +12:00
nsPluginFrame.h Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange 2017-08-07 14:23:35 +12:00
nsQueryFrame.h Bug 1364805 part 3 - Implement Type() by indexing a static array using the mClass field. Remove the nsIFrame::mType field. r=jfkthame 2017-05-26 12:11:11 +02:00
nsRubyBaseContainerFrame.cpp Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
nsRubyBaseContainerFrame.h Bug 1088760 - Remove nsRenderingContext, replacing all of its uses with gfxContext. r=jwatt,jrmuizel 2017-06-13 11:00:10 -04:00
nsRubyBaseFrame.cpp Bug 1360241: Devirtualize nsIFrame::GetType. r=heycam 2017-04-30 17:30:08 +02:00
nsRubyBaseFrame.h Bug 1364805 part 4 - Remove the now unused LayoutFrameType values from the ctors. r=jfkthame 2017-05-26 12:11:11 +02:00
nsRubyContentFrame.cpp
nsRubyContentFrame.h Bug 1364805 part 4 - Remove the now unused LayoutFrameType values from the ctors. r=jfkthame 2017-05-26 12:11:11 +02:00
nsRubyFrame.cpp Bug 1308876 - Mark child frames as dirty before starting reflow of the parent, so that if we reflow a child twice, it's only dirty the first time. r=dholbert 2017-07-12 19:37:12 -07:00
nsRubyFrame.h Bug 1088760 - Remove nsRenderingContext, replacing all of its uses with gfxContext. r=jwatt,jrmuizel 2017-06-13 11:00:10 -04:00
nsRubyTextContainerFrame.cpp Bug 1360241: Devirtualize nsIFrame::GetType. r=heycam 2017-04-30 17:30:08 +02:00
nsRubyTextContainerFrame.h Bug 1364805 part 4 - Remove the now unused LayoutFrameType values from the ctors. r=jfkthame 2017-05-26 12:11:11 +02:00
nsRubyTextFrame.cpp Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange 2017-08-07 14:23:35 +12:00
nsRubyTextFrame.h Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange 2017-08-07 14:23:35 +12:00
nsSimplePageSequenceFrame.cpp Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange 2017-08-07 14:23:35 +12:00
nsSimplePageSequenceFrame.h Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange 2017-08-07 14:23:35 +12:00
nsSplittableFrame.cpp Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
nsSplittableFrame.h Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
nsSubDocumentFrame.cpp Bug 1388162 - Add a Destroy function to nsDisplayItem to use instead of manually invoking the destructor, this will allow us to recycle them in the future. r=mstange 2017-08-07 16:07:43 +12:00
nsSubDocumentFrame.h Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange 2017-08-07 14:23:35 +12:00
nsTextFrame.cpp Bug 1385395 - Use flag bits in the nsGenericDOMDataNode to record whether nsTextFrame-related properties are present, so we don't perform unnecessary hashtable lookups in CharacterDataChanged etc. r=dbaron 2017-08-07 23:13:30 +01:00
nsTextFrame.h Bug 1385395 - Use flag bits in the nsGenericDOMDataNode to record whether nsTextFrame-related properties are present, so we don't perform unnecessary hashtable lookups in CharacterDataChanged etc. r=dbaron 2017-08-07 23:13:30 +01:00
nsTextFrameUtils.cpp Backed out changeset 9c822d8aad22 (bug 1371564) for build bustage: unused variable outputStart at nsTextFrameUtils.cpp:212. r=backout 2017-06-24 11:28:34 +02:00
nsTextFrameUtils.h Backed out changeset 9c822d8aad22 (bug 1371564) for build bustage: unused variable outputStart at nsTextFrameUtils.cpp:212. r=backout 2017-06-24 11:28:34 +02:00
nsTextRunTransformations.cpp Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
nsTextRunTransformations.h Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
nsVideoFrame.cpp Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange 2017-08-07 14:23:35 +12:00
nsVideoFrame.h Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange 2017-08-07 14:23:35 +12:00
ReflowInput.cpp Bug 1379474 - Update various ReflowInput variable names to match the new type name. r=xidorn 2017-07-25 12:02:35 +01:00
ReflowInput.h Bug 1379474 - Update various ReflowInput variable names to match the new type name. r=xidorn 2017-07-25 12:02:35 +01:00
ReflowOutput.cpp Bug 1379474 - Update various ReflowInput variable names to match the new type name. r=xidorn 2017-07-25 12:02:35 +01:00
ReflowOutput.h Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
RubyUtils.cpp Bug 1365982 - Attach frame properties to each frame instead of looking them up in a hashtable on the prescontext. r=mats 2017-05-27 12:36:00 +01:00
RubyUtils.h Bug 1361051: rename mozilla::FrameType to mozilla::LayoutFrameType. r=xidorn 2017-05-01 19:32:52 +02:00
ScrollbarActivity.cpp
ScrollbarActivity.h
ScrollSnap.cpp
ScrollSnap.h
ScrollVelocityQueue.cpp
ScrollVelocityQueue.h
StickyScrollContainer.cpp Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
StickyScrollContainer.h
TextDrawTarget.h Bug 1357545 - handle text-shadows/decorations with webrender (layers-free) r=jrmuizel 2017-06-19 10:58:28 -04:00
TextOverflow.cpp Bug 1388162 - Add a Destroy function to nsDisplayItem to use instead of manually invoking the destructor, this will allow us to recycle them in the future. r=mstange 2017-08-07 16:07:43 +12:00
TextOverflow.h Bug 1284888 part 2: Make TextOverflow::WillProcessLines() return a UniquePtr, for stronger lifetime guarantees. r=jfkthame 2017-07-18 22:42:42 -07:00
ViewportFrame.cpp Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange 2017-08-07 14:23:35 +12:00
ViewportFrame.h Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange 2017-08-07 14:23:35 +12:00
Visibility.h
WritingModes.h Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00