Timothy Nikkel
154ad5a083
Bug 1284350. Backed out changeset 82c3b4b81d82 (Bug 1261554 (Part 2) - Mark frames which are added to the display list when painting to the window as having Visibility::IN_DISPLAYPORT. r=mstange)
2016-09-12 00:19:08 -05:00
Timothy Nikkel
cb67cca872
Bug 1284350. Backed out changeset d6a286242f2d (Bug 1268348 - Pass the previous visibility state to OnVisibilityChange(). r=mstange)
2016-09-12 00:19:07 -05:00
Timothy Nikkel
88bb36312b
Bug 1284350. Backed out changeset 4517cddd204e (Bug 1269934 - Handle visible frame sets more generically in PresShell. r=mstange)
2016-09-12 00:19:07 -05:00
Carsten "Tomcat" Book
c81bda3e2d
Merge mozilla-central to autoland
2016-09-09 12:19:59 +02:00
Manish Goregaokar
aad318e17a
Bug 1300337
- Replace None_ variants from nsStyleConsts.h with None; r=heycam,TYLin
...
MozReview-Commit-ID: CxHzbEzjLxT
--HG--
extra : rebase_source : 232f90b8b107f7fb49f47a29a4e493660b8a7d87
2016-09-04 00:16:58 +05:30
cku
069847c2be
Bug 1295094 - Part 15. (follow up) Correct comments.(DONTBUILD) r=me
...
MozReview-Commit-ID: Kw8rrduASI2
--HG--
extra : rebase_source : c67b6b09563f223434889124d2c9f68e8a8fe9a9
extra : amend_source : dcb23bf43c12e527550f130793d61f10e4a395c1
2016-09-09 11:24:15 +08:00
Carsten "Tomcat" Book
7c6c7db247
Merge mozilla-central to autoland
2016-09-07 17:26:11 +02:00
Jeremy Chen
c6d0429830
Bug 1297306 - part6:replace NS_STYLE_CLEAR_* with StyleClear enum class. r=xidorn
...
After using enum class, a switch-case warning in CombineBreakType is caught.
This is one of such kind safty checks that we would like to gain.
Fix it by adding default case for switch-case in CombineBreakType.
MozReview-Commit-ID: BdS3LPN6qzX
--HG--
extra : rebase_source : 17f24a0d482ed6eb51b23e6942d0ac1c87375e0b
2016-09-07 10:20:17 +08:00
Xidorn Quan
4e5bd79656
Bug 1260031 - Not force break before a block when calculating intrinsic width if the current line is empty and the block cannot intersect floats. r=dbaron
...
MozReview-Commit-ID: 9rNUDK5t5jg
--HG--
extra : rebase_source : 2a852efe3f9801884e558f22ae7d9550fae87836
2016-08-23 09:29:45 +10:00
Wes Kocher
1c8f6396c3
Merge m-c to autoland, a=merge
2016-09-02 13:34:45 -07:00
cku
fecac37ed2
Bug 1295094 - Part 14. Skip any filter effect while generating glyph mask for bg-clip:text. r=jfkthame
...
MozReview-Commit-ID: CTzu7uhAaQM
--HG--
extra : rebase_source : cf935bf3e8cc2b7081bd016fea94b8d5062ad014
2016-09-01 14:54:11 +08:00
cku
5760f377d3
Bug 1295094 - Part 12. nsDisplayFilter creation flow. r=mstange
...
MozReview-Commit-ID: 3Ts8GqYyNej
--HG--
extra : rebase_source : 96a2f2c7ad69328a62a0033603fa572341b25099
2016-09-01 11:11:54 +08:00
cku
78ca020a31
Bug 1295094 - Part 10. nsDisplayMask creation flow. r=mstange
...
MozReview-Commit-ID: Jk9B54WtThK
--HG--
extra : rebase_source : 199b71fef0cce209b048dc362f89ecd700fda3e9
2016-08-16 13:56:11 +08:00
cku
40235c5c47
Bug 1295094 - Part 9. Implement nsDisplayMask. r=mstange
...
MozReview-Commit-ID: CBszApBehRE
--HG--
extra : rebase_source : 94a1aee20a569e0e061d20cae81b1112275cd1a6
2016-08-10 03:02:45 +08:00
Markus Stange
76429f17c6
Bug 1298209 - Use Maybe<nsRect> for nsIFrame::GetClipPropClipRect. r=mattwoodrow
...
MozReview-Commit-ID: 3LhUk1Vapnj
--HG--
extra : rebase_source : 98121e20dbd4e7ed707494fbea31083f7c7645d3
2016-08-23 14:43:08 -04:00
Markus Stange
81fe352e5f
Bug 1298209 - Make clip capturing easier to understand. r=mattwoodrow
...
MozReview-Commit-ID: 6OmdH7WoFma
--HG--
extra : rebase_source : 9fc53828b07034b26c6a6075d34bb4c2c4cb1110
2016-08-23 17:34:33 -04:00
Markus Stange
1eb29de8a4
Bug 1298209 - Create variables for extend3DContext and hasPerspective. r=mattwoodrow
...
MozReview-Commit-ID: 9Dm7lnLQ4I4
--HG--
extra : rebase_source : e3a18ea80e47ab52eba7e3c5b3bec4e0f072d205
2016-08-22 19:26:58 -04:00
cku
56e3bcbb89
Bug 1300401 - Part 2. Add more comments and assertions. r=mstange
...
MozReview-Commit-ID: HywA9IrGhk2
--HG--
extra : rebase_source : 27dce66ccb4b0547b9c6332ebde99ebdc272565a
2016-09-05 12:46:56 +08:00
cku
86c378df38
Bug 1300401 - Part 1. Handle opacity in nsDisplayFilter. r=mstange
...
MozReview-Commit-ID: D4JXkDm64fN
--HG--
extra : rebase_source : 44ce4f92c2257a2303de2702af2ade3d8173c358
2016-09-05 11:47:18 +08:00
Ravi Shankar
149cb6c819
Bug 1297982 - Replace NS_STYLE_BOX_DECORATION_BREAK_* with enum class; r=xidorn
...
MozReview-Commit-ID: 9Cli68UpKdz
--HG--
extra : rebase_source : aa43e54c5e5501cbfee29437c5fcfc0216823bd8
2016-08-26 12:44:32 +05:30
Xidorn Quan
a154442a7e
Bug 1200469 part 1 - Avoid using fallback cursor if from the same frame. r=tnikkel,smaug
...
MozReview-Commit-ID: A2Ku0TND66L
--HG--
extra : amend_source : 186b672b7e55affaf2f30a737346da5fde4aa343
2016-08-19 23:37:14 +10:00
Bobby Holley
412f98cac5
Bug 1296509 - Optimize GetFlattenedTreeParent. r=smaug
...
We need to call it on some hot paths in stylo, and this allows us to do
quick inline check before delegating to the slow path.
2016-08-19 14:43:53 -07:00
Nicholas Nethercote
67af4817e9
Bug 1293596 (part 2) - Rework nsIWidget bounds getters. r=mstange.
...
This patch makes GetBounds(), GetScreenBounds() and GetClientBounds() more
obviously infallible, like existing functions such as GetNaturalBounds() and
GetClientSize(). This results in clearer behaviour in nsCocoaWindow.mm if
Objective C exceptions occur. Along the way, the patch removes some useless
failure checks for these functions.
The patch also removes the NS_IMETHOD from GetRestoredBounds and makes that
function MOZ_MUST_USE.
2016-08-19 09:03:04 +10:00
Igor
175543fda8
Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj
2016-08-14 23:43:21 -07:00
Igor
a57972337d
Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj
2016-08-14 23:44:00 -07:00
Wes Kocher
b1e2d2ad52
Merge m-c to inbound, a=merge
2016-08-12 16:29:24 -07:00
Kearwood (Kip) Gilbert
2c3a6a5f88
Bug 1250244 - Part 2: Remove old VR rendering paths,r=gw280
...
MozReview-Commit-ID: 8H7spQggI2w
2016-05-27 13:49:04 -07:00
Carsten "Tomcat" Book
553a2da922
merge mozilla-inbound to mozilla-central a=merge
2016-08-10 15:54:26 +02:00
Sebastian Hengst
6ed5110691
Backed out changeset ff84b85aa1cb (bug 1291667) for asserting at nsRuleNode.cpp:1322 and failing mochitests and reftests. r=backout
2016-08-10 12:59:15 +02:00
Ravi Shankar
049a72eb4c
Bug 1291667 - Change NS_STYLE_USER_SELECT_* constants to enum classes; r=Manishearth,heycam
...
MozReview-Commit-ID: 2qBMmQrtuR9
2016-08-10 13:57:32 +08:00
Matt Woodrow
193414f9a8
Bug 1237102 - Make sure we don't generate invalidations for children of opacity:0 frames, even when plugins are present. r=tnikkel
2016-08-10 15:15:28 +12:00
Ting-Yu Lin
b8899e7e16
Bug 1293604 - Replace NS_STYLE_FLOAT_* with StyleFloat enum class. r=dbaron
...
MozReview-Commit-ID: 4K6TyIm6cs3
--HG--
extra : rebase_source : b6210815b7c03d5634fdddf8080a3da4e090d194
2016-08-09 17:32:54 +08:00
Matt Woodrow
bf8a0ba830
Bug 1287122 - Make sure we build nsDisplayOpacity if we need it, since useOpacity already takes svg effects into account. r=dbaron
...
--HG--
extra : rebase_source : 7a9952fe0ed3a579083bd324002d44ab735d0735
2016-08-05 10:37:46 +12:00
Ravi Shankar
61b118d165
Bug 1291667 - Change NS_STYLE_USER_SELECT_* constants to enum classes; r=heycam,manishearth
...
MozReview-Commit-ID: IcDt3XYvdlj
--HG--
extra : rebase_source : ea426ac572b6adfc09fd9440e45a0c26adde4373
2016-08-10 21:42:21 +05:30
Emilio Cobos Álvarez
ff065c3a99
Bug 1288938: Allow passing different reasons to dirty a non display SVG text frame. r=heycam
...
Otherwise, when a glyph changes, we might end up doing too much work, destroying
the text-run and the observer that dirtied the frame, causing an assertion when
trying to delete it from the observer set.
MozReview-Commit-ID: LMQVr6pYFVM
2016-08-03 10:53:37 -07:00
Daosheng Mu
994ee1499f
Bug 1281215 - Make the outline of SVG container narrows to its children. r=heycam
...
MozReview-Commit-ID: Ct1mdwmHMw2
--HG--
extra : transplant_source : %FB%8AxsXw%C6Iy%09%9B%AC9%0Da%24%9A%C9%B7%82
2016-07-29 07:35:58 +08:00
Matt Woodrow
e45bc78bff
Bug 1282312 - Part 1: Invalidate direct rendering observers for a frame when we schedule a paint due to changes. r=mstange
2016-07-29 17:58:21 +12:00
Manish Goregaokar
52b9ca33f3
Bug 1288383 - Replace NS_STYLE_USER_FOCUS_* with an enum class; r=heycam
...
MozReview-Commit-ID: A7BYcfsn1tI
--HG--
extra : rebase_source : b893331b173a306143e546f0d403ae25f827fae2
2016-07-25 11:56:40 +05:30
Ting-Yu Lin
d77152fcd0
Bug 1277129 Part 7c - Rename various RS variables to RI. r=dbaron
...
This patch is generated by the following script:
function rename() {
find layout\
-type f\
! -path "./obj*"\
! -path "./.git"\
! -path "./.hg"\
\( -name "*.cpp" -or\
-name "*.h" \)\
-exec sed -i -r "s/$1/$2/g" "{}" \;
}
rename aChildRS aChildRI
rename aContainingBlockRS aContainingBlockRI
rename aFrameRS aFrameRI
rename aLastRS aLastRI
rename aOuterRS aOuterRI
rename aRS aRI
rename blockHtmlRS blockHtmlRI
rename captionRS captionRI
rename cellRS cellRI
rename childRS childRI
rename firstAncestorRS firstAncestorRI
rename flexContainerRS flexContainerRI
rename gridRS gridRI
rename innerRS innerRI
rename lastButOneRS lastButOneRI
rename LineContainerRS LineContainerRI
rename mBlockRS mBlockRI
rename parentRS parentRI
rename secondAncestorRS secondAncestorRI
rename lastRSSize lastRISize
rename lastRSPadding lastRIPadding
MozReview-Commit-ID: YEgZs3WMow
--HG--
extra : rebase_source : c26050c71a3a5b13ef46e6d3582e581702d49ee8
2016-07-21 18:36:39 +08:00
Ting-Yu Lin
40fcd21b9a
Bug 1277129 Part 7b - Rename various ReflowState variables to ReflowInput. r=dbaron
...
This patch is generated by the following script:
function rename() {
find .\
-type f\
! -path "./obj*"\
! -path "./.git"\
! -path "./.hg"\
\( -name "*.cpp" -or\
-name "*.h" \)\
-exec sed -i -r "s/$1/$2/g" "{}" \;
}
rename "([[:alpha:]]*)([rR])eflowState(s?)" "\1\2eflowInput\3"
MozReview-Commit-ID: ITFO7uMTkSb
--HG--
extra : rebase_source : c91a2e174a0baec60c1b0111ac7636295004ab35
2016-07-21 18:36:39 +08:00
Ting-Yu Lin
cd13f0ea71
Bug 1277129 Part 6a - Rename frame to mFrame in SizeComputationInput. r=dbaron
...
MozReview-Commit-ID: 3SXZ4qEZJc
--HG--
extra : rebase_source : 577d48f047af163585acea95dda311358f5e8c25
2016-07-21 18:36:38 +08:00
Ting-Yu Lin
4053c4c028
Bug 1277129 Part 5c - Rename nsHTMLReflowMetrics to ReflowOutput. r=dbaron
...
This patch is generated by the following script:
function rename() {
find .\
-type f\
! -path "./obj*"\
! -path "./.git"\
! -path "./.hg"\
\( -name "*.cpp" -or\
-name "*.h" \)\
-exec sed -i -e "s/$1/$2/g" "{}" \;
}
rename "nsHTMLReflowMetrics" "ReflowOutput"
MozReview-Commit-ID: 2HBb7DkooH5
--HG--
extra : rebase_source : acfa442a6483772fcb5748dc6f5e7072e599032a
2016-07-21 18:36:38 +08:00
Ting-Yu Lin
154af05659
Bug 1277129 Part 1d - Rename nsCSSOffsetState to SizeComputationInput. r=dbaron
...
This patch is generated by the following script:
function rename() {
find .\
-type f\
! -path "./obj*"\
! -path "./.git"\
! -path "./.hg"\
\( -name "*.cpp" -or\
-name "*.h" \)\
-exec sed -i -e "s/$1/$2/g" "{}" \;
}
rename nsCSSOffsetState SizeComputationInput
MozReview-Commit-ID: GUJ99qNiSwD
--HG--
extra : rebase_source : cf4e6c35338e1e9d4ee106305548075b2c1bdcb1
2016-07-21 18:36:35 +08:00
Ting-Yu Lin
820f88de49
Bug 1277129 Part 1c - Rename nsHTMLReflowState to ReflowInput. r=dbaron
...
This patch is generated by the following script:
function rename() {
find .\
-type f\
! -path "./obj*"\
! -path "./.git"\
! -path "./.hg"\
\( -name "*.cpp" -or\
-name "*.h" \)\
-exec sed -i -e "s/$1/$2/g" "{}" \;
}
rename nsHTMLReflowState ReflowInput
MozReview-Commit-ID: 9r9vdVv1pXc
--HG--
extra : rebase_source : 623ec822996ba0ea0058dd137acf5a658cdea04a
2016-07-21 18:36:35 +08:00
Kartikaya Gupta
0b6ad3948e
Bug 1287142 - Ensure that the touch-action property on the scrollable element is applied to both the inner and outer scrollframe. r=tnikkel
...
MozReview-Commit-ID: JafhGnhpApE
2016-07-20 23:29:17 -04:00
Timothy Nikkel
8dab980fec
Bug 1271714. When creating the wrap list item that contains the display list for a frame make sure to use a scroll clip that includes content in the display list. r=mstange
...
In nsIFrame::BuildDisplayListForChild for certain types of frames we create wrap list items to wrap the constructed display list to make those items inseperable.
We were using the current scroll clip by default when creating these items, but that scroll clip may not contain all the content in the display list if we traversed into an out of flow frame whose containing block is an ancestor of the current frame. The CurrentAncestorScrollClipForStackingContextContents keeps track of exactly this. (Its name might be a little misleading as we may not be dealing with a true stacking context here. Nevertheless it does contain the correct clip.)
We also need to initialize the value of mStackingContextAncestorSC when we create an AutoSaveRestore because we are now using that value sometimes without calling Enter/ExitStackingContext (which initializes mStackingContextAncestorSC).
2016-07-13 01:08:18 -05:00
Kartikaya Gupta
982bc8ba1f
Bug 1284586 - Disable paint-skipping for scrollframes that we detect as having a CSS-clipped descendant. r=mstange
...
MozReview-Commit-ID: AvjokFZMwdd
2016-07-13 16:05:53 -04:00
Carsten "Tomcat" Book
c3393c7dd8
Backed out changeset 0d582c239872 (bug 1271714) for test failures
2016-07-13 09:44:45 +02:00
Timothy Nikkel
5cc9ab83c9
Bug 1271714. When creating the wrap list item that contains the display list for a frame make sure to use a scroll clip that includes content in the display list. r=mstange
...
In nsIFrame::BuildDisplayListForChild for certain types of frames we create wrap list items to wrap the constructed display list to make those items inseperable.
We were using the current scroll clip by default when creating these items, but that scroll clip may not contain all the content in the display list if we traversed into an out of flow frame whose containing block is an ancestor of the current frame. The CurrentAncestorScrollClipForStackingContextContents keeps track of exactly this. (Its name might be a little misleading as we may not be dealing with a true stacking context here. Nevertheless it does contain the correct clip.)
We also need to initialize the value of mStackingContextAncestorSC when we create an AutoSaveRestore because we are now using that value sometimes without calling Enter/ExitStackingContext (which initializes mStackingContextAncestorSC).
2016-07-13 01:08:18 -05:00
Timothy Nikkel
8b8ea4c0be
Bug 1276467. Enforce that any items creating when we descend into an out-of-flow for which we don't have the proper clip are invisible. r=mattwoodrow
...
Just giving them an empty visible rect isn't enough because the initial visible rect can be ignored when we compute visibility.
When we enter an out of flow without saved clip data we set a flag on the builder indicating all items created should be invisible. When we enter a visible out of flow (ie one with saved clip data) inside the first out of flow we clear the flag so items created inside the second out of flow can be visible.
2016-07-12 00:49:11 -05:00
Timothy Nikkel
8ef0c4f3e2
Bug 1285411. Mark preserve 3d children as "force descend into" before we mark absolute frames so that we can save the proper clip for more out of flow frames. r=mattwoodrow
2016-07-09 18:41:02 -05:00
Hiroyuki Ikezoe
d6944d301d
Bug 1278136
- Part 2: We should not check whether the animation can run on the compositor or it's paused when determining if we should create a stacking context. r=birtles,mattwoodrow
...
We should create a stacking context for any transform or opacity animations
that are either "in effect" (what we currently do) OR "current", i.e.
scheduled to run or running. *BUT* for now, we don't create any stacking
context in before phase without fill:backwards or fill:both because the
property never wins in cascade until the animation gets "in effect". This
restriction will be removed in a subsequent patch in this bug after landing
bug 1279403.
MozReview-Commit-ID: 8RyLJNPtoKI
--HG--
rename : layout/reftests/css-animations/stacking-context-transform-animation-ref.html => layout/reftests/css-animations/stacking-context-animation-ref.html
extra : rebase_source : 0d9c8d9e03ca0d400e9b376b9416fbabffd10034
2016-06-27 12:52:53 +09:00
Hiroyuki Ikezoe
7cc7e32a9b
Bug 1278136
- Part 0: Clean up frame->StyleDisplay()->BackfaceIsHidden() usage. r=mattwoodrow
...
We already have a wrapper named nsIFrame::BackfaceIsHidden().
MozReview-Commit-ID: 5L49W6wtXs1
--HG--
extra : rebase_source : d3be8d028453e63fb2d3d96b5956262d352385ef
2016-07-08 13:01:31 +09:00
Timothy Nikkel
2b21f8f65d
Bug 1277123. Only clear the containing block clip when entering an out of flow with an unknown clip. r=mattwoodrow
...
The content clip is still valid, as we are only descending into content descendants.
The clip for content descendants that the root scroll frame creates so content doesn't overflow (visually or for event handling) the main scrollbar can get cleared otherwise.
2016-07-06 16:55:17 -05:00
Stone Shih
f3651866bf
Bug 1261673: Handle wheel event when mouse cursor is hovered on a focused number input as increasing/decreasing it's value. r=smaug
2016-05-06 18:39:10 +08:00
Matt Woodrow
b4b0f124bf
Bug 1283827 - Flatten transform-style:preserve-3d when combined with opacity. r=dbaron
...
This matches the behaviour required by the latest editor's draft spec and matches what blink is planning on shipping soon.
It may not be an entirely web compatible change, but we expect only a small number of websites to be affected. See
the bug for more details.
2016-07-02 14:47:12 +02:00
Matt Woodrow
4f7d3bf72f
Bug 1269321: Part 3 - Create a wrapper layer for masking when we can't support it on the normal layer. r=thinker
...
--HG--
extra : rebase_source : 2ad8ec40082c3cea7b811190a91b0324a4b0d8a2
2016-06-30 18:10:25 +02:00
Brad Werth
bb6b3396a0
Bug 1243559
- Removes static casts from calls to FrameProperties::Get, ::Set, and ::Remove, and forces callers to use the type associated with the property. r=dbaron
2016-06-21 13:17:11 -07:00
Makoto Kato
fb90c3584f
Bug 1203871 - Part 1. Add nsIFrame::GetCharacterRectsInRange. r=jfkthame
...
Masayuki suggests GetCharcterRectsInRange instead of first idea's API by part 2 implementation.
IME wants to need the width per character. Now nsTextFrame/nsIFrmae has only API to get point of string. So I want to add this method to calculate simply by comment #3 .
If no text frame, I would like to return error due to no character. (Caller shouldn't call this API on non-text frame.)
MozReview-Commit-ID: LQHUTzhnGn
--HG--
extra : rebase_source : bc495493c7be73afb05489ad2169e8dcdd6e6da4
extra : histedit_source : e54a7c3bfb100765317a0c8a83b432d5f706ffe1
2016-06-23 12:02:14 +01:00
Phil Ringnalda
28ae5ce216
Back out changeset 0bb00282a4c2 (bug 1243559
) for widespread SVG assertion failures
...
CLOSED TREE
2016-06-22 18:45:08 -07:00
Brad Werth
179aa18d0d
Bug 1243559
- Removes static casts from calls to FrameProperties::Get, ::Set, and ::Remove, and forces callers to use the type associated with the property. r=dbaron
...
--HG--
extra : rebase_source : fd19554f1611f8028a364ce93e833d8939688bfb
2016-06-21 13:17:11 -07:00
Xidorn Quan
05dcd227c5
Bug 1281099 part 2 - Merge three bidi frame properties into one. r=jfkthame
...
MozReview-Commit-ID: CEJhM3c21KO
--HG--
extra : rebase_source : 9e21c098692429ad3b35b2230887faf85c967ce8
2016-06-21 17:53:10 +10:00
Xidorn Quan
c81ed5494f
Bug 1281099 part 1 - Convert some macros to functions to help later change. r=jfkthame
...
MozReview-Commit-ID: 2OS5eIsNAYN
--HG--
extra : rebase_source : 345e33f986aa950eb122c1cc7451c7a59a8f84cb
2016-06-21 17:21:09 +10:00
Kyle Zentner
b0138383bd
Bug 1166728 - Remove support for "box-sizing: padding-box", per CSS WG resolution. r=dholbert r=mats
...
MozReview-Commit-ID: JClqoCUrm11
2016-06-18 23:03:30 +01:00
Astley Chen
5bcbb06586
Bug 1277131 : Part 3 - rename nsGkAtoms::tableOuterFrame and nsCSSAnonBoxes::tableOuter. r=heycam
...
MozReview-Commit-ID: 7GIjtUH9hdZ
--HG--
extra : rebase_source : 818cead88e560effa402e183b4a642fd1a7b9191
2016-06-16 13:35:43 +01:00
Astley Chen
1fcb0ee95d
Bug 1277131 : Part 1 - rename nsTableOuterFrame to nsTableWrapperFrame. r=heycam
...
MozReview-Commit-ID: KrSHLbmovTM
--HG--
rename : layout/tables/nsTableOuterFrame.cpp => layout/tables/nsTableWrapperFrame.cpp
rename : layout/tables/nsTableOuterFrame.h => layout/tables/nsTableWrapperFrame.h
extra : rebase_source : 730a73b8439f1f5c5ccdb32b241deda5224c321c
2016-06-16 13:14:08 +01:00
Masayuki Nakano
9fdc31aea3
Bug 1278014 part.14 Rename SelectionType::SELECTION_URLSTRIKEOUT to SelectionType::eURLStrikeout r=smaug
...
MozReview-Commit-ID: 7AqeDbHxGE2
--HG--
extra : rebase_source : 2dada2c98e1186aa7f5699b8d11033eae50ba2c6
2016-06-09 20:58:56 +09:00
Masayuki Nakano
a0eb51f54d
Bug 1278014 part.13 Rename SelectionType::SELECTION_URLSECONDARY to SelectionType::eURLSecondary r=smaug
...
MozReview-Commit-ID: C2IW7nqjEkD
--HG--
extra : rebase_source : a64cd80650fe51dbc5586511ad8c3287a0ec3225
2016-06-09 20:47:48 +09:00
Masayuki Nakano
ebf3bc1862
Bug 1278014 part.12 Rename SelectionType::SELECTION_FIND to SelectionType::eFind r=smaug
...
MozReview-Commit-ID: BZxBnCDBghi
--HG--
extra : rebase_source : 099d1043c7e69f3c49a2d4e34190cbd7c4532107
2016-06-09 20:35:20 +09:00
Masayuki Nakano
a1636168ba
Bug 1278014 part.6 Rename SelectionType::SELECTION_SPELLCHECK to SelectionType::eSpellCheck r=smaug
...
MozReview-Commit-ID: 4n2jEVax37O
--HG--
extra : rebase_source : eb8c0dbedfeac83de330ccef874525dea355b52c
2016-06-09 18:37:36 +09:00
Masayuki Nakano
d960ef26d5
Bug 1278014 part.5 Rename SelectionType::SELECTION_NORMAL to SelectionType::eNormal r=smaug
...
MozReview-Commit-ID: AAdxTTKEvrk
--HG--
extra : rebase_source : 82e10db6b8b17d4f571625e34bb3c8f1905ef58a
2016-06-09 18:35:22 +09:00
Masayuki Nakano
00591135a4
Bug 1278014 part.2 Define mozilla::SelectionType as an enum class and use it instead of RawSelectionType as far as possible r=smaug
...
This patch defines mozilla::SelectionType as an enum class. This is safer than nsISelectionController::SELECTION_* since setting illegal value to its variable is checked at build time. So, as far as possible, this should be used everywhere (but of course, this isn't available in scriptable interfaces).
And also this implements some useful methods for managing SelectionType and RawSelectionType which are implemented in layout/nsSelection.cpp because nsISelectionController is implemented by both PresShell and nsTextEditorState. Therefore, implementing one of them may make hard to find them. On the other hand, nsSelection.cpp is a better file name to look for them.
Note that this patch creates mozilla::Selection::RawType() for binding. Native code should keep using Selection::Type() but the binding code needs to use RawType() due to impossible to convert from SelectionType to RawSelectionType without explicit cast.
MozReview-Commit-ID: 81vX7A0hHQN
--HG--
extra : rebase_source : d9f88e217c713c60d1c2578ce6421c73ccba8650
2016-06-11 11:06:37 +09:00
Masayuki Nakano
17f667a2e2
Bug 1278014 part.1 Rename SelectionType in nsISelectionController.idl to mozilla::RawSelectionType r=smaug
...
mozilla::SelectionType will be an enum class. Therefore, we need to rename SelectionType with a word "raw" since it's a type for raw nsISelectionController::SELECTION_*.
MozReview-Commit-ID: K8SO0bbpv0Y
--HG--
extra : rebase_source : 56e3ac852657ef4795d718d2da09b16903c2e66c
2016-06-07 22:42:06 +09:00
Jonathan Watt
54c9a34ee0
Bug 1279642 - Remove CachedBackgroundImage. r=dholbert
...
--HG--
extra : rebase_source : e83199eccb12be43e755044da2b1aecdc08521bb
2016-06-09 21:14:36 +01:00
Matt Woodrow
565f5ee9a1
Bug 1263829 - Part 2: Don't apply opacity in PaintFramesWithEffects if we created an nsDisplayOpacity. r=jwatt
2016-06-08 17:12:35 +12:00
Matt Woodrow
6f2b829c7e
Bug 1278021 - Don't treat nsDisplayOpacity as participating in a preserve-3d context if it is an untransformed leaf. r=thinker
...
--HG--
rename : layout/base/tests/test_bug1246622.html => layout/base/tests/test_bug1278021.html
2016-06-07 19:47:06 +12:00
Hiroyuki Ikezoe
d85954cbf5
Bug 1277991 - We don't need to check ShouldBlockAsyncTransformAnimations() when we just want to know whether the frame has transform animations or not. r=birtles
...
MozReview-Commit-ID: HYZCKoK62Fq
--HG--
extra : rebase_source : 5e389ab4f9695312f05515b3432d8cf285fbec2f
2016-06-06 11:27:27 +09:00
Kartikaya Gupta
f04e92726d
Bug 1108052 - Remove empty event regions display items because they only slow things down and can add extraneous layers. r=mstange
...
MozReview-Commit-ID: JkXGiudjBpe
--HG--
extra : rebase_source : a1eecb5705e79c992b0531711b4c0d40092712c4
2016-06-03 10:20:38 -04:00
Matt Woodrow
d6c0343e48
Bug 1274962 - Part 7: Clean up unecessary parameter for RecomputePerspectiveChildrenOverflow. r=dbaron
2016-06-03 14:26:40 +12:00
Matt Woodrow
7fb4a7ee36
Bug 1274962 - Part 6: Make preserve-3d frames only contribute to the overflow area of the preserve-3d root frame. r=dbaron
2016-06-03 14:26:26 +12:00
Matt Woodrow
a3ac199d7f
Bug 1274962 - Part 3: Remove aOutAncestor. r=mstange
2016-06-03 14:22:57 +12:00
Matt Woodrow
d388fe3f47
Bug 1274962 - Part 1: Remove callers of BASIS_AT_ORIGIN. r=mstange
2016-06-03 14:22:23 +12:00
Phil Ringnalda
f00b6395cb
Back out 7 changesets (bug 1274962) for timeouts in browser_tableWidget_mouse_interaction.js
...
CLOSED TREE
Backed out changeset c5c9bc65a408 (bug 1274962)
Backed out changeset 15b5f8019521 (bug 1274962)
Backed out changeset 9ac50a46557b (bug 1274962)
Backed out changeset 9cda37e5a581 (bug 1274962)
Backed out changeset bb0230c4bb6d (bug 1274962)
Backed out changeset 56ededfbdee6 (bug 1274962)
Backed out changeset e081fc6f3f90 (bug 1274962)
2016-06-02 20:37:31 -07:00
Matt Woodrow
09d7165bcb
Bug 1274962 - Part 7: Clean up unecessary parameter for RecomputePerspectiveChildrenOverflow. r=dbaron
...
--HG--
extra : rebase_source : 074d48327f4fe2450caab3a1cfa6db30f97b6c37
2016-06-03 14:26:40 +12:00
Matt Woodrow
3140e0e274
Bug 1274962 - Part 6: Make preserve-3d frames only contribute to the overflow area of the preserve-3d root frame. r=dbaron
...
--HG--
extra : rebase_source : 432370e344cc767a60a000424aec3274a9bdfcca
2016-06-03 14:26:26 +12:00
Matt Woodrow
d5e2d1e05c
Bug 1274962 - Part 3: Remove aOutAncestor. r=mstange
...
--HG--
extra : rebase_source : 579ec5e1ac8e5b31123504b53c5b280d7a2e10a1
2016-06-03 14:22:57 +12:00
Matt Woodrow
4b9ab44334
Bug 1274962 - Part 1: Remove callers of BASIS_AT_ORIGIN. r=mstange
...
--HG--
extra : rebase_source : 1c4c8615bb5ca52b731646bb9594b618ae4b6a98
2016-06-03 14:22:23 +12:00
Robert Longson
27d1839139
Bug 1217266 - fix animation of filters in resource documents. r=jwatt
2016-06-02 07:35:31 +01:00
Hiroyuki Ikezoe
d69b9ca93c
Bug 1273042 - Part 2: Create stacking context for transform animations whose style is transform:none. r=mattwoodrow
...
To create stacking context for transform animations whose style is
transform:none, we need to check the frame has transform animations
regardless of current transform style.
2016-06-01 16:24:34 +09:00
Ting-Yu Lin
a649636701
Bug 1276870 - Rename parentReflowState to mParentReflowState in nsHTMLReflowState. r=dholbert
...
MozReview-Commit-ID: ETfT1Iow7kF
--HG--
extra : rebase_source : 0f679077ccb91a1873cb9be9def4008d55579725
2016-05-31 17:40:31 +08:00
Timothy Nikkel
b18470d23d
Bug 1275411. When descending into an out-of-flow without saved out of flow data we need to clear the scroll clip too. r=mattwoodrow
2016-05-26 01:54:48 -05:00
Carsten "Tomcat" Book
6dc6665bce
Backed out changeset 4cfdd1649464 (bug 1263349)
2016-05-24 11:13:59 +02:00
Carsten "Tomcat" Book
98373d66dc
Backed out changeset 1ae4cfe35d71 (bug 1263349)
2016-05-24 11:13:58 +02:00
Seth Fowler
659485ec4c
Bug 1263349 (Part 3) - Only consider a frame IN_DISPLAYPORT if it's within the critical displayport, considering ancestors. r=botond
2016-05-24 01:12:48 -07:00
Seth Fowler
1cb3c53e11
Bug 1263349 (Part 2) - Cache the current scroll parent and information about scrollports and displayports on nsDisplayListBuilder. r=botond,mstange
2016-05-24 01:12:48 -07:00
Hiroyuki Ikezoe
ba777b0dd6
Bug 1166500 - Part 4: Add nsIFrame::IsScrolledOutOfView. r=mattwoodrow
...
IsScrolledOutOfView method checks that overflow rect for the frame is
scrolled out of view.
2016-05-24 12:57:42 +09:00
L. David Baron
aa7131a140
Back out bug 1271714 (changeset f66a5b9da35f and changeset 557c5dbd25a1) for causing unexpected assertions in Android debug crashtest and reftest.
...
In particular, the failures are, in crashtest 8:
REFTEST TEST-UNEXPECTED-FAIL | http://10.0.2.2:8854/tests/layout/generic/crashtests/details-open-overflow-auto.html | assertion count 3 is more than expected 0 assertions
in reftest 11:
REFTEST TEST-UNEXPECTED-FAIL | http://10.0.2.2:8854/tests/layout/reftests/bugs/301726-1.html | assertion count 8 is more than expected 0 assertions
and in reftest 22:
REFTEST TEST-UNEXPECTED-FAIL | http://10.0.2.2:8854/tests/layout/reftests/details-summary/overflow-auto-open-details.html | assertion count 8 is more than expected 0 assertions
REFTEST TEST-UNEXPECTED-FAIL | http://10.0.2.2:8854/tests/layout/reftests/details-summary/mouse-click-overflow-auto-details.html | assertion count 10 is more than expected 0 assertions
In all cases the unexpected assertion is:
###!!! ASSERTION: Bounds computation mismatch: 'mContainerBounds.IsEqualInterior(mAccumulatedChildBounds)', file /builds/slave/m-in-and-api-15-d-000000000000/build/src/layout/base/FrameLayerBuilder.cpp, line 4929
MozReview-Commit-ID: K6wqEQfJxNF
2016-05-21 01:34:03 -07:00
Timothy Nikkel
89606c568a
Bug 1271714. When creating the wrap list item that contains the display list for a frame make sure to use a scroll clip that includes content in the display list. r=mstange
...
In nsIFrame::BuildDisplayListForChild for certain types of frames we create wrap list items to wrap the constructed display list to make those items inseperable.
We were using the current scroll clip by default when creating these items, but that scroll clip may not contain all the content in the display list if we traversed into an out of flow frame whose containing block is an ancestor of the current frame. The CurrentAncestorScrollClipForStackingContextContents keeps track of exactly this. (Its name might be a little misleading as we may not be dealing with a true stacking context here. Nevertheless it does contain the correct clip.)
2016-05-20 22:00:57 -05:00
Daniel Holbert
65a3be93db
Bug 1272983 part 1: If GetUsed{Margin,Padding} get called for a value that can't be resolved & isn't cached, assert & return 0-sized nsMargin. r=dbaron
...
(This restores the behavior we had before bug 1269901 landed, for this scenario.)
MozReview-Commit-ID: Ir1TNM1CgwU
2016-05-20 15:05:31 -07:00
Matt Woodrow
ecff14fb35
Bug 1141468 - Clean up prerendering code in nsDisplayTransform to be easier to follow. r=mstange
2016-05-18 15:12:44 +12:00
Jonathan Kew
2527687995
Bug 1272997 - followup 1a - Add missing braces, because the style guide likes them. rs=dholbert
2016-05-18 21:07:54 +01:00
Mats Palmgren
5dcee2e2c6
Bug 1271492 - Rename nsIFrame::eUseAutoHeight to eUseAutoBSize. r=dholbert
2016-05-18 13:49:33 +02:00
Mats Palmgren
6dca609754
Bug 1271392 part 1 - [css-grid] Make grid item 'stretch' not require an extra reflow. r=dholbert
...
This part removes the 'stretch' logic in AlignJustifySelf and implements
it in nsLayoutUtils::ComputeSizeWithIntrinsicDimensions /
nsFrame::ComputeSize instead.
2016-05-18 13:49:33 +02:00
Sebastian Hengst
68055f003a
Backed out changeset 0e40f51068b4 (bug 1141468)
2016-05-18 10:38:03 +02:00
Matt Woodrow
654125d823
Bug 1141468 - Clean up prerendering code in nsDisplayTransform to be easier to follow. r=mstange
...
--HG--
extra : rebase_source : ae9ded54e633e2ebffaeb8fef0b47a2d041dab1f
2016-05-18 15:12:44 +12:00
Hiroyuki Ikezoe
00e2f46aeb
Bug 1268385 - Clear isRunningOnCompositor for script animations if associated nsIFrame is destroyed. r=birtles
...
MozReview-Commit-ID: 3tTkDtxkHcT
--HG--
extra : rebase_source : 388f548cb30f5384cceb620a595dd10b5fd22e4e
2016-05-16 16:25:46 +09:00
CJKu
31d52bc0c4
Bug 1269971 - Part 3. Handle selection text color and selection backgrond painting; r=jfkthame
...
MozReview-Commit-ID: CQmqiCmvygr
--HG--
extra : rebase_source : 271b8d2aae82c02678637bcbbb3a77bc7c5b43f8
2016-05-13 00:08:53 +08:00
CJKu
ea85bf6191
Bug 1269971 - Part 1. Rename IsForGenerateGlyphPath to IsForGenerateGlyphMask; r=jfkthame
...
MozReview-Commit-ID: 80DZsEAvXxB
--HG--
extra : rebase_source : 2b6205ad119265679b28d06056c3b433aab445c8
2016-05-13 00:08:30 +08:00
Masayuki Nakano
3e4ceded8b
Bug 1259661 part.9 Rename WidgetMouseEvent::clickCount to WidgetMouseEvent::mClickCount r=smaug
...
MozReview-Commit-ID: 5tC8UqcfLek
--HG--
extra : rebase_source : a336f9d8676c74804e2c00eebec4f2a30d7a11b3
2016-05-10 23:29:14 +09:00
Seth Fowler
1678f1d3bb
Bug 1269934 - Handle visible frame sets more generically in PresShell. r=mstange
2016-05-11 19:27:27 -07:00
Seth Fowler
180fb0583d
Bug 1268348 - Pass the previous visibility state to OnVisibilityChange(). r=mstange
2016-05-11 19:27:27 -07:00
Matt Woodrow
fec269f78c
Bug 1270797 - Differentiate between nsDisplayBlendContainers created for mix-blend-mode and background-blend-mode. r=mstange
2016-05-10 12:48:59 +12:00
CJKu
a4e3f835fa
bug 1270795 - do not generate any background items in glyph path generating process; r=jfkthame
...
MozReview-Commit-ID: GbhxyY93Vur
--HG--
extra : rebase_source : 2eb309017fe2dcc33424de81eecdf4405cd38334
2016-05-07 00:47:01 +08:00
Matt Woodrow
23ad434a74
Bug 1265237 - Clear clipping for out-of-flow frames that we are descending into but haven't stored explicit clip data for. r=mstange
2016-05-06 10:53:24 +12:00
Bobby Holley
60bd9ae61b
Bug 1269901 - Remove mCachedMargin. r=dbaron
2016-05-04 16:56:17 -07:00
Bobby Holley
f2c9cdf0d8
Bug 1269901 - Remove mCachedPadding. r=dbaron
2016-05-04 16:56:17 -07:00
Markus Stange
7a09990486
Bug 1227327 - Allow specifying a background rect for background dislay items. r=mattwoodrow
...
MozReview-Commit-ID: 5X6FJYRCnWt
--HG--
extra : rebase_source : 990d5724e70858525ebd5732e184b96e1c75d7f3
2016-05-04 14:14:23 -04:00
Phil Ringnalda
f74761a568
Back out 6 changesets (bug 1227327) for Android reftest failures in 942672-1.html, background-position-2b.html and background-position-2c.html
...
CLOSED TREE
Backed out changeset c9b0ba301426 (bug 1227327)
Backed out changeset c857ad1fa01c (bug 1227327)
Backed out changeset 4ba58cd94310 (bug 1227327)
Backed out changeset 30e394faeb23 (bug 1227327)
Backed out changeset ce7fd04cc749 (bug 1227327)
Backed out changeset e0fe45294034 (bug 1227327)
2016-05-03 21:49:07 -07:00
Phil Ringnalda
6d562f3981
Back out 23bf1e82cc34 (bug 1265237) for reftest failures
...
CLOSED TREE
2016-05-03 19:24:33 -07:00
Matt Woodrow
071273aa13
Bug 1265237 - Clear clipping for out-of-flow frames that we are descending into but haven't stored explicit clip data for. r=mstange
...
--HG--
extra : rebase_source : e9f88b3e469a8afdec5c9636751a278a70ae7102
2016-05-04 12:58:01 +12:00
Matt Woodrow
76c8d4c781
Bug 1269184 - Make sure we create an nsDisplayWrapList around nsDisplayPerspective items so that the z-index of the perspective frame gets taken into account. r=mstange
...
--HG--
extra : rebase_source : 735c30ec166eeab19e26a78864e7626c9f00790a
2016-05-04 12:56:50 +12:00
Matt Woodrow
47cde44daf
Bug 1243610 - Refactor UpdateOverflow to separate out local overflow from that contributed by descendants. r=dbaron
2016-05-04 12:27:43 +12:00
Markus Stange
6231d39a7c
Bug 1227327 - Allow specifying a background rect for background dislay items. r=mattwoodrow
...
MozReview-Commit-ID: 5X6FJYRCnWt
--HG--
extra : rebase_source : da85ec302345a64424e08693f3909c185364d913
2016-05-03 15:16:11 -04:00
Phil Ringnalda
5387bf0160
Back out 6 changesets (bug 1227327) for failures in est_fixed_bg_scrolling_repaints.html
...
Backed out changeset 529ff32ced48 (bug 1227327)
Backed out changeset b726c30c4290 (bug 1227327)
Backed out changeset 5453b1ce4e85 (bug 1227327)
Backed out changeset 462dc0904d05 (bug 1227327)
Backed out changeset 1515512d3731 (bug 1227327)
Backed out changeset 2276fc059bf7 (bug 1227327)
2016-05-02 22:23:10 -07:00
Markus Stange
2fc65c65af
Bug 1227327 - Allow specifying a background rect for background dislay items. r=mattwoodrow
...
MozReview-Commit-ID: 5X6FJYRCnWt
--HG--
extra : rebase_source : 334ea74abc71041246fcf9cbf25ff642c9e92b67
2016-04-27 17:39:25 -04:00
Mats Palmgren
cbec7476c1
Bug 623432 part 3 - Check nsFrameSelection::GetDragState() earlier to optimize away some more expensive calls. r=tn
2016-04-26 14:43:55 +02:00
Mats Palmgren
c491890f51
Bug 623432 part 2 - Ignore scrollbars while drag-selecting content. r=tn
2016-04-26 14:43:55 +02:00
CJKu
fa37f68a70
Bug 1265715 - Part 4. Fix transform problem; r=jfkthame
...
MozReview-Commit-ID: Bl88WTZDel
--HG--
extra : rebase_source : 0796217a925587c865c1b918377166c200bb474d
2016-04-26 00:27:03 +08:00
Bobby Holley
37c8b13e17
Bug 1266249 - Remove mHasCachedOutline. r=dbaron
2016-04-21 17:44:32 -07:00
Xidorn Quan
d5599a3104
Bug 1097499 part 3 - Add a separate anonbox for text nodes. r=heycam
...
MozReview-Commit-ID: 1GfoFEGhyka
--HG--
extra : source : 38b806fd0fa54934439db0de75600def43142272
2016-04-22 09:18:41 +10:00
Seth Fowler
82aae6c3ed
Bug 1261554 (Part 2) - Mark frames which are added to the display list when painting to the window as having Visibility::IN_DISPLAYPORT. r=mstange
2016-04-21 01:22:10 -07:00
Seth Fowler
0847460298
Bug 1261554 (Part 1) - Prepare for implementing in-displayport visibility tracking. r=mstange
2016-04-21 01:21:58 -07:00
L. David Baron
1fff16a212
Bug 1053986 - Rename nsBox::DoLayout to DoXULLayout. r=dholbert
...
Written purely with sed, over .h and .cpp files in layout/.
(While this wasn't explicitly reviewed, I'm considering it as r=dholbert
based on the request in comment 47 in the bug.)
MozReview-Commit-ID: 6Q0F4ViOyjJ
2016-04-20 21:28:35 -07:00
L. David Baron
e0db98947a
Bug 1053986 - Rename nsIFrame::AddCSSPrefSize, AddCSSMinSize, AddCSSMaxSize, and AddCSSFlex by replacing CSS with XUL. r=dholbert
...
Written purely with sed, over .h and .cpp files in layout/.
MozReview-Commit-ID: BTsQw1EMqvY
2016-04-20 21:28:34 -07:00
L. David Baron
29a427f28f
Bug 1053986 - Rename nsIFrame::DumpBox to XULDumpBox. r=dholbert
...
Written purely with sed, over .h and .cpp files in layout/.
MozReview-Commit-ID: 7fWf9Z1ugB9
2016-04-20 21:28:34 -07:00
L. David Baron
a18df38599
Bug 1053986 - Rename nsIFrame::GetMargin to GetXULMargin. r=dholbert
...
This is a manual subset of changes written with sed, over .h and .cpp
files in layout/.
MozReview-Commit-ID: GqAa9wyb8z3
2016-04-20 21:28:33 -07:00
L. David Baron
5d30ee8dc8
Bug 1053986 - Rename nsIFrame::GetPadding to GetXULPadding. r=dholbert
...
This is a manual subset of changes written with sed, over .h and .cpp
files in layout/.
MozReview-Commit-ID: ENHslSI6hch
2016-04-20 21:28:33 -07:00
L. David Baron
d44900156e
Bug 1053986 - Rename nsIFrame::GetBorder to GetXULBorder. r=dholbert
...
This is a manual subset of changes written with sed, over .h and .cpp
files in layout/.
It also includes manual changes in accessible/.
MozReview-Commit-ID: D1nwxJmUzc9
2016-04-20 21:28:33 -07:00
L. David Baron
e8c729768f
Bug 1053986 - Rename nsIFrame::GetBorderAndPadding to GetXULBorderAndPadding. r=dholbert
...
Written purely with sed, over .h and .cpp files in layout/.
MozReview-Commit-ID: A8rWLW213Uo
2016-04-20 21:28:32 -07:00
L. David Baron
3d0dc454a5
Bug 1053986 - Rename nsIFrame::Layout to XULLayout, and related methods with the same name. r=dholbert
...
This is a manual subset of changes written with sed, over .h and .cpp
files in layout/.
MozReview-Commit-ID: 9NNnNw6ClGq
2016-04-20 21:28:32 -07:00
L. David Baron
633e18a890
Bug 1053986 - Rename nsIFrame::IsCollapsed to IsXULCollapsed, and related methods. r=dholbert
...
This is a manual subset of changes written with sed, over .h and .cpp
files in layout/. It's a subset because there is also a Selection
method called IsCollapsed, which is not changed here.
MozReview-Commit-ID: 9JgnPv0Hkff
2016-04-20 21:28:32 -07:00
L. David Baron
4754370cbd
Bug 1053986 - Rename nsIFrame::GetBoxAscent to GetXULBoxAscent. r=dholbert
...
Written purely with sed, over .h and .cpp files in layout/.
MozReview-Commit-ID: EDkbMQKqPg6
2016-04-20 21:28:32 -07:00
L. David Baron
8e7c9500e2
Bug 1053986 - Rename nsIFrame::GetFlex to GetXULFlex. r=dholbert
...
Written purely with sed, over .h and .cpp files in layout/.
MozReview-Commit-ID: DNL01eSXB73
2016-04-20 21:28:31 -07:00
L. David Baron
c760cfbbb8
Bug 1053986 - Rename nsIFrame::GetMaxSize to GetXULMaxSize, and related methods. r=dholbert
...
Written purely with sed, over .h and .cpp files in layout/.
MozReview-Commit-ID: 39fYXMz7kqR
2016-04-20 21:28:31 -07:00
L. David Baron
87a69b43fb
Bug 1053986 - Rename nsIFrame::GetPrefSize to GetXULPrefSize, and related methods. r=dholbert
...
Written purely with sed, over .h and .cpp files in layout/.
MozReview-Commit-ID: yvcAZ8rndu
2016-04-20 21:28:31 -07:00
L. David Baron
814003bbcc
Bug 1053986 - Rename nsIFrame::GetMinSize to GetXULMinSize, and related methods. r=dholbert
...
Written purely with sed, over .h and .cpp files in layout/.
MozReview-Commit-ID: Jhe3o3kIOe0
2016-04-20 21:28:31 -07:00
L. David Baron
c1e0b61079
Bug 1053986 - Rename nsFrame.cpp static method IsBoxWrapped to IsXULBoxWrapped. r=dholbert
...
Written purely with sed, over .h and .cpp files in layout/.
MozReview-Commit-ID: EOh204RMxmi
2016-04-20 21:28:30 -07:00
L. David Baron
376413eeb5
Bug 1053986 - Rename nsIFrame::IsBoxFrame to IsXULBoxFrame. r=dholbert
...
Written purely with sed, over .h and .cpp files in layout/.
But with additional manual changes in accessible/.
MozReview-Commit-ID: W0wUPoQsVH
2016-04-20 21:28:30 -07:00
Nathan Froyd
0b649ff462
Bug 1264784 - part 2 - remove unused virtual methods from nsIFrame; r=dholbert
...
There are no callers of these methods in mozilla-central, and having
them in the vtable of nsIFrame (and its 100+ subclasses!) consumes
needless space.
2016-04-15 19:37:35 -04:00
CJKu
2afb6ec588
Bug 759568 - Part 2. Render background-clip:text; r=jfkthame
...
MozReview-Commit-ID: HQHBe7OioWs
2016-04-14 16:28:07 +08:00
Carsten "Tomcat" Book
48bbe10c12
Backed out changeset 6a2e62e8c861 (bug 759568)
2016-04-14 08:57:41 +02:00
CJKu
3edbcce808
Bug 759568 - Part 2. Render background-clip:text; r=jfkthame
...
MozReview-Commit-ID: HQHBe7OioWs
2016-04-14 12:45:38 +08:00
Mats Palmgren
d4dfb9f81d
Bug 645647 part 4 - Add an 'm' prefix to some members to follow our naming conventions. r=dholbert
2016-04-14 01:32:12 +02:00
Mats Palmgren
a568757842
Bug 645647 part 3 - Remove unused trailingTextFrame member. r=dholbert
2016-04-14 01:32:12 +02:00
Mats Palmgren
fd47863d66
Bug 645647 part 1 - Don't let empty bullet frames block suppressing white-space in intrinsic size calculations. r=dholbert
2016-04-14 01:32:12 +02:00
Sebastian Hengst
c9828de0c3
Backed out changeset e64951d74d2a (bug 759568)
2016-04-12 17:55:44 +02:00
CJKu
70f4e828d2
Bug 759568 - Part 2. Render background-clip:text; r=jfkthame
...
MozReview-Commit-ID: HQHBe7OioWs
2016-04-12 21:58:22 +08:00
Jonathan Watt
9480920b04
Bug 1263785 - Kill off the deprecated nsINode::GetCurrentDoc. r=baku
2016-03-31 12:46:32 +01:00
Boris Chiou
63c80baf35
Bug 1182856 - Part 3: Cancel transitions for destroy frames. r=heycam
...
Add HasCSSTransition() and cancel transitions for destroyed frames.
--HG--
extra : rebase_source : e59bf42a26438fe4d60a31868034afe9c01033d5
2016-04-10 21:29:00 +02:00
Cameron McCormack
6b84ca3abb
Bug 1261754 - Part 12: Move filter from nsStyleSVGReset to nsStyleEffects. r=dholbert
2016-04-12 15:52:43 +10:00
Cameron McCormack
672aaef5a4
Bug 1261754 - Part 11: Move opacity from nsStyleDisplay to nsStyleEffects. r=dholbert
2016-04-12 15:52:43 +10:00
Cameron McCormack
0ef9faa708
Bug 1261754 - Part 10: Move mix-blend-mode from nsStyleDisplay to nsStyleEffects. r=dholbert
2016-04-12 15:52:42 +10:00
Cameron McCormack
c2126abc67
Bug 1261754 - Part 9: Move clip from nsStyleDisplay to nsStyleEffects. r=dholbert
2016-04-12 15:52:42 +10:00
Cameron McCormack
0718df89c3
Bug 1261754 - Part 8: Move box-shadow from nsStyleBorder to a new nsStyleEffects struct. r=dholbert
2016-04-12 15:52:42 +10:00
Cameron McCormack
6f4ce86293
Bug 1261754 - Part 7: Move pointer-events from nsStyleVisibility to nsStyleUserInterface. r=dholbert
2016-04-12 15:52:41 +10:00
Cameron McCormack
cb363fa1df
Bug 1261754 - Part 6: Move vertical-align from nsStyleTextReset to nsStyleDisplay. r=dholbert
2016-04-12 15:52:41 +10:00
Botond Ballo
a74ec8c79b
Bug 1219296 - Split fields not needed for repaints out from FrameMetrics. r=kats
...
MozReview-Commit-ID: DymHOSI6yYK
--HG--
extra : rebase_source : 1996bcb7f005c02b94031fe1c73d5136814b0296
2016-03-28 19:14:52 -04:00
Markus Stange
aa9962666e
Bug 1255068 - Add a check for null scrollid. r=kats
...
MozReview-Commit-ID: 15lbTMb76np
--HG--
extra : histedit_source : a8ada9b5ad5d3c46bcf464a144756ac18bc632ef
2016-03-24 16:19:14 -04:00
Seth Fowler
5973113f1b
Bug 1157546 - Replace the image visibility API with a more general API that tracks visibility for any kind of frame. r=mstange
2016-03-25 14:49:43 -07:00
Matt Woodrow
dbe7f4888a
Bug 1250718 - Don't flatten opacity to an intermediate surface when used in the middle of preserve-3d. r=thinker
...
--HG--
extra : rebase_source : 867bab1b5369c88db3a845478f73d3a58845938c
2016-03-18 09:23:51 +13:00
Markus Stange
e41f4e8c1a
Bug 1255068 - Do not allow empty transaction transform changes if the scroll position has changed since the last paint. r=kats, r=mattwoodrow
...
MozReview-Commit-ID: 7exuhuf3HTJ
--HG--
extra : rebase_source : b131cdc68e07ab8dfdc6ae56caa24cc0ced5102e
2016-03-11 16:09:16 -05:00
Matt Woodrow
6ff9f85978
Bug 1220466 - Don't build event region display items for pseudo stacking contexts, unless they are also an AGR. r=mstange
2016-03-10 13:55:00 +13:00
Kartikaya Gupta
30f39f0a24
Bug 1205473 - Add a state bit to optimize building event regions. r=mattwoodrow
...
MozReview-Commit-ID: CPSgChJc92L
2016-03-09 17:29:41 -05:00
Brian Birtles
065446fdcd
Bug 1239945 part 7 - Move GetAnimationCollection to AnimationCollection; r=dholbert
...
By moving GetAnimationCollection to AnimationCollection itself, we can remove
a bunch of virtual methods on the animation managers, simplify call sites,
and provide better type safety by ensuring a correspondence between element
property names and concrete animation types.
One change in behavior, however, is that in doing this we can no longer
add any newly-created AnimationCollection to the corresponding manager's linked
list of collections inside GetAnimationCollection. Instead we take a bool
outparam to indicate if a new collection was created and leave managing the
linked list to the manager. This is just a temporary measure, however, since
by the end of this patch series will will eliminate this linked list altogether
along with this flag.
MozReview-Commit-ID: 1jsc4QcmVDg
2016-03-09 12:55:39 +09:00
Brian Birtles
dd4f27f03e
Bug 1239945 part 6 - Templatize AnimationCollection based on the concrete type of Animation stored; r=dholbert
...
This patch templatizes the type of Animation stored in an AnimationCollection.
This allows us to remove a number AsCSSAnimation() calls in nsAnimationManager.
This patch also removes the AnimationPtrArray typedef. In its place we
introduce OwningCSSAnimationPtrArray and OwningCSSTransitionPtrArray but we
don't use these as widely. There was some comment previously that the typedefs
in animation code make it hard to read, particularly when these typedefs don't
make it clear if the data type is an owning reference or not.
In doing this we need to templatize CommonAnimationManager as well and move the
implementation of its (few) methods to the header file. We may be able to
remove the need for templatizing CommonAnimationManager later in this patch
series depending on how we ultimately decide to handle the lifetime of
AnimationCollection objects.
CommonAnimationManager::GetAnimationCollection is a bit messy but this will be
significantly tidied up in subsequent patches in this series.
MozReview-Commit-ID: 3ywatY53pRR
2016-03-09 12:55:39 +09:00
Markus Stange
5485807971
Bug 1248913 - Rename nsDisplayMixBlendMode to nsDisplayBlendMode. r=mattwoodrow
...
We're going to use it both for background-blend-mode and for mix-blend-mode.
MozReview-Commit-ID: 6zKCDSkLspc
--HG--
extra : rebase_source : 81b4691d2b74e56c634bdf08f85636ba2abbf486
2016-03-05 17:04:02 -05:00
Markus Stange
14975d0ba1
Bug 1248913 - Add a constructor argument to nsDisplayMixBlendMode that lets you specify the blend mode. r=mattwoodrow
...
MozReview-Commit-ID: 9MqjLKjRmeh
--HG--
extra : rebase_source : 11ebc2d8fa1939ba079bdf09e916d3da1e68d6d7
2016-03-05 16:39:25 -05:00
Markus Stange
cd7fa4800f
Bug 1248913 - nsDisplayListBuilder doesn't need to know what blend modes it contains, just whether it contains any. r=mattwoodrow
...
MozReview-Commit-ID: 5yQcGnXBKKp
--HG--
extra : rebase_source : 176c96a0b5d67a539e8f7e0c72e4ee541cbf1686
2016-03-05 12:46:14 -05:00
Markus Stange
57c501e338
Bug 1238564 - Don't do another pass over the display list to figure out ancestor scroll clips. r=mattwoodrow
...
MozReview-Commit-ID: BgySqVGG43R
--HG--
extra : rebase_source : 752d726fbc238b783b8e41b7bcd2b6735c4d3739
extra : histedit_source : 0684a2b440de008fb24c7f82b270b9d69b6d77c5
2016-03-05 11:27:54 -05:00
Markus Stange
668ec29ed6
Bug 1238564 - When building a fixed/sticky display item, don't restore the clip until we're ready to build that item so that inner items aren't unnecessarily clipped. r=roc
...
This isn't really about regular clips, it's about scroll clips. If the inner
item has an unnecessary scroll clip (one that's already on the parent), this can
cause the inner item's bounds to be larger than necessary because, after the
first patch in bug 1238564, it will include the whole bounds of async-scrollable
scroll frames.
Also, if e.g. the inner item is an opacity item, and it has a scroll clip that's
not just the innermost ancestor scroll clip of all of its children, then
FrameLayerBuilder's mContainerBounds == mAccumulatedChildBounds assertion can
fail if the opacity item gets flattened away, because the child bounds won't
have been enlarged for the scroll clip.
There must be a better way to do the clip resetting in
nsFrame::BuildDisplayListForStackingContext - the code is not pretty at all.
But I'd rather get the tests passing first before we figure out how to clean it
up.
MozReview-Commit-ID: E1DdpN546va
--HG--
extra : rebase_source : ecf4774a47978fb0aa5ebde9346cf464ebc60ab6
extra : histedit_source : 9395ca5f74413d887df3b7fa54cad726742dca30
2016-02-23 18:22:21 +01:00
Markus Stange
0636b4dae1
Bug 1238564 - Set the innermost possible scroll clip on opacity items during creation. r=mattwoodrow
...
Always use an ancestor scroll clip of all direct children, or the original
scroll clip if the children don't share the same scroll clip tree.
Unfortunately this requires another pass over the stacking context display list.
Also, fix clips, scroll clips and creation order of blend items:
If a clipped mix-blend-mode item contains absolute / fixed positioned items,
those items should not be clipped, same for blend container items.
When a transform item contains blend modes, create the blend container inside
the transform.
Don't do tree comparisons on scroll clips from different scroll clip trees.
If the inner scroll clip is nullptr, because it was cleared, it will look like
it's the ancestor of the outer non-nullptr scroll clip.
These changes don't look very related, but it was very hard to get tests passing
with only some of the changes and not the others, and after having spent two
weeks on this patch I'm not thrilled about going back and checking exactly which
change was necessary to fix which test failure.
MozReview-Commit-ID: IKGciUBrdNa
--HG--
extra : rebase_source : e570f16ecedd80cba16051f0e1ac66764bc95815
extra : histedit_source : fcfbcbc254aaf93594d9d80c117d6ec945805993
2016-03-04 15:05:58 -05:00
Mats Palmgren
3078b89191
Bug 1225005 - Clamp negative values in containing block size. r=roc
2016-03-02 23:39:34 +01:00
Mats Palmgren
f3bc22c342
Bug 1249913 - True overflow containers shouldn't have borders or background. r=dholbert
2016-03-02 23:39:34 +01:00
David Anderson
4de734947b
Remove lazy scrollinfo hoisting introduced in bug 1193557. (bug 1209278 part 2, r=mstange)
2016-02-23 10:11:43 -08:00
Cameron McCormack
89cac5abd1
Bug 1248864 - Part 3: Use RestyleManagerHandle instead of concrete restyle manager class. r=dholbert
2016-02-24 18:01:12 +11:00
Cameron McCormack
736a5f47e7
Bug 1248864 - Part 1: Move RestyleManager.h to EXPORTS.mozilla. r=dholbert
2016-02-24 18:01:12 +11:00
Wes Kocher
a9ea5f6a56
Backed out 2 changesets (bug 1193557, bug 1209278) for build bustage
...
Backed out changeset 755b9088813c (bug 1193557)
Backed out changeset 21356fa4e353 (bug 1209278)
--HG--
extra : commitid : 5hf8aSA5FhN
2016-02-23 10:39:08 -08:00
David Anderson
6fba740086
Remove lazy scrollinfo hoisting introduced in bug 1193557. (bug 1209278 part 2, r=mstange)
...
--HG--
extra : rebase_source : 004d42f760364cd18e16125fb04f5d22cba2d648
2016-02-23 10:11:43 -08:00
Boris Chiou
e436478f26
Bug 1244049 - Part 2: Replace nsCSSPseudoElements::Type with CSSPseudoElementType. r=dbaron
...
Also, try to use forward declaraions for CSSPseudoElementType;
--HG--
extra : rebase_source : c00eb9753e8f618a33aa711538ac45c0132b353c
2016-02-17 21:37:00 +01:00
Boris Chiou
185a769719
Bug 1244049 - Part 1: Define scoped enum for CSSPseudoElement type. r=dbaron
...
--HG--
extra : rebase_source : e53dd269e47fa97eb259ebd9295d012eacbdb612
2016-02-16 23:07:00 +01:00
Jamie Nicol
bf038be32c
Bug 1241078 - Only treat items as backface hidden if they are 3D-transformed. r=tlee
...
Add helper function nsIFrame::In3DContextAndBackfaceIsHidden() which
checks both if a frame is backface-hidden and whether it is within a
3D-transform context.
In FrameLayerBuilder, check this function rather than BackfaceIsHidden()
to determine whether a frame needs a backface-hidden layer. This will
avoid creating unnecessary extra layers for non-3d-transformed items
which for some reason have backface-hidden set.
2016-02-08 22:34:13 +00:00
Matt Woodrow
04f750f035
Bug 1245450 - Only setup AutoSaveRestorePerspectiveIndex for the descendants of the element with perspective. r=roc
2016-02-15 23:21:52 +13:00
Matt Woodrow
5562523a43
Bug 1216832 - Handle preserve-3d visible regions during display list building by always transforming from the preserve-3d root each time. r=roc
2016-02-12 00:18:55 +13:00
Matt Woodrow
7cd754d8cf
Bug 1229317 - Allow preserve-3d and opacity to be combined on the root element of a preserve-3d chain. r=roc
2016-02-07 23:51:11 +13:00
Phil Ringnalda
ec6b8aac53
Back out e751d638ab4b (bug 1229317) for reftest "Assertion failure: oldState < kReadMax" and crashes
...
CLOSED TREE
2016-02-05 22:42:55 -08:00
Matt Woodrow
8857b37db9
Bug 1229317 - Allow preserve-3d and opacity to be combined on the root element of a preserve-3d chain. r=roc
2016-02-06 17:57:34 +13:00
Thinker K.F. Li
94e1db456d
Bug 1243282 - Wrap items having clips with a separator. r=mattwoodrow
2016-02-06 17:55:59 +13:00
Birunthan Mohanathas
d7371d07d0
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02:00
Phil Ringnalda
d381b4bca6
Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
...
CLOSED TREE
Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
373593275e
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02:00
Ting-Yu Lin
1889f6bc41
Bug 1227927 Part 2 - Remove nsIFrame::GetFirstPrincipalChild(). r=mats
...
--HG--
extra : commitid : 5qtaK1nS8RC
extra : rebase_source : dcc98f423b2446269beb6fa6a9d092ae8213f38e
2016-01-29 22:42:14 +08:00
CJKu
7b577b9c98
Bug 686281 - Rename nsStyleSVGReset::mLayers to nsStyleSVGReset::mMask; Rename nsStyleBackground::mLayers to nsStyleBackground::mImage. r=dbaron
2016-01-28 06:39:00 +01:00
CJKu
577578571f
Bug 686281 - Implement CSS mask style; r=dbaron.
2016-01-28 06:28:00 +01:00
CJKu
538b854ad1
Bug 686281 - Rename *background* to *imagelayer*; r=dbaron.
2016-01-28 06:27:00 +01:00
CJKu
2d363d1b79
Bug 686281 - Implement nsStyleImageLayers; r=dbaron
2016-01-28 06:24:00 +01:00
Xidorn Quan
00b4af1798
Bug 1230034 part 10 - Convert remaining frame properties to by typed and remove the unsafe declaring macro. r=dbaron
...
--HG--
extra : source : 19140dd4f1640c4600a0f9e0ff790b44f0cd83ca
2016-01-28 14:23:59 +11:00
Xidorn Quan
a6ceca05bd
Bug 1230034 part 7 - Convert nsIFrame::GenConProperty to be typed. r=dbaron
...
--HG--
extra : source : 5c803eae9303a390034dea7878beb48e6ffafbe2
2016-01-28 14:23:59 +11:00
Xidorn Quan
072dccd81f
Bug 1230034 part 6 - Convert all frame properties which do not hold pointer to be typed. r=dbaron
...
--HG--
extra : source : f95f143e0e521ad2f8726097a484de402c834620
2016-01-28 14:23:59 +11:00
Xidorn Quan
e397870be2
Bug 1230034 part 5 - Convert all frame properties which use DeleteValue and ReleaseValue as destructor to be typesafe. r=dbaron
...
By changing signature of those two functions, we make compiler complain about
all their existing uses, so we can find all of them and convert them.
Some of the callsites of Get() with those properties are also converted, but not
all of them. It is fine because if there is any incorrect conversion, compilers
is able to find out now. So they are completely typesafe.
--HG--
extra : source : 808415985d3d446f18941eb007a9be9d69d180ce
2016-01-28 14:23:59 +11:00
Xidorn Quan
0b71314608
Bug 1230034 part 3 - Move some frame property declaration around. r=dbaron
...
--HG--
extra : source : d67dd26db9f0349d2e8ef71f8def9fad7856fe1e
2016-01-28 14:23:59 +11:00
Xidorn Quan
0dfd29d523
Bug 1064843 part 4 - Add a placeholder type for top layer. r=roc
...
--HG--
extra : source : 6a8aceee1829e243331cdf375163ae2696824a94
2016-01-28 10:11:00 +11:00
Matt Woodrow
10dde3e3a8
Bug 1231538
- Build a ContainerLayer for position:fixed and background-attachment:fixed content. r=roc
2016-01-26 13:36:48 +13:00
Matt Woodrow
07ab4853c4
Bug 1230693 - Rebase transforms to the origin for callers than don't want them offset. r=mstange
2015-12-17 12:36:24 +13:00
Nicholas Nethercote
fe16183e75
Bug 1237457 - Partially Moz2Dify nsDisplayGeneric. r=roc.
...
--HG--
extra : rebase_source : 0bc3fe25b757634dfe910e34cd1c51c0fb9504c0
2015-12-03 19:16:59 -08:00
Nicholas Nethercote
97c8901427
Bug 1232852 (part 6) - Remove unused parameters from some layout sort functions. r=tn.
...
--HG--
extra : rebase_source : d3d801907a976f919db2b7e5b49cb8b0249c35c1
2016-01-05 16:08:17 -08:00
Mats Palmgren
09cc6b1140
Bug 1230665 - Make anonymous flex/grid items non-tabbable and non-focusable. r=roc
2016-01-05 21:27:13 +01:00
Nicholas Nethercote
06e901cb9f
Bug 1231550 - Use DrawTarget instead of gfxContext and/or nsRenderingContext in many places in font/text code. r=jfkthame.
...
AutoTextRun now only needs a DrawTarget instead of an nsRenderingContext, and
similar nsRenderingContext/gfxContext-to-DrawTarget replacements can be
propagated a long way up the call graph. This patch replaces 93 occurrences of
nsRenderingContext and 135 occurrences of gfxContext with DrawTarget; that's
13% of them.
The patch is mostly plumbing changes. A couple of not-entirely-plumbing
changes:
- It adds a comment about the null check in
gfxGlyphExtents::GetTightGlyphExtentsAppUnits().
- A couple of functions simply had an unused gfxContext or nsRenderingContext
parameter removed, e.g. SetLineBreaks().
--HG--
extra : rebase_source : 8f56994bb4d254a86788b17ab2864ebc758a7e6b
2015-12-15 13:56:41 -08:00
Timothy Nikkel
eddfe6b602
Bug 1235467. If the root reference frame is transformed don't use an ancestor of the root reference frame as the local reference frame. r=mattwoodrow
...
When painting a -moz-element the root reference frame is the refered-to frame, so it can be transformed. In normal painting root reference frames are root frames which can't be transformed so this doesn't come up.
2015-12-30 13:21:10 -06:00
Kearwood (Kip) Gilbert
0c83ce5c05
Bug 1182048 - Part 2: Implement e10s support for WebVR,r=vlad
2015-09-17 14:23:13 -07:00
Chris Peterson
83fb38f729
Bug 1235306 - Fix -Wimplicit-fallthrough warnings in layout/. r=dholbert
...
layout/base/nsCSSRendering.cpp:3913:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/base/nsCSSRendering.cpp:3943:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/base/nsCSSRendering.cpp:4066:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/base/nsCSSRendering.cpp:4096:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/base/nsCSSRenderingBorders.cpp:646:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/base/nsLayoutUtils.cpp:4639:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/base/nsLayoutUtils.cpp:4659:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/base/nsLayoutUtils.cpp:5004:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/base/nsLayoutUtils.cpp:5200:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/base/TouchManager.cpp:192:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/base/TouchManager.cpp:196:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/generic/nsFlexContainerFrame.cpp:2497:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/generic/nsFlexContainerFrame.cpp:2687:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/generic/nsFlexContainerFrame.cpp:2973:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/generic/nsFrame.cpp:4277:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/generic/nsFrame.cpp:4310:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/generic/nsFrame.cpp:4313:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/generic/nsFrame.cpp:6703:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/generic/nsFrame.cpp:6751:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/generic/nsGridContainerFrame.cpp:2649:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/generic/nsGridContainerFrame.cpp:935:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/generic/nsHTMLReflowState.cpp:1141:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/generic/nsHTMLReflowState.cpp:1145:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/generic/nsHTMLReflowState.cpp:1148:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/generic/nsLineLayout.cpp:2942:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/generic/nsLineLayout.cpp:2958:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/generic/nsLineLayout.cpp:3134:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/generic/nsLineLayout.cpp:3150:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/printing/nsPrintPreviewListener.cpp:199:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/CSSLexer.cpp:129:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/Declaration.cpp:1069:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/Declaration.cpp:366:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/Declaration.cpp:442:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/Declaration.cpp:981:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsComputedDOMStyle.cpp:3597:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsComputedDOMStyle.cpp:3616:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsComputedDOMStyle.cpp:539:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsComputedDOMStyle.cpp:540:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsComputedDOMStyle.cpp:542:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:10628:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:10630:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:10671:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:10673:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:10769:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:10770:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:10774:43 [-Wimplicit-fallthrough] fallthrough annotation does not directly precede switch label
layout/style/nsCSSParser.cpp:10775:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:10776:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:10780:43 [-Wimplicit-fallthrough] fallthrough annotation does not directly precede switch label
layout/style/nsCSSParser.cpp:2542:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:2715:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:4124:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:4313:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:9513:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:9697:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:9699:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:9743:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:9745:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:9826:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:9827:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:9832:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:9833:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:9980:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsRuleNode.cpp:160:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsRuleNode.cpp:187:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsRuleNode.cpp:722:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsRuleNode.cpp:753:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/StyleAnimationValue.cpp:139:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/StyleAnimationValue.cpp:1687:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/StyleAnimationValue.cpp:1869:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/tables/FixedTableLayoutStrategy.cpp:264:13 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/tables/FixedTableLayoutStrategy.cpp:267:13 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/tables/nsCellMap.cpp:1043:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/tables/nsCellMap.cpp:930:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/tables/nsCellMap.cpp:953:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/tables/nsCellMap.cpp:997:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/tables/nsTableFrame.cpp:6943:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/tables/nsTableFrame.cpp:6953:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/tables/nsTableFrame.cpp:6959:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/tables/nsTableFrame.cpp:6966:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/tables/nsTableFrame.cpp:6974:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/tables/nsTableFrame.cpp:7151:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/tables/nsTableFrame.cpp:7161:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/tables/nsTableFrame.cpp:7170:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/tables/nsTableFrame.cpp:7177:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/tables/nsTableFrame.cpp:7186:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/tables/nsTableRowFrame.cpp:663:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/tables/SpanningCellSorter.cpp:112:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/tables/SpanningCellSorter.cpp:142:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/tables/SpanningCellSorter.cpp:157:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/xul/nsResizerFrame.cpp:86:13 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/xul/nsResizerFrame.cpp:87:13 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/xul/nsResizerFrame.cpp:88:13 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/xul/nsResizerFrame.cpp:90:13 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/xul/nsSliderFrame.cpp:551:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/xul/nsSliderFrame.cpp:560:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/xul/nsXULPopupManager.cpp:2268:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2015-11-22 21:33:47 -08:00
Thinker K.F. Li
7022b0f440
Bug 1226904 - Fix boundary checking for leaves collecting. r=roc
...
--HG--
extra : rebase_source : 6338083654b2ad0de0ef7aa4987de1323f44c4b5
2015-12-22 19:17:00 -05:00
Mats Palmgren
953043bd52
Bug 1151243 part 1 - Replace three bool params for nsAbsoluteContainingBlock::Reflow with a flag param (idempotent patch). r=dholbert
2015-12-22 23:03:16 +01:00
Markus Stange
b22db3eab2
Bug 1147673 - Make display items know about their scroll clips. r=tn, r=roc
...
--HG--
extra : commitid : 1j8QG2b0rIG
extra : rebase_source : 027065697e7e0ef445d8bcf7a81cf0270dcf7b8b
2015-12-22 16:54:19 +01:00
Carsten "Tomcat" Book
27bbe6ec93
Backed out changeset 68b33692bed3 (bug 1147673)
2015-12-16 11:52:37 +01:00
Markus Stange
bf668586d7
Bug 1147673 - Make display items know about their scroll clips. r=tn, r=roc
...
--HG--
extra : commitid : 7KbOQKKSVq5
extra : rebase_source : d23daf86ed8d375bd5ab3ed7dfe3cff80bc0ff4c
extra : histedit_source : cce4ded91f0672142796a852d20d052e7b6247ce
2015-12-12 10:58:37 -05:00
Nicholas Nethercote
43de6de5c5
Bug 1231256 (part 1) - Remove unused nsBoxLayoutState parameters from many functions. r=roc.
...
--HG--
extra : rebase_source : d9b86154d4cfc8f195e7cd86b6e8e60af52efaa9
2015-12-07 10:17:47 -08:00
Botond Ballo
afe315b114
Bug 1176395 - When an element is both position:sticky and transformed, apply the position:sticky outside the transform. r=roc
...
Conceptually, the transformed content is position:sticky. position:fixed
behaves similarly.
--HG--
extra : rebase_source : 59a7ad3f86deb8249ed2d54bf56bdee7dbe375f9
extra : source : 0009daf6b443c80c4423fca7e3275277ca2f012a
2015-12-09 15:24:39 -05:00
Brian Birtles
885593747b
Bug 1230056 part 2 - Remove nsLayoutUtils::HasAnimationsForCompositor and call EffectCompositor::HasAnimationsForCompositor directly; r=dholbert
2015-12-09 16:28:10 -05:00
Nicholas Nethercote
16cd9db041
Bug 1230863 - Remove unused nsPresContext args from many functions. r=roc.
2015-12-06 17:15:53 -08:00
Nicholas Nethercote
ac18a09064
Bug 1230413 (part 4) - Remove unused nsRenderingContext argument from ForceBreak() and OptionallyBreak(). r=mattwoodrow.
...
--HG--
extra : rebase_source : 750496661635e7db65b26c625834f2d14a1b3e59
2015-12-06 14:13:57 -08:00
Anup Kumar
27d40f6dee
Bug 1197307 - remove PR_snprintf calls in layout/ r=froydnj r=dholbert
2015-12-01 12:50:47 -08:00
Carsten "Tomcat" Book
7af3d35998
Backed out changeset 427dc5894094 (bug 1197307) for bustage
2015-12-01 10:04:50 +01:00
Anup Kumar
e8ff34c8eb
Bug 1197307 - remove PR_snprintf calls in layout. r=froydnj r=dholbert
2015-11-27 21:44:00 +01:00
Matt Woodrow
4946a3c907
Bug 1168263 - Add nsDisplayPerspective and build separate layers for perspective. r=roc
2015-11-26 22:32:36 +13:00
Matt Woodrow
7c076dbe87
Bug 1168263 - Add a flags parameter to GetResultingTransformMatrix instead of using bools. r=roc
2015-11-26 22:32:35 +13:00
Ting-Yu Lin
78fb3c80ac
Bug 1226875 - Remove nsIFrame::GetLastChild(). r=mats
...
--HG--
extra : commitid : J8NTL74JosY
extra : rebase_source : ea686ef5e1bd5d59701ffb4c309c9ff9d0435beb
2015-11-26 17:12:39 +08:00
Matt Woodrow
41a4ad2285
Bug 1222880 - Build a tree of AnimatedGeometryRoots to speed up traversal of ancestors. r=roc,tn
2015-11-25 11:53:51 +13:00
L. David Baron
8edfb62b0c
Bug 1223653 patch 2 - Use an enum class for NS_STYLE_BOX_SIZING_*. r=heycam
...
The casts in nsCSSProps.cpp (defining kBoxSizingKTable) and in
nsComputedDOMStyle::DoGetBoxSizing (using
nsCSSProps::ValueToKeywordEnum) are a little bit annoying, though aren't
a net reduction in typesafety.
The casts in nsRuleNode.cpp (SetDiscrete) are a little more annoying,
though the change in this patch should be sufficient for converting all
properties -- but that may also mean reducing typesafety a bit for all
properties.
I'd like to find something better to do about them, but I think I'm ok
landing this before doing that. Bug 1224918 covers doing better.
--HG--
extra : commitid : GEVyZB5b23F
2015-11-19 18:09:29 -08:00
Thinker K.F. Li
03a1cfe9b2
Bug 1208673 - Do HitTest with skipping non-leaf preserve-3d transform items. r=roc
2015-11-15 14:47:27 +01:00
Jonathan Kew
022c161e17
Bug 1224230 - Explicitly store the lineContainer's writing mode in InlineIntrinsicISizeData. r=dbaron
2015-11-14 08:46:11 +00:00
Mats Palmgren
f18d8e84b0
Bug 1223232 - Use GetUsedBorder() instead of the computed border value when calculating CB size. r=roc
2015-11-11 22:28:53 +01:00
Nicholas Nethercote
ad0dd8414a
Bug 1223310
(part 2) - Use LayoutDeviceIntRect for bounds-related functions in nsIWidget. r=kats.
...
The patch renames the existing functions (GetBounds(), GetClientBounds(), etc)
by adding an |Untyped| suffix. It then adds typed equivalents, and uses those
typed equivalents in all the call sites where it's easy to do so. The trickier
remaining call sites are converted to use the Untyped-suffix version.
--HG--
extra : rebase_source : 6bfb15bfc4698e2eba7d4db55497299d3dffcd51
2015-11-09 21:37:32 -08:00
Jonathan Kew
5cb2b4ceea
Bug 1122918 - Part 3 - Use the resolved physical values of 'float' and 'clear' properties during layout. r=heycam
2015-09-18 16:25:21 +01:00
sajitk
85550613ed
Bug 1219470 - Replace PRLogModuleInfo with LazyLogModule. r=roc
2015-11-05 23:35:03 +01:00
Hiroyuki Ikezoe
443e1dfb4b
Bug 1197620 - Part 3: Terminate *all* animations if corresponding element style is changed to display:none. r=bbirtles
2015-11-06 07:21:38 +09:00
Mats Palmgren
a09faf6998
Bug 1176775 part 1 - [css-grid] Implement "Implied Minimum Size of Grid Items" (special min-width/height:auto behavior). r=dholbert
2015-11-03 21:45:33 +01:00
Thinker K.F. Li
fd72ecbc34
Bug 1214212 - Remove clips from separator transform items. r=roc
2015-10-22 23:29:00 -04:00
Nathan Froyd
9f16f39c05
Bug 1217662 - part 6 - remove Layers.h #include from FrameListBuilder.h; r=mattwoodrow
...
This change necessitates a few other header changes around the tree:
either places that we relying on FrameLayerBuilder.h to #include
ImageLayers.h for them, or places that were bootlegging headers from
ImageLayers.h.
2015-10-22 17:02:14 -04:00
Phil Ringnalda
0f3cf4490c
Back out changeset 02d17c84afff (bug 1214212) for (mostly) transform-3d reftest failures
...
CLOSED TREE
2015-10-21 20:22:45 -07:00
Thinker K.F. Li
517b105b08
Bug 1214212 - Remove clips from separator transform items. r=roc
2015-10-21 03:35:00 -04:00