Jamie Nicol
c6653902b6
Bug 1292856 - Don't cast scale to int in nsDisplayTransform::ShouldPrerenderTransformedContent; r=mstange
...
Casting the scale components to integers before multiplying meant that
nsDisplayTransform::ShouldPrerenderTransformedContent was incorrectly
calculating the scaled frame size. This was especially bad when scale <
(1.0, 1.0), as it would calculate a size of (0, 0), leading us to
prerender the frame even if it was too large.
Calculate the frame's size using floating point scale components so as
to avoid this problem.
MozReview-Commit-ID: KhbP8tJ8qYx
2016-08-09 14:55:45 +01:00
Matt Woodrow
75d4a848c5
Bug 1237102 - Make sure we don't generate invalidations for children of opacity:0 frames, even when plugins are present. r=tnikkel
2016-08-10 15:15:28 +12:00
Myk Melez
e3c6e2128e
Bug 1291889 - specify CPP_THROW_NEW on definition of function whose declaration specifies it r=tnikkel
...
MozReview-Commit-ID: 9a8hLbfJbkl
2016-08-03 14:22:06 -07:00
Matt Woodrow
f41b6f280b
Bug 1281428 - Don't skip paint painting SVG effects due to 0 opacity if the opacity is being handled by a separate item. r=jwatt
2016-07-29 17:58:15 +12:00
Iris Hsiao
6c52cd2336
Backed out changeset 3531847a7419 (bug 1285174) for Reftest failures
2016-07-28 11:34:18 +08:00
Matt Woodrow
cf8d0c801f
Bug 1285174 - Make sure we override the visible region of nsDisplayTransform when we're prerendering. r=mstange
2016-07-28 13:05:40 +12:00
Kartikaya Gupta
3fc2dbcef6
Bug 1287142 - Ensure that the touch-action property on the scrollable element is applied to both the inner and outer scrollframe. r=tnikkel
...
MozReview-Commit-ID: JafhGnhpApE
2016-07-20 23:29:17 -04:00
Kartikaya Gupta
68edabd58a
Bug 1286957 - Because combining touch-action areas into the event regions is fraught with peril, dump them into the dispatch-to-content region. r=tnikkel
...
MozReview-Commit-ID: FOyCEFP3Hw6
2016-07-20 19:02:09 -04:00
cku
18cb951ca4
Bug 1258510 - Part 1. Use the return value of nsCSSRendering::PaintBackgroundWithSC. r=mstange
...
MozReview-Commit-ID: D1gKBng8hnJ
2016-07-12 01:22:54 +08:00
Carsten "Tomcat" Book
0e76f92d82
Backed out changeset af828ca7cc58 (bug 1258510) on developers request
2016-07-13 08:37:37 +02:00
cku
d82135b607
Bug 1258510 - Part 1. Use the return value of nsCSSRendering::PaintBackgroundWithSC. r=mstange
...
MozReview-Commit-ID: D1gKBng8hnJ
2016-07-12 01:22:54 +08:00
Timothy Nikkel
707e109efa
Bug 1276467. Enforce that any items creating when we descend into an out-of-flow for which we don't have the proper clip are invisible. r=mattwoodrow
...
Just giving them an empty visible rect isn't enough because the initial visible rect can be ignored when we compute visibility.
When we enter an out of flow without saved clip data we set a flag on the builder indicating all items created should be invisible. When we enter a visible out of flow (ie one with saved clip data) inside the first out of flow we clear the flag so items created inside the second out of flow can be visible.
2016-07-12 00:49:11 -05:00
Carsten "Tomcat" Book
2a67034d62
Merge mozilla-central to autoland
2016-07-08 12:18:14 +02:00
Timothy Nikkel
f104772b6b
Bug 1285409. Store out of flow data for frames we are going to descent into anyways (despite no intersection with the dirty rect) so we have the correct clip for them. r=mattwoodrow
...
If the frame already has the NS_FRAME_FORCE_DISPLAY_LIST_DESCEND_INTO bit we are going to descend into it anyways, so we may as well store the oof data so we can have the correct clip.
Sometimes we add the bit after this test though, so it doesn't allow us to have the proper clip in all cases.
2016-07-08 00:25:18 -05:00
Hiroyuki Ikezoe
fe0c87b94d
Bug 1278136 - Part 0: Clean up frame->StyleDisplay()->BackfaceIsHidden() usage. r=mattwoodrow
...
We already have a wrapper named nsIFrame::BackfaceIsHidden().
MozReview-Commit-ID: 5L49W6wtXs1
2016-07-08 13:01:31 +09:00
Matt Woodrow
dd176e3cb3
Bug 1283827 - Flatten transform-style:preserve-3d when combined with opacity. r=dbaron
...
This matches the behaviour required by the latest editor's draft spec and matches what blink is planning on shipping soon.
It may not be an entirely web compatible change, but we expect only a small number of websites to be affected. See
the bug for more details.
2016-07-02 14:47:12 +02:00
Matt Woodrow
a43c7ffc4e
Bug 1269321: Part 2 - Add a new constructor option to nsDisplayOwnLayer that doesn't force active layers. r=thinker
2016-06-30 18:09:08 +02:00
Matt Woodrow
251aa62cc7
Bug 1276897 - r=tlee
2016-06-01 13:23:20 +12:00
Bill McCloskey
48fe44d618
Bug 1282153 - Remove retaining outparam to GetLayerManager (r=dvander)
2016-06-30 14:30:30 -07:00
Carsten "Tomcat" Book
767feaa59e
Backed out changeset 5b09c44427fd (bug 1276897) for bustage
2016-06-27 16:24:59 +02:00
Matt Woodrow
83377e3766
Bug 1276897 - r=tlee
2016-06-01 13:23:20 +12:00
Matt Woodrow
83d113018a
Bug 1263829 - Part 2: Don't apply opacity in PaintFramesWithEffects if we created an nsDisplayOpacity. r=jwatt
2016-06-08 17:12:35 +12:00
Matt Woodrow
c3d71f4710
Bug 1263829 - Part 1: Allow static checking of whether we want an active opacity layer. r=mstange
2016-06-08 17:12:20 +12:00
Nicholas Nethercote
64bfc9d2ab
Bug 1276824 (part 2) - Fix up checks for calls to gfxContext::Create{,PreservingTransform}OrNull(). r=milan.
2016-06-07 11:17:48 +10:00
Nicholas Nethercote
a41e57a9b1
Bug 1276824 (part 1) - Rename gfxContext::ForDrawTarget{,WithTransform}(). r=milan.
...
The new names Create{,PreservingTransform}OrNull() better communicate that
these functions (a) do object creation, and (b) are fallible.
2016-06-07 09:39:56 +10:00
Botond Ballo
a868a0adaf
Bug 1276107 - Ensure sorting display items by z-order doesn't cause event-regions items to end up below items they are supposed to cover. r=mattwoodrow
...
MozReview-Commit-ID: BxnshG9TgRb
2016-05-30 20:01:04 -04:00
Wes Kocher
f5fc4c4717
Backed out 6 changesets (bug 1276107) for windows apz test bustage CLOSED TREE
...
Backed out changeset acd104ba0e8d (bug 1276107)
Backed out changeset f15df83c29a6 (bug 1276107)
Backed out changeset cd06b8e0f6dc (bug 1276107)
Backed out changeset e8361d5c43d2 (bug 1276107)
Backed out changeset 6f03149a7565 (bug 1276107)
Backed out changeset 7658c369fd33 (bug 1276107)
2016-06-06 12:16:52 -07:00
Botond Ballo
ea221f913f
Bug 1276107 - Ensure sorting display items by z-order doesn't cause event-regions items to end up below items they are supposed to cover. r=mattwoodrow
...
MozReview-Commit-ID: BxnshG9TgRb
2016-05-30 20:01:04 -04:00
Kartikaya Gupta
684a33e791
Bug 1108052 - Remove empty event regions display items because they only slow things down and can add extraneous layers. r=mstange
...
MozReview-Commit-ID: JkXGiudjBpe
2016-06-03 10:20:38 -04:00
Jamie Nicol
a94dd493dd
Bug 1274991 - Consider ancestor scale transforms when deciding whether to prerender transformed content. r=mstange
...
MozReview-Commit-ID: AnmSSy9YviP
2016-06-03 11:12:39 +01:00
Jonathan Watt
fa7b69b631
Bug 1277862, part 3 - Rename Moz2D's Filter to SamplingFilter in the rest of the tree. r=Bas
2016-05-25 17:01:18 +01:00
Matt Woodrow
8e0f69f4c2
Bug 1274962 - Part 4: Reorder how we compute transforms for preserve-3d. r=mstange,thinker
2016-06-03 14:23:27 +12:00
Matt Woodrow
7383e94aa2
Bug 1274962 - Part 3: Remove aOutAncestor. r=mstange
2016-06-03 14:22:57 +12:00
Matt Woodrow
e038001ecc
Bug 1274962 - Part 2: Remove unnecessary optimization combining translations. r=mstange
2016-06-03 14:22:25 +12:00
Matt Woodrow
2de2048078
Bug 1274962 - Part 1: Remove callers of BASIS_AT_ORIGIN. r=mstange
2016-06-03 14:22:23 +12:00
Phil Ringnalda
0d09f3f26a
Back out 7 changesets (bug 1274962) for timeouts in browser_tableWidget_mouse_interaction.js
...
CLOSED TREE
Backed out changeset c5c9bc65a408 (bug 1274962)
Backed out changeset 15b5f8019521 (bug 1274962)
Backed out changeset 9ac50a46557b (bug 1274962)
Backed out changeset 9cda37e5a581 (bug 1274962)
Backed out changeset bb0230c4bb6d (bug 1274962)
Backed out changeset 56ededfbdee6 (bug 1274962)
Backed out changeset e081fc6f3f90 (bug 1274962)
2016-06-02 20:37:31 -07:00
Matt Woodrow
60c2397303
Bug 1274962 - Part 4: Reorder how we compute transforms for preserve-3d. r=mstange,thinker
2016-06-03 14:23:27 +12:00
Matt Woodrow
9b536d8b81
Bug 1274962 - Part 3: Remove aOutAncestor. r=mstange
2016-06-03 14:22:57 +12:00
Matt Woodrow
1172c688d7
Bug 1274962 - Part 2: Remove unnecessary optimization combining translations. r=mstange
2016-06-03 14:22:25 +12:00
Matt Woodrow
2757a314f4
Bug 1274962 - Part 1: Remove callers of BASIS_AT_ORIGIN. r=mstange
2016-06-03 14:22:23 +12:00
Sebastian Hengst
c41460eca6
Backed out changeset 8df1bde7eafd (bug 1276107)
2016-06-02 22:54:31 +02:00
Botond Ballo
7cbc11afea
Bug 1276107 - Ensure sorting display items by z-order doesn't cause event-regions items to end up below items they are supposed to cover. r=mattwoodrow
...
MozReview-Commit-ID: BxnshG9TgRb
2016-05-30 20:01:04 -04:00
Kartikaya Gupta
b0d8f092e8
Bug 1273024 - Stop inflating the visible rect for fixed-position items unnecessarily. r=mattwoodrow
...
MozReview-Commit-ID: E11n1WhvVBO
2016-05-25 09:19:34 -04:00
Ethan Lin
4d1f215f4f
Bug 548372 - Part2. background-repeat round/space rendering. r=mstange
2016-05-25 02:29:00 +02:00
Hiroyuki Ikezoe
6f96dad37b
Bug 1167519 - Part 1: Calculate plausible starting value on compositor with TimeStamp::Now() when replacing an old transtion. r=birtles
...
Transitions on the compositor sometimes go further ahead while the
main-thread is busy. When the transition on the compositor is replaced by a
new one, until now we calculate the current position of the old one with the
most recent refresh time. But if the replace is done on a busy frame, the
calculated position will be far from the real position on the compositor.
As a result, we can see jumping transitions after busy frames.
To mitigate this issue, we should calculate a plausible current position of
the old one with the current time just before sending the new transition to
the compositor, i.e., after all JS callback works have done.
The plausible value is stored into KeyframeEffectReadOnly::mProperties, not
into mKeyframes. If we store the value into keyframes,
KeyframeEffectReadOnly::GetKeyframes() will return a different values after
busy frames.
Note that with this patch getComputedStyle() does not return the plausible
value because this patch does not affect styling process. getComputedStyle
issue will be fixed in bug 1273834.
MozReview-Commit-ID: B85kIx6qeyy
2016-05-25 05:51:57 +09:00
L. David Baron
cbc1d311ab
Back out temporary debugging patch for bug 1265280 (changeset ff82389380c1).
...
MozReview-Commit-ID: L4Of7FIBFaZ
2016-05-24 16:54:29 -07:00
cku
cbd1c5c03c
Bug 1275026: Part 1. Prevent infinit recursion in GenerateAndPushTextMask r=jfkthame
...
MozReview-Commit-ID: 4tcMuW5i13F
2016-05-24 12:14:57 +08:00
Carsten "Tomcat" Book
4e27c39420
Backed out changeset 4cfdd1649464 (bug 1263349)
2016-05-24 11:13:59 +02:00
Seth Fowler
f7770de059
Bug 1263349 (Part 2) - Cache the current scroll parent and information about scrollports and displayports on nsDisplayListBuilder. r=botond,mstange
2016-05-24 01:12:48 -07:00
Botond Ballo
c6e111ddc3
Bug 1273250 - Expand the visible rect of fixed background display items instead of special-casing them in FrameLayerBuilder. r=mstange
...
MozReview-Commit-ID: DT3Mh8ordzQ
2016-05-16 17:14:29 -04:00