gecko-dev/layout/base
Kevin Wern 368ce48f75 Bug 1173521 - Properly handle unapplying 3D projective transforms to rectangles in APZ code. r=botond
The untransformation is done using the newly added UntransformTo() functions
which call Matrix4x4::ProjectRectBounds(), which returns an empty rectangle
if the result is not at least partially on the positive side of the w = 0 plane.

UntransformTo() returnis the transformed rectangle if it's not empty, and
Nothing() otherwise, making callers check for this case.

The patch also adds some assertions to places where we apply transforms we
know should be 2D (and thus didn't switch to use UntransformTo()), checking
that the transforms are in fact 2D.

--HG--
extra : rebase_source : bbc226f4135c2cf229c4e00dfb017a6c9c078391
extra : source : c2732f62a3b9a5246801aa000ce572ee07f53481
2015-08-28 12:00:29 -04:00
..
crashtests Backed out changeset acb7eb7f5ad4 (bug 1176496) for web compat problems 2015-07-15 23:37:22 +09:00
doc Bug 1110039 - Part 2.4 - Add AccessibleCaretEventHub. r=roc 2015-05-03 23:37:00 +02:00
gtest Bug 895274 part.3 Make the enum of event messages a named enum IGNORE IDL r=smaug 2015-08-26 21:56:59 +09:00
tests Bug 1196638 - Infer the proper button for synthesized mouse clicks on all callsites. r=jmaher 2015-08-22 09:51:51 -07:00
AccessibleCaret.cpp Bug 1161392 - Enlarge touch area for AccessibleCaret. r=roc 2015-05-27 16:37:28 +08:00
AccessibleCaret.h Bug 1188696 - Hoist nsRefPtr.h into MFBT. r=froydnj 2015-07-29 10:44:59 -07:00
AccessibleCaretEventHub.cpp Bug 895274 part.1 Rename WidgetEvent::message to WidgetEvent::mMessage r=smaug 2015-08-22 10:34:51 +09:00
AccessibleCaretEventHub.h Bug 1194063 - Update link to point to the diagram directly. r=mtseng 2015-08-17 21:22:00 +08:00
AccessibleCaretLogger.cpp Bug 1163907 - Remove #ifdef PR_LOGGING in AccessibleCaretLogger 2015-05-11 23:05:00 +08:00
AccessibleCaretLogger.h Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj 2015-06-03 15:25:57 -07:00
AccessibleCaretManager.cpp Bug 1197739 - Do not change focus too early unless the frame is selectable. r=roc 2015-08-27 16:55:33 -04:00
AccessibleCaretManager.h Bug 1197739 - Do not change focus too early unless the frame is selectable. r=roc 2015-08-27 16:55:33 -04:00
ActiveLayerTracker.cpp Bug 1181240 - Part 2: Replace gfx3DMatrix with Matrix4x4 in layout,r=vlad 2015-07-10 17:05:47 -07:00
ActiveLayerTracker.h Bug 1151359 (Part 3) - Treat nsImageFrames subject to scale animation as having an identity scale when predicting size. r=tn,birtles 2015-07-19 19:30:40 -07:00
CaretAssociationHint.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
DisplayItemClip.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
DisplayItemClip.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
DisplayListClipState.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
DisplayListClipState.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
FrameLayerBuilder.cpp Bug 1177018 - When finding a painted layer for a display item, include event regions in a layer's visible region. r=tn 2015-06-26 17:26:06 -04:00
FrameLayerBuilder.h Bug 1187619 - Only optmimize FrameLayerBuilder visibility calculations if correct. r=mattwoodrow 2015-08-03 04:07:00 -04:00
FramePropertyTable.cpp Bug 1182963 - Use nsTHashTable::Iterator in FramePropertyTable. r=njn 2015-07-15 17:05:06 +08:00
FramePropertyTable.h Bug 1188745 - Rename nsTArray::SizeOfExcludingThis() as ShallowSizeOfExcludingThis(). r=froydnj. 2015-07-28 23:24:24 -07:00
GeometryUtils.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
GeometryUtils.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
LayerState.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
LayoutLogging.cpp Bug 1175289 - Part 1: Add LAYOUT_WARNING. r=mats 2015-06-16 16:37:14 -07:00
LayoutLogging.h Bug 1175289 - Part 1: Add LAYOUT_WARNING. r=mats 2015-06-16 16:37:14 -07:00
MaskLayerImageCache.cpp Bug 1182963 - Use nsTHashTable::Iterator in MaskLayerImageCache. r=njn 2015-07-15 17:05:06 +08:00
MaskLayerImageCache.h Bug 1182963 - Use nsTHashTable::Iterator in MaskLayerImageCache. r=njn 2015-07-15 17:05:06 +08:00
MobileViewportManager.cpp Bug 1198839 - Don't update the displayport from the MVM unless there is already on the content. r=botond 2015-08-27 08:26:00 -04:00
MobileViewportManager.h Bug 1188172 - Don't update the resolution/SPCSPS for meta-viewport changes before the first-paint. r=botond 2015-08-02 22:50:54 -04:00
moz.build Bug 1189224 - Add BUG_COMPONENT for AccessibleCaret and others to moz.build. r=roc 2015-07-30 02:33:00 -04:00
nsArenaMemoryStats.h Bug 1168299 - Break out style struct memory usage reporting from pres-shell. r=njn 2015-05-27 12:08:42 +10:00
nsAutoLayoutPhase.cpp
nsAutoLayoutPhase.h
nsBidi.cpp Bug 1173415 - Fix incorrect mask used for nsBidi::mFlags [r=smontagu] 2015-06-11 10:10:48 -07:00
nsBidi.h Bug 1157726: Updated algorithm to match ICU implementation of support for bidi isolates. r=smontagu 2015-04-28 22:41:44 -04:00
nsBidiPresUtils.cpp Bug 1177505 - Make all continuations fluid within non-bidi paragraphs. r=smontagu 2015-07-30 13:47:08 -07:00
nsBidiPresUtils.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
nsCaret.cpp Bug 555642 part.1 nsCaret should have a way to override the caret visible state for hiding caret temporarily and nsEditor should hide caret if composition string doesn't have caret information r=roc 2015-08-17 20:58:38 +09:00
nsCaret.h Bug 555642 part.1 nsCaret should have a way to override the caret visible state for hiding caret temporarily and nsEditor should hide caret if composition string doesn't have caret information r=roc 2015-08-17 20:58:38 +09:00
nsChangeHint.h Bug 1180118 - Part 2: Add eRestyle_SomeDescendants restyle hint and pass associated restyle hint data into restyle methods. r=bzbarsky 2015-08-05 22:42:20 +10:00
nsCompatibility.h
nsCounterManager.cpp Bug 1144607 part 1 - Remove CounterStyleManager::BuildCounterStyle for anonymous counter styles. r=dbaron 2015-03-27 09:48:10 +11:00
nsCounterManager.h Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj 2015-03-21 12:28:04 -04:00
nsCSSColorUtils.cpp
nsCSSColorUtils.h
nsCSSFrameConstructor.cpp Bug 1177819. Replace the warning about anon content being passed into frame construction with an assert plus whitelisting of the known-OK cases. r=dholbert 2015-07-23 11:51:09 -04:00
nsCSSFrameConstructor.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
nsCSSRendering.cpp Bug 1178575 - Intersect the clip rect with aDirtyRect. r=roc 2015-08-07 14:05:48 +02:00
nsCSSRendering.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
nsCSSRenderingBorders.cpp Bug 1191609 - Always stroke CSS border sides separately from corner fills. r=mstange 2015-08-06 00:33:44 -04:00
nsCSSRenderingBorders.h Bug 1185636 - Part 4 - Implement CSS border corners by splitting geometry instead of gradients with hard stops. r=mstange 2015-07-31 14:27:19 -04:00
nsDisplayItemTypes.h
nsDisplayItemTypesList.h Bug 1156598. Remove old, dead scroll layer item code. r=mstange 2015-04-20 22:48:10 -05:00
nsDisplayList.cpp Bug 1166301 - Layerize background images fixed to child elements. r=mattwoodrow 2015-08-28 15:13:50 -04:00
nsDisplayList.h Bug 1185763 - Part 3: Rename nsTArray::MoveElementsFrom to AppendElements. r=froydnj 2015-08-11 08:29:46 -07:00
nsDisplayListInvalidation.cpp Bug 1175217 - Fix non-unified (and some unified) builds for nsDisplayListInvalidation.cpp. r=mstange 2015-06-16 15:16:30 -04:00
nsDisplayListInvalidation.h Bug 1157951 patch 1 - Rename fields and variables in nsCharClipDisplayItem etc using VisIStart/End instead of left/right. r=roc 2015-04-29 08:18:53 +01:00
nsDocumentViewer.cpp Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan 2015-08-04 16:17:36 -07:00
nsFrameManager.cpp Bug 1174631 (part 4) - Replace nsFrameManager's uses of PL_DHashTableEnumerate() with PLDHashTable::Iterator. r=dholbert. 2015-06-16 21:09:39 -07:00
nsFrameManager.h
nsFrameManagerBase.h Bug 1170416 (part 3) - Remove the PLDHashTable2 typedef. r=froydnj. 2015-05-19 16:46:17 -07:00
nsFrameTraversal.cpp Bug 1132518, add a flag to nsIFrameTraversal to skip the popup checks, r=mats 2015-07-13 06:07:49 -04:00
nsFrameTraversal.h Bug 1132518, add a flag to nsIFrameTraversal to skip the popup checks, r=mats 2015-07-13 06:07:49 -04:00
nsGenConList.cpp
nsGenConList.h
nsIDocumentViewerPrint.h Bug 1156632 - Remove unused forward class declarations - patch 5 - rdf, parser, layout and something else, r=ehsan 2015-04-22 08:29:22 +02:00
nsIFrameTraversal.h Bug 1132518, add a flag to nsIFrameTraversal to skip the popup checks, r=mats 2015-07-13 06:07:49 -04:00
nsILayoutDebugger.h
nsILayoutHistoryState.h
nsIPercentBSizeObserver.h Bug 1174711 - patch 1 - Rename nsIPercentHeightObserver to nsIPercentBSizeObserver, and update related frame methods to match. r=dholbert 2015-06-22 10:33:34 +01:00
nsIPresShell.h Bug 1177155 part 1 - Defer resize reflow and freeze refresh driver during window fullscreen change. r=smaug 2015-08-27 23:14:49 +10:00
nsIReflowCallback.h
nsIStyleSheetService.idl
nsLayoutDebugger.cpp Bug 1061393 - Export display list info to layer scope viewer. r=kamidphish 2015-08-03 02:11:00 -04:00
nsLayoutHistoryState.cpp Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
nsLayoutUtils.cpp Bug 1191539 - DisplayPort should ForceInside frameRect to match compositor DisplayPort. r=kats 2015-08-27 14:21:58 -04:00
nsLayoutUtils.h Bug 1181392 part 5 - Remove use of IsFinishedTransition from AnimationCollection::HasAnimationOfProperty; r=dbaron 2015-08-07 12:29:36 +09:00
nsPresArena.cpp Bug 1182963 - Use nsTHashTable::Iterator in nsPresArena. r=njn 2015-07-15 17:05:06 +08:00
nsPresArena.h Bug 1188745 - Rename nsTArray::SizeOfExcludingThis() as ShallowSizeOfExcludingThis(). r=froydnj. 2015-07-28 23:24:24 -07:00
nsPresContext.cpp Bug 1195857: Make nsPresContext::HasAuthorSpecifiedRules()'s arg 'const', to remove need for const_cast in callers. r=jwatt 2015-08-18 15:41:24 -07:00
nsPresContext.h Bug 1195857: Make nsPresContext::HasAuthorSpecifiedRules()'s arg 'const', to remove need for const_cast in callers. r=jwatt 2015-08-18 15:41:24 -07:00
nsPresShell.cpp Bug 1177155 part 1 - Defer resize reflow and freeze refresh driver during window fullscreen change. r=smaug 2015-08-27 23:14:49 +10:00
nsPresShell.h Bug 1178354 - Ensure we fire a before-first-paint event for printing as well. r=tn 2015-07-23 17:53:32 -04:00
nsPresState.h Bug 1139675 - Simplify the APIs for getting and setting the pres shell resolution. r=mstange,mattwoodrow 2015-03-06 18:07:59 -05:00
nsQuoteList.cpp
nsQuoteList.h Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj 2015-03-21 12:28:04 -04:00
nsRefreshDriver.cpp Bug 1198362 - Delete PreciseRefreshDriverTimer. r=roc 2015-08-26 09:45:54 -04:00
nsRefreshDriver.h Bug 1180125 part 1 - Queue and dispatch CSS animation events as a separate step; r=dbaron 2015-07-29 10:57:39 +09:00
nsStyleChangeList.cpp
nsStyleChangeList.h
nsStyleSheetService.cpp Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
nsStyleSheetService.h Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj 2015-03-21 12:28:04 -04:00
PaintTracker.cpp
PaintTracker.h
PositionedEventTargeting.cpp Backed out changeset e32341309d70 (bug 1992075) for landing with the wrong bug number 2015-08-20 13:50:27 -07:00
PositionedEventTargeting.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
RestyleLogging.h
RestyleManager.cpp Bug 1180120 - Part 7: Add eRestyleResult_StopWithStyleChange. r=dbaron 2015-08-29 06:13:48 +10:00
RestyleManager.h Bug 1180120 - Part 7: Add eRestyleResult_StopWithStyleChange. r=dbaron 2015-08-29 06:13:48 +10:00
RestyleTracker.cpp Bug 1180118 - Part 9: Clear nsCSSSelector pointers in the pending restyle tracker if they might be stale. r=bzbarsky 2015-08-05 22:42:21 +10:00
RestyleTracker.h Bug 1180118 - Part 9: Clear nsCSSSelector pointers in the pending restyle tracker if they might be stale. r=bzbarsky 2015-08-05 22:42:21 +10:00
RestyleTrackerInlines.h
ScrollbarStyles.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
ScrollbarStyles.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
SelectionCarets.cpp Bug 895274 part.1 Rename WidgetEvent::message to WidgetEvent::mMessage r=smaug 2015-08-22 10:34:51 +09:00
SelectionCarets.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
StackArena.cpp
StackArena.h Bug 1157728: Removed StackArena::Init() and call to it as it is now useless. r=dholbert 2015-04-25 07:47:10 +05:30
TouchCaret.cpp Bug 895274 part.1 Rename WidgetEvent::message to WidgetEvent::mMessage r=smaug 2015-08-22 10:34:51 +09:00
TouchCaret.h Bug 988143 - Enable Gecko Touch in Fennec, TouchCaret Scroll mods, r=ehsan 2015-05-14 22:06:13 -04:00
TouchManager.cpp Bug 895274 part.1 Rename WidgetEvent::message to WidgetEvent::mMessage r=smaug 2015-08-22 10:34:51 +09:00
TouchManager.h Bug 1133492 - Extract some of nsPresShell into a separate TouchManager class. r=smaug 2015-02-24 22:20:00 -05:00
Units.h Bug 1189837 - Subtract scrollbars in LD pixels rather than CSS pixels. r=mstange 2015-08-05 14:39:42 -04:00
UnitTransforms.h Bug 1173521 - Properly handle unapplying 3D projective transforms to rectangles in APZ code. r=botond 2015-08-28 12:00:29 -04:00
WordMovementType.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
ZoomConstraintsClient.cpp Bug 1194811 Part 2 - Use the content viewer size rather than the composition size of the root frame when computing the CSS viewport. r=botond 2015-08-26 14:41:20 -04:00
ZoomConstraintsClient.h Bug 1194811 Part 1 - Recompute the zoom constraints if the available screen area changes. r=botond 2015-08-26 14:41:12 -04:00