Commit Graph

14484 Commits

Author SHA1 Message Date
Botond Ballo
514da6416f Bug 1208661 - Show display list and layer textures in-line in the HTML paint dump. r=BenWa
--HG--
extra : rebase_source : 83b8aa0650599932297bb75aa3e9bdeed589f87b
extra : source : 9ba5b04a7a416c7cace04b2191e105aa694ff2ef
2015-09-28 15:22:05 -04:00
Botond Ballo
4daa211ca8 Bug 1208661 - Do not assume that PaintRoot()'s contributions to the HTML paint dump will all be inside a <script> tag. r=BenWa
--HG--
extra : rebase_source : f95fafa791d4a15ec215311bda0ca16c8a951dc8
extra : source : 0148877df48d9a6b402ab26db161c55f57d47bce
2015-09-25 19:23:13 -04:00
Xidorn Quan
5d040064dc Bug 1201798 part 2 - Update viewport scrollbar override for fullscreen and remove the leagcy css rule. r=roc
--HG--
extra : source : 339b4099bd0fa78b54befdfb55bebfbb98a46c14
2015-09-30 10:48:41 +10:00
Xidorn Quan
0e00ba39ac Bug 1201798 part 1 - Move PropagateScrollToViewport() from nsCSSFrameConstructor to nsPresContext as a public method. r=roc
--HG--
extra : source : bfbd88293e3701653f3f7ab393239f69265561a8
2015-09-30 10:48:41 +10: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
Nicholas Nethercote
d0c4a9db1b Bug 1208300 (part 4) - Remove gfxRGBA and some related things. r=jwatt.
Hooray!

--HG--
extra : rebase_source : d691b55eef5a8655aa98b81b5398452a5ebe860d
2015-09-24 19:24:16 -07:00
Cameron McCormack
8a56a13543 Bug 1209124 - Bail out of nsStyleSet::GatherRuleProcessors and PresShell::Observe if we're called during/after shutdown. r=dbaron 2015-09-29 12:16:04 +10:00
Cameron McCormack
9293060eef Bug 1198708 - Part 1: Store exact timing-function type on nsTimingFunction and ComputedTimingFunction. r=birtles
Since Keyframe.easing should reflect the {transition,animation}-timing-
function value relevant to each keyframe, we'll need to store on
nsTimingFunction the specific timing function value that was used, and
copy it down into ComputedTimingFunction for
KeyframeEffectReadOnly.getFrames() to access.  This includes storing
whether the optional start/end keyword in a steps() function was
specified.
2015-09-29 12:20:13 +10:00
John Daggett
6d66c5e817 Bug 1182361 p2 - count generic lookups. r=heycam 2015-09-29 10:51:28 +09:00
Phil Ringnalda
463ef315b0 Back out 2 changesets (bug 1205630) for failing inactive-fixed-bg-bug1205630.xul on Mac and Windows
Backed out changeset 7ca5a29b914f (bug 1205630)
Backed out changeset 9db06671fc0d (bug 1205630)
2015-09-28 18:30:16 -07:00
Gijs Kruitbosch
7626c21e19 Bug 636905 - part 4: add tests for interactivity requirement for onbeforeunload, r=bz
--HG--
rename : layout/base/tests/browser_disableDialogs_onbeforeunload.js => layout/base/tests/browser_onbeforeunload_only_after_interaction.js
rename : layout/base/tests/browser_disableDialogs_onbeforeunload.js => layout/base/tests/browser_onbeforeunload_only_after_interaction_in_frame.js
extra : commitid : IbbiUUq28V1
extra : rebase_source : dabf0dd806e93a2df94869ab2e2e1d996616af0e
2015-09-24 12:10:19 +01:00
Gijs Kruitbosch
5dd3837ea4 Bug 636905 - part 3: flip prefs in tests to keep them working, r=jaws
--HG--
extra : commitid : 5ctg1uTZzZd
extra : rebase_source : 953ba9df408b24a340074abeb1a05a2c02b2bbf6
2015-09-26 15:01:51 +01:00
Gijs Kruitbosch
ff07a9d7e5 Bug 636905 - part 2: check for document interactivity state when prompting for beforeunload, r=bz
--HG--
extra : commitid : 3jpKjuOULpC
extra : rebase_source : 8f033b0febca4cda10a46b48169772e20b21c7b6
2015-09-24 12:11:07 +01:00
Markus Stange
d2decdaaf6 Bug 1105832 - Also dump inactive layer managers when display list dumping is enabled. r=mattwoodrow
--HG--
extra : source : 882bae94b575a31209a6c4b2864a9daf5b027f76
2015-09-25 18:37:30 -04:00
Botond Ballo
0883bb5acc Bug 1206915 - Handle nested PaintFrame() calls correctly during paint dumping. r=mattwoodrow,BenWa
--HG--
extra : source : fab68f61b2f73bbd9b1e9a0c8f542ced62da60b0
2015-09-21 19:05:44 -04:00
Botond Ballo
9836d10039 Bug 1206915 - Make paint dumping to a file e10s-friendly. r=mattwoodrow
--HG--
extra : source : 5ba62147fd9fd23faa11bafcefb752f542476c84
2015-09-21 18:44:28 -04:00
Botond Ballo
9c084c0d2e Bug 1206915 - Avoid reordering of different parts of paint dump output. r=mattwoodrow
--HG--
extra : source : b0aac5d41d2493ae03852adc38f1928ac738e505
2015-09-21 18:37:23 -04:00
Botond Ballo
44e7a6c15d Bug 1205630 - Translate a fixed background display item's clip rect correctly when setting it on the layer. r=mstange
--HG--
extra : source : 58f76bcdf08a57b14dddcacab9e3049f24f7d55a
2015-09-25 12:55:00 -04: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
James Willcox
66893d0e7a Bug 1201541 - Use SingleTiledContentClient for non-scrollable layers on Android r=mattwoodrow 2015-09-28 09:36:58 -05:00
Carsten "Tomcat" Book
93c4173b23 Backed out 1 changesets (bug 1207420) for mulet reftest failures
Backed out changeset 160c4484f0a2 (bug 1207420)
2015-09-28 12:13:25 +02:00
Thinker K.F. Li
3ea3c8dece Bug 1207420 - Improve GetBounds() to avoid recomputing every time. r=roc 2015-09-28 00:15:00 +02:00
Nicholas Nethercote
f523d5c4ba Bug 1207931 - Remove no-longer-needed SetBackgroundColor IPC message. r=mattwoodrow. 2015-09-24 19:03:33 -07:00
Nicholas Nethercote
ff7df9ad79 Bug 1208283 (part 4) - Change FrameMetrics::mBackgroundColor from gfxRGBA to gfx::Color. r=jwatt.
This removes some ToColor() calls.

--HG--
extra : rebase_source : 05ee3e5aaa784e12c15fa42845864eacec45271f
2015-09-24 18:17:45 -07:00
Nicholas Nethercote
89189f2ced Bug 1208283 (part 2) - Change ColorLayer::mColor, ColorLayerProperties::mColor, ReadbackLayer::mBackgroundColor from gfxRBGA to gfx::Color. r=jwatt.
This avoids some gfxRGBA-to-Color conversions.

--HG--
extra : rebase_source : ba62db5204301e4ab57f05b9f9901f986f5b09aa
2015-09-24 18:16:45 -07:00
Brian Birtles
4ba3abb7d3 Bug 1195180 part 5 - Synchronize refresh driver observing with presshell creation/teardown; r=heycam 2015-09-28 12:38:40 +09:00
Nicholas Nethercote
342466f878 Bug 1208345 - Remove gfxContext::GraphicsOperator. r=jwatt.
Also...

- Rename various "operator" identifiers as "op" to match |CompositionOp|.

- Rename |nsBackgroundLayerState::mCompositingOp| as |mCompositionOp| to match
  |CompositionOp|.

- Remove some deprecated functions that are no longer needed.

--HG--
extra : rebase_source : 74e9b6eecf6f442e27cc18fd4ae6f668a45188aa
2015-09-24 22:38:58 -07:00
L. David Baron
88fd572171 Bug 1175492 followup: remove extra dashes left over from removing -moz- prefixes. r=longsonr
--HG--
extra : commitid : 1kdnGpvUGqF
2015-09-27 02:19:13 -07:00
Markus Stange
e21bd1df78 Bug 1208438 - Don't allow layers with scrolling clips to occlusion-cull layers behind them. r=mattwoodrow
--HG--
extra : commitid : LZhXvCVgeyn
2015-09-25 15:47:41 +02:00
Wes Kocher
72082a8db8 Backed out 2 changesets (bug 1208457, bug 1208438) for bg-fixed-child-mask.html failures
Backed out changeset 0499228f8fd1 (bug 1208438)
Backed out changeset 803a5e5c74ea (bug 1208457)
2015-09-25 13:01:33 -07:00
Matt Woodrow
c066ccca63 Bug 1205087 - Cache the AnimatedGeometryRoot on DisplayItem. r=roc 2015-09-24 18:26:36 -04:00
Matt Woodrow
55713b7206 Bug 1205087 - Make nsSVGIntegrationUtils paint frame continuations manually since combining them meant that our reference frame wasn't an ancestor of all painted frames. r=roc 2015-09-24 18:26:34 -04:00
Matt Woodrow
d58f9e3efb Bug 1205087 - Remove LayerManager parameter for ShouldFixToViewport. r=roc 2015-09-24 18:25:08 -04:00
Markus Stange
931da3d7e3 Bug 1208438 - Don't allow layers with scrolling clips to occlusion-cull layers behind them. r=mattwoodrow
--HG--
extra : commitid : FQuVuWMFata
extra : amend_source : 7de8b2a9fd1ef7636e3a11a1b1f502f793a92ade
2015-09-25 15:47:41 +02:00
Markus Stange
b42b780ed9 Bug 1203190 - Don't intersect with the visible rect for fixed background images. r=mattwoodrow
--HG--
rename : layout/reftests/async-scrolling/bg-fixed-child-clip.html => layout/reftests/async-scrolling/bg-fixed-child-clip-1.html
rename : layout/reftests/async-scrolling/bg-fixed-child-clip.html => layout/reftests/async-scrolling/bg-fixed-child-clip-2.html
extra : commitid : 4qr8EJSuYrt
2015-09-25 14:40:52 +02:00
Nicholas Nethercote
0323079a52 Bug 1207944 (part 8) - Change nsDisplayBackgroundColor::mColor from gfxRGBA to gfx::Color. r=jwatt.
This avoids an unnecessary gfxRBGA-to-Color conversion in one SetColor() call.

--HG--
extra : rebase_source : d42a34ed6510e0bbab97a31a4f499e3a7b1058ba
2015-09-24 00:46:32 -07:00
Nicholas Nethercote
b33cbd6c59 Bug 1207944 (part 7) - Use gfx::Color instead of gfxRGBA in BlurCache. r=jwatt.
This avoids several gfxRBGA-to-Color conversions.

--HG--
extra : rebase_source : 9b60c0dd0169bd8b208639dd3a28cad4591179dd
2015-09-24 00:43:32 -07:00
Nicholas Nethercote
7626224318 Bug 1207944 (part 6) - Use gfx::Color instead of gfxRGBA in ColorStop. r=jwatt.
--HG--
extra : rebase_source : d8a895586cd0716164054a0b32b0269e712287b7
2015-09-24 00:40:20 -07:00
Nicholas Nethercote
165270a482 Bug 1207944 (part 5) - Use SetColor(const Color&) when setting from a constructed gfxRGBA. r=jwatt.
In various places SetColor() gets passed a gfxRBGA that is constructed at the
call site. This patch changes these to construct a gfx::Color directly,
avoiding the subsequent conversion.

--HG--
extra : rebase_source : e2882f4af319c9541891da34da4202baee5470b0
2015-09-23 23:42:58 -07: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
Daniel Holbert
0fa3772aff Bug 1169974 part 2: Tell clang to ignore inconsistent-missing-override warnings for MOCK_METHOD2 macro from gtests. r=njn 2015-09-24 16:16:14 -07:00
Nicholas Nethercote
842dd1cf5a Bug 1207741 - Remove gfxIntSize. r=nical.
gfxIntSize is just a typedef of gfx::IntSize, so this is very mechanical. The
only tricky part is deciding for each occurrence whether to replace it with
IntSize, gfx::IntSize or mozilla::gfx::IntSize; in all cases I went with the
shortest one that worked given the existing "using namespace" declarations.

--HG--
extra : rebase_source : 67fd15f87222b16defa70ef795c6d77dfacf1c36
2015-09-23 11:49:05 -07:00
Mason Chang
91a913a490 Bug 1188075 - Speed up inner box-shadow drawing by using a border-image style approach. r=mstange 2015-09-24 09:50:29 -07:00
Markus Stange
1c51b30d9d Bug 1144534 - If we have tiling, don't reduce layer resolution for large transforms. r=mattwoodrow
--HG--
extra : commitid : JJNzvl0j5W9
extra : histedit_source : 1269e93524a668636fbe79662e87e43a2e4d0402
2015-09-21 11:56:52 +02:00
Carsten "Tomcat" Book
be2a184fb0 Merge mozilla-central to mozilla-inbound 2015-09-24 12:06:06 +02:00
Carsten "Tomcat" Book
2376775adf merge mozilla-inbound to mozilla-central a=merge 2015-09-24 12:03:40 +02:00
Jonathan Kew
c9565000fb Bug 1193519 pt 6 - Adjust the position of the caret bidi indicator appropriately for sideways-lr mode. r=dholbert 2015-09-24 10:23:34 +01:00
Jonathan Kew
b20e9ca870 Bug 1193519 pt 5 - Expose the sideways-lr value for writing-mode to CSS. r=dholbert 2015-09-24 10:23:34 +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