Commit Graph

22112 Commits

Author SHA1 Message Date
Kartikaya Gupta
9dc6a33e69 Bug 1040906 - Replace the out-param on matrix conversion helpers with a return value. r=Bas 2014-07-22 09:12:14 -04:00
Carsten "Tomcat" Book
09cc14e37b Backed out changeset a0ffaeafbe7e (bug 1013054) for reftest failure 2014-07-22 09:34:36 +02:00
Robert O'Callahan
f7c4f2c19d Bug 1013054. Don't propagate non-repaint change hints to the canvas frame. r=mattwoodrow 2014-07-22 01:57:52 +12:00
Robert O'Callahan
39c4925bf8 Bug 1041200. Ensure nsDisplayZoom and friends compute mVisibleRect relative to their reference frame. r=mattwoodrow 2014-07-22 17:50:11 +12:00
Timothy Nikkel
a392ca64cd Bug 995519. Enable overlay scrollbars on root scrollframes in root content documents. r=roc 2014-07-15 00:09:24 -05:00
Timothy Nikkel
0efd0b492f Bug 995519. Limit the widths of some divs in the test part of a reftest so they don't generate a scrollbar that the ref doesn't have. r=matt.woodrow 2014-07-21 22:42:52 -05:00
Susanna Bowen
1cc13144df Bug 1038928 - Mochitests for CSS 2.1 9.7. r=bz 2014-07-21 18:28:04 -07:00
Seth Fowler
3e27db69c0 Bug 1034209 (Part 2) - Make nsImageRenderer::Draw private. r=nrc 2014-07-21 17:59:24 -07:00
Seth Fowler
f5784b855d Bug 1034209 (Part 1) - Replace the dead Image case in nsImageRenderer::Draw with the code used in DrawBackground. r=nrc 2014-07-21 17:59:23 -07:00
Seth Fowler
b506b26421 Bug 1031576 (Part 3) - Remove nsLayoutUtils::DrawPixelSnapped, since it's dead code now. r=dbaron 2014-07-21 17:59:23 -07:00
Seth Fowler
4f5d886e2a Bug 1031576 (Part 2) - Use dynamic images in the implementation of -moz-element. r=nrc 2014-07-21 17:59:23 -07:00
John Daggett
79d0879116 Bug 1024804 p3 - reftests for subscript/superscript fallback. r=jfkthame 2014-07-22 09:02:50 +09:00
John Daggett
a982b2ef3a Bug 1024804 p2 - scan scriptrun for characters lacking variant glyphs. r=jfkthame 2014-07-22 09:02:48 +09:00
Geoff Brown
46b9329156 Bug 1041017 - Skip test_animations_omta_start.html on b2g desktop; r=trivial 2014-07-21 16:10:53 -06:00
Geoff Brown
0912138163 Bug 1040987 - Skip test_event_target_radius.html on b2g desktop; r=trivial 2014-07-21 16:10:52 -06:00
Ed Morley
923da652e8 Backed out changeset 3eef0822d4d0 (bug 1013054) for failures in 1013054-1.html 2014-07-21 17:40:12 +01:00
Robert O'Callahan
ec70131e2a Bug 1003425. When opacity is delegated to an nsDisplayBoxShadowOuter via nsDisplayItem::ApplyOpacity, store the opacity in our geometry so we can invalidate if it changes. r=mattwoodrow
--HG--
extra : rebase_source : f4b44bad8537029b0e03d912b927686aa352d681
2014-07-22 01:59:10 +12:00
Robert O'Callahan
54af3e4930 Bug 1013054. Don't propagate non-repaint change hints to the canvas frame. r=mattwoodrow
--HG--
extra : rebase_source : 73b2b8a7d276d2e2064c9d16235b233e76fc7ee1
2014-07-22 01:57:52 +12:00
Robert O'Callahan
02e5b1c871 Bug 1039454. Remove InitialOverflowProperty when it no longer applies. r=mats
--HG--
extra : rebase_source : 47f816ce69edfd1b28a802baac6d13ef6610799d
2014-07-22 01:57:46 +12:00
Robert O'Callahan
73e80b7202 Bug 1041207. nsListBoxBodyFrame::Init shouldn't call nsLayoutUtils::GetScrollableFrameFor since it's not the scrolled frame yet. r=mattwoodrow
--HG--
extra : rebase_source : 97ad4db1b77775c632c407185df9db1ad0ff411a
2014-07-22 01:55:26 +12:00
Brian Grinstead
a4b54ccb8b Bug 1037519 - Allow matching pseudo-elements in inIDOMUtils.selectorMatchesElement. r=bz 2014-07-18 14:30:00 -04:00
Robert O'Callahan
6c2516f809 Bug 1022612. Part 45: Increase region complexity limit for mDrawAboveRegion/mVisibleAboveRegion to fix scroll-rounding.html test failure. r=mattwoodrow
--HG--
extra : rebase_source : 5c9ee0d12fa7622f90058e856428c0e815e6a35b
2014-07-17 15:41:06 +12:00
Robert O'Callahan
badde314cc Bug 1022612. Part 44: Make nsSimplePageSequence only paint the pages that are actually in the dirty rect. r=mattwoodrow
--HG--
extra : rebase_source : 07ec3a1fa4f8a9086f2e16b170172c6d21052dc1
2014-07-17 15:39:39 +12:00
Robert O'Callahan
d547cd8212 Bug 1022612. Part 43: Fix up SuppressComponentAlpha to allow component alpha in inactive layers over opaque parts of the chrome window. r=mattwoodrow
--HG--
extra : rebase_source : d6489832ba0a14c38647e25bfe632d2efc698f80
2014-07-15 16:23:37 +12:00
Robert O'Callahan
4465fecb8a Bug 1022612. Part 42: Add opaque regions of ThebesLayer content to the "exclude glass" region. r=mattwoodrow
--HG--
extra : rebase_source : 715df6c86b139aec7ad607e56c89dbfad3475380
2014-07-14 12:46:13 +12:00
Robert O'Callahan
6cd2fbb7d6 Bug 1022612. Part 41: Use itemType instead of calling GetType() again. r=mattwoodrow
--HG--
extra : rebase_source : 6d82f8396d235d23e4694a91bbf1e60bae0ad286
2014-07-11 13:18:10 +12:00
Robert O'Callahan
f436215ada Bug 1022612. Part 40: Restrict visible rect of 3D-transformed layers before converting to nsIntRect. r=mattwoodrow
--HG--
extra : rebase_source : 72d2b3dc2649ea63594c5c712f53b45eb8c78acd
2014-07-11 13:17:47 +12:00
Robert O'Callahan
1212513c65 Bug 1022612. Part 39: Add a little bit of reftest fuzzing. r=mattwoodrow
--HG--
extra : rebase_source : b996dc16b034a458da05d1daceac601c5e999b3b
2014-07-07 17:46:56 +12:00
Robert O'Callahan
6636d89698 Bug 1022612. Part 38: Avoid test failure due to antialiased pixel leakage. r=mattwoodrow
--HG--
extra : rebase_source : 49cf06c8ec34ecd35f26173f2a8954fd3d44b0cd
2014-07-07 17:46:56 +12:00
Robert O'Callahan
f4ce6dcae2 Bug 1022612. Part 37: Remove aAllowVisibleRegionExpansion. r=mattwoodrow
This is no longer needed thanks to the readback simplification.

--HG--
extra : rebase_source : 659147670395fefe41647daab8af93f6c439a99c
2014-06-23 16:24:51 +12:00
Robert O'Callahan
7ed8123d05 Bug 1022612. Part 36: Avoid redundant calls to ShouldPrerenderTransformedContent. r=mattwoodrow
--HG--
extra : rebase_source : 0c1fd6bbe77ccf5811620be8333a5dfdc21e2d5b
2014-06-23 16:24:15 +12:00
Robert O'Callahan
46c9e94ddd Bug 1022612. Part 35: nsDisplayPluginReadback doesn't need to hack visible regions anymore. r=mattwoodrow
One nice bit of fallout from this bug is that handling plugin background
readback is simplified. We no longer have to fiddle with display item
visibility calculations; only layer occlusion culling has to know about
readback.

--HG--
extra : rebase_source : 0f389e66354c6e345311da01b739a81ced73d699
2014-06-23 16:24:14 +12:00
Robert O'Callahan
b6a4027d58 Bug 1022612. Part 34: Skip RecomputeVisibilityForItems in inactive layers. r=mattwoodrow
RecomputeVisibilityForItems for the retained ThebesLayer already recomputes
visibility for all items in that layer, including items nested in other items.

--HG--
extra : rebase_source : 5549164408aef7bcb3fb9204b1d6b96476d3f675
2014-06-23 16:24:14 +12:00
Robert O'Callahan
6de4722ba0 Bug 1022612. Part 33: Remove InFixedPos code. r=mattwoodrow
This hasn't been used for a while I guess.

--HG--
extra : rebase_source : d59328f96a11cc65e141c75475c09edac5d42af2
2014-06-23 16:24:14 +12:00
Robert O'Callahan
67f8153270 Bug 1022612. Part 32: Remove nsDisplayItem::SetVisibleRegionOnLayer. r=mattwoodrow
It is no longer called because FrameLayerBuilder always sets the visible
regions on layers now.

--HG--
extra : rebase_source : b6c375fbbaeb79e7332cb55bdda9943bc1ee7f3c
2014-06-23 16:24:14 +12:00
Robert O'Callahan
412ce81dad Bug 1022612. Part 31: Perform layer-level occlusion culling in FrameLayerBuilder. r=mattwoodrow
We need this to avoid constructing and painting unncecessarily large
ThebesLayers.

--HG--
extra : rebase_source : 22b1fbbd8b561bd68831ac1fb957d2d1901f3297
2014-06-23 16:24:00 +12:00
Robert O'Callahan
a63c12c4da Bug 1022612. Part 30: Expose IsConstructingScrollLayerForScrolledFrame and IsDisplayPortOpaque on nsDisplayScrollLayer. r=mattwoodrow
--HG--
extra : rebase_source : 87d76ad3e9d560f34dad56c25cb96516871e280a
2014-06-23 16:23:58 +12:00
Robert O'Callahan
cf26fc0f33 Bug 1022612. Part 29: Expose GetAnimatedGeometryRootForFrame. r=mattwoodrow
--HG--
extra : rebase_source : bca7885147f0328d9700770052500e856d131bd9
2014-06-23 16:21:42 +12:00
Robert O'Callahan
8d1480e197 Bug 1022612. Part 28: Make nsLayoutUtils::GetScrollableFrameFor return null for non-scrolled-frames. r=mattwoodrow
--HG--
extra : rebase_source : 8d2165d5cf10c7997925cd17b23a39c593127018
2014-07-09 10:12:41 +12:00
Robert O'Callahan
6b9e0b532c Bug 1022612. Part 27: Make FrameLayerBuilder responsible for setting all layer visible regions. r=mattwoodrow
Calling Layer::SetVisibleRegion multiple times in a transaction can result in
unnecessary IPC traffic.

This patch removes Intersect(childGfxBounds). This is only needed to
restrict the visible region to something sane for 3D transforms, and this will
be fixed up in a later patch.

--HG--
extra : rebase_source : 4518bc060fa2c28dacdb7d3aaeca55a148dfe762
2014-06-18 15:12:55 +12:00
Robert O'Callahan
b3bb433621 Bug 1022612. Part 26: nsDisplayList::mVisibleRect is no longer used. r=mattwoodrow
--HG--
extra : rebase_source : 7043ed9341a44cbb35f7ac5d836fe9b11a0f3911
2014-06-12 00:09:13 +12:00
Robert O'Callahan
493db0119c Bug 1022612. Part 25: We don't need to explicitly worry about displayports anymore when computing occlusion. r=mattwoodrow
--HG--
extra : rebase_source : 45b7a56291309e79327d240e81b1de4c499695dc
2014-06-09 16:48:02 +12:00
Robert O'Callahan
ec0885c350 Bug 1022612. Part 24: Simplify nsDisplayList::ComputeVisibilityForSublist now that FrameLayerBuilder does most of the work. r=mattwoodrow
--HG--
extra : rebase_source : 0db68211898c111a465dc641bed8e3b2923f0e4e
2014-06-09 16:48:02 +12:00
Robert O'Callahan
475b7123d2 Bug 1022612. Part 23: Remove nsDisplayItem::IsVaryingRelativeToMovingFrame. r=mattwoodrow
It's obsolete and no-one calls it.

--HG--
extra : rebase_source : f07121d1e5766d7b2a0ecdc2d10bc3ccf587a14b
2014-06-09 16:48:02 +12:00
Robert O'Callahan
a00dd5c951 Bug 1022612. Part 22: Add MOZ_COUNT_CTOR to nsDisplayWrapList. r=mattwoodrow
--HG--
extra : rebase_source : 09252e01de90bd3e5c0cb77de80ee88e24b85f05
2014-06-09 16:48:01 +12:00
Robert O'Callahan
351de1bb8a Bug 1022612. Part 21: Remove DidComputeVisibility checking. r=mattwoodrow
--HG--
extra : rebase_source : 31b54ea4998ddc6fa62369f9f943b4c751101cad
2014-06-09 16:48:01 +12:00
Robert O'Callahan
f81914f6f1 Bug 1022612. Part 20: Do the business. r=mattwoodrow
--HG--
extra : rebase_source : c13789e08893c3ac7745aa32c9002b6edb6e2192
2014-06-09 16:48:01 +12:00
Robert O'Callahan
7613808589 Bug 1022612. Part 19: Test that merged display item lists merge their contents in the correct z-order. r=mattwoodrow
Prior to this patch, the only tests that caught this were a couple of obscure
cases on B2G. This test tests it on all platforms.

--HG--
extra : rebase_source : b4bb464bab59dd1d8c5e6b8aa4402d040105b27d
2014-07-07 17:46:29 +12:00
Robert O'Callahan
25214d5105 Bug 1022612. Part 18: When ComputeVisibility returns false, RecomputeVisibility should avoid painting the item. r=mattwoodrow
--HG--
extra : rebase_source : 5f4fcb05204262bf6fea0c9df00137ab7e26bb00
2014-06-20 17:24:31 +12:00
Robert O'Callahan
a73c3dc1af Bug 1022612. Part 17: RecordFrameMetrics should not set layer visible regions. r=mattwoodrow
This is unnecessary. FrameLayerBuilder sets the correct region.

--HG--
extra : rebase_source : 4fdef8f272870667a73575685e04644dca9473f3
2014-06-11 23:12:14 +12:00