Commit Graph

2342 Commits

Author SHA1 Message Date
Ting-Yu Lin
16cc2366c3 Bug 1276870 - Rename parentReflowState to mParentReflowState in nsHTMLReflowState. r=dholbert
MozReview-Commit-ID: ETfT1Iow7kF
2016-05-31 17:40:31 +08:00
Timothy Nikkel
cfb0fea944 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
4e27c39420 Backed out changeset 4cfdd1649464 (bug 1263349) 2016-05-24 11:13:59 +02:00
Carsten "Tomcat" Book
1d31399ee9 Backed out changeset 1ae4cfe35d71 (bug 1263349) 2016-05-24 11:13:58 +02:00
Seth Fowler
2c5fedc3e5 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
f7770de059 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
7654b12aa5 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
1366def9fd 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
78db54cb67 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
6117b314eb 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
bf56f1a52a 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
8f071a924e 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
549646b84c Bug 1271492 - Rename nsIFrame::eUseAutoHeight to eUseAutoBSize. r=dholbert 2016-05-18 13:49:33 +02:00
Mats Palmgren
a8557e4839 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
09a19b809a Backed out changeset 0e40f51068b4 (bug 1141468) 2016-05-18 10:38:03 +02:00
Matt Woodrow
14cb19d6ca Bug 1141468 - Clean up prerendering code in nsDisplayTransform to be easier to follow. r=mstange 2016-05-18 15:12:44 +12:00
Hiroyuki Ikezoe
5c3ea8ae5a Bug 1268385 - Clear isRunningOnCompositor for script animations if associated nsIFrame is destroyed. r=birtles
MozReview-Commit-ID: 3tTkDtxkHcT
2016-05-16 16:25:46 +09:00
CJKu
2ca6611b52 Bug 1269971 - Part 3. Handle selection text color and selection backgrond painting; r=jfkthame
MozReview-Commit-ID: CQmqiCmvygr
2016-05-13 00:08:53 +08:00
CJKu
17721f6781 Bug 1269971 - Part 1. Rename IsForGenerateGlyphPath to IsForGenerateGlyphMask; r=jfkthame
MozReview-Commit-ID: 80DZsEAvXxB
2016-05-13 00:08:30 +08:00
Masayuki Nakano
94e8c148d6 Bug 1259661 part.9 Rename WidgetMouseEvent::clickCount to WidgetMouseEvent::mClickCount r=smaug
MozReview-Commit-ID: 5tC8UqcfLek
2016-05-10 23:29:14 +09:00
Seth Fowler
69cb11364d Bug 1269934 - Handle visible frame sets more generically in PresShell. r=mstange 2016-05-11 19:27:27 -07:00
Seth Fowler
a897d09931 Bug 1268348 - Pass the previous visibility state to OnVisibilityChange(). r=mstange 2016-05-11 19:27:27 -07:00
Matt Woodrow
89389606ea 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
ffb8230926 bug 1270795 - do not generate any background items in glyph path generating process; r=jfkthame
MozReview-Commit-ID: GbhxyY93Vur
2016-05-07 00:47:01 +08:00
Matt Woodrow
ce6f23af4a 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
4bab2201c8 Bug 1269901 - Remove mCachedMargin. r=dbaron 2016-05-04 16:56:17 -07:00
Bobby Holley
d6afd769d3 Bug 1269901 - Remove mCachedPadding. r=dbaron 2016-05-04 16:56:17 -07:00
Markus Stange
2cfff208b3 Bug 1227327 - Allow specifying a background rect for background dislay items. r=mattwoodrow
MozReview-Commit-ID: 5X6FJYRCnWt
2016-05-04 14:14:23 -04:00
Phil Ringnalda
a821e6f3f5 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
de280a9453 Back out 23bf1e82cc34 (bug 1265237) for reftest failures
CLOSED TREE
2016-05-03 19:24:33 -07:00
Matt Woodrow
e2a582050a 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-04 12:58:01 +12:00
Matt Woodrow
acd39be20d 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 2016-05-04 12:56:50 +12:00
Matt Woodrow
61200a9c5c 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
922904cf2f Bug 1227327 - Allow specifying a background rect for background dislay items. r=mattwoodrow
MozReview-Commit-ID: 5X6FJYRCnWt
2016-05-03 15:16:11 -04:00
Phil Ringnalda
65d27cf8fc 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
55e6219070 Bug 1227327 - Allow specifying a background rect for background dislay items. r=mattwoodrow
MozReview-Commit-ID: 5X6FJYRCnWt
2016-04-27 17:39:25 -04:00
Mats Palmgren
00d2829e4a 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
af5d91860b Bug 623432 part 2 - Ignore scrollbars while drag-selecting content. r=tn 2016-04-26 14:43:55 +02:00
CJKu
1eac08415a Bug 1265715 - Part 4. Fix transform problem; r=jfkthame
MozReview-Commit-ID: Bl88WTZDel
2016-04-26 00:27:03 +08:00
Bobby Holley
0a04168135 Bug 1266249 - Remove mHasCachedOutline. r=dbaron 2016-04-21 17:44:32 -07:00
Xidorn Quan
15df861e15 Bug 1097499 part 3 - Add a separate anonbox for text nodes. r=heycam
MozReview-Commit-ID: 1GfoFEGhyka
2016-04-22 09:18:41 +10:00
Seth Fowler
4bde5acce4 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
40ecfeebae Bug 1261554 (Part 1) - Prepare for implementing in-displayport visibility tracking. r=mstange 2016-04-21 01:21:58 -07:00
L. David Baron
6fb63a21d2 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
678819f59f 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
50d250e19e 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
6d08aa5a6b 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
132277cf57 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
ab7cc9a3fb 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
b94d981327 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