Commit Graph

48970 Commits

Author SHA1 Message Date
David Rajchenbach-Teller
a4607bcbef Bug 1219144 - Using the nsRefreshDriver's jank indication for performance monitoring;f?froydnj r=froydnj
This patch (currently WIP) alters the way we determine whether jank is user-visible or not.

Instead of measuring the total time spent doing JS, we now use an
indicator provided by the vsync driver: how long it takes to deliver
the signal from the vsync timer to the main thread. This lets us find
out more accurately if there is user-visible jank. In the future, this
will also let us add an observer to find out whether the process
itself is janky, regardless of JS.

--HG--
extra : rebase_source : a538e3cc9d8904f52d4a0e7bad291189986e4e6d
2016-01-14 15:07:18 +01:00
Xidorn Quan
4879d85cc1 Bug 1233135 - Do not touch display value of anonymous box for ruby. r=dbaron
--HG--
extra : source : 87f3c64200ab990efe341da44b70e0fc8f1c09f0
2016-01-26 20:31:45 +11:00
Kit Cambridge
9e4ed15128 Bug 1239584, Part 1 - Add nsIPushNotifier and nsIPushMessage interfaces. r=dragana
--HG--
extra : commitid : HD2fDINypFu
extra : rebase_source : 477ab56822deb5e6423c8f9b36f1a5c119d07951
2016-01-13 22:19:51 -07:00
Sylvestre Ledru
ab4e3a0d42 Bug 1218816 - Remove useless semicolons. Found by coccinelle. r=Ehsan
--HG--
extra : rebase_source : 7d2cc56b6553cd7a8d848d3c660f30735bd82eec
2016-01-22 16:58:49 +01:00
Kit Cambridge
f398300afc Back out out 3 changesets (bug 1239584) for B2G build failures on a CLOSED TREE.
--HG--
extra : commitid : 74RywJW7UVo
extra : amend_source : 2088096e01cb7b6fda50c87f05d427cd79147554
2016-01-22 11:06:14 -08:00
Kit Cambridge
ecc52d87d2 Bug 1239584, Part 1 - Add nsIPushNotifier and nsIPushMessage interfaces. r=dragana
--HG--
extra : commitid : F7MFsrMAXQy
extra : rebase_source : 3333eed45b538bccbdf2761a91fb5fada8fcf922
2016-01-13 22:19:51 -07:00
Andreas Tolfsen
4b620e6208 Bug 1205687 - Add metadata about Marionette layout tests; r=Ms2ger
--HG--
extra : rebase_source : f24d24f13b2073733fb7c91b2383109653fa38dd
2015-09-18 14:57:10 +01:00
Jean-Yves Avenard
6cc095b16d Bug 1240995: [ffmpeg] P1. Refactor FFmpeg PDM. r=kentuckyfriedtakahe
This greatly simplify how the external libavcodec and libavutil are linked.
2016-01-23 01:35:52 +11:00
John Daggett
4385f97f0c Bug 493976 - remove obsolete AAT reftest. r=dholbert 2016-01-22 16:43:01 +09:00
Timothy Nikkel
6a8edbd624 Bug 1241371. Don't schedule an image visibility update every time display port margins change. r=kats
Displayport margins change by small amounts on almost every single scroll. We do not want to update image visibility nearly that often.

As the comment, and the original bug (bug 1169881) suggest this is only meant to catch rather large changes in display ports as we already have means to trigger an image visibility update via a scroll position change and via any style or layout flush.
2016-01-22 00:29:17 -06:00
Wes Kocher
2ed2b43c29 Merge m-c to inbound, a=merge
--HG--
extra : commitid : KfjY9JJOq3w
2016-01-21 17:36:22 -08:00
Timothy Nikkel
aefbcd85cf Bug 1241371. Properly update mLastUpdateImagesPos on scrollframes when the image visibility pass encounters them. r=mats
This is a regression from bug 1002992 where we switch from the display list builder to the frame tree walker and didn't update mLastUpdateImagesPos in the frame walker.
2016-01-21 19:09:04 -06:00
Timothy Nikkel
6cd0b6de0f Bug 1241651. Remove nsPresContext::GetDisplayRootPresContext. r=mattwoodrow
It should no longer serve any purpose different from nsPresContext::GetRootPresContext.
2016-01-21 19:09:04 -06:00
Wes Kocher
da663084df Merge inbound to m-c a=merge
--HG--
extra : commitid : ATxDn3SgryS
2016-01-21 16:24:42 -08:00
Carsten "Tomcat" Book
3d3ee3ca4a Merge mozilla-central to fx-team 2016-01-21 12:30:07 +01:00
Cameron McCormack
90944dd1e2 Bug 1241378 - Stop uselessly getting the style set from nsStyleSet::ResolveAnonymousBoxStyle. r=dholbert 2016-01-22 09:24:27 +11:00
Cameron McCormack
3cc6289c46 Bug 1241373 - Make nsStyleSet::GetAuthorStyleDisabled const. r=dholbert 2016-01-21 16:21:23 +11:00
Nicolas Silva
c7cf4b994f Bug 1180942 - Use cairo's image backend for drawing on linux. r=jrmuizel 2016-01-21 14:12:51 +01:00
Nicolas Silva
f5ff561792 Bug 774689 - Make 632781-verybig.html allocate canvas big enough to test software rendering while being less likely to cause OOM. r=Bas 2016-01-21 14:10:47 +01:00
Ting-Yu Lin
94991d3936 Bug 1241008 - Add preference to show or hide selection bars. r=mtseng
--HG--
extra : rebase_source : 87593ce1fc35e0d99e4a5b68f5fe5b3725cc25b6
2016-01-21 11:11:38 +08:00
Nicholas Nethercote
2282e33e5b Re-backout c216ff19d690 (bug 1059014 part 3) because the removed code is less dead than it first appears.
--HG--
extra : rebase_source : 22c84e309f8b9e26c359108905a2e8a6e5df2bb7
2016-01-20 22:55:37 -08:00
Tracy Walker
7c1847b3e9 Bug 1240750 - Put add button in ContentTask and modernize the rest of the test case and remove relevant skip-if in layout/base/tests/browser.ini. r=mconley 2016-01-20 13:34:07 -06:00
Nicholas Nethercote
1e266f153c Bug 1240921 - Use nsAutoTArray in nsStyleSet::RuleNodeWithReplacement. r=bz.
It's hot in some workloads and so this avoids some heap churn.
2016-01-20 15:01:25 -08:00
Randall Barker
45a15ccb02 Bug 1231517 - part 3, Add ZoomToRect function to nsIWidget classes r=kats 2016-01-20 16:24:59 -08:00
Randall Barker
725817b232 Bug 1231517 - part 1, Move GetBoundingContentRect to nsLayoutUtils r=botond 2016-01-20 16:24:57 -08:00
Wes Kocher
de8ca7dcd1 Backed out changeset 8b78eccf2c29 (bug 1240995) for asan failures in mochitest(2) and mochitest(oth) CLOSED TREE
--HG--
extra : commitid : CUijS7r7W2B
2016-01-20 13:47:13 -08:00
David Rajchenbach-Teller
42b6a4145f Bug 1224374 - Profiler labels for the 25 top chrome hangs;r=BenWa,MarcoZ
Experience shows that we do not have enough profiler labels to make
BHR hang reports meaningful. This patch adds enough labels to let us
exploit hang reports matching the 25 topmost chrome hangs.

--HG--
extra : rebase_source : b9ec379c58255a250db1020377147c95c82df712
2016-01-14 23:03:11 +01:00
Jean-Yves Avenard
afe8bac715 Bug 1240995: [ffmpeg] Refactor FFmpeg PDM. r=kentuckyfriedtakahe
This greatly simplify how the external libavcodec and libavutil are linked.
2016-01-20 20:22:43 +11:00
Carsten "Tomcat" Book
45991d1b24 Backed out changeset 4ab338518d02 (bug 1240995)
--HG--
extra : rebase_source : d2f8dc3044190a827fb0b747f71a3cbf741767e9
2016-01-20 16:10:46 +01:00
Carsten "Tomcat" Book
95728f5bec Merge mozilla-central to mozilla-inbound 2016-01-20 15:36:47 +01:00
Carsten "Tomcat" Book
248f7a3dee merge mozilla-inbound to mozilla-central a=merge 2016-01-20 15:34:34 +01:00
Jean-Yves Avenard
dac8ee7941 Bug 1240995: [ffmpeg] Refactor FFmpeg PDM. r=kentuckyfriedtakahe
This greatly simplify how the external libavcodec and libavutil are linked.
2016-01-20 23:55:37 +11:00
Phil Ringnalda
722db78364 Back out 604c30246eeb (bug 1180942) for Linux reftest OOMs in 632781-verybig.html
CLOSED TREE
2016-01-19 20:17:20 -08:00
Carsten "Tomcat" Book
0fc1cfad3f Merge mozilla-central to fx-team 2016-01-19 15:23:49 +01:00
David Anderson
8f61148e20 Add full mix-blend mode support to the OpenGL compositor. (bug 1235995 part 1, r=mstange)
--HG--
extra : rebase_source : 6d0e32671be60f4a2bebdbf1b2cfade8c9fc0539
2016-01-19 13:24:19 +07:00
Xidorn Quan
6c3888d288 Bug 844948 - Allow changing padding of themed button on OS X. r=mstange,heycam 2016-01-19 16:48:04 +11:00
Chris H-C
24e94e2104 Bug 1235908 - measure total event wait and process time. r=smaug
Native events come with timestamps indicating when they were created or
generated by the user. Using those, we can get a full picture of how long it
takes between the user trying to do something and us responding to it.

This is currently only for ports that populate WidgetEvent's timeStamp
(presently gtk, Windows).
2016-01-18 11:13:00 +01:00
Daniel Holbert
69df05099d Bug 1186405 followup: move fuzzy annotation to the correct file (inline--display-inline--01.xhtml). (no review) 2016-01-18 10:34:41 -08:00
Daniel Holbert
7581bad273 Bug 1239799 part 2: Add support for @media(-webkit-transform-3d) media query, for web compatibility. r=heycam 2016-01-18 09:24:44 -08:00
Daniel Holbert
d8e647417e Bug 1239799 part 1: Make check for -webkit-device-pixel-ratio pref more targeted, so we can support other webkit-prefixed media queries. r=heycam 2016-01-18 09:24:16 -08:00
Carsten "Tomcat" Book
4a40c9ed19 Backed out changeset d935c88d79d6 (bug 1237754) for OS X refrest failures 2016-01-18 08:54:13 +01:00
Carsten "Tomcat" Book
643e40a735 Backed out changeset 57a677703c20 (bug 1237754) 2016-01-18 08:53:53 +01:00
Xidorn Quan
5917f00a73 Backed out changeset e8ad04f3a65f (bug 844948) for reftest failure on OS X 2016-01-18 17:21:12 +11:00
Brian Birtles
54283ba569 Bug 1226091 - Use MayHaveAnimations flag for animations on pseudo elements too; r=smaug 2016-01-18 13:40:12 +09:00
Xidorn Quan
f120c8eeda Bug 844948 - Allow changing padding of themed button on OS X. r=mstange,heycam 2016-01-18 14:20:11 +11:00
Mats Palmgren
eb0781b9b9 Bug 1237754 part 2 - [css-grid][css-align] Add reftest for 'align-content:normal'. 2016-01-17 19:44:05 +01:00
Mats Palmgren
36a12be95a Bug 1237754 part 1 - [css-grid][css-align] Make 'align-content:normal' behave as 'stretch' for Grid containers. r=dholbert
Change due to CSSWG decision:
https://lists.w3.org/Archives/Public/www-style/2016Jan/0031.html
2016-01-17 19:44:05 +01:00
Benoit Girard
c93c572d7a Bug 1196831 - Add 'run-until-failure' and 'repeat' flags to reftest. r=jmaher
--HG--
extra : commitid : Ig2JmBnAcrw
extra : rebase_source : ee3026bd82263dd77583dfd3d576eb622fa582bc
2016-01-15 18:30:23 -05:00
Wes Kocher
84fb907a27 Merge m-c to inbound, a=merge CLOSED TREE
--HG--
rename : testing/taskcluster/tasks/phone_test.yml => testing/taskcluster/tasks/b2g_e2e_tests_base_definition.yml
extra : commitid : 4MrlWshamZ5
2016-01-15 15:13:21 -08:00
Kartikaya Gupta
a1c2f88721 Bug 1226826 - Record paint times in the checkerboard event. r=botond
--HG--
extra : commitid : CygYKO4FVuh
2016-01-15 16:19:59 -05:00
Kartikaya Gupta
54611e1596 Bug 1238239 - Update gecko scrollbar styling for Fennec. r=snorp f=antlam
--HG--
extra : commitid : BrsEuJlvqKi
2016-01-13 15:47:38 -05:00
George Wright
a0dfe950db Bug 1234049 - Ensure we always invalidate new PresShells that are created for an inactive DocShell upon reactivating them. r=smaug 2016-01-13 17:00:15 -05:00
Lee Salzman
1e34a3aef4 Bug 1238795 - add reftest to verify that canvas drawImage respects clipping. r=yury 2016-01-15 12:51:01 -05:00
Daniel Holbert
5f72f74424 Bug 1186405: Annotate reftest inline--display-inline--01.xhtml as having a few barely-fuzzy pixels, on OS X. (no review) 2016-01-14 14:45:46 -08:00
Mats Palmgren
9e46c1065d Bug 1238294 part 3 - [css-grid] Add/tweak reftests for new behavior of gaps at the grid edges. 2016-01-14 23:11:44 +01:00
Mats Palmgren
d3b7eef2a0 Bug 1238294 part 2 - [css-grid] Treat any gaps at the grid edges as "line thickness" so they behave the same as gaps between tracks for positioning areas. r=dholbert 2016-01-14 23:11:44 +01:00
Mats Palmgren
eef633de78 Bug 1238294 part 1 - [css-grid] Make GridLineEdge() a method on the Tracks class rather than a static function (idempotent change). r=dholbert 2016-01-14 23:11:44 +01:00
Mats Palmgren
c01de09521 Bug 1239496 - Load the UA sheet lazily so we can invalidate it for pref changes. Make it depend on the "layout.css.grid.enabled" pref. r=heycam 2016-01-14 23:11:44 +01:00
Mats Palmgren
fb34af54be Bug 1239036 - [css-grid] Tests. 2016-01-14 23:11:44 +01:00
Mats Palmgren
0ca3bec964 Bug 1239036 - [css-grid] Deal with implicit tracks when computing grid-template-{columns,rows}. r=dholbert 2016-01-14 23:11:44 +01:00
Bogdan Postelnicu
83ca10cf0a Bug 1239251 - Initialize mCommonAncestorWithLastFrame with nullptr in constructor BuildTextRunsScanner. r=roc 2016-01-14 10:49:15 +02:00
Carsten "Tomcat" Book
3cb715ede2 Backed out changeset 7c8fa9fad7b5 (bug 950936) for windows memory leaks 2016-01-18 16:34:33 +01:00
Carsten "Tomcat" Book
0886f9ef68 Merge mozilla-central to fx-team 2016-01-18 14:24:37 +01:00
Alexandre Poirot
f80c331c7d Bug 950936 - Introduce ui.popup.disable_autohide pref to ease debugging popups. r=neil 2016-01-18 03:10:42 -08:00
Sebastian Hengst
d8d4a2d1a5 Backed out 2 changesets (bug 1224374) for Windows bustage. r=bustage on a CLOSED TREE
Backed out changeset 5f458e6e4997 (bug 1224374)
Backed out changeset 0dc02cb0b604 (bug 1224374)
2016-01-19 21:30:41 +01:00
David Rajchenbach-Teller
f5531f5260 Bug 1224374 - Profiler labels for the 25 top chrome hangs;r=BenWa,MarcoZ
Experience shows that we do not have enough profiler labels to make
BHR hang reports meaningful. This patch adds enough labels to let us
exploit hang reports matching the 25 topmost chrome hangs.

--HG--
extra : rebase_source : b9ec379c58255a250db1020377147c95c82df712
2016-01-14 23:03:11 +01:00
Dustin J. Mitchell
9f12626ec5 Bug 1239766: make additive-1.svg a tiny bit fuzzier; r=birtles
--HG--
extra : commitid : FmDJZD0k2Bh
extra : rebase_source : 76eb4f9f1fd7ffbc23c03b0acc04c2395137dfa7
extra : amend_source : 2699878c6f40c1196864f888516bc008cdb85360
2016-01-15 20:33:18 +00:00
Nicolas Silva
afcb9adea8 Bug 1180942 - Use cairo's image backend for drawing on linux. r=jrmuizel 2016-01-19 18:36:36 +01:00
Brian Birtles
6fb8992111 Bug 1235112 - Move animation style rule processors to EffectCompositor; r=heycam 2016-01-15 15:15:47 +09:00
John Daggett
fe95a4ed4e Bug 1212731 p3 - reftest for system generic handling. r=m_kato 2016-01-15 16:33:52 +09:00
Bogdan Postelnicu
2d14b15428 Bug 1240479 - pass values for mReversePortion and mStartForReversingTestin through constructor. r=heycam
--HG--
extra : rebase_source : fae5daafa51097a7aaa96ee96431db411fb92b41
2016-01-19 12:33:56 +02:00
Cameron McCormack
1e4ade314b Bug 1240635 - Interpret glyph x-offsets on SVG vertical text paths in the correct direction. r=longsonr 2016-01-19 19:23:40 +11:00
Jonathan Kew
d6316eff10 Bug 1222265 - Use -moz-appearance:none in layout/reftests/unicode testcases to work around unreliable Gtk3 form-control rendering. r=dholbert 2016-01-13 10:43:27 +00:00
Aidin Gharibnavaz
e6606278c0 Bug 1230216 - Changing nsIDOM*Event interfaces so that they don't inherit nsIDOMEvent. r=smaug
All the event interfaces changed except for nsIDOMUIEvent and its inheritors.

--HG--
extra : transplant_source : %A5U%3F%80%2B%DD%01%F4%D8%21%F2%E9z%C1%D6%AA%CC%D4%EC%F8
2016-01-12 07:49:08 +03:30
Boris Chiou
deee95a0d8 Bug 1214536 - Part 7: Rename AnimationTiming as TimingParams. r=birtles, r=smaug
1. struct AnimationTiming -> struct TimingParams
2. AnimationEffectReadOnly::TimingAsObject() -> AnimationEffectReadOnly::Timing()
3. KeyframeEffectReadOnly::Timing() -> KeyframeEffectReadOnly::SpecifiedTiming()
2016-01-13 18:41:00 +01:00
Boris Chiou
fa79443f12 Bug 1214536 - Part 5: Add AnimationEffectTimingReadOnly interface. r=birtles, r=smaug
1. Add AnimationEffectTimingReadOnly.webidl.
2. Add AnimationEffectTimingReadOnly cpp files.
3. Use AnimationEffectTimingReadOnly as KeyframeEffectReadOnly::mTiming.

--HG--
extra : rebase_source : 0e9c112b70ae56f2bcdf162374388857518fc124
extra : amend_source : 0aebf0e9daac77542d913e4ad6a07c75e21a93b5
2016-01-13 18:37:00 +01:00
Boris Chiou
71cff999e0 Bug 1214536 - Part 4: Use OwingUnrestrictedDoubleOrString for duration. r=birtles
We store the original value of duration in AnimationTiming, and add
computed duration in ComputedTiming, so both the Timing model and
AnimationEffectTimingReadOnly can get what they want.

By the way, replace mIterationDuration with mDuration.

--HG--
extra : rebase_source : f8e1fd648572e6d7b1cbecc2ac1888a2f74bbc7e
2016-01-13 18:36:00 +01:00
Boris Chiou
76f7e5a44e Bug 1214536 - Part 3: Store the original value of fill. r=birtles
FillMode could be 'auto', and we should treat it as 'none' in the timing model.
However, AnimationEffectTimingReadOnly should get its original value.

By the way, replace mFillMode with mFill.

--HG--
extra : rebase_source : 5a397dd7fbb22ac76fe96003d82d097e398852c7
2016-01-13 18:36:00 +01:00
Boris Chiou
b0c41b12ec Bug 1214536 - Part 2: Replace mIterationCount in layers::Animation. r=birtles
Replace mIterationCount with mIterations.

--HG--
extra : rebase_source : 2aa326be768d3326d56e689d6c45ca9d6439c3bc
2015-12-27 18:51:00 +01:00
Boris Chiou
44cb5bee0a Bug 1214536 - Part 1: Use unrestricted double for iterations. r=birtles
We want to store the original value from KeyframeEffectOptions whose
iterations is unrestricted double. Therefore, we can get the original value
of iterations by AnimationEffectTimingReadOnly.

By the way, replace mIterationCount with mIterations.

--HG--
extra : rebase_source : da2953056031079c41273ed977545dc926e1b83c
2016-01-10 18:41:00 +01:00
John Daggett
1bcfcee64a Bug 1235186 - fix small userfont logging nit. r=m_kato 2016-01-14 16:11:47 +09:00
Daniel Holbert
5dd80e8104 Bug 1239153: Accept unitless '0' for angle values in CSS -webkit-linear-gradient() expressions. r=heycam 2016-01-13 22:59:14 -08:00
Nigel Babu
0ce7a5f39e Backed out 5 changesets (bug 1235112, bug 1237467) for nsRuleNode::Transition crashes
Backed out changeset ac21baf87df2 (bug 1235112)
Backed out changeset c47a6e0a6d95 (bug 1237467)
Backed out changeset 7609ca218902 (bug 1237467)
Backed out changeset d63ca2677bd5 (bug 1237467)
Backed out changeset 5a3d7e16b1e0 (bug 1237467)

--HG--
extra : commitid : LONozKsGtli
2016-01-14 11:35:06 +05:30
Nigel Babu
ecae6cd9a5 Backed out 4 changesets (bug 1226826) for widespread bustage
Backed out changeset 95d373bec568 (bug 1226826)
Backed out changeset bb9970d440a4 (bug 1226826)
Backed out changeset 6c1fa0dc6bd7 (bug 1226826)
Backed out changeset 400ebf504171 (bug 1226826)

--HG--
extra : commitid : D1zZSeIHTOA
2016-01-14 08:33:11 +05:30
Jonathan Griffin
7567f48ed9 Bug 1239025 - Disable a few reftests on win7/e10s so we can turn the suite on, a=test-only 2016-01-13 17:32:19 -08:00
Brian Birtles
02e4c93ce9 Bug 1234095 - Rework sorting to handle to script-generated animations; r=heycam 2016-01-14 10:24:24 +09:00
Matt Woodrow
4c44d55bb6 Bug 1237083 - Don't trigger layer flattening if the component alpha layer is directly on top of a forced active layer. r=roc 2016-01-14 12:42:27 +13:00
Brian Birtles
32bf08d255 Bug 1235112 - Move animation style rule processors to EffectCompositor; r=heycam 2016-01-14 08:02:39 +09:00
Wes Kocher
d6d32f593d Backed out changeset fcdec07e95a3 (bug 1222265) for reftest failures CLOSED TREE
--HG--
extra : commitid : AukSGpmHJCD
2016-01-13 14:08:37 -08:00
Kartikaya Gupta
a7478cbca5 Bug 1226826 - Record paint times in the checkerboard event. r=botond
--HG--
extra : commitid : kX3Eye3aq0
2016-01-13 15:46:08 -05:00
Jonathan Kew
0b3d197071 Bug 1222265 - Use -moz-appearance:none in layout/reftests/unicode testcases to work around unreliable Gtk3 form-control rendering. r=dholbert 2016-01-13 10:43:27 +00:00
Carsten "Tomcat" Book
8bb4e16a15 Merge mozilla-central to mozilla-inbound 2016-01-13 11:58:27 +01:00
Carsten "Tomcat" Book
d833f9ba1a merge mozilla-inbound to mozilla-central a=merge 2016-01-13 11:57:15 +01:00
Brian Birtles
8505bf694f Bug 1238660 part 3 - Add crashtest; r=hiro 2016-01-13 13:38:16 +09:00
Brian Birtles
8cc58f3707 Bug 1238660 part 2 - Preserve "wins in cascade" state when updating animations; r=hiro
When updating animations, we shouldn't unnecessarily clobber the "wins in
cascade" state of their properties since this can lead to unnecessary restyles
when we then decide we need to update the cascade.
2016-01-13 13:38:16 +09:00
Tom Tromey
279d6ac586 Bug 1230491 - add CSSStyleSheet::parsingMode; r=heycam,bz 2016-01-12 09:50:43 -07:00
Timothy Nikkel
50fcf29623 Bug 1237813. Refactor nsLayoutUtils::FindScrollableFrameFor to use GetScrollFrameFromContent. r=botond 2016-01-12 00:14:30 -06:00
Daniel Holbert
9162bd85e1 Bug 1238840: Increment the requestLongerTimeout() arg for mochitest test_value_storage.html, to avoid spurious timeouts on Android debug test-runs. (test-only, no review) 2016-01-11 21:51:39 -08:00
Christoph Kerschbaumer
85f65d6c64 Bug 1232792 - Convert JS callsites to use open2 within layout/ (r=sicking) 2015-12-15 13:33:44 -08:00
Daniel Holbert
2c0dc8a8a0 Bug 1238777: Bail early from ComputeSnappedImageDrawingParameters if we're somehow drawing from a 0-sized subimage. r=tn 2016-01-11 17:56:41 -08:00
Daniel Holbert
2712f6a1e1 Bug 1224736: When image size lookup fails in nsTreeBodyFrame::PaintImage, only fall back to use the full destRect if we've got a VectorImage. r=tn 2016-01-11 17:56:39 -08:00
Randall Barker
ed071f6c7e Bug 1229752 - When C++ APZ scroll offset diverges from the Gecko scroll offset, it is not being applied properly to the event position r=botond,tnikkel 2016-01-11 16:06:14 -08:00
Wes Kocher
80765f938f Backed out changeset 7c4f0da2f1e5 (bug 1232792) on the chance it caused a bunch of b2g test bustage CLOSED TREE
--HG--
extra : commitid : 5NsyQ1o2oSV
2016-01-11 14:20:34 -08:00
Jonathan Kew
46b5136c09 Bug 890156 - patch 6 - Update window placement code to work with desktop pixels, for per-monitor DPI support on Windows. r=emk 2015-12-03 13:19:50 +00:00
Jonathan Kew
33dd940e87 Bug 890156 - patch 0.0 - Declare a DesktopPixel type in Units.h, to be used for the coordinate system used by the host system to manage the desktop space. r=kats 2015-11-25 19:11:54 +00:00
Nicholas Nethercote
534a872e52 Bug 1238846 (part 1) - Remove some dead code in nsLayoutUtils. r=mattwoodrow.
--HG--
extra : rebase_source : adbb1840cdf2a9f454b0ab4c4c6e0f163df4dc3c
2016-01-12 13:42:01 -08:00
Matt Woodrow
d0e08ffe13 Bug 1237982 - Force perspective layers to always be active. r=thinker
--HG--
extra : rebase_source : c831e2bc3413a0dfca34cb5e8f148ac1b06b40b8
2016-01-13 13:04:56 +13:00
Brian Birtles
d549991eb2 Bug 1232577 part 19 - Move ClearIsRunningOnCompositor to EffectCompositor; r=heycam 2016-01-13 07:54:56 +09:00
Brian Birtles
7236a7fdbd Bug 1232577 part 18 - Drop RestyleManager::mLastUpdateForThrottledAnimations; r=heycam
RestyleManager currently has a piece of state for tracking if throttled
animations are up-to-date or not. Actually, it's not so much about throttled
animations but really about outstanding changes to animation styles (which
is typically expected to be due to throttling animations but there are
other cases that invalidate the animation style rule that we should be
considering here).

We now have that same information stored in the EffectCompositor so we can
remove the redundant state from RestyleManager. Furthermore, the state stored
in EffectCompositor is more accurate since it captures the case when animation
style needs to be updated twice within a tick, or when nothing needs to be
updated within a tick.

This patch, therefore, introduces EffectCompositor::HasPendingStyleUpdates in
place of setting RestyleManager::mLastUpdateForThrottledAnimations.

nsTransitionManager also uses mLastUpdateForThrottledAnimations to warn if we
have not processed throttled animations. We can't use HasPendingStyleUpdates
here however, since it will return true in the case where we have triggered new
transitions in the process of restyling. However, any new transitions will
trigger "standard" (i.e. not throttled) restyles so we introduce another
method, HasThrottledStyleUpdates, that returns true only if we have outstanding
throttled updates and use this for the warning inside nsTransitionManager.
2016-01-13 07:54:55 +09:00
Brian Birtles
dab2f9c064 Bug 1232577 part 17 - Move AddStyleUpdatesTo to EffectCompositor; r=heycam 2016-01-13 07:54:55 +09:00
Brian Birtles
309027bbe9 Bug 1232577 part 16 - Move GetAnimationRule to EffectCompositor; r=heycam 2016-01-13 07:54:55 +09:00
Brian Birtles
7a8bb45336 Bug 1232577 part 15 - Drop LastStyleUpdateForAllAnimations flag from pres context; r=heycam
nsPresContext contains a mLastStyleUpdateForAllAnimations flag which is simply
used to prevent unnecessarily posting restyles when throttled animations are
already up to date. Since part 13 we now accurately record whether we have
posted a restyle for each throttled animation and only post a restyle if we
have not done so already. As a result, this flag is no longer needed since
calling PostRestyleForThrottledAnimations is effectively a noop when throttled
animations are up-to-date.
2016-01-13 07:54:55 +09:00
Brian Birtles
b65c8d2610 Bug 1232577 part 14 - Move FlushAnimations to EffectCompositor; r=heycam 2016-01-13 07:54:55 +09:00
Brian Birtles
c54edbe389 Bug 1232577 part 13 - Move EnsureStyleRuleFor from AnimationCollection to EffectCompositor 2016-01-13 07:54:55 +09:00
Brian Birtles
2a70c0a477 Bug 1232577 part 12 - Move the remainder of RequestRestyle from AnimationCollection to EffectCompositor; r=heycam
This also allows us to remove all references to AnimationCollection and the
animation managers from Animation.
2016-01-13 07:54:54 +09:00
Brian Birtles
9b8cbf0b17 Bug 1232577 part 11 - Remove AnimationCollection::mHasPendingAnimationRestyle; r=heycam
This flag is no longer needed since the same information is tracked in the
hashmap stored on EffectSet.
2016-01-13 07:54:54 +09:00
Brian Birtles
b29e0fc6c2 Bug 1232577 part 10 - Remove AnimationCollection::mStyleChanging; r=heycam
This flag is no longer needed because in bug 1232563 we introduced a more
thorough optimization that detects when the animation is not changing by
comparing the progress value between samples and avoids requesting restyles
when it does not change.
2016-01-13 07:54:54 +09:00
Brian Birtles
71a9cf43cb Bug 1232577 part 9 - Remove AnimationCollection::mStyleRuleRefreshTime; r=heycam
Now that we track whether or not animations are up to date using the hashset in
EffectCompositor, we can remove the mStyleRuleRefreshTime flag that is, as of
part 5 of this patch series, now only used for detecting whether or not
animations are up to date.

In order to preserve the existing behavior of FlushAnimations, however, this
patch temporarily introduces a method to indicate if there are throttled
animations or not.

It might not be obvious that FlushAnimations is only concerned with throttled
animations due to its name. FlushAnimations is simply intended to post
animation restyles for out-of-date animations. Any animations that are *not*
throttled will either be up to date, or we will have already posted an
animation restyle so we only need to consider throttled animations in this case.
2016-01-13 07:54:54 +09:00
Brian Birtles
cf26e7b69b Bug 1232577 part 8 - Move call to PostRestyleForAnimation to EffectCompositor; r=heycam
This patch continues to migrate functionality from
AnimationCollection::RequestRestyle to EffectCompositor::RequestRestyle.

In order to post the animation restyle from the EffectCompositor, this patch
also moves the PostRestyleForAnimation method to EffectCompositor.
The GetElementToRestyle method is temporarily duplicated in both
EffectCompositor and AnimationCollection however we will remove the version in
AnimationCollection later in this patch series.
2016-01-13 07:54:54 +09:00
Brian Birtles
21108e5e2e Bug 1232577 part 7 - Move call to SetNeedStyleFlush() to EffectCompositor::RequestRestyle; r=heycam
In this patch series we are gradually migrating style rule updating
functionality from AnimationCollection to EffectCompositor. This patch moves
part of the RequestRestyle method from one class to the other.

Note that in both cases we only call SetNeedsStyleFlush if we haven't already
posted an animation restyle. (In the case of AnimationCollection we check this
using the mHasPendingAnimationRestyle flag, and in EffectCompositor case we
simply check if the element is already in the "needs restyle" hashmap. If it is,
either we already have a throttled restyle and have called SetNeedsStyleFlush or
we have a standard restyle and have posted an animation restyle.)

The added check for a null pres context matches the behavior of
AnimationCollection::RequestRestyle which has an equivalent early return at the
beginning of the function.
2016-01-13 07:54:54 +09:00
Brian Birtles
95ff2aa6eb Bug 1232577 part 5 - Make sure CSSTransition::CancelFromStyle updates the transitions level of the cascade; r=heycam 2016-01-13 07:54:53 +09:00
Brian Birtles
815e0c4b64 Bug 1232577 part 4 - Add and remove (pseudo-)elements needing an animation style rule update to the EffectCompositor; r=heycam
This patch uses the presence/absence of (pseudo-)elements in the "needs
animation rule update" hashmap on EffectCompositor to detect if a style update
is required. The various flags in AnimationCollection that do a similar job
still remain so that we can remove them one-by-one in subsequent patches in
this series.
2016-01-13 07:54:53 +09:00
Brian Birtles
03057136c3 Bug 1232577 part 3 - Move RestyleType to EffectCompositor; r=heycam
This is in preparation for moving RequestRestyle to EffectCompositor (and
because we'll run into compile issues if we don't since AnimationCommon.h
includes too many interdependent definitions).
2016-01-13 07:54:53 +09:00
Brian Birtles
641025e212 Bug 1232577 part 1 - Add EffectCompositor as a member of nsPresContext; r=heycam
Since we want to track elements needing a restyle on EffectCompositor we need
to scope it to an nsPresContext rather than just making if a collection of
static methods.
2016-01-13 07:54:53 +09:00
Christoph Kerschbaumer
c262655b27 Bug 1232792 - Convert JS callsites to use open2 within layout/ (r=sicking) 2016-01-11 12:16:54 -08:00
Mats Palmgren
5e440160fb Bug 1237805 part 2 - [css-grid] 'auto-fit' reftest removing empty start/middle tracks. 2016-01-11 19:46:57 +01:00
Mats Palmgren
18ba3700c7 Bug 1237805 part 1 - [css-grid] Remove all empty 'auto-fit' tracks, not just those at the end. r=dholbert
Change due to CSSWG decision:
https://lists.w3.org/Archives/Public/www-style/2016Jan/0031.html
2016-01-11 19:46:56 +01:00
Joel Maher
cc54abadbb Bug 1232983 - border-radius/clipping-6.html is failing on linux64 docker container. r=mattwoodrow 2016-01-11 07:15:22 -08:00
Thinker K.F. Li
f2e08bbbc7 Bug 1228716 - Give different frame keys for nsDisplayBlendContainer. r=roc
--HG--
extra : rebase_source : cee46732e4679e3e7ddc37dd9238baa4a175edbf
2016-01-11 02:34:00 +01:00
Matt Woodrow
46a4502dba Bug 1230780 - Add reftest. r=thinker
--HG--
extra : rebase_source : 6c0f92458534b44f383fc0803756d7c483d63b37
2015-12-17 16:22:48 +13:00
Matt Woodrow
e004a92625 Bug 1230780 - Propagate preserve-3d handling through nsDisplayPerspective. r=thinker
--HG--
extra : rebase_source : 7100cdf247c2e9d5fd17096722a718f074bfe504
2015-12-17 16:22:49 +13:00
Timothy Nikkel
f133357987 Bug 1237825. Find the root scroll frame even if the root element doesn't have a primary frame. r=mstange
Even though the content of the root scroll frame is the root element, the primary frame of the root element is never the root scroll frame. This is even true if the normal primary frame of the root element is not created (say because it is display: none). Leaving the primary frame of the root element to be null even though there are frames (the root scroll frame, and the canvas frame) that have the root element as their content.

This behaviour is more consistent by not ignoring a root scroll frame when it exists.
2016-01-11 00:02:43 -06: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
Cameron McCormack
3bee3baf31 Remove mention of old SVG text pref in comment; no bug. (DONTBUILD)
--HG--
extra : amend_source : 637d6f080ac7dab34f2129b5b339a5b79bda5899
2016-01-11 10:48:56 +11:00
Cameron McCormack
ff6a816c75 Bug 1238403 - Fix inconsistent indenting in layout/style/. r=xidorn 2016-01-11 10:28:35 +11:00
Nicholas Nethercote
f573bf4e6c Bug 1237902 (part 3) - Change the gfxContextMatrixAutoSaveRestore in PaintTableBorderBackground() to an AutoRestoreTransform. r=roc.
--HG--
extra : rebase_source : a09c694360b2fc1215b5697a886947a3be46ddd6
2016-01-07 20:21:40 -08:00
Nicholas Nethercote
aa3881aa54 Bug 1237902 (part 2) - Pass a DrawTarget to DrawTableBorderSegment(). r=roc.
And to several functions above it in the callgraph, ones that no longer need an
nsRenderingContext.

--HG--
extra : rebase_source : 331d00be421316a7071ab4b93894431c36a031d5
2016-01-07 20:20:06 -08:00
Nicholas Nethercote
7a64b26887 Bug 1237902 (part 1) - Remove unneeded gfxContext ops in DrawTableBorderSegment(). r=roc.
We change the color and anti-aliasing on the gfxContext but never do anything
with it while those values are changed.

--HG--
extra : rebase_source : 39ab84c17f8b4b482383464b2b8e0552369fb94c
2016-01-07 20:16:37 -08:00
Markus Stange
e4faa1ebf0 Bug 1234877 - Whether a scroll frame is async scrollable is determined by mWillBuildScrollableLayer, not by usingDisplayPort. r=tn
--HG--
extra : commitid : 9ul1tbIgGhP
extra : rebase_source : 62ed845a0f577c1e6b5d72e36dc7f9e9beeb0e91
2016-01-10 14:25:10 +01:00
Markus Stange
901b7c53e8 Bug 1236040 - When updating the scroll position, only schedule image visibility checks if the display port has changed. r=tn
--HG--
extra : commitid : Hir2YBOuC1J
extra : rebase_source : 6c8d9df502979615e9f72a47b035b15d17f9c518
2015-12-31 00:04:18 +01:00
Markus Stange
8ac683bf41 Bug 1199468 - Create prefs for the smooth scroll timing function shape. r=kats
--HG--
extra : commitid : 4ucTtILvlFF
extra : rebase_source : dcad143776a653dafccfa9be5633a354fcefced2
2016-01-07 21:09:18 +01:00
David Anderson
74d965910c Fix crash trying to allocate textures for oversize scrollbars. (bug 1214261, r=mstange) 2015-12-17 11:13:45 -08:00
Bob Clary
5a470be233 Bug 1237465 - Work around Android 5.1+ permission restrictions by changing pushed directory permissions to rwx, r=gbrown. 2016-01-09 15:40:17 -08:00
Ryan VanderMeulen
98e2df851f Backed out changeset 5e3507a7e8ec (bug 1228716) for reftest failures. 2016-01-09 18:06:23 -05:00
Frédéric Wang
ad52fc9642 Bug 1231404 - SubscriptBaselineDropMin or SuperscriptBaselineDropMax are not read from the MATH table. r=jfkthame 2015-12-27 08:37:00 -05:00
Thinker K.F. Li
93827e1140 Bug 1228716 - Remove installation of nsDisplayBlendContainer. r=roc
--HG--
extra : rebase_source : 39a9ffe2da2f2bcb2eae37798ed49273167f1520
2015-12-29 19:54:00 -05:00
Timothy Nikkel
4ec53b3bfa Bug 1234725. Don't change the dirty rect to the display port when building display lists for documents. r=mstange
Instead do it when we first encounter the root scroll frame.

Doing this goes back to bug 635053, where we did it because fixed position items weren't getting included. However in bug 974643 we learned that this was wrong. Displayports aren't relevant to fixed pos content, displayports are only relevant to scrolled content. And we set the dirty rects of fixed pos content specially. The only other thing that should be affected is scrollbars, and we already carefully set their dirty rects too.
2016-01-09 00:25:58 -06:00
Botond Ballo
2a0650a2e9 Bug 1236750 - Add some specialized typedefs of Matrix4x4 to represent layer transform matrices. r=kats
Also add a related PixelCastJustification and a utility function.

--HG--
extra : source : 84848983c8f9a79a073fa419f50430212b91d7eb
2016-01-06 18:56:25 -05:00
Botond Ballo
7715b8dfd0 Bug 1236750 - Add a ViewAs() overload for casting (with a justification) one typed matrix to another. r=kats
--HG--
extra : source : 3a05e621ef86bff180ecb76592d24aee5000c1eb
2016-01-06 18:55:06 -05:00
Botond Ballo
b6ced4a261 Bug 1236750 - Introduce a new unit type CSSTransformedLayerPixel. r=kats
--HG--
extra : source : 9bd0997f6f348d4955cc7e0b476aed30f7a06948
2016-01-06 18:52:45 -05:00
Randall Barker
3a71488eda Bug 1233056 - Long tapping on a link will select a different link from the page r=tnikkel
Long tapping would fail when Java Pan-Zoom was enabled in Fennec.
2016-01-08 20:22:07 -08:00
John Daggett
2aa79ec35b Bug 1236086 - use a PUA codepoint in the reference rendering for font feature tests. r=jfkthame 2016-01-09 06:38:15 +09:00
Daniel Holbert
6d9ec49d05 Bug 1237720: Put "-webkit-min-device-pixel-ratio"/"-webkit-max-device-pixel-ratio" behind its own disabled pref. r=heycam 2016-01-08 12:47:44 -08:00
Andrew Halberstadt
2bfb20ef72 Bug 1228636 - Add mach support for running reftests on mulet, r=jgriffin
Usage:
mach reftest --profile path/to/gaia/profile path/to/test/dir

--HG--
extra : rebase_source : 6efffc77ef2b108617214c5ead35f8c4e90fcd3f
2016-01-04 16:27:37 -05:00
L. David Baron
a0c4be37df Bug 1230668 - Don't use frame when not in composed document. r=heycam
--HG--
extra : transplant_source : QZ%A2I%E9%A2%F2%F4X%95%09n%91%9B%D8%21%DD%3C%F3S
2016-01-08 21:15:44 +11:00
Jamie Nicol
6492492c28 Bug 1231818 - Make FrameLayerBuilder try harder to respect layers.max-active pref. r=mstange 2016-01-07 15:50:23 +00:00
Nicholas Nethercote
ec89bbf7f2 Bug 1237151 (part 3) - Remove ignored qualifiers in all remaining code. r=froydnj. 2016-01-05 17:08:45 -08:00
Tooru Fujisawa
09722e62bc Bug 382721 - Part 2: Split constants for border rendering to BorderConsts.h. r=jrmuizel 2015-08-06 11:42:09 +09:00
Tooru Fujisawa
418887e82c Bug 382721 - Part 1: Fix spacing of simple 2px dotted border without radius. r=jrmuizel 2015-08-06 11:42:09 +09:00
Tooru Fujisawa
4fac62d240 Bug 382721 - Part 0: Add missing includes and namespaces. r=jrmuizel 2015-09-10 19:24:34 +09:00
Xidorn Quan
68c176f928 Bug 1230408 - Move suppress line break check out from control of SkipParentDisplayBasedStyleFixup. r=dbaron
The flag SkipParentDisplayBasedStyleFixup is for flex/grid fixup, and it is set
for all pseudo elements other than before/after. This is not desirable for ruby
case.

Moving the code out also means elements will inherit the suppress flag directly
from "display: contents" parent (instead of the container), which is fine since
the parent should have had its flag set properly as well.

--HG--
extra : source : ab8d1c650ec6aa41cb165c278de9e06182a0c733
2016-01-08 14:34:08 +11:00
Timothy Nikkel
c25fd82201 Bug 1237821. Use displayport getter for image visibility in the (unused) display list builder based image visibility code. r=botond
This matches the frame walker image visibility code. This change should have been made to both at the same time. This fixes that mistake.
2016-01-07 18:27:49 -06:00
Timothy Nikkel
6a24899c5f Bug 1194851. Change the GetDisplayPort API to take an optional RelativeTo parameter, instead of having that expressed in the function name. r=botond 2016-01-07 18:27:49 -06:00
Timothy Nikkel
4e74899f7a Bug 1194851. Rename GetDisplayPortRelativeToScrollPort back to GetDisplayPort. r=botond 2016-01-07 18:27:49 -06:00
Timothy Nikkel
3c7c901321 Bug 1194851. Split GetDisplayPort callers into GetDisplayPortRelativeToScrollPort and GetDisplayPortRelativeToScrollFrame. r=botond
Temporarily rename GetDisplayPort to GetDisplayPortRelativeToScrollPort for the duration of this patchset.

This means that every caller of GetDisplayPort is guaranteed to be touched by this patchset (assuming it compiles), and thus each call site can be checked in review to make sure it is relative to the correct coordinate system.
2016-01-07 18:27:49 -06:00
Timothy Nikkel
a83245ddd4 Bug 1194851. Change GetDisplayPortForVisibilityTesting into GetDisplayPortRelativeToScrollFrameForVisibilityTesting since it has only one user. r=botond
Also update the other image visibility GetDisplayPort. It will get changed to GetDisplayPortRelativeToScrollFrameForVisibilityTesting in another bug.
2016-01-07 18:27:49 -06:00
Timothy Nikkel
859f318413 Bug 1194851. Introduce GetDisplayPortRelativeToScrollFrame. r=botond 2016-01-07 18:27:49 -06:00
Timothy Nikkel
f06c43de07 Bug 1194851. Always store the displayport base relative to the scrollport (not the scroll frame). r=botond
This also has the side effect of making the computation that takes place in GetDisplayPortFromMarginsData happen relative to the scrollport. As opposed to some things relative to the scroll port, and some things relative to the scroll frame.
2016-01-07 18:27:49 -06:00
Timothy Nikkel
f42493831a Bug 1194851. Change GetOrMaybeCreateDisplayPort into just MaybeCreateDisplayPort, and make it only return a bool, and not the displayport rect. r=botond
This makes the one caller that needs the displayport rect have to ask for it seperately.

The reason for this is later in the patch series we need to add "RelativeToScrollFrame/Port" to all displayport getters, but there is no semantically good way to do that to the name GetOrMaybeCreateDisplayPort.
2016-01-07 18:27:48 -06:00
Timothy Nikkel
bf347397f1 Bug 1194851. Make ViewportHasDisplayPort only return a bool, not the displayport rect. r=botond
This makes the one caller that needs the displayport rect have to ask for it seperately.

The reason for this is later in the patch series we need to add "RelativeToScrollFrame/Port" to all displayport getters, but there is no semantically good way to do that to the name ViewportHasDisplayPort.
2016-01-07 18:27:48 -06:00
Jan Horak
5a90e8dbd8 Bug 1205643 - Move scrollbar borders to slider to receive button events. r=karlt 2016-01-06 23:55:00 -05:00
Jim Mathies
d52bf97565 Bug 1107702 - Try to avoid internal memory exhaustion problems with the Windows api GetAdaptersInfo by making a priming call to the api during startup. r=jesup 2016-01-07 13:57:42 -06:00
Botond Ballo
3cb29e2e8c Bug 1231243 - In nsDisplayBackgroundImage::GetBoundsInternal(), take the union of the image bounds and the viewport bounds if APZ is enabled. r=mstange 2016-01-04 17:00:56 -05:00
Andrea Marchesini
4fd7346fa1 Bug 1237674 - Rename nsFormData to mozilla::dom::FormData, r=smaug
--HG--
rename : dom/base/nsFormData.cpp => dom/base/FormData.cpp
rename : dom/base/nsFormData.h => dom/base/FormData.h
2016-01-07 19:30:36 +00:00
Botond Ballo
06cab0812a Bug 1232939 - Ensure the opaque region of a fixed background layer is correctly clipped. r=mstange 2016-01-06 13:48:37 -05:00
Boris Zbarsky
e7df3e8700 Bug 1236329. Back out the patch for bug 492933 (revision d8012b35413b) because it's not web-compatible in practice. r=smaug 2016-01-05 15:05:23 -05:00
Boris Zbarsky
f1705741f0 Bug 1230172. Update CSS.escape to never throw and instead replace U+0000 with U+FFFD, per recent spec change. r=dbaron 2016-01-05 15:05:23 -05:00
Nicholas Nethercote
fe16183e75 Bug 1237457 - Partially Moz2Dify nsDisplayGeneric. r=roc.
--HG--
extra : rebase_source : 0bc3fe25b757634dfe910e34cd1c51c0fb9504c0
2015-12-03 19:16:59 -08:00
John Daggett
5a346b41a8 Bug 1157064 - reftests for font-display. r=m_kato 2016-01-07 14:03:12 +09:00
John Daggett
ade0c810ea Bug 1157064 - implementation of font-display. r=heycam,khuey 2016-01-07 14:03:05 +09:00
John Daggett
40dd7eed07 Bug 1157064 - font-display descriptor parsing. r=dbaron 2016-01-07 14:02:58 +09:00
Timothy Nikkel
cb06741b61 Bug 1237086. When getting the displayport for a content node if there is no root scroll frame just use the primary frame of the content node. r=botond
XUL documents don't have a root scroll frame, so this would early return and prevent any of the tiling and max texture size code from running.

The root element of XUL documents likely only ever has zero-margin displayports, and they are not scrollable, so it may not be important.
2016-01-06 20:51:01 -06:00
Kartikaya Gupta
5e3b5adcf2 Bug 1219352 - Update a couple of bool-setters to take a bool argument. r=botond
--HG--
extra : commitid : BSeR1YwEqNy
2016-01-06 20:50:01 -05:00
Daniel Holbert
59fce78a44 Bug 1236506: Add support for "-webkit-filter" as an alias for CSS property "filter". r=heycam 2016-01-06 16:35:33 -08:00
Nicholas Nethercote
a0a0ffb041 Bug 1230415 - Use DrawTarget instead of gfxContext in PaintBorderWithStyleBorder(). r=roc.
--HG--
extra : rebase_source : 06da7ab06a3c0ea7c0141251857552abc26747b3
2015-12-03 19:16:25 -08:00
Bas Schouten
c087ca5e67 Bug 1220629 - Part 7: Mark several reftests fuzzy. r=jrmuizel
--HG--
extra : rebase_source : f14504896f107b12e2cd597f0cd3ba09ac9f5f09
2016-01-06 00:23:34 +01:00
Nicholas Nethercote
144e1789d7 Bug 1228211 (part 1) - Rearrange nsDisplayCanvasBackgroundImage::Paint(). r=dholbert.
This patch rearranges Paint() so that the next nsRenderingContext is created
via the one-arg constructor rather than via the zero-arg constructor + Init().
This means the SetLineWidth(1.0) call in Init() no longer occurs but that's ok;
it was redundant because 1.0 is the default line width in a new gfxContext.

--HG--
extra : rebase_source : d3aa44310e180f8a297feab281a92233bd4859ce
2016-01-05 20:29:52 -08:00
Kartikaya Gupta
e8354f3515 Bug 1190541 - Update some tests to deal with fluffing that correctly accounts for presShell resolution. r=domivinc
--HG--
extra : commitid : AC2n8EbRl6w
2016-01-05 23:08:07 -05:00
dominique vincent
2395f9937f Bug 1190541 - PositionedEventTargeting doesn’t take into account the zoom in/out actions. r=kats
--HG--
extra : commitid : Lv4FDAhPbRF
2016-01-05 23:07:49 -05:00
Nicholas Nethercote
3fae597767 Bug 1232852 (part 9) - Simplify ReleasePointerCaptureCaller. r=tn.
It doesn't need to store the nsIContent. It just needs to record if mPointerId
has been set. This is because ReleasePointerCapturingContent() doesn't use its
second parameter.

--HG--
extra : rebase_source : d31036c74b06143d88848f63165cd1f41b433102
2016-01-05 16:08:17 -08:00
Nicholas Nethercote
f037e41391 Bug 1232852 (part 8) - Remove some unused parameters in and around layout/base/. r=roc.
--HG--
extra : rebase_source : e02f99c78221be0f12fe11e50110fd49f718857f
2016-01-05 16:08:17 -08:00
Nicholas Nethercote
6fe6aa2778 Bug 1232852 (part 7) - Remove some unused parameters in and around layout/base/. r=tn.
--HG--
extra : rebase_source : 2af990358f65806ca7602e0b1c2e4dbd54e3884c
2016-01-05 16:08:17 -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
Nicholas Nethercote
5721b2ad2e Bug 1232852 (part 5) - Remove some unused parameters in and around layout/base/. r=heycam.
--HG--
extra : rebase_source : 3f114d32650a260fe2eda847f24c2967a9d94185
2016-01-05 16:08:17 -08:00
Nicholas Nethercote
fd7ca876ef Bug 1232852 (part 4) - Remove some unused parameters in and around layout/base/. r=heycam.
--HG--
extra : rebase_source : 68642322a9fc78bb7eace1501b75003241a44507
2016-01-05 16:08:17 -08:00
Nicholas Nethercote
3ba02d7a9b Bug 1232852 (part 3) - Remove unused parameters from some accessibility code. r=tbsaunde.
--HG--
extra : rebase_source : 7cdef8244e2b44b89e8061f66d45d40cbf245041
2015-12-15 21:24:06 -08:00
Nicholas Nethercote
f0546a84a1 Bug 1232852 (part 2) - Remove some dead member functions from nsILayoutDebugger. r=roc.
--HG--
extra : rebase_source : c36b9431f82c4b07e30654034e5846eb5f543c5d
2016-01-05 00:21:57 -08:00
Nicholas Nethercote
5d111590a8 Bug 1232852 (part 1) - Set |aSnap| in two GetOpaqueRegion() overloadings that are missing it. r=roc.
--HG--
extra : rebase_source : f565bfee7883283847bf7ba6af68aaeb06e9fea3
2016-01-04 20:38:17 -08:00
Nicholas Nethercote
f447bec986 Bug 1233619 (part 2) - Moz2Dify BeginUpdate() and BeginUpdateBackground() functions. r=roc.
The only non-trivial change is in BasicPaintedLayer::Validate().

--HG--
extra : rebase_source : 7eed0e384d2d856d918ad025b09e29f796017f51
2015-12-17 19:39:10 -08:00
Nicholas Nethercote
67e5c3ea2c Bug 1233619 (part 1) - Remove unneeded gfxContext argument from EndUpdate() and EndUpdateBackground() functions. r=roc.
--HG--
extra : rebase_source : cc16e7a77d8d60706cd0406c859aece88d7b18c3
2015-12-17 19:39:09 -08:00