Commit Graph

12087 Commits

Author SHA1 Message Date
Jonathan Kew
2f0f023fc4 Bug 1224230 - Testcase. 2015-11-13 16:42:04 +00:00
Randall Barker
c3c082c5dd Bug 1224015 - Part 3: ifdef changes to C++APZ so that they only apply to single process APZ. r=tnikkel
Added MOZ_SINGLE_PROCESS_APZ flag.
2015-11-26 20:51:13 -06:00
Randall Barker
30c5396234 Bug 1224015 - Part 2: Have nsDisplayResolution items adjust event coordinates for hit testing and dispatching to content r=tnikkel 2015-11-26 20:51:13 -06:00
Kartikaya Gupta
fe65090c97 Bug 1228357 - When saving/restoring a scrollframe's state, only save/restore resolution for the root scrollframe. r=roc 2015-11-26 21:25:53 -05:00
Carsten "Tomcat" Book
358e4575c4 merge mozilla-inbound to mozilla-central a=merge 2015-11-26 16:54:27 +01:00
Jared Wein
e70da30f79 Bug 1211635 - Popups should be treated as top-level windows, allowing XUL alerts translucency. r=MattN r=roc
--HG--
extra : rebase_source : 9fd3b1eb57b54fcb33b0012cbd7555674eb9b913
2015-11-25 08:49:23 -05: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
Ting-Yu Lin
79afc81f6e Bug 1226875 - Remove nsIFrame::GetFirstChild(). r=mats
--HG--
extra : commitid : J8NTL74JosY
extra : rebase_source : 50a196905ac06d09fea17bb1aa17efe821cc7cbb
2015-11-26 17:12:39 +08:00
Nigel Babu
29e98fdbc3 Backed out changeset ebb6fb453cca (bug 1214170) for build bustage on a CLOSED TREE 2015-11-25 16:22:16 +05:30
David Anderson
859092e6a5 Add APZ support for mousewheel.acceleration prefs. (bug 1214170, r=kats) 2015-11-25 01:12:33 -08:00
Wes Kocher
3f9d73cccc Merge m-c to inbound, a=merge CLOSED TREE
--HG--
extra : commitid : HQ2HZ9hq60S
2015-11-24 16:59:18 -08:00
Wes Kocher
d04352af5d Merge fx-team to central, a=merge
--HG--
extra : commitid : GWsEhTdRTPF
2015-11-24 16:33:15 -08:00
Mike Hommey
70a5b9589d Bug 1227388 - Finish removing dehydra support. r=mshal
Dehydra/Treehydra is unmaintained, broken (iirc), and obsoleted by clang
static analysis. We've removed parts of the build system support for it, but
not all. This is meant to remove the remains.
2015-11-25 08:23:25 +09:00
Jared Wein
77999dacbf Bug 1226796 - Remove redundant preprocessor flags in nsContainerFrame.cpp. r=jfkthame 2015-11-24 11:21:02 -05: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
Wes Kocher
edb144c4e2 Backed out changeset e0a9decc5fb0 (bug 756241) for failing on b2g emulator
--HG--
extra : commitid : D7UlzME6eDt
2015-11-24 13:14:37 -08:00
Bob Clary
41a63c38e5 Bug 641724 - Crashtest. 2015-11-24 20:04:04 +01:00
Mats Palmgren
eb30f1d808 Bug 756241 - Crashtest. 2015-11-24 20:04:04 +01:00
Jesse Ruderman
ac6d02817c Bug 914501 - Crashtest. 2015-11-24 20:04:04 +01:00
Aki Helin
14ab1d2a44 Bug 964078 - crashtest. 2015-11-24 20:04:04 +01:00
Jesse Ruderman
109cdac5f9 Bug 1145768 - Crashtest. 2015-11-24 20:04:03 +01:00
Nicholas Nethercote
52b3d826da Bug 1225007 (part 1, attempt 3) - Use LayoutDevicePixel more in Cocoa widget code. r=kats.
--HG--
extra : rebase_source : e4b3bb36c18822557f7724a58979eddd9d8cac62
2015-11-19 14:10:38 +11:00
Xidorn Quan
b0bfc6460a Bug 1227001 part 3 - Remove no longer used mChangedBreaks from BreakSink. r=jfkthame
--HG--
extra : source : d279e229470cab165e28274b5e6045e2ea62f1b7
2015-11-24 10:23:05 +11:00
Xidorn Quan
a6caf098a4 Bug 1227001 part 2 - Remove no longer used mExistingTextRun from BreakSink. r=jfkthame
--HG--
extra : source : a1d68557e1c90b62a3318a81d814c21c75f45ec0
2015-11-24 10:23:05 +11:00
Xidorn Quan
03bc38abaf Bug 1227001 part 1 - Remove SetupBreakSinksFlags from BuildTextRunsScanner. r=jfkthame
--HG--
extra : source : 2ef65b73284b28557846d737f704552a2a474389
2015-11-24 10:23:05 +11:00
Chris Peterson
bfeb9f1127 Bug 1224951 - Part 2: Fix -Wunreachable-code warnings in layout. r=dholbert
layout/base/nsCSSFrameConstructor.cpp:12067:12: warning: will never be executed [-Wunreachable-code]
layout/base/nsPresContext.cpp:2861:10: warning: will never be executed [-Wunreachable-code]
layout/generic/nsFrameSetFrame.cpp:730:11: warning: will never be executed [-Wunreachable-code]
layout/generic/nsFrameSetFrame.cpp:725:11: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:268:62: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:269:66: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:270:68: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:271:75: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:272:73: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:273:81: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:274:69: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:275:60: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:276:68: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:277:68: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:279:18: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:290:62: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:291:66: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:292:68: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:293:75: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:294:73: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:295:81: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:296:69: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:297:60: warning: will never be executed [-Wunreachable-code]
layout/generic/nsSelection.cpp:5657:7: warning: will never be executed [-Wunreachable-code]
layout/mathml/nsMathMLmrootFrame.cpp:405:5: warning: will never be executed [-Wunreachable-code]
2015-11-14 00:06:58 -08:00
Phil Ringnalda
538ef0460d Merge m-c to m-i 2015-11-19 21:08:34 -08:00
Phil Ringnalda
87802cdbad Backed out 2 changesets (bug 1225007) for frequent OS X "Shouldn't return empty rect" assertion failures, a=backout
Backed out changeset c5b352c74b35 (bug 1225007)
Backed out changeset 8a513c70ce7c (bug 1225007)
2015-11-19 20:55:26 -08:00
Xidorn Quan
8de66b64b3 Bug 994418 - Renumber list items when computing intrinsic isize. r=roc
--HG--
extra : source : 65c07947ba268b74aa5ebbf2dd4681d68038a548
extra : amend_source : 2284f79dde11000547fed08ff90315d46490702b
2015-11-20 15:29:27 +11:00
Kartikaya Gupta
8a6023f387 Bug 1223928 - Update various reftests that now pass/fail with gecko scrollbars on Android&&asyncPan. r=snorp
--HG--
extra : commitid : G5eJp4xTljl
2015-11-19 09:55:21 -05:00
Nicholas Nethercote
ce671f3678 Bug 1225007 (part 1, attempt 2) - Use LayoutDevicePixel more in Cocoa widget code. r=kats.
--HG--
extra : rebase_source : ea132cb4a6eda3553682114f3a1a280acfaf0aa3
2015-11-19 14:10:38 +11: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
L. David Baron
4aa548f8f9 Bug 1223653 patch 1 - Fix incorrect function being called, caught by enum class type checking in next patch. r=jfkthame
This looks like a regression from the way I addressed review comments in
bug 311415 comment 11 (see "I just added another variant of
ComputeWidthValue").

--HG--
extra : commitid : K5US3VkC5rE
2015-11-19 18:09:29 -08:00
Xidorn Quan
65859175cd Bug 1052924 followup - Move the XXX comment to the right field. DONTBUILD 2015-11-19 18:00:25 +11:00
Mats Palmgren
787aab2030 Bug 1176792 part 2 - [css-grid] Implement layout for the 'grid-column-gap' and 'grid-row-gap' properties. r=dholbert 2015-11-18 19:52:27 +01:00
Kartikaya Gupta
c460ebbd06 Bug 1226872 - Stop keeping a copy of the resolution in the root scrollframe. r=roc
The only reason we had this in the scrollframe at all was so that it could be
saved/restored as part of the frame state when leaving a page and then going
back to it. However we can accomplish this by just reading/writing the resolution
from/to the presshell instead, so there's no need to keep a second copy of it.

--HG--
extra : commitid : J4QBfG2GGjn
2015-11-23 09:14:15 -05:00
Mark Capella
e7b070ed41 Bug 1215959 - (GeckoCaret2) Upgrade Core and AccessibleCaret, r=smaug 2015-12-01 15:25:06 -05:00
Nicholas Nethercote
26b0d282a5 Backout 52ba24123046 and 66768d6a50fa (bug 1225007) for causing lots of test assertions on Mac. CLOSED TREE 2015-11-17 17:02:39 -08:00
Nicholas Nethercote
eb12a384c0 Bug 1225007 (part 1) - Use LayoutDevicePixel more in Cocoa widget code. r=kats.
--HG--
extra : rebase_source : ad3466d05e476ebf65affdde3fca52494e1327cb
2015-11-15 21:37:52 -08:00
Jesse Ruderman
20405e523f Bug 1153695 - Crashtest. 2015-11-16 17:32:39 +01:00
Mats Palmgren
03bd1366df Bug 1153695 - Wrap nsAutoOOFFrameList in a scope to ensure its dtor runs before the VerifyOverflowSituation() call (to avoid frames appearing to be on two child lists). r=roc 2015-11-16 17:32:39 +01:00
Mats Palmgren
82b3daf6c8 Bug 1223282 - Make NS_AUTOMARGIN be a different value than NS_UNCONSTRAINEDSIZE to avoid having clamped huge margin values be interpreted as auto margins. r=roc 2015-11-16 17:32:39 +01:00
Mats Palmgren
921715fa31 Bug 1224634 - [css-grid] Make grid items shrink-wrap when reflowing them, unless they have justify-self:stretch. r=dholbert 2015-11-17 15:00:29 +01:00
Jesse Ruderman
0468f22070 Bug 1225118 - Crashtest. 2015-11-17 15:00:29 +01:00
Mats Palmgren
b442e0b4b3 Bug 1225118 - [css-grid] Deal with nscoord overflow when applying [align|justify]-self:stretch. r=dholbert 2015-11-17 15:00:29 +01:00
Ting-Yu Lin
41f35c7496 Bug 1206545 - Initialize AccessibleCaretEventHub in nsCanvasFrame. r=roc
To properly initialize AccessibleCaretEventHub, both canvas frame and
its anonymous mCustomContentContainer are required to successfully
insert anonymous caret elements.

However, if <html> has "display: none",
nsCSSFrameConstructor::ConstructDocElementFrame() will return early in
[1] without constructing mCustomContentContainer. Thus,
AccessibleCaretEventHub will fail to initialize in [2] due to null
mCustomContentContainer.

By moving AccessibleCaretEventHub::Init() to
nsCanvasFrame::CreateAnonymousContent(), we can guarantee that
mCustomContentContainer is constructed before initializing
AccessibleCaretEventHub.

[1] https://dxr.mozilla.org/mozilla-central/rev/7cd2d806bd069c0260ff73f023ac85f892b863bf/layout/base/nsCSSFrameConstructor.cpp#2413-2416
[2] https://dxr.mozilla.org/mozilla-central/rev/7cd2d806bd069c0260ff73f023ac85f892b863bf/layout/base/nsPresShell.cpp#1682

--HG--
extra : commitid : 4D5733d5Xr8
extra : rebase_source : 0edef7db8004da2e2cde3d4510bb23f1e9cee61e
2015-11-16 18:16:43 +08:00
Xidorn Quan
ba639e3e07 Bug 1213710 part 3 - Remove enableTestPlugin.js files and make the tests reference plugin-utils.js directly. r=bsmedberg
--HG--
extra : source : 985fc6ba41c30914969940c30dd5a07c3f19f157
2015-11-17 09:54:12 +11:00
Wes Kocher
7ebb7aa32e Backed out changeset 14641a6d6747 (bug 1223282) for test_value_cloning.html bustage CLOSED TREE
--HG--
extra : commitid : 6RJMD744I6U
2015-11-16 11:00:47 -08:00
Wes Kocher
31d3e04fd9 Backed out changeset 1fc0ecca3e9b (bug 1153695) for test_value_cloning.html bustage CLOSED TREE
--HG--
extra : commitid : Cehes9e2lBC
2015-11-16 11:00:28 -08:00
Wes Kocher
74584ef91e Backed out changeset ceb2a5dce49b (bug 1153695) for test_value_cloning.html bustage CLOSED TREE
--HG--
extra : commitid : BzR0ugCJ593
2015-11-16 11:00:17 -08:00
Jesse Ruderman
fc98aae16c Bug 1153695 - Crashtest. 2015-11-16 17:32:39 +01:00
Mats Palmgren
6e7818f946 Bug 1153695 - Wrap nsAutoOOFFrameList in a scope to ensure its dtor runs before the VerifyOverflowSituation() call (to avoid frames appearing to be on two child lists). r=roc 2015-11-16 17:32:39 +01:00
Mats Palmgren
c05e8fc735 Bug 1223282 - Make NS_AUTOMARGIN not be the same value as NS_UNCONSTRAINEDSIZE to avoid having clamped huge margin values be interpreted as auto margins. r=roc 2015-11-16 17:32:39 +01:00
Kartikaya Gupta
745bba593a Bug 1225137 - Avoid crash on some platforms if scrollbar fading is enabled and the duration is set to zero. r=spohl
--HG--
extra : commitid : 6fBlaRsXx09
2015-11-16 10:44:45 -05: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
Matt Brubeck
871cea5bf5 Bug 1081272 - Include position and transform when computing header/footer size [r=tn] 2015-11-12 16:55:02 -08:00
Matt Brubeck
3777952460 Bug 1224307 - Fix page scrolling for non-full-width fixed headers/footers [r=tn] 2015-11-12 16:55:00 -08:00
Nicholas Nethercote
ff5231e6d2 Bug 1224403 (part 1) - Make Configuration::mBounds a LayoutDeviceIntRect. r=kats.
--HG--
extra : rebase_source : a0ae2779dfd9bc10730c8b38bc082453845daa1f
2015-11-10 16:27:26 -08:00
Phil Ringnalda
78c184fb46 Back out changeset cd0be67d2344 (bug 1224307) for test_page_scroll_with_fixed_pos.html bustage
CLOSED TREE
2015-11-12 20:18:38 -08:00
Phil Ringnalda
08a38cf3b8 Back out changeset 13335ded96b9 (bug 1081272) for test_page_scroll_with_fixed_pos.html bustage
CLOSED TREE
2015-11-12 20:18:03 -08:00
Matt Brubeck
ae413e1b82 Bug 1081272 - Include position and transform when computing header/footer size [r=tn] 2015-11-12 16:55:02 -08:00
Matt Brubeck
c1f53f3bdd Bug 1224307 - Fix page scrolling for non-full-width fixed headers/footers [r=tn] 2015-11-12 16:55:00 -08:00
Daniel Holbert
91e5de4153 Bug 1223568: Don't let fallback alignment values break flexbox special-case for "justify-content: stretch". r=mats 2015-11-11 14:42:21 -08: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
Mats Palmgren
eb154663cc Bug 1092626 - Don't try to restore the scroll position if the frame is still dirty or has dirty children. r=roc 2015-11-11 11:33:34 +01:00
Kartikaya Gupta
795d8736fd Bug 1205087 - Cache the AnimatedGeometryRoot on DisplayItem. r=roc 2015-10-05 17:09:34 -04: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
Nicholas Nethercote
4f45d5edc0 Bug 1223215 (part 1) - Convert some gfx{Point,Size} to gfx::{Point,Size}. r=roc.
This lets us remove some Thebes{Point,Size}() and To{Point,Size}() calls.

--HG--
extra : rebase_source : dc7a06e70e4a63401144dc4aa67eafeb7eb37320
2015-11-08 20:19:00 -08:00
Simon Montagu
3457b582d2 Bug 1216096: restore previous RTL caret behaviour by backout of bug 1164963, bug 1177505, and bug 1180417. r=jfkthame 2015-11-10 04:42:23 -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
Jonathan Kew
3195ef008f Bug 1122918 - Part 2 - Provide accessors that return logical 'float' and 'clear' values resolved to their physical equivalents. r=heycam 2015-09-18 16:25:14 +01:00
Kyle Zentner
f478a9bc3f Bug 1170781 - Patch 1: Implement CSS 'contain: paint'. r=dholbert 2015-11-09 13:32:00 +01:00
L. David Baron
0f3b361824 Bug 1222783 - Make nsHTMLFramesetFrame::Reflow set firstTime based on what firstTime means. r=roc
I confirmed locally that the new crashtest crashes in the harness
without the patch, and passes in the harness with the patch.

--HG--
extra : transplant_source : %FD%D6%F6%EB%04SQ%E3%8AB%BB%2B%B0%25Ys%0B%F3%D2t
2015-11-10 13:42:29 +08:00
sajitk
85550613ed Bug 1219470 - Replace PRLogModuleInfo with LazyLogModule. r=roc 2015-11-05 23:35:03 +01:00
Hiroyuki Ikezoe
2f335ed059 Bug 1216030 - Part 7: Add nsIFrame::RefusedAsyncAnimation. r=dbaron
Original nsIFrame::RefusedAsyncAnimation was renamed to
nsIFrame::RefusedAsyncAnimationProperty.
2015-10-20 22:03:00 +02:00
Nicholas Nethercote
8198d15f1e Bug 1038663 (part 6, attempt 2) - Allow percentage values for 'word-spacing'. r=heycam. 2015-11-08 16:40:37 -08:00
Nicholas Nethercote
3cde644d8c Bug 1038663 (part 5, attempt 2) - Change GetSpacingFlags(). r=heycam. 2015-11-08 14:49:02 -08:00
Nicholas Nethercote
9ba99963c2 Bug 1038663 (part 4, attempt 2) - Inline StyleToCoord(). r=heycam. 2015-11-08 14:49:02 -08:00
Nicholas Nethercote
163196360e Bug 1038663 (part 3, attempt 2) - Factor out space width computation. r=heycam. 2015-11-08 14:48:58 -08:00
Nicholas Nethercote
a34dc73523 Bug 1038663 (part 2, attempt 2) - Move GetFirstFontMetrics() up. r=heycam. 2015-11-08 13:52:58 -08:00
Timothy Nikkel
cf2a0eeaa4 Bug 1220114. Part 2. If a scroll frame is forced to layerize because of an active descendant scroll frame then set a displayport on the ancestor scroll frame so that next paint we don't have to force layerization after the fact and we can do a fully proper paint. r=mstange 2015-11-06 17:32:03 -06:00
Timothy Nikkel
0570e20dc3 Bug 1220114. Part 1. Change ScrollFrameHelper::DecideScrollableLayer to recompute the current animated geometry root any time mWillBuildScrollableLayer changes in addition to when usingDisplayPort changes. r=mstange
Changes in either one can result in AGRs being created or removed (although nothing removes them at this point in time).
2015-11-06 17:32:03 -06: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
Nigel Babu
52d7459eca Backed out 6 changesets (bug 1038663) for Android opt R2 bustage
Backed out changeset 97e3492d6080 (bug 1038663)
Backed out changeset d176322f2d36 (bug 1038663)
Backed out changeset f69af9161252 (bug 1038663)
Backed out changeset 8bb77e5fad8c (bug 1038663)
Backed out changeset 954e57438f51 (bug 1038663)
Backed out changeset 16c0919101cd (bug 1038663)
2015-11-06 12:49:36 +05:30
Nicholas Nethercote
b7bd8564c0 Bug 1038663 (part 6) - Allow percentage values for 'word-spacing'. r=heycam.
--HG--
extra : rebase_source : b7220e3c156dfef451e79b2911fbba7dec93850d
2015-11-05 17:25:46 -08:00
Nicholas Nethercote
90b8e844aa Bug 1038663 (part 5) - Change GetSpacingFlags(). r=heycam.
Again, this doesn't make sense in isolation, but it will make it easier to
allow for percentage word-spacing in a subsequent patch.

--HG--
extra : rebase_source : 5a120273b4191ae3ac9ae0532e56eb870558d4d6
2015-11-05 16:33:37 -08:00
Nicholas Nethercote
12d49e11b3 Bug 1038663 (part 4) - Inline StyleToCoord(). r=heycam.
This doesn't make much sense by itself, but one of the call sites will be
changed in a subsequent patch.

--HG--
extra : rebase_source : 7b3bb92e6e08137434f4abd56a3b423ca82e4b0e
2015-11-04 21:10:36 -08:00
Nicholas Nethercote
a6e88b52f4 Bug 1038663 (part 3) - Factor out space width computation. r=heycam.
This will be reused in a subsequent patch.

--HG--
extra : rebase_source : 67d14767298841dbe3f38d2f7a1c89dfcec122dd
2015-11-04 18:02:40 -08:00
Nicholas Nethercote
0edc52ad5a Bug 1038663 (part 2) - Move GetFirstFontMetrics() up. r=heycam.
This is necessary for a subsequent patch.

--HG--
extra : rebase_source : 4d80215e1ee75105344db5d101cfa5d5d47ea33a
2015-11-04 18:02:20 -08:00
Timothy Nikkel
ae9c7ca837 Bug 1208780. Set a zero-margin displayport on all scrollable ancestors of frames with displayports if they don't already have a displayport. r=botond 2015-11-05 18:57:17 -06:00
Nicholas Nethercote
6cdc913990 Bug 1059014 (part 2) - Remove support for reflow on zoom event pending. r=dbaron.
This basically reverts part 2 of bug 836565.

--HG--
extra : rebase_source : 4b047c51b01936e079d9e785bb1653863eacc4cd
2015-11-04 20:55:16 -08:00
Nicholas Nethercote
f07dc1c47b Bug 1059014 (part 1) - Remove support for max line box width. r=dbaron.
This basically reverts bug 780258.

--HG--
extra : rebase_source : 59cc458d83fed9735e9e0321ec52a0a9484bd7ba
2015-11-04 20:25:01 -08:00
Jonathan Kew
8290bbf2e8 Bug 1221874 - Ignore the sideways-orientation flag when logical-coordinate classes are checking writing-mode compatibility. r=smontagu 2015-11-05 15:38:53 +00:00
Jonathan Kew
1821542838 Bug 1221874 - Crashtest for overzealous writing-mode check (currently asserts). r=smontagu 2015-11-05 15:37:56 +00:00
Wes Kocher
ba3e14b5ca Backed out 3 changesets (bug 1176792) for WinXP/7 w(4) permafail
Backed out changeset 4d2f2e40bb5d (bug 1176792)
Backed out changeset 3de6f54e7f41 (bug 1176792)
Backed out changeset 887df043de31 (bug 1176792)

--HG--
extra : commitid : 1wE7FZUeTA1
2015-11-04 15:42:38 -08:00
Daniel Holbert
d7c529e1a0 Bug 1221112: When checking for ::before/::after while sorting flex items by DOM order, dig past placeholder to out-of-flow frame. r=mats 2015-11-04 07:48:59 -08:00
Mats Palmgren
4e5cfec08a Bug 1176792 part 2 - [css-grid] Implement layout for the 'grid-column-gap' and 'grid-row-gap' properties. r=dholbert 2015-11-04 13:46:32 +01:00
Xidorn Quan
a1dd9fc19e Bug 1216332 - Remove framearena helpers from abstract frame classes and stop them from being instantiated. r=dbaron
--HG--
extra : source : 9f59591f02706190e56db8ad89ff5a769b5c47dd
2015-11-04 20:57:35 +11:00
Robert O'Callahan
add8103aa5 Bug 1209994. Take block-wrapper path only for blocks that are wrappers. r=bz
--HG--
extra : commitid : BUBPKQYEZGy
extra : rebase_source : b949adb895716866f545e00dbf88734fd0138fd1
2015-10-21 16:27:50 +13:00
Mats Palmgren
d860fa7191 Bug 1211260 - [css-grid] Follow-up: address a code readability nit that I missed. r=dholbert 2015-11-03 22:33:16 +01: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
Mats Palmgren
a113aae1a5 Bug 1163435 part 1 - [css-grid][css-flexbox] Propagate an explicit CB width/height to the reflow state to resolve percentage lengths for grid items properly. Resolve percent against the size in the same axis for abs.pos. children too. r=dholbert
Grid items are supposed to use the size of their 'grid area',
not their grid container, as their containing block.
2015-11-03 21:45:33 +01:00
Mats Palmgren
d05caaac36 Bug 1215957 - Start at the end of the explicit grid also when matching plain negative number lines. r=dholbert 2015-11-03 21:45:32 +01:00
Mats Palmgren
9f977fa5fc Bug 1215182 - [css-grid] Make our "Implicit Named Areas" detection match the spec. r=dholbert 2015-11-03 21:45:32 +01:00
Mats Palmgren
97a104a942 Bug 1211260 - Implement the new Grid Placement Conflict Handling: "If the placement for a grid item contains two lines, and the start line is further end-ward than the end line, swap the two lines." r=dholbert
https://drafts.csswg.org/css-grid/#grid-placement-errors
2015-11-03 21:45:32 +01:00
Mats Palmgren
b264df1571 Bug 1215099 part 2 - [css-grid] An empty grid should still have one explicit grid line in each axis. r=dholbert 2015-11-03 21:45:32 +01:00
Mats Palmgren
f6a6570360 Bug 1215099 part 1 - [css-grid] Backout bug 1206703. r=dholbert 2015-11-03 21:45:32 +01:00
Nathan Froyd
50a3cf956c Bug 1220714 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in layout/; r=dholbert 2015-10-30 15:12:25 -04:00
Jim Chen
498b10c3cb Bug 1219833 - Respect composition underline color; r=masayuki
nsTextFrame didn't use the composition underline color if the
composition didn't have a foreground color defined. This patch makes it
use the underline color if foreground color is not defined.
2015-11-03 11:53:58 -05:00
Mats Palmgren
7920856c17 Bug 1151214 part 3 - [css-grid][css-align] Implement layout for the 'justify-content' and 'align-content' CSS properties on grid containers. r=dholbert 2015-11-03 17:52:40 +01:00
Mats Palmgren
8abe331366 Bug 1151213 part 1 - [css-grid][css-align] Implement layout for the 'align-self' and 'justify-self' properties on grid items. r=dholbert 2015-11-03 17:52:40 +01:00
Mats Palmgren
a77e1f7b8d Bug 1151214 part 2 - [css-flexbox][css-align] Shim implemention for the new align/justify property values in flexbox layout (just to avoid fatal assertions). r=dholbert 2015-11-03 15:18:06 +01:00
Mats Palmgren
7c6b7fe751 Bug 1176782 part 7 - [css-align] Update the flexbox layout code to use the new align/justify style constants and remove the old in the style system. r=cam 2015-11-03 15:18:06 +01:00
Mats Palmgren
b06df07867 Bug 1176782 part 6 - [css-align] Implement additional syntax and values for the 'align-content' property in the style system. r=cam 2015-11-03 15:18:06 +01:00
Mats Palmgren
ab2709bc55 Bug 1176782 part 5 - [css-align] Implement additional syntax and values for the 'align-self' property in the style system. r=cam 2015-11-03 15:18:06 +01:00
Mats Palmgren
343fce8c76 Bug 1176782 part 4 - [css-align] Implement additional syntax and values for the 'align-items' property in the style system. r=cam 2015-11-03 15:18:05 +01:00
Mats Palmgren
5259497975 Bug 1176782 part 3 - [css-align] Implement additional syntax and values for the 'justify-content' property in the style system. r=cam 2015-11-03 15:18:05 +01:00
Markus Stange
ef4655be32 Bug 1201330 - Keep scroll handler induced layer activity active until the scroll frame becomes inactive. r=roc
--HG--
extra : commitid : K9ntCNQz1Fx
extra : rebase_source : ed8a567f22626d7074bbc58eb5e61baa251fe2c3
2015-10-30 16:28:53 +01:00
Birunthan Mohanathas
9985829ecc Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Robert O'Callahan
00af2dcc78 Bug 264412. Optimize GetRenderedText. r=mats
With these changes we're slightly faster than Chrome on the non-reflowing part of
Olli's testcase.

--HG--
extra : commitid : 75liwqsBeJY
extra : rebase_source : 34ee5d1fdfbb3b9d2ef8945f78ded935debb9106
2015-10-30 19:22:33 +13:00
Robert O'Callahan
2d8cd33dc4 Bug 264412. Refactor nsIFrame::GetRenderedText API to be more sane. r=mats,marcoz
The test changes here are to adjust for the fact that
nsTextFrame::GetRenderedText can now trim whitespace from the end of lines
that end in a hard line break.

--HG--
extra : commitid : 42YjYQUaiwY
extra : rebase_source : 69d3a9c5086c116365a0488d1b4fc52fc6524196
2015-10-30 19:23:10 +13:00
Ryan VanderMeulen
3c1b193ecc Bug 681489 - Add crashtest.
--HG--
extra : rebase_source : 8dbc8c341ff39734f86d872d20c4b3c2e44feb5d
2015-11-01 07:23:24 -05:00
Ryan VanderMeulen
028dec7cc8 No bug - Various crashtest manifest cleanups.
--HG--
rename : dom/base/crashtests/713417.html => dom/base/crashtests/713417-1.html
rename : dom/workers/test/1158031.html => dom/workers/test/crashtests/1158031.html
rename : dom/workers/test/779707.html => dom/workers/test/crashtests/779707.html
rename : dom/workers/test/943516.html => dom/workers/test/crashtests/943516.html
rename : dom/workers/test/crashtests.list => dom/workers/test/crashtests/crashtests.list
rename : layout/generic/crashtests/812879.html => layout/generic/crashtests/812879-1.html
rename : layout/generic/crashtests/first-letter-638937.html => layout/generic/crashtests/first-letter-638937-1.html
extra : rebase_source : b9274dc6870030ed62bcee35350d566160502869
2015-10-31 19:35:27 -04:00
Timothy Nikkel
ab02b09009 Bug 1220020. Recompute the current animated geometry root when a child scroll frame forces us to be layerized, and therefore turns us into an animated geometry root. r=mstange 2015-11-01 11:45:40 -06:00
Ryan VanderMeulen
da6b5efa5d Bug 871327 - Clean up assertion annotations on 791601.xhtml and add crashtest for referenced bug that was resolved WFM. 2015-10-30 19:41:19 -04:00
Ryan VanderMeulen
38eea6dc63 Bug 481035 - Remove assertion annotation from 421671.html. 2015-10-30 19:41:19 -04:00
Ryan VanderMeulen
4a44c16c29 Bug 623091 - Re-enable 348887-1.html. 2015-10-30 19:41:19 -04:00
Ryan VanderMeulen
6e43612cb0 Bug 859424 - Fix and re-enable 309322-4.html. 2015-10-30 19:41:19 -04:00
Ryan VanderMeulen
58e04dabc8 Bug 540078 - Remove assertion annotations that are no longer needed and add crashtest. 2015-10-30 19:41:18 -04:00
Ryan VanderMeulen
82bfb5ba42 Bug 439258 - Remove assertion annotations that are no longer needed and add crashtest. 2015-10-30 19:41:17 -04:00
Ryan VanderMeulen
cc674dddb2 No bug - Remove annotations from the editor and layout crashtest manifests that are no longer needed. 2015-10-30 19:41:17 -04:00
Ryan VanderMeulen
f6499720a0 Bug 616052 - Add crashtest. 2015-10-30 19:41:16 -04:00
Ryan VanderMeulen
901670a2b7 Bug 613629 - Add crashtest. 2015-10-30 19:41:16 -04:00
Ryan VanderMeulen
9d94259127 Bug 613455 - Add crashtest. 2015-10-30 19:41:16 -04:00
Andrew McCreight
5981b92f78 Bug 1219842 - Enable a bunch of mochitest-plain tests under e10s. r=mrbkap 2015-10-31 06:26:44 -07:00
Nathan Froyd
148c129fa3 Bug 1219903 - use UniquePtr<T[]> instead of delete[] calls in layout/generic/; r=dholbert 2015-10-29 16:16:13 -04:00
Carsten "Tomcat" Book
2fe6ba353f Backed out changeset d5d68c0258f3 (bug 1201330)
--HG--
extra : rebase_source : 2b98ebd0dd0ccd247b50e4b45210137622ef4441
2015-10-30 14:44:06 +01:00
Markus Stange
09bf18ccd8 Bug 1201330 - Keep scroll handler induced layer activity active until the scroll frame becomes inactive. r=roc
--HG--
extra : commitid : AV1sQewWYHl
extra : rebase_source : ef132043f3af460c1aabc531faa06752d4c9c2df
2015-10-27 17:18:03 +01:00
Matt Woodrow
5ff40cc89c Bug 1216851 - Allow flattening of opacity when it contains text. r=roc
--HG--
extra : rebase_source : 3861829d42298838eaa87912fa849b60b6f698e6
2015-10-23 11:22:45 +13:00
Seth Fowler
44de2cc528 Bug 1207355 (Part 4) - Request decodes intelligently in nsBulletFrame. r=tn 2015-10-29 16:37:42 -07:00
Seth Fowler
8011cd262f Bug 1207355 (Part 3) - Request decodes intelligently in nsImageFrame. r=tn 2015-10-29 16:37:42 -07:00
Seth Fowler
d8821b6da6 Bug 1207355 (Part 1) - Stop requesting decodes in nsDocument. r=tn 2015-10-29 16:37:42 -07:00
Carsten "Tomcat" Book
513d05c444 Backed out changeset 0e8e25c04938 (bug 1216851) for reftest failures 2015-10-29 13:52:29 +01:00
Matt Woodrow
bab116d797 Bug 1216851 - Allow flattening of opacity when it contains text. r=roc
--HG--
extra : rebase_source : 48b64c9ba86e89ae8d15ae05f7379fd518ca01b5
2015-10-23 11:22:45 +13:00
Cameron McCormack
5a9f585bc7 Bug 1219537 - Simplify a couple of PresContext() gets on nsIFrame/nsStyleContext. r=dholbert 2015-10-29 17:06:31 +11:00
Phil Ringnalda
a727c1fe68 Back out 8 changesets (bug 1207355) for OS X 10.10 reftest failures in generated-content/
CLOSED TREE

Backed out changeset aafd6db2fbb4 (bug 1207355)
Backed out changeset 9dd950b837fb (bug 1207355)
Backed out changeset e941e0e106a1 (bug 1207355)
Backed out changeset ecebca101fcb (bug 1207355)
Backed out changeset 08f2017137e1 (bug 1207355)
Backed out changeset 3dc69e37c9b4 (bug 1207355)
Backed out changeset bcdf51edb121 (bug 1207355)
Backed out changeset 1d4c00dbf49a (bug 1207355)
2015-10-28 22:57:43 -07:00
Seth Fowler
485e5ae23b Bug 1207355 (Part 4) - Request decodes intelligently in nsBulletFrame. r=tn 2015-10-28 16:40:43 -07:00
Seth Fowler
90c6fe8bde Bug 1207355 (Part 3) - Request decodes intelligently in nsImageFrame. r=tn 2015-10-28 16:40:43 -07:00
Seth Fowler
68cc239e9d Bug 1207355 (Part 1) - Stop requesting decodes in nsDocument. r=tn 2015-10-28 16:40:42 -07:00
David Anderson
2e67a4792c Assert that we do not attempt synchronous painting of windowless Desktop plugins. (bug 1218688 part 4, r=bsmedberg) 2015-10-28 10:50:53 -07:00
David Anderson
bfa112caf5 Remove Mac-specific synchronous plugin drawing code. (bug 1218688 part 3, r=benwa) 2015-10-28 10:50:45 -07:00
David Anderson
489a63378f Remove Linux-specific synchronous plugin drawing code. (bug 1218688 part 2, r=jimm) 2015-10-28 10:50:41 -07:00
David Anderson
0a8c03ba8e Remove Windows-specific synchronous plugin drawing code. (bug 1218688 part 1, r=jimm) 2015-10-28 10:50:36 -07:00
Ryan VanderMeulen
2afb1dd2a6 Bug 569193 - Add crashtest. 2015-10-27 10:03:38 -04:00
Ryan VanderMeulen
ddc5998e35 Bug 417848 - Add crashtest. 2015-10-27 10:03:37 -04:00
Kyle Huey
c7d3c4e21a Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
Ryan VanderMeulen
4a585b585e Bug 1156257 - Add crashtest.
--HG--
extra : rebase_source : 7c41dab0cbb7be275c5a9ddc316e7772b8292938
2015-10-25 16:20:16 -04:00
Jonathan Kew
c3830d77b0 Bug 1216427 - part 2 - Ensure mouse selection does not split up a Regional Indicator flag symbol. r=emk 2015-10-26 10:47:18 +00:00
Jonathan Kew
a48628058f Bug 1216427 - part 1 - Ensure a character+VS sequence or a ligated Regional-Indicator flag symbol is deleted as a single unit when backspacing. r=emk 2015-10-26 10:47:16 +00:00
Ryan VanderMeulen
080b612cb4 Bug 740199 - Add crashtest. 2015-10-25 00:06:24 -04:00
Ryan VanderMeulen
a237b5a490 Bug 597240 - Add crashtest. 2015-10-25 00:06:23 -04:00
Ryan VanderMeulen
b655fc97f0 No bug - Remove e10s assertion annotation from font-inflation-762332.html. 2015-10-25 00:06:22 -04:00
Ryan VanderMeulen
2d107fa212 Bug 508154 - Add crashtest.
--HG--
extra : rebase_source : 4d62e093832d74a32360aa572315aa3982b7ec27
2015-10-24 15:03:19 -04:00
Sebastian Hengst
e6d06af59f Backed out 2 changesets (bug 1215699, bug 1209994) for web platform failures. r=backout
Backed out changeset a8adf1f9d366 (bug 1209994)
Backed out changeset f5ed98fdc16e (bug 1215699)
2015-10-24 15:38:03 +02:00
Robert O'Callahan
d00aeddd95 Bug 1209994. Take block-wrapper path only for blocks that are wrappers. r=bz
--HG--
extra : commitid : ADmwtJlvxUi
extra : rebase_source : b3cfce27d1bf51d8789a20bf7266455a3f0f99a6
2015-10-21 16:27:50 +13:00
Robert O'Callahan
0e2b65352f Revert incorrectly committed changes ab657569f554 and a396f4262479
--HG--
extra : commitid : IHQ60dccnSZ
extra : amend_source : 9302339fd951446a37909b31a1ccb56aff470325
2015-10-24 22:38:22 +13:00
Robert O'Callahan
ff38db98f3 Bug 264412. Refactor nsIFrame::GetRenderedText API to be more sane. r=mats,marcoz
The test changes here are to adjust for the fact that
nsTextFrame::GetRenderedText can now trim whitespace from the end of lines
that end in a hard line break.

--HG--
extra : commitid : Dn0U0KPLfbY
extra : rebase_source : 57a6ad2e3ba1f7ec6aef9b940d8facdbba7e9c91
2015-10-24 22:27:29 +13: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
Seth Fowler
6a4602d6e9 Bug 1209765 (Part 7) - Support sync decoding and track draw results when drawing borders in nsImageFrame. r=tn 2015-10-22 19:54:49 -07:00
Seth Fowler
7688437ed9 Bug 1209765 (Part 6) - Support sync decoding and track draw results when drawing borders in nsColumnSetFrame. r=tn 2015-10-22 19:54:49 -07:00
L. David Baron
2766b80ef9 Bug 1216431 patch 1 - Give WritingMode an nsStyleVisibility* constructor. r=heycam
This is needed for patch 2.

--HG--
extra : commitid : 5YdkHqnj3d3
extra : rebase_source : 02260f6cbd922702d655449fc9d4c7518e643285
2015-10-23 08:57:34 +09:00
Nicholas Nethercote
5957f4c9ae Bug 1038663 (part 1) - Make nsStyleText::mWordSpacing an nsStyleCoord. r=heycam.
This makes mWordSpacing a lot more like mLetterSpacing, while maintaining the
existing "'normal' computes to 0px" behaviour.

--HG--
extra : rebase_source : d3273f60d4de6a9a0f05f1dbf2ed095f0f7e6c0e
2015-10-21 22:13:11 -07: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
David Anderson
fb84bcaa55 Fix scrollbars on subframes not directing APZ events to the correct scrollframe. (bug 1213324, r=tn) 2015-10-20 02:39:34 -07:00
L. David Baron
aded17dcb4 Bug 1209603 patch 2 - Reduce calls to StyleVisibility() in WritingMode constructor. r=heycam
(I noticed this while writing patch 1.)

--HG--
extra : commitid : G2JVcpkEDQK
2015-10-19 20:42:28 -07:00
Daniel Holbert
d6fe9b1f50 Bug 497495 late-breaking followup: s/GetAllocatedSize/GetFrameId/ in documentation, to reflect the same change having happened in code. (no review, comment-only, DONTBUILD) 2015-10-19 16:45:57 -07:00
Wes Kocher
743fd15585 Backed out changeset 668563c7fab8 (bug 1214077) for build failures 2015-10-19 16:21:44 -07:00
Xidorn Quan
b10afa31af Bug 1214077 - Remove FRAMEARENA_HELPERS from nsRubyContentFrame. r=dholbert
--HG--
extra : rebase_source : 82e1e504e8e4e97ca65194e4061e95711274ce65
extra : source : 0bbfe0613c5494cf972de59adff4a26285e74524
2015-10-20 10:02:03 +11:00
Jim Mathies
44e333455f Bug 1214878 - When async scrolling with e10s hide windowed plugins in sub documents. r=roc 2015-10-19 10:38:42 -05:00
Xidorn Quan
af8cf1df88 Bug 1215360 - Render canvas anonymous content on top of the top layer. r=roc
--HG--
extra : source : 231e0e545afaf3bf4993b0f6d20cd60ee734c899
2015-10-19 11:56:13 +11:00
Nathan Froyd
01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Nathan Froyd
583afa0965 Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
This commit was generated using the following script, executed at the
top level of a typical source code checkout.

 # Don't modify select files in mfbt/ because it's not worth trying to
 # tease out the dependencies currently.
 #
 # Don't modify anything in media/gmp-clearkey/0.1/ because those files
 # use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    grep -v 'mfbt/RefPtr.h' | \
    grep -v 'mfbt/nsRefPtr.h' | \
    grep -v 'mfbt/RefCounted.h' | \
    grep -v 'media/gmp-clearkey/0.1/' | \
    xargs perl -p -i -e '
 s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
 s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
 s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
 s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#;       # handle strange #includes
'

 # |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'

 # RefPtr.h used |byRef| for dealing with COM-style outparams.
 # nsRefPtr.h uses |getter_AddRefs|.
 # Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
    xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
Masayuki Nakano
07adf60de2 Bug 1215434 part.1 If scroll target is a plugin frame, EventStateManager::PostHandleEvent() should send the wheel event to the plugin frame even if APZC already handled it r=smaug 2015-10-17 15:50:09 +09:00
Masayuki Nakano
5f2c3f035e Bug 376679 part.2 EventStateManager should treat plugin frame as scrollable frame if the plugin wants to handle wheel events as default action r=smaug 2015-10-16 13:19:27 +09:00
Matt Woodrow
3355c46862 Bug 1211654 - Force opacity layers that were only created for APZ hit-testing information to always be inactive. r=mstange 2015-10-15 15:15:16 +13:00
Timothy Nikkel
96fca396cf Bug 1210578. Part 3. Create DecideScrollableLayer that encapsulates all logic to create display ports and build scrollable layers. r=mstange
For root scroll frames we need information about the async scrolling (or lack thereof) of the scroll frame before we get to ScrollFrameHelper::BuildDisplayList for the scroll frame. We need it in nsLayoutUtils::PaintFrame and nsSubdocumentFrame::BuildDisplayList. So we factor out all the code responsible for async scrolling decisions into one function we can call from all three places.
2015-10-12 15:21:49 -05:00
Timothy Nikkel
9c0e012dcb Bug 1210578. Part 2. Rename shouldBuildLayer to couldBuildLayer to better reflect it's actual meaning. r=mstange
Also remove one use of the variable that is unnecessary.
2015-10-12 15:21:49 -05:00
Timothy Nikkel
af289f8df8 Bug 1210578. Part 1. Rename mShouldBuildScrollableLayer to mWillBuildScrollableLayer to better capture the meaning of the variable. r=mstange 2015-10-12 15:21:49 -05:00
Timothy Nikkel
d566a599fe Backout part 1 of bug 1195431 (cf841511b71a). 2015-10-12 15:21:48 -05:00
Timothy Nikkel
77afdaa94b Backout part 2 of bug 1195431 (2e5d1c6a4a0c). 2015-10-12 15:21:48 -05:00
Timothy Nikkel
78defc87b3 Backout part 3 of bug 1195431 (8270ee9be504). 2015-10-12 15:21:48 -05:00
Timothy Nikkel
ed80010e77 Bug 1210577. Remove useless virtual keyword from ScrollFrameHelper::ComputeScrollClip. r=mstange 2015-10-12 13:50:14 -05:00
David Anderson
fb11b16545 Fix inactive scroll frames sometimes creating very large, incorrect hit regions. (bug 1190112, r=tn) 2015-10-07 12:08:53 -07:00
Nicholas Nethercote
0f5722f4da Bug 1211324 (part 5) - Remove GraphicsFilter and gfxGraphicsFilter. r=mattwoodrow. 2015-10-05 17:18:10 -07:00
Nicholas Nethercote
4fc2610c3c Bug 1211324 (part 4) - Replace GraphicsFilter constants with gfx::Filter equivalents. r=mattwoodrow.
The conversion is as follows:

- GraphicsFilter::FILTER_NEAREST == gfx::Filter::POINT
- GraphicsFilter::FILTER_GOOD    == gfx::Filter::GOOD
- GraphicsFilter::FILTER_BEST    == gfx::Filter::LINEAR

Also typedef GraphicsFilter to gfx::Filter; this will be removed in the next
patch.

These changes mean ToFilter() and ThebesFilter() are no longer needed.
2015-10-05 17:12:46 -07:00
Xidorn Quan
7773a3e41c Bug 1126230 part 8 - Implement painting part for the top layer. r=roc
--HG--
extra : source : 4a61841b92db5baf999a9aee02a9aba4799e3d1b
2015-10-07 14:04:32 +11:00
Xidorn Quan
c2d718f5cb Bug 1126230 part 7 - Add static method nsDisplayListBuilder::GetOutOfFlowData(). r=roc
--HG--
extra : source : 995811d926293af0bddc1f4738c524b2e9745566
2015-10-07 14:04:32 +11:00
Robert O'Callahan
778a447154 Bug 790260 - Crashtest. 2015-10-07 00:54:51 +02:00
Mats Palmgren
bfaaa79619 Bug 790260 - Make CollectFloats remove the IS_PUSHED_FLOAT bit in case the float was collected from the PushedFloats list. r=roc 2015-10-07 00:54:51 +02:00
Jim Mathies
51bda23522 Bug 1137944 - Add plugin window handling for apz related notifications received by the content process. r=mstange 2015-10-06 14:23:25 -05:00
Jim Mathies
d44a5df7b4 Bug 1137944 - Add a pref to control plugin window hiding. r=roc 2015-10-06 14:23:24 -05:00
Jim Mathies
732721ad2a Bug 1137944 - Add support for hiding plugin windows during async dom scroll operations managed in the content process. r=roc 2015-10-06 14:23:24 -05:00
Nigel Babu
a47d2e063f Backed out 9 changesets (bug 1126230) for Mulet Gij(25) and M(5) failures
Backed out changeset 8a9d8a556183 (bug 1126230)
Backed out changeset 441b55f015c2 (bug 1126230)
Backed out changeset 7bfa2a2d4e29 (bug 1126230)
Backed out changeset b55511536c65 (bug 1126230)
Backed out changeset ada76e419aac (bug 1126230)
Backed out changeset 745d659bef49 (bug 1126230)
Backed out changeset 7c303cc4c30b (bug 1126230)
Backed out changeset 8bf708acbad4 (bug 1126230)
Backed out changeset 590404aac357 (bug 1126230)
2015-10-02 13:39:20 +05:30
Xidorn Quan
5094f99d5f Bug 1126230 part 7 - Implement painting part for the top layer. r=roc
--HG--
extra : source : 98a32a46935e2f1226900594094101371af50dae
2015-10-02 16:34:09 +10:00
Xidorn Quan
bf722a3345 Bug 1126230 part 6 - Add static method nsDisplayListBuilder::GetOutOfFlowData(). r=roc
--HG--
extra : source : 6ac3a2eed44e1d656a1574b3e71e5c1c7d01ace0
2015-10-02 16:34:09 +10:00
Daniel Holbert
8f81a9c35d Bug 1032613 part 2: Make RestyleManager::AddSubtreeToOverflowTracker skip frames that don't maintain overflow areas. r=dbaron 2015-10-01 20:05:26 -07:00
Daniel Holbert
09893a542f Bug 1032613 part 1: Promote FrameMaintainsOverflow to be a public nsIFrame method, & implement it using HasAllStateBits. r=dbaron 2015-10-01 20:05:25 -07:00
Tooru Fujisawa
4b5a0cb0ba Bug 1207495 - Remove use of expression closure from layout/. r=bz
--HG--
extra : commitid : DsNCuxMDmUn
extra : rebase_source : 5d3f00526ecbd257ee54f176fe919ce6d20f6ed6
2015-09-23 18:40:36 +09:00
Jim Mathies [:jimm]
f30dfdb4a2 Bug 1158111 - "Add caching and control updating tab offset values in the child from the parent side". a=klotz
--HG--
extra : rebase_source : 905ab38197d648ba88fc6ea941f575208df9ff4d
2015-09-28 12:35:00 +02:00
Kartikaya Gupta
0123b19fc5 Back out the bits of bug 1205087 that cache the AnimatedGeometryRoot on DisplayItem. r=backout
The change breaks some scenarios with APZ scrolling, in particular the code
that layerizes the scroll handoff chain for deeply nested scrollable frames.

--HG--
extra : commitid : KeQX4HyPKXd
2015-09-28 15:17:34 -04:00
Arpad Borsos
4b903c54fe Bug 1208985 - Use height for scroll-snap-points-y percentage values; r=kip
The CSS scroll snapping specification defines percentages to be
`relative to same axis of the padding-box of the scroll container`,
which means that y-axis should be based no height, not width.

--HG--
extra : commitid : L2lzB2dIjJE
extra : rebase_source : d64395a53232819ccde28e1a792d4c8cab85acb8
extra : amend_source : c528d81fe5545a7804138fa1bc35a15f52dd9066
2015-09-28 14:58:56 +02:00
L. David Baron
9739e1fe6c Bug 1207157 patch 3 - Don't bother passing around the inline-end margin of replaced elements we consider clearing past floats, since we don't need it any more. r=jfkthame
--HG--
extra : commitid : HRqckWRd8My
2015-09-27 02:19:14 -07:00
L. David Baron
ad95cf903e Bug 1207157 patch 2 - Stop caring about a replaced element's margin-inline-end when determining whether it fits next to floats. r=jfkthame
The change to the 427129-table-caption test was just to make the
reference match the test.

The change to the other 427129 tests was duplicating the test that
failed, adjusting the reference for one version of it (no longer pushed
down), and testing an alternative pushed-down case for the other
version.

It's not clear to me how to test that that
1062963-floatmanager-reflow.html still tests what it originally tested,
given the code change that's happened since.

--HG--
extra : commitid : 178ok0G1NFo
2015-09-27 02:19:14 -07:00
Jonathan Kew
7cf24569af Bug 1208593 - Make the WritingMode::DebugString() method available even in non-DEBUG compilation (needed by --enable-dump-painting builds, for example). r=mchang 2015-09-27 08:51:02 +01:00
Matt Woodrow
c066ccca63 Bug 1205087 - Cache the AnimatedGeometryRoot on DisplayItem. r=roc 2015-09-24 18:26:36 -04:00
Matt Woodrow
d58f9e3efb Bug 1205087 - Remove LayerManager parameter for ShouldFixToViewport. r=roc 2015-09-24 18:25:08 -04:00
Nicholas Nethercote
a37228e1fe Bug 1207944 (part 4) - Use SetColor(const Color&) when setting from an nscolor. r=jwatt.
In various places SetColor() gets passed an nscolor. These are converted
(either implicitly or explicitly) to a gfxRBGA, and then to a gfx::Color.

This patch changes all these cases to avoid the middle step, by (a)
constructing a gfx::Color directly instead of an nscolor, or (b) by converting
an nscolor with Color::FromABGR().

--HG--
extra : rebase_source : ae423a422b37ada8ca0cb6f130350b4a71d58fc4
2015-09-23 23:41:30 -07:00
Jonathan Kew
294b0fb112 Bug 1193519 pt 10 - Clean up remaining mentions of 'sideways-left' in code comments. r=dholbert 2015-09-24 10:23:35 +01:00
Jonathan Kew
a58c826891 Bug 1193519 pt 4 - Reverse the direction of text-decoration offsets in sideways-lr mode. r=dholbert 2015-09-24 10:23:34 +01:00
Jonathan Kew
558835b15e Bug 1193519 pt 3 - Handle writing-mode:sideways-lr in nsTextFrame selection and rendering. r=dholbert 2015-09-24 10:23:34 +01:00
Jonathan Kew
3d9826044b Bug 1193519 pt 1 - Update coordinate conversions in WritingModes.h to account for sideways-lr writing mode. r=dholbert
* * *
Bug 1193519 pt 1.1 - Fix error in LogicalRect::LineLeft/Right accessors. r=dholbert
2015-09-24 10:23:34 +01:00
Michael Layzell
2aa752dd26 Bug 1199288 - Rename mApplyUserSelectStyle to mUserInitiated, r=smaug 2015-09-23 23:28:36 -04:00
Jonathan Kew
a69598b275 Bug 1193488 - patch 2 - Update the writing-mode representation printed by debugging code such as DumpFrameTree to reflect the new property values. r=dholbert 2015-09-23 22:16:11 +01:00
Jonathan Kew
a091884801 Bug 1193488 - Update values of writing-mode and text-orientation to reflect the CSS WG decision to revise them in the Writing Modes spec. r=dholbert 2015-09-23 22:16:01 +01:00
Kartikaya Gupta
9a349f8ba7 Bug 1195431 - Ensure that IsScrollingActive returns true even when called before mShouldBuildScrollableLayer has been set. r=tn
--HG--
extra : commitid : 8BM9220PWYz
2015-09-23 09:34:41 -04:00
Kartikaya Gupta
32169b4218 Bug 1195431 - Extract a helper function to determine if the scrollframe will build a scrollable layer. r=tn
--HG--
extra : commitid : GlTZ55eBsS9
2015-09-23 09:34:41 -04:00
Kartikaya Gupta
d674ba3676 Bug 1195431 - Extract a couple of helper functions. r=tn
--HG--
extra : commitid : FK958utOKA5
2015-09-23 09:34:41 -04:00
Mats Palmgren
fd3361fcbd Bug 1206703 - [css-grid] In an empty grid all lines should be treated as 'auto' for abs.pos. items, i.e. snap to the padding edge. r=dholbert 2015-09-22 23:32:34 +02:00
Christoph Kerschbaumer
9f1e9e2eaa Bug 1048048 - add preload content policy types for images (r=seth)
--HG--
extra : source : 88c2333ff7455b6988eb8d6ccc5e92b414a7ccf8
2015-09-20 14:55:59 -07:00
Wes Kocher
cd079d2bf9 Backed out 7 changesets (bug 1048048) for android crashes in various chunks CLOSED TREE
Backed out changeset b5abe23a4ea5 (bug 1048048)
Backed out changeset 4f91b10e8be0 (bug 1048048)
Backed out changeset 450d4a13c90e (bug 1048048)
Backed out changeset 6a727c40eb68 (bug 1048048)
Backed out changeset 88c2333ff745 (bug 1048048)
Backed out changeset 740ab1ecd079 (bug 1048048)
Backed out changeset 02c6d6aef163 (bug 1048048)
2015-09-21 09:08:34 -07:00
Christoph Kerschbaumer
19dc79ddbb Bug 1048048 - add preload content policy types for images (r=seth) 2015-09-20 14:55:59 -07:00
David Anderson
f874dc5d80 Fix nsDisplayCanvasBackgroundColor to invalidate on color changes. (bug 1205970 part 1, r=mattwoodrow) 2015-09-18 18:45:05 -07:00
Thinker K.F. Li
e1e17a72cb Bug 1097464 - Part 6: Handle preserves-3d by compositor. r=roc
Remove WrapPreserve3DList() and replaced it by creating a
nsDisplayTransform item for each transformed frame.

 - Add an additional item for each top frame extending 3D context to
   separate consequence contexts.

 - Effective transform of a layer is the accumulation of ancestors in
   the same 3D context.

 - The layers creating new context and extended by children need a
   temporary buffer if it's effective transform is not 2D.

 - Clip rects are accumulated along the context chain.

 - Visible rects of items are computed from dirty regions of the frame
   creating the context and accumulated transforms.

 - Bounds of items are computed from accumulated transforms and
   accumulated bounds of the descent frames.

 - Backface hidden is handled by compositor and BasicLayerManager.

--HG--
extra : rebase_source : 1a894b057a117a8520898c9f83308d92c122b180
2015-09-17 03:31:00 +02:00
Thinker K.F. Li
d9c38a58c1 Bug 1097464 - Part 5: Fix preserve3d wording for nsIFrame. r=roc
--HG--
extra : rebase_source : 9d30e48106871ba631aff03afd153eaf45ac954e
2015-09-17 03:31:00 +02:00
Phil Ringnalda
7171096144 Back out 2 changesets (bug 1205087) for mass bustage
CLOSED TREE

Backed out changeset 0573cd4aed27 (bug 1205087)
Backed out changeset 11a3cb42f729 (bug 1205087)
2015-09-17 19:30:42 -07:00
Matt Woodrow
ad13620acc Bug 1205087 - Remove LayerManager parameter for ShouldFixToViewport. r=roc
--HG--
extra : rebase_source : a55ebf8ab3ea6cad0ff9945f9ee9857421053e0b
2015-09-17 21:03:42 -04:00
Carsten "Tomcat" Book
f7534678df Backed out 6 changesets (bug 1097464) for causing OS X 10.10 Reftest Errors
Backed out changeset fbf63ce1ba88 (bug 1097464)
Backed out changeset fdaf4cfa6707 (bug 1097464)
Backed out changeset 727ebd9f744a (bug 1097464)
Backed out changeset 03f03a776042 (bug 1097464)
Backed out changeset 5ec6364b87d7 (bug 1097464)
Backed out changeset 47d056b3af7f (bug 1097464)

--HG--
extra : rebase_source : e2da133b489e4adba373303dad6e559826927e19
2015-09-17 16:24:43 +02:00
Thinker K.F. Li
76109f93c4 Bug 1097464 - Part 6 - Handle preserves-3d by compositor. r=roc
Remove WrapPreserve3DList() and replaced it by creating a
nsDisplayTransform item for each transformed frame.

 - Add an additional item for each top frame extending 3D context to
   separate consequence contexts.

 - Effective transform of a layer is the accumulation of ancestors in
   the same 3D context.

 - The layers creating new context and extended by children need a
   temporary buffer if it's effective transform is not 2D.

 - Clip rects are accumulated along the context chain.

 - Visible rects of items are computed from dirty regions of the frame
   creating the context and accumulated transforms.

 - Bounds of items are computed from accumulated transforms and
   accumulated bounds of the descent frames.

 - Backface hidden is handled by compositor and BasicLayerManager.
2015-09-17 03:31:00 +02:00
Thinker K.F. Li
31e7d8b95d Bug 1097464 - Part 5 - Fix preserve3d wording for nsIFrame. r=roc 2015-09-17 03:31:00 +02:00
Olli Pettay
68663347da Bug 1205466, make HasApzAwareListeners check faster, r=masayuki
--HG--
extra : rebase_source : 41c94b02117a09785938349dc9ad513af9bf048b
2015-09-17 13:16:20 +03:00
Jonathan Kew
101becfd66 Bug 1193518 - Ensure that when we update a WritingMode after resolving dir=auto, we set the inline-dir bit appropriately as well as the inline-bidi bit. r=dholbert 2015-09-17 09:53:49 +01:00
Nicholas Nethercote
f429eae6a5 Bug 1203427 (part 5) - Add logging of timer firings. r=froydnj. 2015-09-10 00:50:51 -07:00
Nicholas Nethercote
6f036921dc Bug 1203427 (part 1) - Add nsExpirationTracker::mName. r=froydnj.
There are many sub-classes of nsExpirationTracker. In order to distinguish them
nicely in the logging of timer firings, it's necessary to manually name each
one. (This wouldn't be necessary if there was a way to stringify template
parameters, but there isn't.)

--HG--
extra : rebase_source : 89b99e9dbb2a806bd21145d04a5e023794643b61
2015-09-09 21:07:07 -07:00
Cameron McCormack
be6487a748 Bug 1203766 - Part 1: Generate nsPresArena::ObjectIDs with a preprocessor-included file. r=bzbarsky 2015-09-17 12:08:19 +10:00
Mats Palmgren
72573926a9 Bug 1204585 part 1 - [css-grid] Use the grid area's size when converting to physical coordinates for abs.pos. items. r=dholbert
It's the item's grid area that forms the containing block rect,
not the grid container.
2015-09-15 23:34:08 +02:00
Jonathan Kew
0a7461bd0a Bug 1202993 - Remove the logical-direction-based keywords for caption-side, and instead interpret the old physical keywords as logical sides. r=dholbert 2015-09-15 22:02:30 +01:00
Kartikaya Gupta
7bc0f3acbb Bug 1204535 - Hoist out the code to initially compute usingDisplayPort. r=tn
--HG--
extra : commitid : 8LyyOnxNH1b
2015-09-15 16:09:35 -04:00
Kartikaya Gupta
7cd016f0fd Bug 1204535 - Relocate comment to go with the line of code it's commenting. r=tn
--HG--
extra : commitid : 6jIh8on2UNr
2015-09-15 16:09:35 -04:00
Kartikaya Gupta
a6532f54a3 Bug 1204535 - Rename usingDisplayport to usingDisplayPort for consistency. r=tn
--HG--
extra : commitid : GuYgzZK6fap
2015-09-15 16:09:35 -04:00
Kartikaya Gupta
6e406c5598 Bug 1204535 - Collapse redundant conditional block. r=tn
--HG--
extra : commitid : Av7tzi4lfaR
2015-09-15 16:09:35 -04:00
Kartikaya Gupta
7d0437c4a2 Bug 1204535 - Flatten conditional structure one level. r=tn
--HG--
extra : commitid : EcyWhZBBD2N
2015-09-15 16:09:35 -04:00
Kartikaya Gupta
4944ac2606 Bug 1204535 - Remove no-op code. r=tn
--HG--
extra : commitid : drdQpuWED0
2015-09-15 16:09:35 -04:00
Shu-yu Guo
64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Hiroyuki Ikezoe
3525eca033 Bug 1197620 - Part 1 - Stop all animations in destroyed frames. r=bbirtles 2015-09-14 23:42:00 +02:00
Matt Woodrow
6e6e6105aa Bug 1202029 - Use the containing block for determining perspective for transformed elements. r=dbaron
--HG--
extra : rebase_source : f8a1403a77e71179aca097e26567bcb3b7c1848b
2015-09-14 14:17:40 -04:00
Masayuki Nakano
51d7268995 Bug 895274 part.243 Rename NS_TOUCH_END to eTouchEnd r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano
7a48a6f2ab Bug 895274 part.241 Rename NS_TOUCH_START to eTouchStart r=smaug 2015-09-15 00:14:34 +09:00
Milan Sreckovic
865e1ef45c Bug 1202703 - Part 1 - CreateRenderingContext can fail. r=mattwoodrow 2015-09-10 12:31:00 +02:00
Ehsan Akhgari
3228eca502 Bug 1204291 - Null check the argument of AutoHideSelectionChanges::AutoHideSelectionChanges() 2015-09-12 22:58:46 -04:00
Michael Layzell
fc03111ce2 Bug 1196479 - Fire selectstart and selectionchange events on the input node when the selection in that editor changes. r=ehsan 2015-09-12 17:56:46 -04:00
Michael Layzell
fe31896607 Bug 571294 - Part 1: Implement selection events behind the dom.select_events.enabled pref, r=smaug 2015-09-12 17:56:44 -04:00
Michael Layzell
0097c41e01 Bug 1201190 - Part 3: Mark every consumer of GUARD_OBJECT as MOZ_RAII, r=ehsan 2015-09-12 16:53:33 -04:00
Kartikaya Gupta
6630a65ba4 Bug 1201529 - Ensure that zoomable scrollframes return true from WantAsyncScroll(). r=botond
--HG--
extra : commitid : 29B0WVGYfId
2015-09-11 21:58:16 -04:00
Masayuki Nakano
18894de959 Bug 895274 part.217 Rename NS_SCROLLEDAREACHANGE to eScrolledAreaChanged r=smaug 2015-09-12 01:19:27 +09:00
Masayuki Nakano
93a08167ad Bug 895274 part.214 Rename NS_SCROLLPORT_UNDERFLOW to eScrollPortUnderflow r=smaug 2015-09-12 01:19:27 +09:00
Masayuki Nakano
2237026931 Bug 895274 part.213 Rename NS_SCROLLPORT_OVERFLOW to eScrollPortOverflow r=smaug 2015-09-12 01:19:27 +09:00
L. David Baron
863f79b465 Bug 1174510 - Fix fallback from cursor formats that we don't support or that fail to decode to other cursor files. r=seth
Although I didn't test this theory, I think it's fixing a regression
from patch 3 in bug 1084136 (changeset e7ecd25d7e7c), which stopped
clearing other flags when an error occurred.

--HG--
extra : transplant_source : %E8%B9%F6%BA-%22%C2s%A59V%DB%F7%D7%9D%A7Vpa2
2015-09-11 08:17:40 -07:00
Masayuki Nakano
6b885d1496 Bug 895274 part.184 Rename NS_WHEEL_WHEEL to eWheel r=smaug 2015-09-11 01:59:54 +09:00
Markus Stange
04c661f71d Bug 1181135 - Copy DisplayItemClips in order to avoid dangling pointers. r=tn
--HG--
extra : rebase_source : 8d0a077fb38d1c19cf1ef868403c6b3a3735346e
2015-09-09 19:08:03 -04:00
Mats Palmgren
29efca660f Bug 1174553 part 5 - [css-grid] Replace the ambiguous Dimension with LogicalAxis. r=dholbert 2015-09-04 22:06:58 +02:00
Mats Palmgren
ea9f6fea4c Bug 1174574 part 2 - [css-grid] Implement intrinsic sizing for grid containers (aka GetMinISize/GetPrefISize). r=dholbert 2015-09-04 22:06:58 +02:00
Mats Palmgren
d799b25f16 Bug 1174574 part 1 - [css-grid] Move the guts of nsGridContainerFrame::CalculateTrackSizes into a Tracks method. r=dholbert 2015-09-04 22:06:57 +02:00
Mats Palmgren
d9b3096fbb Bug 1176621 - [css-grid] Implement "Stretch Flexible Tracks" and associated algorithms. r=dholbert 2015-09-04 22:06:57 +02:00
Mats Palmgren
d24fdc22fa Bug 1176619 - [css-grid] Implement the "Maximize Tracks" algorithm. r=dholbert 2015-09-04 22:06:57 +02:00
Mats Palmgren
08a8ff8de4 Bug 1151212 part 3 - [css-grid] Implement the "Resolve Intrinsic Track Sizes" algorithm. r=dholbert 2015-09-04 22:06:57 +02:00
Mats Palmgren
73b1279e0e Bug 1174553 part 3 - [css-grid] Implement the 'min-content' / 'max-content' sizing functions in layout. r=dholbert 2015-09-04 22:06:57 +02:00
Mats Palmgren
891bf53892 Bug 1174546 part 2 - [css-grid] Implement the 'auto' min-sizing function in Grid layout. r=jfkthame 2015-09-04 22:06:57 +02:00
Mats Palmgren
04c2ee449f Bug 1151212 part 2 - [css-grid] Introduce a local GridItemInfo struct for holding a grid item's GridArea and other things. Put two nsTArrays of those in the grid container frame, one for normal flow items and one for abs.pos. grid-aligned descendants. Add a GridItemIndex method on the grid item iterator to return the index for the current item. r=dholbert 2015-09-04 22:06:57 +02:00
Mats Palmgren
1c16c0bb7e Bug 1151212 part 1 - [css-grid] Introduce a few local structs (GridReflowState, Tracks, TrackSizingFunctions) to make it easier to pass around data. r=dholbert 2015-09-04 22:06:57 +02:00
David Anderson
99013f5fcf Hoist scroll info items above inactive blur containers. (bug 1193557 part 1, r=mstange) 2015-09-04 17:17:50 -07:00
Wes Kocher
926789d3e4 Backed out changeset 96fd29a6c902 (bug 1151212) 2015-09-04 16:22:51 -07:00
Wes Kocher
ff11b9b9a6 Backed out changeset 1194452bc071 (bug 1151212) 2015-09-04 16:22:50 -07:00
Wes Kocher
41e53d4c8a Backed out changeset f7ccd13584ad (bug 1174546) 2015-09-04 16:22:48 -07:00
Wes Kocher
360e4196e2 Backed out changeset 4a0c4ece75db (bug 1174553) 2015-09-04 16:22:36 -07:00
Wes Kocher
e7e63d003f Backed out changeset ada43c8af8ca (bug 1151212) 2015-09-04 16:22:34 -07:00
Wes Kocher
9f58317c65 Backed out changeset 19b5e154c6f9 (bug 1176619) 2015-09-04 16:22:33 -07:00
Wes Kocher
f9f8218c5f Backed out changeset 6bbbffdbda5b (bug 1176621) 2015-09-04 16:22:31 -07:00
Wes Kocher
9442d1aa62 Backed out changeset 16cf05b1664c (bug 1174574) 2015-09-04 16:22:30 -07:00
Wes Kocher
a93ac43a7e Backed out changeset fd3a53075e54 (bug 1174574) 2015-09-04 16:22:28 -07:00
Wes Kocher
d12dfe74c5 Backed out changeset 332af3c9e366 (bug 1174553) 2015-09-04 16:22:27 -07:00
Mats Palmgren
3be8c0c8f4 Bug 1174553 part 5 - [css-grid] Replace the ambiguous Dimension with LogicalAxis. r=dholbert 2015-09-04 22:06:58 +02:00
Mats Palmgren
4b66bd9d6c Bug 1174574 part 2 - [css-grid] Implement intrinsic sizing for grid containers (aka GetMinISize/GetPrefISize). r=dholbert 2015-09-04 22:06:58 +02:00
Mats Palmgren
f91e1d63d8 Bug 1174574 part 1 - [css-grid] Move the guts of nsGridContainerFrame::CalculateTrackSizes into a Tracks method. r=dholbert 2015-09-04 22:06:57 +02:00
Mats Palmgren
60bf6b5654 Bug 1176621 - [css-grid] Implement "Stretch Flexible Tracks" and associated algorithms. r=dholbert 2015-09-04 22:06:57 +02:00
Mats Palmgren
bda8d77ccc Bug 1176619 - [css-grid] Implement the "Maximize Tracks" algorithm. r=dholbert 2015-09-04 22:06:57 +02:00