gecko-dev/layout/generic
Hiroyuki Ikezoe 2b9a5049f3 Bug 1443358 - Consider that the target frame is scrolled out if scrollable parent frame size is empty. r=birtles
This patch adds three test cases;

1) Animation on position:absolute element in a zero-height iframe
  This animation should be throttled.
2) Animation on a non-zero width and hight position:absolute element but whose
   parent has a zero height
  This animation should NOT be throttled since the animation is visible
3) Animation on a zero-height position:absolute element whose parent also has
   zero height.
  This animation should be throttled since the animation is invisible

The first test fails without this fix and passes with the fix.
The second one passes regardless of the fix
The third one is marked as 'todo' since it doesn't pass with this fix.

MozReview-Commit-ID: 8pNUFQ71ivj

--HG--
extra : rebase_source : d1d37e5324247efc20a39d86a0f8849450cc7533
2018-04-02 13:34:14 +09:00
..
crashtests Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
test Bug 1448714 - Fix up comments referring to 'style context' after the rename of nsStyleContext. r=emilio 2018-03-23 13:49:21 +00:00
BRFrame.cpp Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
BlockReflowInput.cpp Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz 2017-12-25 17:50:10 +01:00
BlockReflowInput.h
CSSAlignUtils.cpp
CSSAlignUtils.h
CSSOrderAwareFrameIterator.cpp
CSSOrderAwareFrameIterator.h
DetailsFrame.cpp Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
DetailsFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
FrameChildList.cpp
FrameChildList.h
FrameTypeList.h
JustificationUtils.h
MathMLTextRunFactory.cpp Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
MathMLTextRunFactory.h
ReflowInput.cpp Backed out 3 changesets (bug 1298008) for devtools failures on browser_boxmodel_pseudo-element.js CLOSED TREE 2018-03-30 23:10:23 +03:00
ReflowInput.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
ReflowOutput.cpp
ReflowOutput.h
RubyUtils.cpp
RubyUtils.h
ScrollAnimationBezierPhysics.cpp
ScrollAnimationBezierPhysics.h
ScrollAnimationMSDPhysics.cpp
ScrollAnimationMSDPhysics.h
ScrollAnimationPhysics.h
ScrollSnap.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
ScrollSnap.h
ScrollVelocityQueue.cpp
ScrollVelocityQueue.h
ScrollbarActivity.cpp Bug 1427512 - Part 29: Remove nsIDOMCSSDeclaration. r=xidorn,jryans,bz 2018-01-11 16:17:57 +08:00
ScrollbarActivity.h Bug 1423167: Move most attribute-related methods from nsIContent to Element. r=bz 2017-12-06 16:05:59 +01:00
StickyScrollContainer.cpp Bug 1448688: Remove RestyleTracker, ComputedStyle::AsServo, old style system element bits. r=xidorn 2018-03-26 09:38:07 +02:00
StickyScrollContainer.h Bug 1442767 - Rename Box to RectAbsolute (Gecko changes). r=kats 2018-03-05 18:08:18 -05:00
TextDrawTarget.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
TextOverflow.cpp Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
TextOverflow.h
ViewportFrame.cpp Merge mozilla-central to inbound a=merge on a CLOSED TREE 2018-03-27 01:33:50 +03:00
ViewportFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
Visibility.h
WritingModes.h Bug 1448714 - Fix up comments referring to 'style context' after the rename of nsStyleContext. r=emilio 2018-03-23 13:49:21 +00:00
broken-image.png Bug 1234008 - Recompress some png images with zopflipng r=Dolske,Grisha,jryans 2018-01-27 15:57:42 +08:00
folder.png Bug 1234008 - Recompress some png images with zopflipng r=Dolske,Grisha,jryans 2018-01-27 15:57:42 +08:00
frame-graph.py
jar.mn
loading-image.png Bug 1234008 - Recompress some png images with zopflipng r=Dolske,Grisha,jryans 2018-01-27 15:57:42 +08:00
moz.build Bug 1433715 - Make fallback folder icon content-accessible. r=Gijs 2018-01-28 23:01:42 +01:00
nsAbsoluteContainingBlock.cpp Bug 1432853 - Disable 'page-break-inside:avoid' on abs.pos. frames for now. r=dholbert 2018-02-15 18:38:03 +01:00
nsAbsoluteContainingBlock.h
nsAtomicContainerFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsAutoCopyListener.h
nsBackdropFrame.cpp Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsBackdropFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsBlockDebugFlags.h
nsBlockFrame.cpp Bug 1449400 part 5 - Remove StyleSetHandle. r=emilio 2018-03-29 22:15:46 +11:00
nsBlockFrame.h Bug 1449400 part 5 - Remove StyleSetHandle. r=emilio 2018-03-29 22:15:46 +11:00
nsBlockReflowContext.cpp Bug 1424528 part 1 - Remove nsDidReflowStatus::FINISHED 3rd arg in DidReflow calls (automated change). r=dholbert 2017-12-14 16:21:49 +01:00
nsBlockReflowContext.h
nsBulletFrame.cpp Bug 1448714 - Fix up comments referring to 'style context' after the rename of nsStyleContext. r=emilio 2018-03-23 13:49:21 +00:00
nsBulletFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsCanvasFrame.cpp Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsCanvasFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsColumnSetFrame.cpp Bug 1398537 part 2 - [css-multicol] Implement percentages for 'column-gap' (Gecko part). r=dholbert 2018-04-02 01:56:19 +02:00
nsColumnSetFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsContainerFrame.cpp Bug 1105111 part 3: Add support for 'flex-basis:content' in layout. r=mats 2018-04-02 04:30:38 +02:00
nsContainerFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsDirection.h
nsFirstLetterFrame.cpp Bug 1449400 part 5 - Remove StyleSetHandle. r=emilio 2018-03-29 22:15:46 +11:00
nsFirstLetterFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsFlexContainerFrame.cpp Bug 1174003 late-breaking followup: remove obsolete comment about flex align-self:baseline behavior. (no review, comment-only, DONTBUILD) 2018-03-30 16:13:08 -07:00
nsFlexContainerFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsFloatManager.cpp Bug 1426065 Part 2 - Drop mozilla prefix in nsFloatManager.cpp. r=dholbert 2017-12-19 15:22:36 +08:00
nsFloatManager.h Bug 1426065 Part 1 - Move ShapeInfo and its dervied classes from header to cpp. r=dholbert 2017-12-19 15:06:10 +08:00
nsFontInflationData.cpp
nsFontInflationData.h
nsFrame.cpp Bug 1443358 - Consider that the target frame is scrolled out if scrollable parent frame size is empty. r=birtles 2018-04-02 13:34:14 +09:00
nsFrame.h Bug 1448714 - Fix up comments referring to 'style context' after the rename of nsStyleContext. r=emilio 2018-03-23 13:49:21 +00:00
nsFrameIdList.h
nsFrameList.cpp
nsFrameList.h Bug 1429961: Avoid copying PostDestroyData. r=mats 2018-01-15 21:51:58 +01:00
nsFrameSelection.cpp Bug 1447890 part 5. Remove nsISelection::RemoveAllRanges. r=mystor 2018-03-27 00:35:23 -04:00
nsFrameSelection.h
nsFrameSetFrame.cpp Bug 1449400 part 5 - Remove StyleSetHandle. r=emilio 2018-03-29 22:15:46 +11:00
nsFrameSetFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsFrameState.cpp
nsFrameState.h
nsFrameStateBits.h Bug 1448714 - Fix up comments referring to 'style context' after the rename of nsStyleContext. r=emilio 2018-03-23 13:49:21 +00:00
nsGfxScrollFrame.cpp Bug 1448841 - Part 4: Always put the CompositorHitTestInfo for inactive scrollports at the very top. r=mstange 2018-03-29 23:02:25 +13:00
nsGfxScrollFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsGridContainerFrame.cpp Bug 1447166 part 4 - [css-grid] Make InitializeItemBaselines iterate the GridItemInfo array instead of using a CSSOrderAwareFrameIterator (idempotent change). r=dholbert 2018-03-24 23:03:44 +01:00
nsGridContainerFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsHTMLCanvasFrame.cpp Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsHTMLCanvasFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsHTMLParts.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsIAnonymousContentCreator.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsIFrame.h Bug 1449010: Respect ::selection background styles for image overlays. r=mattwoodrow 2018-03-29 02:53:02 +02:00
nsIFrameInlines.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsILineIterator.h
nsIObjectFrame.h
nsIPageSequenceFrame.h Bug 1419739 Part 2: Clean up resulting (and some existing) unused printing code. r=jwatt 2017-11-29 07:58:49 +00:00
nsIScrollPositionListener.h
nsIScrollableFrame.h Bug 1411129 - Rename MayBeAsynchronouslyScrolled to IsMaybeAsynchronouslyScrolled to follow our naming conventions. r=mats 2018-01-29 17:54:04 +05:30
nsIStatefulFrame.h
nsImageFrame.cpp Bug 1449010: Some minor cleanup in selection-related code. r=matwoodrow 2018-03-29 02:53:01 +02:00
nsImageFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsImageMap.cpp Bug 1447098 part 1. Rename FromContent on various DOM classes to FromNode. r=mystor 2018-03-21 17:39:04 -04:00
nsImageMap.h Bug 1424952: Modernize a bit more nsImageMap, and make removals a bit more incremental. r=dholbert 2017-12-15 17:53:41 +01:00
nsInlineFrame.cpp Bug 1449400 part 5 - Remove StyleSetHandle. r=emilio 2018-03-29 22:15:46 +11:00
nsInlineFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsIntervalSet.cpp Bug 1437623 part 1: (layout/generic) Add missing includes/namespaces to preemptively fix unified bustage. r=mats 2018-02-13 09:08:41 -08:00
nsIntervalSet.h
nsLeafFrame.cpp
nsLeafFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsLineBox.cpp
nsLineBox.h
nsLineLayout.cpp Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsLineLayout.h Bug 1426760: Don't let placeholders affect line height. r=jfkthame 2017-12-22 17:28:24 +01:00
nsPageContentFrame.cpp Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsPageContentFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsPageFrame.cpp Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsPageFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsPlaceholderFrame.cpp Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsPlaceholderFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsPluginFrame.cpp Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsPluginFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsQueryFrame.h
nsRubyBaseContainerFrame.cpp Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsRubyBaseContainerFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsRubyBaseFrame.cpp Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsRubyBaseFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsRubyContentFrame.cpp Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsRubyContentFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsRubyFrame.cpp Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsRubyFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsRubyTextContainerFrame.cpp Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsRubyTextContainerFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsRubyTextFrame.cpp Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsRubyTextFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsSimplePageSequenceFrame.cpp Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsSimplePageSequenceFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsSplittableFrame.cpp
nsSplittableFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsSubDocumentFrame.cpp Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsSubDocumentFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsTextFrame.cpp Merge inbound to mozilla-central. a=merge 2018-03-30 01:06:18 +03:00
nsTextFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsTextFrameUtils.cpp
nsTextFrameUtils.h
nsTextRunTransformations.cpp Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsTextRunTransformations.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsVideoFrame.cpp Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsVideoFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00