Commit Graph

15558 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
67da675dcc Backed out changeset fb331e03981a (bug 1271691) for perma failures in scroll-rounding.html 2016-05-27 13:33:31 +02:00
JerryShih
6d1d98ee4f Bug 1271691 - Update painting suppression status in painting flow. r=mattwoodrow, r=tn
CLOSED TREE

--HG--
extra : amend_source : 9c8512a528f0fadbd4c5f51d3a7c588ff2b37d7c
2016-05-26 02:18:00 -04:00
Mats Palmgren
4e63c1e0cf Bug 881832 - Make inner document reflow asynchronous. r=tnikkel 2016-05-12 12:07:45 +12:00
Matt Woodrow
0949e08117 Bug 881832 - When flushing changes made by :hover style, make sure we also flush any pending changes on child documents. r=dbaron 2016-05-12 12:06:38 +12:00
Matt Woodrow
58b82b3f90 Bug 881832 - Specify whether the height has changed when calling PresShell::ResizeReflow, since the PresContext size might have already been updated. r=dbaron 2016-05-12 12:06:11 +12:00
Bobby Holley
8f26af0110 Bug 1275766 - Stub out nsPresContext::HasAuthorSpecifiedRules. r=heycam 2016-05-25 22:06:38 -07:00
Kartikaya Gupta
7ca348c9ab 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
6710f05dd7 Bug 548372 - Part2. background-repeat round/space rendering. r=mstange 2016-05-25 02:29:00 +02:00
Cameron McCormack
9f068966f6 Bug 1275452 - Part 2: Eagerly restyle native anonymous content in stylo. r=bholley
--HG--
extra : rebase_source : d0e728b4edcd32482743e98f5aecd22c669354f1
2016-05-25 16:55:49 +10:00
Hiroyuki Ikezoe
46a6c883c6 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

--HG--
extra : rebase_source : d19fd18a78bc1ce7820301f2b98832f0ba3dcd8e
2016-05-25 05:51:57 +09:00
Bobby Holley
d15ee172fb Bug 1274443 - Replace mPresArenaAllocCount with a hashtable to make it easy to spot the cause of double-frees. r=heycam 2016-05-24 18:50:25 -07:00
L. David Baron
0b99d303e1 Back out temporary debugging patch for bug 1265280 (changeset ff82389380c1).
MozReview-Commit-ID: L4Of7FIBFaZ

--HG--
extra : rebase_source : f77286ec75897809b442380c435baa2e735bb63f
2016-05-24 16:54:29 -07:00
cku
a41bad531c Bug 1275026: Part 1. Prevent infinit recursion in GenerateAndPushTextMask r=jfkthame
MozReview-Commit-ID: 4tcMuW5i13F

--HG--
extra : rebase_source : edee596f677e9819d90700d3df77c417eb5c9cf5
extra : source : eabf478ac1ce8e7718a123dd37b92878166fdf2a
2016-05-24 12:14:57 +08:00
Carsten "Tomcat" Book
013d342a7f Backed out changeset af8d93926a96 (bug 1263349) for causing crashes in nsDisplayListBuilder::UpdateCurrentScrollParent on a CLOSED TREE 2016-05-24 11:14:29 +02:00
Carsten "Tomcat" Book
6dc6665bce Backed out changeset 4cfdd1649464 (bug 1263349) 2016-05-24 11:13:59 +02:00
Ben Tian
7b7d04ca34 Bug 1257887 - Make windows opened through window.open() be scrollable by default. r=smaug 2016-05-17 11:25:47 +08:00
Seth Fowler
1cb3c53e11 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
Seth Fowler
41d7cfb3d3 Bug 1263349 (Part 1) - Add some utility functions for dealing with scrolling-related tasks. r=botond 2016-05-24 01:12:47 -07:00
Daniel Holbert
9a78c49077 Bug 1274096 part 2: Add support for "-webkit-flex" & "-webkit-inline-flex" as spellings of modern flexbox "display" keywords, if webkit prefix support is enabled. r=mats
MozReview-Commit-ID: 3UKsC1qTz1B
2016-05-23 21:42:36 -07:00
Hiroyuki Ikezoe
e5147036e7 Bug 1166500 - Part 5: Remove some AreAsyncAnimationsEnabled checks. r=dbaron
Now we can throttle some sort of animations which run on the main thread
as well as animations on the compositor. So, AreAsyncAnimationsEnabled checks
should be removed.

The check in PresShell::HandleEvent might be replaced with checking
nsIDocument::mNeedStyleFlush, but I am not sure.
2016-05-24 12:57:42 +09:00
Hiroyuki Ikezoe
eec4931934 Bug 1166500 - Part 3: Add KeyframeEffectReadOnly::CanIgnoreIfNotVisible(). r=dbaron 2016-05-24 12:57:42 +09:00
Phil Ringnalda
6bb0bc4494 Back out 6 changesets (bug 881832) for failures in test_Debugger.Source.prototype.element.html
CLOSED TREE

Backed out changeset fac50ce10b07 (bug 881832)
Backed out changeset 32e01c144cd4 (bug 881832)
Backed out changeset 779f5336b81e (bug 881832)
Backed out changeset 95efd250e29f (bug 881832)
Backed out changeset 7fe79f07189f (bug 881832)
Backed out changeset 8ee1824f2a57 (bug 881832)
2016-05-23 18:34:49 -07:00
Gijs Kruitbosch
29525495be Bug 1272414 - rip out qemu/browser/b2g flags from marionette manifests, r=AutomatedTester
MozReview-Commit-ID: 9RjGgykh0pR

--HG--
extra : rebase_source : a5bc5e888cc24e05fb4b5843c3738aa5456aea80
2016-05-19 17:23:26 +01:00
Jeremy Chen
685cf4c3d8 Bug 1273766 - part3: purge NS_UpdateHint inline. r=heycam
MozReview-Commit-ID: IIOT9jq8hOl

--HG--
extra : rebase_source : dfb3d874ce4419f32f13e662bd495e97ac9cac10
2016-05-23 11:26:03 +08:00
Jeremy Chen
0f24420a8f Bug 1273766 - part2: purge NS_SubtractHint inline. r=heycam
MozReview-Commit-ID: 1UX1wZJNnat

--HG--
extra : rebase_source : e74d1cf5ca0866897634339a0fe6df65e0d249ae
2016-05-23 11:26:03 +08:00
Jeremy Chen
1a607ceb9d Bug 1273766 - part1: purge NS_CombineHint inline. r=heycam
MozReview-Commit-ID: CWlyjREgoEk

--HG--
extra : rebase_source : 452a425fe4c722d7d5e15118ecb0e59c54908f37
2016-05-23 11:26:03 +08:00
Mats Palmgren
fdb3066641 Bug 881832 - Make inner document reflow asynchronous. r=tnikkel 2016-05-12 12:07:45 +12:00
Matt Woodrow
dc8ef42355 Bug 881832 - When flushing changes made by :hover style, make sure we also flush any pending changes on child documents. r=dbaron 2016-05-12 12:06:38 +12:00
Matt Woodrow
396c2df3ff Bug 881832 - Specify whether the height has changed when calling PresShell::ResizeReflow, since the PresContext size might have already been updated. r=dbaron 2016-05-12 12:06:11 +12:00
Botond Ballo
57c1a0f283 Bug 1273250 - Simplify logic for determining whether a display item should be fixed to thew viewport. r=mstange
MozReview-Commit-ID: 3tXhaBnNa0K

--HG--
extra : rebase_source : 2e894c9dd444cf49606a4a4381e86a5b9f11669b
extra : amend_source : ba114ec32272b696c3b29d45d42c4a36ad3854fb
extra : histedit_source : 7f40ea44e8983191bc3a1b15ab2ddedbe5fc2cbe
2016-05-16 19:49:49 -04:00
Botond Ballo
bdb7838ac2 Bug 1273250 - Set a layer clip rather than a scroll clip for fixed background layers if the clip moves with the layer. r=mstange
This patch also removes the earlier workaround added in bug 1272525.

MozReview-Commit-ID: HR2wF2BGsKl

--HG--
extra : rebase_source : b561f8721d91c930bced7664f11a331552b97a5e
extra : histedit_source : d57e430f76851ce252416aa77fdaad0897d03756
2016-05-16 17:20:23 -04:00
Botond Ballo
8320a4382b Bug 1273250 - Expand the visible rect of fixed background display items instead of special-casing them in FrameLayerBuilder. r=mstange
MozReview-Commit-ID: DT3Mh8ordzQ

--HG--
extra : rebase_source : 5da55ed6ec733ff10c2c855c95bf4109fdbbe4b5
extra : histedit_source : e002d39c9d4df54468d66fd13a9663db799d490f
2016-05-16 17:14:29 -04:00
Botond Ballo
4b2d2e68d3 Bug 1273250 - Factor out a helper function to calculate the viewport rect. r=mstange
MozReview-Commit-ID: ACJayEWplCY

--HG--
extra : rebase_source : 22ef189053bd80e3f8faaa10fb239031f8010587
extra : histedit_source : 510dbd0887b2cecc5366d0be1cb380ec7efb3d0d
2016-05-16 17:13:19 -04:00
Kartikaya Gupta
d6c154f454 Bug 1274397 - Small optimization to use a RegionBuilder. r=tnikkel
MozReview-Commit-ID: 6Yro9uDIIEd
2016-05-21 00:06:44 -04:00
L. David Baron
76e8e7cc58 Backed out changeset 2bc3ee78d5d3 (bug 1274397) for failing to compile, probably due to failing to #include headers. 2016-05-20 21:24:17 -07:00
Kartikaya Gupta
9994166655 Bug 1274589 - Rename RegionBuilder::Or to RegionBuilder::OrWith for consistency with the region classes. r=jrmuizel
MozReview-Commit-ID: CIzTVKXUVSs
2016-05-21 00:06:51 -04:00
Kartikaya Gupta
3255b2aed3 Bug 1274397 - Small optimization to use a RegionBuilder. r=tnikkel
MozReview-Commit-ID: 6Yro9uDIIEd
2016-05-21 00:06:44 -04:00
Boris Zbarsky
ee97bc5aed Bug 1267989 part 3. Make suppressing event handling on a document also block script execution for that document. r=smaug
Note that we do this here instead of when we suspend timeouts, because it makes
it simpler to handle situations in which a window's document changes while
things are suspended/blocked.

The nsDocumentViewer.cpp is not strictly needed, but avoids some extraneous
calls to SuppressEventHandling with a 0 suppression count.
2016-05-20 23:13:18 -04:00
Kan-Ru Chen
d5a5ebb1c5 Bug 1271931 - Make DisplayItem::IsUniform to return Maybe<nscolor>. r=tnikkel
Maybe<nscolor> ensures that correct value is returned and also makes the
error checking clearer than using a out param.

MozReview-Commit-ID: 39uHIFCZzqn

--HG--
extra : rebase_source : 1885906646ebc9739c86aecb2b8e4bd0ee02e97f
2016-05-19 16:07:52 +08:00
CJKu
936ab8c243 Bug 1228280 - Part 4. Create nsSVGMaskProperty to carry multiple mask info;
MozReview-Commit-ID: LPTqls7wvqJ
2016-05-19 15:43:55 +08:00
CJKu
b4f5e64881 Bug 1228280 - Part 2. Change the parameters of nsSVGIntegrationUtils::PaintFramesWithEffects;
MozReview-Commit-ID: CaOINlG7HD6
2016-05-19 15:43:32 +08:00
CJKu
be0a6b927b Bug 1228280 - Part 1. Change the parameter of nsCSSRendering::PaintBackground;
MozReview-Commit-ID: 41KgAlkx9oZ
2016-05-19 15:43:20 +08:00
Matt Woodrow
55e4b39110 Bug 1141468 - Don't report that we need component alpha for svg filters, since text within it will never have subpixel-AA. r=mstange 2016-05-18 15:14:38 +12:00
Matt Woodrow
ecff14fb35 Bug 1141468 - Clean up prerendering code in nsDisplayTransform to be easier to follow. r=mstange 2016-05-18 15:12:44 +12:00
Matt Woodrow
2e5a9db070 Bug 1141468 - Don't attempt to modify prerender state (for will-change) in nsDisplayTransform since it's already too late. r=BenWa,mstange 2016-05-18 15:12:14 +12:00
Jonathan Kew
4f379e76a3 Bug 1272997 - followup 4 - Set resize flags properly using logical accessors in PresShell. r=dholbert 2016-05-18 21:07:54 +01:00
Mats Palmgren
6dca609754 Bug 1271392 part 1 - [css-grid] Make grid item 'stretch' not require an extra reflow. r=dholbert
This part removes the 'stretch' logic in AlignJustifySelf and implements
it in nsLayoutUtils::ComputeSizeWithIntrinsicDimensions /
nsFrame::ComputeSize instead.
2016-05-18 13:49:33 +02:00
Sebastian Hengst
2a25239773 Backed out changeset 8825e67c19a7 (bug 1141468) for M(4) perma-failures in test_transformed_scrolling_repaints_3.html on OSX 10.10. r=backout 2016-05-18 10:38:10 +02:00
Sebastian Hengst
68055f003a Backed out changeset 0e40f51068b4 (bug 1141468) 2016-05-18 10:38:03 +02:00
Sebastian Hengst
6b1dac9542 Backed out changeset 93586651e956 (bug 1141468) 2016-05-18 10:37:55 +02:00