gecko/layout/generic
L. David Baron c98f68542e Bug 972088: Make nsIFrame::Preserves3DChildren not call nsStyleDisplay::HasTransform (pure refactoring). r=mattwoodrow
The purpose of this change is to make the code less confusing (since it's not clear to me why one would check HasTransform here), and in general to reduce the number of callers of HasTransform, since HasTransform is a complicated check that checks too many things and probably isn't the right thing for many of its callers (see, e.g., bug 968555).

This is pure refactoring because:
 (1) We're calling HasTransform only if mTransformStyle is
     NS_STYLE_TRANSFORM_STYLE_PRESERVE_3D.
 (2) HasTransform can return false for either of two reasons:
     (a) because HasTransformStyle is false, which cannot be the case
         here because HasTransformStyle checks mTransformStyle, and we
         already know that check passes because of (1)
     (b) because IsFrameOfType(nsIFrame::eSupportsCSSTransforms) is
         false.
This means that we can replace the HasTransform check with solely the
IsFrameOfType check.
2014-02-14 21:29:12 -08:00
..
crashtests Bug 968029 - Use unprefixed box-sizing in content/, dom/, layout/, and widget/. r=dbaron 2014-02-06 12:32:05 -07:00
test Bug 969247 part.1 Remove or replace DOM_VK_ENTER and NS_VK_ENTER users r=smaug 2014-02-15 09:57:39 +09:00
broken-image.png
folder.png
frame-graph.py
frame-verify.js
FrameChildList.cpp Bug 956447 - Make it possible to get frame dumps in non-DEBUG builds. r=roc 2014-01-05 23:31:14 +00:00
FrameChildList.h Bug 956447 - Make it possible to get frame dumps in non-DEBUG builds. r=roc 2014-01-05 23:31:14 +00:00
jar.mn
loading-image.png
Makefile.in Bug 772828 - Part b: use RESOURCE_FILES in moz.build instead of manual rules in Makefile.in; r=mshal 2013-11-05 13:37:54 -05:00
MathMLTextRunFactory.cpp Bug 442637 - Apply ssty font feature setting to appropriate MathML elements. r=roc 2014-01-15 09:49:20 -05:00
MathMLTextRunFactory.h Bug 442637 - Apply ssty font feature setting to appropriate MathML elements. r=roc 2014-01-15 09:49:20 -05:00
moz.build Bug 772828 - Part b: use RESOURCE_FILES in moz.build instead of manual rules in Makefile.in; r=mshal 2013-11-05 13:37:54 -05:00
nsAbsoluteContainingBlock.cpp Bug 967287 part 1: Remove unnecessary nsPresContext* argument from functions defined in nsContainerFrame.h. r=mats 2014-02-06 14:07:47 -08:00
nsAbsoluteContainingBlock.h
nsAutoCopyListener.h
nsBlockDebugFlags.h
nsBlockFrame.cpp Bug 971655 - The inner (-moz-fieldset-content) frame have the correct padding area and is the abs.pos. containing block so don't use the outer FieldSetFrame. r=roc 2014-02-15 02:00:08 +00:00
nsBlockFrame.h Bug 967287 part 2: Adjust indentation after removal of nsPresContext* args. r=mats 2014-02-06 14:07:48 -08:00
nsBlockReflowContext.cpp Bug 967287 part 1: Remove unnecessary nsPresContext* argument from functions defined in nsContainerFrame.h. r=mats 2014-02-06 14:07:47 -08:00
nsBlockReflowContext.h
nsBlockReflowState.cpp Bug 967287 part 1: Remove unnecessary nsPresContext* argument from functions defined in nsContainerFrame.h. r=mats 2014-02-06 14:07:47 -08:00
nsBlockReflowState.h bug 735577 - pt 3.2 - update the rest of layout code to use the new accessors on nsHTMLReflowState. r=smontagu 2013-12-27 17:59:21 +00:00
nsBRFrame.cpp bug 735577 - pt 4.1 - use accessor functions for some physical-coordinate fields in nsHTMLReflowMetrics, in preparation for logicalization. r=smontagu 2013-12-27 17:59:52 +00:00
nsBulletFrame.cpp Bug 960899 - Add debug function and lldb command to print frame state symbolically. r=dbaron 2014-01-18 18:08:22 +11:00
nsBulletFrame.h Bug 960899 - Add debug function and lldb command to print frame state symbolically. r=dbaron 2014-01-18 18:08:22 +11:00
nsCanvasFrame.cpp Bug 967287 part 1: Remove unnecessary nsPresContext* argument from functions defined in nsContainerFrame.h. r=mats 2014-02-06 14:07:47 -08:00
nsCanvasFrame.h Bug 967287 part 2: Adjust indentation after removal of nsPresContext* args. r=mats 2014-02-06 14:07:48 -08:00
nsColumnSetFrame.cpp Bug 967287 part 1: Remove unnecessary nsPresContext* argument from functions defined in nsContainerFrame.h. r=mats 2014-02-06 14:07:47 -08:00
nsColumnSetFrame.h Bug 967287 part 2: Adjust indentation after removal of nsPresContext* args. r=mats 2014-02-06 14:07:48 -08:00
nsContainerFrame.cpp Bug 967287 part 2: Adjust indentation after removal of nsPresContext* args. r=mats 2014-02-06 14:07:48 -08:00
nsContainerFrame.h Bug 967287 part 2: Adjust indentation after removal of nsPresContext* args. r=mats 2014-02-06 14:07:48 -08:00
nsDirection.h
nsFirstLetterFrame.cpp Bug 967287 part 1: Remove unnecessary nsPresContext* argument from functions defined in nsContainerFrame.h. r=mats 2014-02-06 14:07:47 -08:00
nsFirstLetterFrame.h Bug 958249 - The first ::first-letter continuation should display all sides of the border, the following continuations none. r=dholbert 2014-01-12 04:05:49 +00:00
nsFlexContainerFrame.cpp Bug 971913: Use DISPLAY_MIN_WIDTH / DISPLAY_PREF_WIDTH logging macros in nsFlexContainerFrame. r=jwatt 2014-02-12 23:47:01 -08:00
nsFlexContainerFrame.h Bug 969147: Compute (and sum) the cross sizes of flex lines as we go, to make pagination easier. r=mats 2014-02-06 17:04:52 -08:00
nsFloatManager.cpp Bug 962443. Make layout frame tree dumping code work better for Fennec and b2g. r=mats 2014-01-26 16:07:02 -06:00
nsFloatManager.h Bug 956447 - Make it possible to get frame dumps in non-DEBUG builds. r=roc 2014-01-05 23:31:14 +00:00
nsFontInflationData.cpp Bug 950411 - Initialize mNCAWidth to zero. r=roc 2014-01-03 21:08:50 +00:00
nsFontInflationData.h
nsFrame.cpp Bug 972088: Make nsIFrame::Preserves3DChildren not call nsStyleDisplay::HasTransform (pure refactoring). r=mattwoodrow 2014-02-14 21:29:12 -08:00
nsFrame.h Bug 963771. Add a debug dump function to print a single display item (and not just an entire display list). r=mats 2014-01-26 16:09:14 -06:00
nsFrameIdList.h Bug 956311 - Remove nsSVGGeometryFrame. r=dholbert 2014-01-04 08:29:02 +00:00
nsFrameList.cpp Bug 962443. Make layout frame tree dumping code work better for Fennec and b2g. r=mats 2014-01-26 16:07:02 -06:00
nsFrameList.h Bug 956447 - Make it possible to get frame dumps in non-DEBUG builds. r=roc 2014-01-05 23:31:14 +00:00
nsFrameSelection.h
nsFrameSetFrame.cpp Bug 959874 - Reorder two parameters in nsContainerFrame::FinishReflowChild(), for consistency with nsContainerFrame::ReflowChild(). r=dholbert 2014-01-16 17:34:44 -08:00
nsFrameSetFrame.h Bug 956447 - Make it possible to get frame dumps in non-DEBUG builds. r=roc 2014-01-05 23:31:14 +00:00
nsFrameState.cpp Bug 960899 - Add debug function and lldb command to print frame state symbolically. r=dbaron 2014-01-18 18:08:22 +11:00
nsFrameState.h Bug 960899 - Add debug function and lldb command to print frame state symbolically. r=dbaron 2014-01-18 18:08:22 +11:00
nsFrameStateBits.h Bug 91419 patch 9: Fix comments and debugging output referring to "special" frames. r=mats 2014-02-06 17:45:33 -08:00
nsFrameUtil.cpp Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc 2014-01-04 10:02:17 -05:00
nsGfxScrollFrame.cpp Bug 963278 - Better fix to deal with concurrent scroll updates from APZ and other places. r=tn,botond,jimm 2014-02-05 17:43:20 -05:00
nsGfxScrollFrame.h Bug 963278 - Better fix to deal with concurrent scroll updates from APZ and other places. r=tn,botond,jimm 2014-02-05 17:43:20 -05:00
nsHTMLCanvasFrame.cpp Bug 952977: Convert SetBaseTransform to gfx::Matrix4x4 r=nical 2014-01-27 10:28:33 -05:00
nsHTMLCanvasFrame.h Bug 956447 - Make it possible to get frame dumps in non-DEBUG builds. r=roc 2014-01-05 23:31:14 +00:00
nsHTMLParts.h Bug 960848 - Part 1: Make nsFrameState an enum and consolidate all frame state bit definitions in a single preprocessed file. r=dbaron 2014-02-05 12:59:39 +11:00
nsHTMLReflowMetrics.cpp bug 735577 - pt 4.1 - use accessor functions for some physical-coordinate fields in nsHTMLReflowMetrics, in preparation for logicalization. r=smontagu 2013-12-27 17:59:52 +00:00
nsHTMLReflowMetrics.h backout changeset 8b6f20bda157 (bug 735577 followup 1) for build failure 2013-12-29 22:48:13 +00:00
nsHTMLReflowState.cpp Bug 91419 patch 1: Rename NS_FRAME_IS_SPECIAL to NS_FRAME_PART_OF_IBSPLIT. r=mats 2014-02-06 17:45:28 -08:00
nsHTMLReflowState.h Bug 961354 part 1: Move nsCSSOffsetState constructor definition to .cpp file. r=mats 2014-01-20 14:02:18 -08:00
nsIAnonymousContentCreator.h
nsIFrame.h Add some logical setters/getters to nsIFrame.h. Bug 735577, r=jfkthame 2014-02-12 23:55:06 -08:00
nsIFrameInlines.h Bug 961354 part 2: Don't consider absolutely-positioned elements to be flex items, since they don't participate in normal flex layout. r=mats 2014-01-20 14:02:20 -08:00
nsIFrameUtil.h
nsILineIterator.h
nsImageFrame.cpp Bug 952977: Convert SetBaseTransform to gfx::Matrix4x4 r=nical 2014-01-27 10:28:33 -05:00
nsImageFrame.h Bug 960848 - Part 1: Make nsFrameState an enum and consolidate all frame state bit definitions in a single preprocessed file. r=dbaron 2014-02-05 12:59:39 +11:00
nsImageMap.cpp Bug 938849 - Build layout/generic in unified mode; r=roc 2013-11-15 08:19:02 -05:00
nsImageMap.h
nsInlineFrame.cpp Bug 91419 patch 9: Fix comments and debugging output referring to "special" frames. r=mats 2014-02-06 17:45:33 -08:00
nsInlineFrame.h Bug 960848 - Part 1: Make nsFrameState an enum and consolidate all frame state bit definitions in a single preprocessed file. r=dbaron 2014-02-05 12:59:39 +11:00
nsIntervalSet.cpp
nsIntervalSet.h
nsIObjectFrame.h
nsIPageSequenceFrame.h
nsIScrollableFrame.h Bug 963278 - Better fix to deal with concurrent scroll updates from APZ and other places. r=tn,botond,jimm 2014-02-05 17:43:20 -05:00
nsIScrollbarOwner.h
nsIScrollPositionListener.h
nsIStatefulFrame.h
nsLeafFrame.cpp bug 735577 - pt 4.1 - use accessor functions for some physical-coordinate fields in nsHTMLReflowMetrics, in preparation for logicalization. r=smontagu 2013-12-27 17:59:52 +00:00
nsLeafFrame.h
nsLineBox.cpp Bug 962443. Make layout frame tree dumping code work better for Fennec and b2g. r=mats 2014-01-26 16:07:02 -06:00
nsLineBox.h Bug 962443. Make layout frame tree dumping code work better for Fennec and b2g. r=mats 2014-01-26 16:07:02 -06:00
nsLineLayout.cpp Bug 91419 patch 9: Fix comments and debugging output referring to "special" frames. r=mats 2014-02-06 17:45:33 -08:00
nsLineLayout.h Bug 959380 - 1/5 - Make gfxBreakPriority a typed enum - r=jrmuizel 2014-01-23 13:26:39 -05:00
nsObjectFrame.cpp Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05:00
nsObjectFrame.h Bug 956447 - Make it possible to get frame dumps in non-DEBUG builds. r=roc 2014-01-05 23:31:14 +00:00
nsPageContentFrame.cpp Bug 966419 - Update the global ShrinkToFitRatio when the current page overflows and requires additional scaling to fit horizontally on the page in Print/Preview. r=dholbert 2014-02-04 02:12:13 +00:00
nsPageContentFrame.h Bug 956447 - Make it possible to get frame dumps in non-DEBUG builds. r=roc 2014-01-05 23:31:14 +00:00
nsPageFrame.cpp Bug 959874 - Reorder two parameters in nsContainerFrame::FinishReflowChild(), for consistency with nsContainerFrame::ReflowChild(). r=dholbert 2014-01-16 17:34:44 -08:00
nsPageFrame.h Bug 956447 - Make it possible to get frame dumps in non-DEBUG builds. r=roc 2014-01-05 23:31:14 +00:00
nsPlaceholderFrame.cpp Bug 91419 patch 6: Rename everything with IBSplitSpecialPrevSibling to IBSplitPrevSibling. r=mats 2014-02-06 17:45:31 -08:00
nsPlaceholderFrame.h Bug 960899 - Add debug function and lldb command to print frame state symbolically. r=dbaron 2014-01-18 18:08:22 +11:00
nsPluginUtilsOSX.h
nsPluginUtilsOSX.mm
nsQueryFrame.h
nsSelection.cpp Bug 956032 - text selection change event is missed when selected text becomes unselected, r=tbsaunde 2014-02-11 20:18:31 -05:00
nsSimplePageSequence.cpp Bug 966419 - Update the global ShrinkToFitRatio when the current page overflows and requires additional scaling to fit horizontally on the page in Print/Preview. r=dholbert 2014-02-04 02:12:13 +00:00
nsSimplePageSequence.h Bug 966419 - Update the global ShrinkToFitRatio when the current page overflows and requires additional scaling to fit horizontally on the page in Print/Preview. r=dholbert 2014-02-04 02:12:13 +00:00
nsSplittableFrame.cpp bug 735577 - pt 3.2 - update the rest of layout code to use the new accessors on nsHTMLReflowState. r=smontagu 2013-12-27 17:59:21 +00:00
nsSplittableFrame.h
nsSubDocumentFrame.cpp Bug 946929 - Part 2, Disable painting for the shell while the child views are detached. r=roc 2014-02-03 23:47:57 +00:00
nsSubDocumentFrame.h Bug 962443. Make layout frame tree dumping code work better for Fennec and b2g. r=mats 2014-01-26 16:07:02 -06:00
nsTextFrame.cpp bug 970710 - ensure GetTrimmedOffsets is called with consistent parameters from PropertyProvider::InitializeForMeasure and SetupJustificationSpacing. r=roc 2014-02-13 08:38:48 +00:00
nsTextFrame.h Bug 960848 - Part 1: Make nsFrameState an enum and consolidate all frame state bit definitions in a single preprocessed file. r=dbaron 2014-02-05 12:59:39 +11:00
nsTextFrameUtils.cpp bug 955957 - pt 1 - reimplement gfxSkipChars and gfxSkipCharsIterator to perform better with huge text runs. r=roc 2014-01-10 09:42:05 +00:00
nsTextFrameUtils.h Bug 953385 - Set math script flag on textruns belonging to MathML tokens. r=roc 2014-01-30 10:59:16 -05:00
nsTextRunTransformations.cpp Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc 2014-01-04 10:02:17 -05:00
nsTextRunTransformations.h Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc 2014-01-04 10:02:17 -05:00
nsVideoFrame.cpp Bug 952977: Convert SetBaseTransform to gfx::Matrix4x4 r=nical 2014-01-27 10:28:33 -05:00
nsVideoFrame.h Bug 956447 - Make it possible to get frame dumps in non-DEBUG builds. r=roc 2014-01-05 23:31:14 +00:00
nsViewportFrame.cpp Bug 959874 - Reorder two parameters in nsContainerFrame::FinishReflowChild(), for consistency with nsContainerFrame::ReflowChild(). r=dholbert 2014-01-16 17:34:44 -08:00
nsViewportFrame.h Bug 956447 - Make it possible to get frame dumps in non-DEBUG builds. r=roc 2014-01-05 23:31:14 +00:00
ScrollbarActivity.cpp
ScrollbarActivity.h
Selection.h Bug 949445 - Part 2: Move Selection to WebIDL; r=bzbarsky 2013-12-17 09:12:33 -05:00
StickyScrollContainer.cpp Bug 91419 patch 9: Fix comments and debugging output referring to "special" frames. r=mats 2014-02-06 17:45:33 -08:00
StickyScrollContainer.h Bug 931460. Part 1: When a <legend>'s frame is reparented to the <fieldset>, update StickyScrollContainers to match if necessary. r=mats 2013-11-23 22:48:26 +13:00
TextOverflow.cpp Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo 2013-12-08 21:52:54 -05:00
TextOverflow.h
WritingModes.h Extend the WritingModes API. Bug 735577, r=jfkthame 2014-02-12 23:55:08 -08:00