Граф коммитов

16398 Коммитов

Автор SHA1 Сообщение Дата
Andi-Bogdan Postelnicu c9ffc81e5a Bug 1316290 - Replace default bodies of special member functions with = default, in layout. r=dholbert
MozReview-Commit-ID: LJiBYdYD1S5

--HG--
extra : rebase_source : 5c00a817cb43e9bc1d692d6b28d2bb5a7e46e802
2016-11-09 15:35:40 +02:00
Andi-Bogdan Postelnicu 1cdf51faec Bug 1316290 - Use C++11's override and remove already-implied virtual where applicable, in /layout. r=dholbert
MozReview-Commit-ID: IBljzyZmWW4

--HG--
extra : rebase_source : ab396c8a45116ab54da7a90335b7913d70cd91bd
2016-11-09 15:37:59 +02:00
Andi-Bogdan Postelnicu 306c7fcc52 Bug 1316290 - Use 'auto' type specifier for some variable decls that are assigned to "new", in /layout. r=dholbert
MozReview-Commit-ID: hEBEzzmMlC

--HG--
extra : rebase_source : a383b450117c539cc42246d05c071c356402c1c5
2016-11-09 15:34:49 +02:00
Jet Villegas 246805dcfd Bug 1283302: Sets the default value for nglayout.initialpaint.delay to 5ms on desktop (stays 250 ms on Android) per user research conclusions. r=tn
MozReview-Commit-ID: LWfmMoBcbnL
2016-08-25 18:57:56 -07:00
Wes Kocher bfd47fa62d Backed out changeset ff60dd49591d (bug 1283302) for linux64 debug reftest failures a=backout 2016-11-10 16:10:54 -08:00
Jet Villegas 08cf6c2481 Bug 1283302: Sets the default value for nglayout.initialpaint.delay to 5ms on desktop (stays 250 ms on Android) per user research conclusions. r=tn
MozReview-Commit-ID: LWfmMoBcbnL
2016-08-25 18:57:56 -07:00
Carsten "Tomcat" Book f93282b491 Merge mozilla-central to mozilla-inbound 2016-11-10 17:08:43 +01:00
Carsten "Tomcat" Book 4b6cab91f9 merge mozilla-inbound to mozilla-central a=merge 2016-11-10 16:59:38 +01:00
Cameron McCormack b3db3c2002 Bug 1316247 - stylo: Handle restyles generated during change hint processing sooner. r=emilio
MozReview-Commit-ID: HpgJ94ifJ7e
2016-11-09 14:25:28 +08:00
Cameron McCormack ff10ad8bc2 Bug 1315889 - stylo: don't try to restyle elements that have been removed from the document. r=emilio
MozReview-Commit-ID: EiFS1KAKAj6
2016-11-08 16:24:34 +08:00
Cameron McCormack 1b5c96f9f7 Bug 1315894 - Clear dirty bits on entire subtree when stopping in RecreateStyleContexts due to no frame or ReconstructFrame hint. r=emilio
MozReview-Commit-ID: 5ch5gtOn0Zr
2016-11-09 14:25:58 +08:00
Keshav Prasad 8d534ac19c Bug 1314158 - Remove declaration of IsChromeSlow in nsPresContext.h. r=mstange
MozReview-Commit-ID: MXq75nKDQM

--HG--
extra : rebase_source : 2d22dc5aaf9d66f528067882eca5c5eb8b0e64f0
2016-11-04 16:46:30 -04:00
Jonathan Watt 9aad32cd64 Bug 1313386, part 2 - Make AutoPrintEventDispatcher::DispatchEventToWindowTree non-static. r=dholbert 2016-11-01 21:29:30 +00:00
Jonathan Watt fdc97b0759 Bug 1313386, part 1 - Clean up the beforeprint/afterprint event dispatching code. r=dholbert 2016-11-01 21:29:30 +00:00
Ethan Lin dfc8522b08 Bug 1315353 - Part 1: Fix the wrong image size of border-image-repeat while the content is SVG. r=dbaron
--HG--
extra : rebase_source : 645cfd900a937bfe3356f5cdce607bc08bacf34b
2016-11-08 11:46:46 +08:00
Ting-Yu Lin 5851f10c95 Bug 1316040 - Change target to non-target in test_caret_not_appear_when_typing_in_scrollable_content. r=mtseng
In this test, we assume the caret does not appear at the end of the input.
However in this case, self.actions.flick() will select all text within the
input, and then send_keys() will replace it with '!'. As a result, the final
content might varies on different platforms. Test the final content match
tho target_content might not be reliable.

To fix this, we instead assert that final content does *not* match the
non_target_content as the bug occurs.

MozReview-Commit-ID: 2YRN8W3PUXG

--HG--
extra : rebase_source : c63b631c609992fccf350d3088bba8e0621d9a55
2016-11-09 14:14:53 +08:00
cku 282a24594a Bug 1250490 - Part 2. Remove DetermineMaskUsage and ComputeOpacity from nsSVGIntegrationUtils. r=mstange
MozReview-Commit-ID: 4gHW7PyMNhd

--HG--
extra : rebase_source : 68507df64232ebef68535e85cc9934833a428456
2016-11-03 11:16:46 +08:00
cku 8147e6d4e1 Bug 1314001 - Part 2. Draw mask by single opaque green. r=mstange
MozReview-Commit-ID: 12S5vBGYRpb

--HG--
extra : rebase_source : ef9bfa3251610732a0a6d2becb0e07737a40ac12
2016-11-04 12:25:33 +08:00
cku 575b4ea688 Bug 1234485 - Part 11. Paint SVG mask on PaintedLayer before bug 1313877 fixed. r=mstange
MozReview-Commit-ID: C8XIZ4ttp1P

--HG--
extra : rebase_source : 71940c3ba9f3597e39c82c1b8ba39636dcf006b8
2016-10-30 02:55:24 +08:00
cku b146d87275 Bug 1234485 - Part 10. Paint mask onto mask layer when possible. r=mattwoodrow,mstange
MozReview-Commit-ID: GEMprzpfYw3

--HG--
extra : rebase_source : aa72a7b84ed21fae5638b5a83b2e739716537864
extra : intermediate-source : 6b90195d53da590b153c0ee7317767ae15ef6b16
extra : source : fcd9d758f37adb4d28f2fd72b458f1576e5cd2f8
2016-10-30 15:43:43 +08:00
cku bbd37411c6 Bug 1234485 - Part 9. Implement MaskLayerUserData::constructor & operator=. r=mstange
Move MaskLayerUserData member data setup code into assign operator to reduce
codes in CreateMaskLayer.

MozReview-Commit-ID: FKsM3OfWhvS

--HG--
extra : rebase_source : 1fc2f40615de048805e30133b0eecd4ef3d5ae92
2016-11-07 23:27:35 +08:00
cku fc22c48445 Bug 1234485 - Part 8. Implement ContainerState::SetupMaskLayerForCSSMask. r=mattwoodrow,mstange
MozReview-Commit-ID: Gu1u4WvL2Cy

--HG--
extra : rebase_source : 46788af208f0122747c0a8c90f308461c7a44f6d
2016-11-07 22:32:43 +08:00
cku 73c622f3dc Bug 1234485 - Part 7. Implement CSSMaskLayerUserData to store css positioned mask user data. r=mstange
MozReview-Commit-ID: JZVcAfipKYX

--HG--
extra : rebase_source : f123995c61dda5cc27d57d4d09bc829495923c47
2016-11-01 16:43:34 +08:00
cku 580b53705f Bug 1234485 - Part 5. Implement MaskImageData::CreateImageAndImageContainer. r=mstange
Simply move some code from ContainerState::CreateMaskLayer into MaskImageData,
so that we can reuse it later.

MozReview-Commit-ID: H2zktYL9PIh

--HG--
extra : rebase_source : 091c877af171adcef26fc6f8b1a03e56197be6ef
2016-10-26 22:17:24 +08:00
cku 51fd365a1a Bug 1234485 - Part 4. Implement nsDisplayMask::ShouldPaintOnMaskLayer. r=mstange
MozReview-Commit-ID: CChi1vbLLh8

--HG--
extra : rebase_source : d869aeb9993e6d631a494f0b63494de3b576b5b3
2016-10-19 11:44:15 +08:00
Wes Kocher 0330db10eb Merge m-c to autoland, a=merge 2016-11-08 14:09:10 -08:00
Wes Kocher 008fdd9329 Merge inbound to central, a=merge 2016-11-08 13:58:20 -08:00
Phil Ringnalda 592b02e148 Merge m-c to m-i
MozReview-Commit-ID: 8cFOopE3aHd
2016-11-07 20:40:30 -08:00
Cameron McCormack 38fd958f01 Bug 1315851 - stylo: tweak temporary eRestyle_StyleAttribute handling. r=xidorn
MozReview-Commit-ID: Jgv5El6Kxdu
2016-11-08 10:39:30 +08:00
Brad Werth 175fc88729 Bug 1314080 Part 4: Implement the new text retrieval behavior. r=smaug
MozReview-Commit-ID: 7j5BjruBNb9

--HG--
extra : rebase_source : a5649d5552a0ee9f1a9bc5e07cac2ca12610d5a1
2016-11-02 16:39:43 -07:00
Brad Werth 1e29a9cf1c Bug 1314080 Part 1: Rename CollectClientRects method and add a new parameter for collecting text. r=smaug
MozReview-Commit-ID: KQPky6Fh8sG

--HG--
extra : rebase_source : 33bce65c1752aeb7a2225a981f2dadf7e2ce5916
2016-11-02 13:49:43 -07:00
Cameron McCormack 6001074f5a Bug 1315632 - stylo: Leave old style on frames when nsChangeHint_ReconstructFrame was generated. r=emilio
MozReview-Commit-ID: 4rtsOwwZFkS

--HG--
extra : rebase_source : 4b3963a49cfecbd6b44e2a7599d912b63f9b5b7a
2016-11-07 18:15:32 +08:00
Phil Ringnalda a7bc94158c Merge m-i to m-c, a=merge
MozReview-Commit-ID: H4VKCYDq5cD

--HG--
rename : xpcom/tests/TestAutoRef.cpp => xpcom/tests/gtest/TestAutoRef.cpp
rename : xpcom/tests/TestCOMArray.cpp => xpcom/tests/gtest/TestCOMArray.cpp
rename : xpcom/tests/TestCOMPtr.cpp => xpcom/tests/gtest/TestCOMPtr.cpp
rename : xpcom/tests/TestCOMPtrEq.cpp => xpcom/tests/gtest/TestCOMPtrEq.cpp
rename : xpcom/tests/TestFile.cpp => xpcom/tests/gtest/TestFile.cpp
rename : xpcom/tests/TestHashtables.cpp => xpcom/tests/gtest/TestHashtables.cpp
rename : xpcom/tests/TestID.cpp => xpcom/tests/gtest/TestID.cpp
2016-11-05 13:36:25 -07:00
Sebastian Hengst 431a51bafd Bug 1310297 - Remove test annotations using b2g, mulet or gonk: layout/base. r=RyanVM
MozReview-Commit-ID: M0EASZk09I

--HG--
extra : rebase_source : e606f93a93c0f4149ba3d81d6b3893ef2b12d2da
2016-11-05 11:29:20 +01:00
Phil Ringnalda 06521a66a4 Merge m-c to m-i
MozReview-Commit-ID: 7W5SwSOspcB
2016-11-04 21:04:44 -07:00
Andreas Farre 261494e785 Bug 1314314 - Restrict when idle callbacks are fired. r=bkelly
MozReview-Commit-ID: L9ZTVFeHGTw

--HG--
extra : rebase_source : 7178cd47eba6b95539bf9e7f44df8e596de13ebf
2016-11-03 18:47:23 +01:00
Mats Palmgren 6b1b0153ba Bug 1300369 part 11 - Move nsLayoutUtils::ComputeISizeValue to a nsIFrame method (idempotent patch). r=dholbert 2016-11-05 02:57:07 +01:00
Mats Palmgren ddb49488f0 Bug 1300369 part 8 - Move nsLayoutUtils::ComputeSizeWithIntrinsicDimensions to a nsFrame method (idempotent patch). r=dholbert 2016-11-05 02:57:06 +01:00
Mats Palmgren 1ce5803c3a Bug 1300369 part 2 - Make nsLayoutUtils::IntrinsicForAxis handle margin-box min-size clamping. r=dholbert 2016-11-05 02:57:06 +01:00
Mats Palmgren 49f3373b77 Bug 1218178 part 3 - [css-grid][css-align] Implement ratio-preserving 'stretch' alignment for grid items with an intrinsic ratio. r=dholbert
https://github.com/w3c/csswg-drafts/issues/523
2016-11-05 02:57:05 +01:00
Mats Palmgren 8e6e085ed6 Bug 1218178 part 2 - Minor code cleanup (idempotent). r=dholbert 2016-11-05 02:57:05 +01:00
Mats Palmgren 3f3758dff0 Bug 1218178 part 1 - [css-grid] Implement the transferred size part of Automatic Minimum Size for grid items. r=dholbert
https://drafts.csswg.org/css-grid/#min-size-auto
https://www.w3.org/TR/css-flexbox-1/#min-width-automatic-minimum-size
2016-11-05 02:57:05 +01:00
Kartikaya Gupta d84df5e838 Bug 1315477 - Remove some instances of static_cast'ing to ClientLayerManager. r=mattwoodrow
MozReview-Commit-ID: 2oqoOE4gZK0

--HG--
extra : rebase_source : eb4bebeb6b79ec83a285facf7fde61ecbd705c43
2016-11-07 11:38:44 -05:00
Xidorn Quan 67de44415a Bug 1294299 part 13 - Post restyle event with style attribute hint for style change. r=heycam
MozReview-Commit-ID: 8quLmF0xaxv

--HG--
extra : source : 756be1f6f24db58250575910149e3c63f2320615
2016-11-03 14:41:02 +11:00
Wes Kocher df5dbf81cc Merge central to inbound a=merge 2016-11-02 17:31:08 -07:00
Cameron McCormack 32c930ba08 Bug 1288302 - Part 5: Make nsStyleImage use nsStyleImageRequest. r=bholley
This makes background-image, mask-image and border-image settable
from Servo.

Since imgRequestProxy resolution in nsStyleImages can now happen later than
at computed value setting time, and that resolution can fail,
nsStyleImage::GetImageData() might now return null.  So all of the users of
nsStyleImage now null check its result.

MozReview-Commit-ID: FMRUrC3SfOs
2016-11-02 16:58:32 +08:00
Cameron McCormack 2c0304b286 Bug 1288302 - Part 2: Pass ImageTracker to style struct image tracking methods instead of nsPresContext. r=xidorn
MozReview-Commit-ID: AsGfXliHLRf
2016-11-02 16:58:31 +08:00
Jared Wein 5ad7b0c24d Bug 1312050 - Make loadAndRegisterSheet log a helpful error message if the URI contains a potentially-truncating unescaped #id. r=dholbert
MozReview-Commit-ID: 21WnD8nJRsp

--HG--
extra : rebase_source : 08c8d9a0f2cd769df859434d6bdbbf0f2fcda937
2016-10-24 10:59:09 -04:00
Ting-Yu Lin 6890b35c2b Bug 1313362 - Convert nsGenConList to use mozilla::LinkedList. r=xidorn
The difference between the PRCList and LinkedList is that the end of a
LinkedList is represented by nullptr, so we don't need to worry about
getting the first element when we iterate pass the last element. The
majority of the changes is due to this difference.

Also, simplify do-while loops by using for-loops in nsCounterManager and
nsQuoteList.

MozReview-Commit-ID: CZQxqNm2Ksm

--HG--
extra : rebase_source : 1a27aa5effa43a46a5d24172085c6d3502cb8c47
2016-10-27 18:07:52 +08:00
Daniel Holbert d7a39cb724 Bug 1269045 part 4: Drop now-obsolete parameter from anonymous flex/grid-item wrapping functions. r=mats
MozReview-Commit-ID: 5rGemcMMOhl
2016-10-31 08:58:18 -07:00
Daniel Holbert 3903256ea3 Bug 1269045 part 3: Stop wrapping placeholder frames in anonymous flex items. r=mats
This patch also:
 * Removes some now-unnecessary code from nsFlexContainerFrame, which was for jumping from wrapped-placeholders to their out-of-flow frames (for DOM comparisons). This code is now unnecessary because placeholders won't be wrapped anymore.
 * Updates some reftests with abspos content to match the updated spec's expectations, with one marked as "fails" for the time being (until bug 1269046 implements css box alignment, which we need to render that test correctly).

MozReview-Commit-ID: 8canWfXk6Kf
2016-10-31 08:58:17 -07:00
Phil Ringnalda 021e8e0cee Merge m-i to m-c, a=merge 2016-10-30 10:55:00 -07:00
Tobias Schneider 5b2ef3c1db Bug 1243846 - Implement Intersection Observer API. r=mrbkap, r=mstange 2016-10-28 10:24:00 -04:00
Jonathan Watt 82b73296ed Bug 1280324, part 3 - Fix various nsDeviceContext::CreateRenderingContext to call CreateReferenceRenderingContext instead. r=edwin 2016-10-27 19:25:01 +01:00
Ryan VanderMeulen a41f7d1058 Merge autoland to m-c. a=merge 2016-10-29 09:12:45 -04:00
David Anderson ecf530eb6f Do not paint if a BeginTransaction fails. (bug 1313770 part 1, r=mattwoodrow)
--HG--
extra : rebase_source : 482b24f52da24de87dd459ac6d003b286206e54e
2016-10-28 15:48:34 -07:00
Phil Ringnalda c38078f6a2 Backed out 12 changesets (bug 1269045, bug 1269046) as the most likely cause of Windows build bustage
CLOSED TREE

Backed out changeset 16db55b642a9 (bug 1269046)
Backed out changeset a0008dd33cf4 (bug 1269046)
Backed out changeset 75b58c4e61e6 (bug 1269046)
Backed out changeset fb7655f3e1cf (bug 1269046)
Backed out changeset 8088e5a9e6e3 (bug 1269046)
Backed out changeset eea6479452f0 (bug 1269046)
Backed out changeset eb4b52bf06ec (bug 1269046)
Backed out changeset 539db74e4a88 (bug 1269046)
Backed out changeset f57f9ac1435e (bug 1269045)
Backed out changeset 2162d5c9fb54 (bug 1269045)
Backed out changeset 7aa8199183fc (bug 1269045)
Backed out changeset 86a391e3e163 (bug 1269045)

MozReview-Commit-ID: HYL7Bh8l02E
2016-10-27 21:59:00 -07:00
Daniel Holbert eae095e697 Bug 1269045 part 4: Drop now-obsolete parameter from anonymous flex/grid-item wrapping functions. r=mats
MozReview-Commit-ID: 5rGemcMMOhl
2016-10-27 18:58:26 -07:00
Daniel Holbert 5b242f67d2 Bug 1269045 part 3: Stop wrapping placeholder frames in anonymous flex items. r=mats
This patch also:
 * Removes some now-unnecessary code from nsFlexContainerFrame, which was for jumping from wrapped-placeholders to their out-of-flow frames (for DOM comparisons). This code is now unnecessary because placeholders won't be wrapped anymore.
 * Updates some reftests with abspos content to match the updated spec's expectations, with one marked as "fails" for the time being (until bug 1269046 implements css box alignment, which we need to render that test correctly).

MozReview-Commit-ID: 8canWfXk6Kf
2016-10-27 18:58:26 -07:00
Wes Kocher dcffb6b66c Backout revision 111c1227f51e (bug 1243846) for test_intersectionobservers.html failures on android a=backout CLOSED TREE
--HG--
extra : histedit_source : deadf3597a7fdb80b5836c4588516dfb4a06445b%2C5de29fcbccbf12173908822681f6f789186bd3bf
2016-10-27 14:16:10 -07:00
Tobias Schneider aa61833e3d Bug 1243846 - Implement Intersection Observer API. r=mrbkap, r=mstange
--HG--
extra : rebase_source : de93bbd5bdecddc2cbf30b57de0fabfe1e4806c3
2016-10-26 22:04:00 -04:00
Adam Velebil 389406c473 Bug 1313565 - Convert NS_STYLE_WINDOW_DRAGGING_* to enum class ; r=manishearth,xidorn
MozReview-Commit-ID: 7I7Z4q7mLtC

--HG--
extra : rebase_source : 23ce3fddb26424aa42aea93cfdf6fc123926fe18
2016-10-29 10:51:05 +02:00
Adam Velebil 9260566b60 Bug 1313565 - Convert NS_STYLE_USER_MODIFY_* to enum class ; r=manishearth,xidorn
MozReview-Commit-ID: IA4bGLgRxd6

--HG--
extra : rebase_source : 6632c53a96df170e8604d65b351f7ee2717ec9ec
2016-10-23 22:41:49 +02:00
Hiroyuki Ikezoe 4999550c29 Bug 1311196 - Part 3: Adjust fill mode to fill forwards for all animations on the compositor. r=birtles
MozReview-Commit-ID: DsIrWoxci0X

--HG--
extra : rebase_source : 559edb1756cf13b2677cabcc18321825c9fd8e4c
2016-10-26 17:19:38 +09:00
Carsten "Tomcat" Book 9031c83f32 Merge mozilla-central to autoland 2016-10-26 17:14:27 +02:00
Mantaroh Yoshinaga ed9cb5c860 Bug 1287983 part 5 - Clarify the function name of creating transition. r=hiro
MozReview-Commit-ID: AW5qD8uBQxf

--HG--
extra : rebase_source : 5cc8b81bec1db0b40b420bc539f03f6307879cb0
2016-10-19 15:16:52 +09:00
Carsten "Tomcat" Book 1895ce466b Backed out changeset eb2606332cb8 (bug 1198381) 2016-10-25 12:32:54 +02:00
Carsten "Tomcat" Book 59a29b8b1c merge mozilla-inbound to mozilla-central a=merge 2016-10-25 10:31:03 +02:00
Jessica Jong e732e68921 Bug 1310076 - Add 'datetime-local' to the list of valid types attributes for <input>. r=smaug 2016-10-24 03:35:00 +02:00
Xidorn Quan 131121fc77 Bug 1311598 part 3 - Add include ServoBindings.h to files need it. r=heycam
MozReview-Commit-ID: 3fI0bt4p8Jd

--HG--
extra : rebase_source : 86fa88f15183d1503c92044afca3e86649ec2523
extra : source : 5acc7cffb73234e2664c31f8283fa8a50f0be1b5
2016-10-24 20:16:46 +11:00
Jeremy Chen aee90be343 Bug 1286468 followup - Fix naming issues.
MozReview-Commit-ID: C2PDA4R5k5F
2016-10-24 15:01:25 +08:00
Adam Velebil e7dddd42f0 Bug 1312173 - Convert NS_STYLE_USER_INPUT_* to an enum class; r=manishearth,xidorn
MozReview-Commit-ID: sYiJrZryrA

--HG--
extra : rebase_source : dbb7bae56bea6203176097af8de119cae0a6391c
2016-10-23 00:08:18 +02:00
Jeremy Chen 349eabf2f7 Bug 1286468 - Rename line related functions in nsBlockFrame. r=TYLin
1. Rename these functions to agree with Mozilla coding style.
2. Use singular naming instead of plural naming since each of these functions
returns an iterator pointing to a singular line.
3. Rename line() and rline() to BeginLineFrom() and RBeginLineFrom(), which
shall improve the readability.

MozReview-Commit-ID: txZjVnv9Yb

--HG--
extra : rebase_source : b4dae99ab7bf751bd9974616f8f8e6dfe6248fc2
2016-10-22 19:41:05 +08:00
Jeremy Chen a670e3349a Bug 1286468 - Rename line related typedefs in nsBlockFrame. r=TYLin
MozReview-Commit-ID: Cz9R3D4NzMc

--HG--
extra : rebase_source : 19da1e2a58abedf61fddd9c8e314830cf81a4602
2016-10-22 19:41:04 +08:00
Markus Stange c143496596 Bug 1312130 - Remove nsDisplayMathMLCharBackground and use nsDisplayBackgroundColor / Image instead. r=mattwoodrow
MozReview-Commit-ID: 4htHnUIGyk3

--HG--
extra : rebase_source : d3959d1f8084c0ab73aa56d179a277ec1516ad4a
2016-10-21 21:13:28 -04:00
Markus Stange 0f52e39563 Bug 1312123 - Remove some unused display item types. r=mattwoodrow
MozReview-Commit-ID: 1gDkqppF4R2

--HG--
extra : rebase_source : 507a5362a882b9301ae8add1d6448e0c5a503780
2016-10-21 17:19:49 -04:00
Ryan VanderMeulen 75888fe1aa Merge autoland to m-c on a CLOSED TREE. a=merge 2016-10-21 17:12:27 -04:00
Ryan VanderMeulen 5c4d7020f2 Merge m-c to inbound. a=merge 2016-10-21 11:08:45 -04:00
Ting-Yu Lin 7c761e8be7 Bug 1309445 - Convert FrameConstructionItemList::mItems to use mozilla::LinkedList. r=dholbert
The major change to the Iterator is due to the fact that the end of a
LinkedList is represented by nullptr.

Also delete the type conversion functions which are no longer needed.

MozReview-Commit-ID: 2lYtFW9pSon

--HG--
extra : rebase_source : c822e937679e57a9f2d3ab034e5147fc3aea9e8e
2016-10-18 15:50:27 +08:00
Ting-Yu Lin a8da0f6a97 Bug 1311277 Part 3 - Use LinkedList's move assignment in FCItemIterator::AppendItemsToList. r=froydnj
MozReview-Commit-ID: LLF519q9gcG

--HG--
extra : rebase_source : 161f0583f6b3e9d61532f29bc68d9c78daa5d6cb
2016-10-19 13:56:12 +08:00
Jessica Jong 41f4e7423a Bug 1304761 - add contextmenu event to the delayed event queue if it's suppressed. r=smaug 2016-10-19 01:58:00 +02:00
Bobby Holley 062d98f178 Bug 1292729 - Style text nodes on the main thread. r=heycam
MozReview-Commit-ID: CroFtWpuIrO
2016-10-25 20:10:04 -07:00
Andreas Farre 3aecf57375 Bug 1198381 - Implement the requestIdleCallback feature, r=froydnj,mattwoodrow,smaug
Expose requestIdleCallback on Window and implement running callbacks
in idle periods by posting rICs to the main threads idle queue.

MozReview-Commit-ID: KSYQsyaZ6is

--HG--
extra : rebase_source : 6abd41c2de96b39004f1b2c3c740e81de570970c
2016-08-22 14:52:45 +02:00
Andreas Farre 1380385c69 Bug 1198381 - Implement the requestIdleCallback feature, r=froydnj,mattwoodrow,smaug
Expose requestIdleCallback on Window and implement running callbacks
in idle periods by posting rICs to the main threads idle queue.

MozReview-Commit-ID: KSYQsyaZ6is

--HG--
extra : rebase_source : 4bdd578b654d05cab600489d30d859452d1bc888
2016-08-22 14:52:45 +02:00
Cameron McCormack 74fdb2a2bf Bug 1288302 - Part 5: Make nsStyleImage use nsStyleImageRequest. r=bholley
This makes background-image, mask-image and border-image settable
from Servo.

Since imgRequestProxy resolution in nsStyleImages can now happen later than
at computed value setting time, and that resolution can fail,
nsStyleImage::GetImageData() might now return null.  So all of the users of
nsStyleImage now null check its result.

MozReview-Commit-ID: FMRUrC3SfOs
2016-10-20 08:36:25 +08:00
Cameron McCormack 0387dc2875 Bug 1288302 - Part 2: Pass ImageTracker to style struct image tracking methods instead of nsPresContext. r=xidorn
MozReview-Commit-ID: AsGfXliHLRf
2016-10-20 08:36:16 +08:00
Kris Maglione a6c6580702 Bug 1294442: Part 1 - Allow calculating content size with constraints. r=smaug
MozReview-Commit-ID: 4AyootQ5icK

--HG--
extra : rebase_source : 8d2421263e7636c99cecd1f7cf9dda2da20be6f3
2016-10-19 13:10:18 -07:00
Neil Deakin 918a9cbcbe Bug 1301673, use css pixels for the drag region, add each rectangle to the clip region so that tree drag feedback in drawn properly, r=tn 2016-10-19 15:01:39 -04:00
Neil Deakin 68ac95182c Bug 1301673, use device pixels for the supplied drag position and the computed dragrectangle, r=tn 2016-10-19 15:01:39 -04:00
Xidorn Quan 3c3f76a8e1 Bug 1309868 part 2 - Use const nsIContent pointer in some layout utils. r=heycam
MozReview-Commit-ID: 5GMave4FS48

--HG--
extra : source : 60d203eaa11b53f14a8c3736498f991d8e3615b1
2016-10-18 15:29:03 +11:00
Carsten "Tomcat" Book d6850a3a86 merge mozilla-inbound to mozilla-central a=merge 2016-10-17 11:19:02 +02:00
Andrea Marchesini 9215b7b957 Bug 1307122 - Introducing a timeout for sync XHR when unload events are dispatched, r=smaug 2016-10-16 08:46:10 +02:00
Jorg K 4bb58198d9 Bug 1263357 - When the caret is placed after visible line break, associate caret with frame on the next line instead. r=mats
--HG--
extra : amend_source : a0068b0c841189204e07cc6c0a19f83d5dac8da3
2016-10-14 14:21:00 -04:00
Dhanesh B. Sabane a2ef7b10a8 Bug 1308137 - Remove code around IBMBIDI_SUPPORTMODE_*. r=xidorn
MozReview-Commit-ID: 96g2DBfpfX9

--HG--
extra : rebase_source : e8a299ab8ca6af6e93cf29ab9351282076e2aa1d
2016-10-16 18:05:17 +05:30
Wes Kocher 727d0de706 Merge m-c to inbound, a=merge CLOSED TREE 2016-10-14 14:51:44 -07:00
stefanh@inbox.com 3a689f8b9a Bug 1192053 - Implement NS_THEME_MAC_SOURCE_LIST_SELECTION and NS_THEME_MAC_ACTIVE_SOURCE_LIST_SELECTION. r=mstange. 2016-10-14 22:45:29 +02:00
Stone Shih ba4920de67 Bug 1307707 - Part 2: [Pointer Event] Remove redundant member variable PointerCaptureInfo::mPrimaryState. r=masayuki
MozReview-Commit-ID: 4YoGKiAjxth

--HG--
extra : rebase_source : e742fd430b9e2203bbb82f43147bd7799fdac164
2016-10-14 10:16:39 +08:00
Stone Shih ad4a2218e7 Bug 1307707 - Part 1: [Pointer Event] Refine pointer events related codes with modern our style. r=masayuki
MozReview-Commit-ID: 1aRwP7FsiB0

--HG--
extra : rebase_source : 9b63b22c4356d02ce3ae49996cdb10e53b9ab43c
2016-10-05 15:16:02 +08:00
Hiroyuki Ikezoe 9df227139a Bug 1223658 - Part 8: Drop nsLayoutUtils::HasActiveAnimationOfProperty. r=birtles
MozReview-Commit-ID: 3uI5wQoviqK

--HG--
extra : rebase_source : a0e81fb9e33e33fd9eefa42b12d777ddfd418965
2016-10-14 19:14:12 +09:00
Hiroyuki Ikezoe ca0f6e0ff5 Bug 1223658 - Part 5: Send animations to compositor even though it's in delay phase. r=birtles
To send animations to compositor in the delay phase we need to
modify Animation::IsPlaying returning true in the delay phase.

Note about background-position-in-delay.html:
After this patch, background-position animation also creates an active layer
from its delay phase.

Also note about test cases in test_animations_omta.html:
After landing bug 1279071, getOMTAStyle() returns the style value only
specified by animations, also in this patch we don't apply any opacity or
transform values in the delay phase, as a result we can't tell animating
value during delay phase on the compositor.

MozReview-Commit-ID: ILYKig3c08d

--HG--
extra : rebase_source : 5715c1f9ec43da3c8374f08cdca82e2ca29fe474
2016-10-14 19:14:12 +09:00
Hiroyuki Ikezoe 949de6422d Bug 1223658 - Part 3: Consider fillMode in compositor thread as well. r=birtles
We need to consider fill mode in compositor thread as well as other properties
because pulling the animation back from the compositor thread is sometimes
delayed due to the main thread busyness.  In such situations, if there is
another animation running on the main thread on the same element, users can
easily notice a gap between both of animations.

MozReview-Commit-ID: 1i7YTWboira

--HG--
extra : rebase_source : 036ca7707d07200af7435e027607503cd03f547e
2016-10-14 19:14:11 +09:00
Hiroyuki Ikezoe d8ec730df8 Bug 1223658 - Part 2: Pass delay property to compositor. r=birtles
The check of negative elapsedDuration is basically no longer valid since
animation delay is not factored into start time any more.  But still we have
somtimes met negative elapsedDuration sice we use a previous vsync time stamp
for async animations to make the animations more sync.  This is not a problem
in most cases but makes two reftests intermitent failure because both of them
used steps(1, start), the steps(1, start) composed different results in the
before phase and in the active phase. To avoid this difference this patch
replace the steps(1, start) with steps(1, end).

Once we incorpolate playbackRate into GetCurrentOrPendingStartTime, we don't
need to call AnimationTimeToTimeStamp for deviding delay by playbackRate since
the time passed to AnimationTimeToTimeStamp does not contain delay any more.

MozReview-Commit-ID: IVE2IFfNgm0

--HG--
extra : rebase_source : 7cb42e57067c21451706bd89284016d996dc8b12
2016-10-14 19:14:01 +09:00
Carsten "Tomcat" Book b474cb6353 merge mozilla-inbound to mozilla-central a=merge 2016-10-14 11:59:12 +02:00
Kartikaya Gupta fa397ea897 Bug 1304689 - Ensure frame reconstructions don't clobber a 'stronger' scroll origin with a 'weaker' one. r=tnikkel
If, within a single refresh driver tick, the scroll position is updated by JS
explicitly, and then subsequently also updated by a frame reconstruction, the
scroll origin from the former (nsGkAtoms::other) can get clobbered by the latter
(to nsGkAtoms::restore). The restore scroll origin is "weaker" in that it can
be ignored by the APZ code in some circumstances. This is undesirable because
it means the JS scroll update also gets ignored. This patch ensures that when
setting the scroll origin we don't do this clobbering of stronger origins with
weaker origins.

MozReview-Commit-ID: DA4EHp1Debu

--HG--
extra : rebase_source : 99fd1f91698a605792b2a622450f1ff31bc89101
2016-10-11 09:36:22 -04:00
cku abdaa5d307 Bug 1309646 - Part 3. Use nsChangeHint_UpdateBackgroundPosition in position mask. r=mstange
MozReview-Commit-ID: CeLPAN8OdhF

--HG--
extra : rebase_source : cdd4808fe3b42a4cf6e610c8f106732744afe330
2016-10-13 18:35:35 +08:00
cku bba6d2557f Bug 1309646 - Part 2. Add TODO comment in nsCSSRendering::ComputeImageLayerPositioningArea. r=mstange
MozReview-Commit-ID: AX5LIKKDn92

--HG--
extra : rebase_source : 05784b2bf60df98bb633a60fd53923ee6aa1c628
2016-10-13 17:11:41 +08:00
cku e634bcc9b1 Bug 1309646 - Part 1. Narrow down the condition of invalid whole boundary. r=mstange
MozReview-Commit-ID: GWpSXAPcZAF

--HG--
extra : rebase_source : 919b694f365996d755232f47c59f16b3d06ada65
2016-10-13 16:12:24 +08:00
cku d0631c37d0 Bug 1309804 - Part 3. Fix trailing space. r=mstange
MozReview-Commit-ID: FNR08ApEG10

--HG--
extra : rebase_source : 8ea25f5554b4b32d0b7db5e52961b4228cd4d8d6
2016-10-13 15:40:47 +08:00
cku e4e5d0010d Bug 1309804 - Part 2. Split invalid region computation into nsDisplayMask & nsDisplayFilter. r=mstange
MozReview-Commit-ID: IOL7S2Y6Hhm

--HG--
extra : rebase_source : 3579f5280dbbbf8273b82b12a1b6454b712db46c
2016-10-13 15:36:48 +08:00
cku 2ecc9f55dc Bug 1309804 - Part 1. Rename nsDisplaySVGEffectsGeometry to nsDisplayMaskGeometry. r=mstange
MozReview-Commit-ID: 9RtT7kbMlbM

--HG--
extra : rebase_source : 9913549628fd0f140704f98c59510aa6526d274a
2016-10-13 15:14:50 +08:00
cku 0d557e384c Bug 1299715 - Part 6. Move ComputeMaskGeometry from nsSVGIntegrationUtils to nsDisplayMask. r=mstange
MozReview-Commit-ID: 4uLfaGDXGyE

--HG--
extra : rebase_source : f6a72f1067d32287e68b3cc7a84dd5a0c8384e1a
2016-10-11 13:12:00 +08:00
cku bedd15c17a Bug 1299715 - Part 3. Clip the target context by visible region of nsDisplayMask. r=mstange
MozReview-Commit-ID: HuqQBdY2M0O

--HG--
extra : rebase_source : c387c0b7745add2bb6bca185d2e7d91734d3e716
2016-10-07 11:47:45 +08:00
cku 2a0c6d5e7c Bug 1299715 - Part 2. Correct the value of nsDisplayMask::mVisibleRect. r=mstange
In nsDisplayItem::RecomputeVisibility, we compute and assign the value of
mVisibleRect base on the return value of nsDisplayMask::GetBounds.
Before this patch, the region of out-of-flow descendants is discarded.

MozReview-Commit-ID: JEeegiO1a6J

--HG--
extra : rebase_source : 0e66c0765d7eb7700592ab947c92a705a7281ea5
2016-10-06 17:53:19 +08:00
cku a73d4a3f35 Bug 1299715 - Part 1. Replace ContainerItemType::eSVGEffects by ContainerItemType::eFilter. r=mstange
MozReview-Commit-ID: 73mxBsY3W0p

--HG--
extra : rebase_source : 4f9ac3d5400584c7d892c56a7c8b6dbfeae8e42f
2016-10-05 23:23:40 +08:00
Sebastian Hengst f1659f19b4 Backed out changeset 221d9d15395f (bug 1299715) for failing reftest clipPath-and-mask-on-outflowElement-01a.html on Windows 8 x64. r=backout 2016-10-12 18:02:18 +02:00
Sebastian Hengst 162bba7f14 Backed out changeset aad315d1eb89 (bug 1299715) 2016-10-12 18:02:18 +02:00
Sebastian Hengst 39f37cfc06 Backed out changeset bf2428d58601 (bug 1299715) 2016-10-12 18:02:18 +02:00
Sebastian Hengst f984f3a888 Backed out changeset b91db6687d19 (bug 1299715) 2016-10-12 18:02:18 +02:00
Olli Pettay 97b9917978 Bug 1308459 - Rename RefreshDriver::PresContext() to hint about its behavior, r=tnikkel
--HG--
extra : rebase_source : 50cf1fd7f1ee052e182ae3fa84ce8648e46143cd
2016-10-12 14:27:38 +03:00
cku faa1874701 Bug 1299715 - Part 6. Move ComputeMaskGeometry from nsSVGIntegrationUtils to nsDisplayMask. r=mstange
MozReview-Commit-ID: 4uLfaGDXGyE

--HG--
extra : rebase_source : 136a87f3b23578d6a3a2cf95474463edb6a53708
2016-10-11 13:12:00 +08:00
cku 74299516a8 Bug 1299715 - Part 3. Clip the target context by visible region of nsDisplayMask. r=mstange
MozReview-Commit-ID: HuqQBdY2M0O

--HG--
extra : rebase_source : bd1bf1b7fbbd6dd660f9f8d1609e5c6c6c07a368
2016-10-07 11:47:45 +08:00
cku 5617bfd116 Bug 1299715 - Part 2. Correct the value of nsDisplayMask::mVisibleRect. r=mstange
In nsDisplayItem::RecomputeVisibility, we compute and assign the value of
mVisibleRect base on the return value of nsDisplayMask::GetBounds.
Before this patch, the region of out-of-flow descendants is discarded.

MozReview-Commit-ID: JEeegiO1a6J

--HG--
extra : rebase_source : 2adcf657f53983375ae67e5d99e1a55d563ec301
2016-10-06 17:53:19 +08:00
cku 410ad6084d Bug 1299715 - Part 1. Replace ContainerItemType::eSVGEffects by ContainerItemType::eFilter. r=mstange
MozReview-Commit-ID: 73mxBsY3W0p

--HG--
extra : rebase_source : e5fe4f2a17a43182fb32f9e7b991d16048373748
2016-10-05 23:23:40 +08:00
David Anderson bb532b0876 Add telemetry for how phases of the painting pipeline contribute to large frame times. (bug 1309442, r=mattwoodrow) 2016-10-12 20:58:04 +13:00
Phil Ringnalda 6182caa3b9 Backed out 2 changesets (bug 1278136) for failures in no-stacking-context-opacity-removing-animation-in-delay.html
Backed out changeset 62cf4a7d6007 (bug 1278136)
Backed out changeset 5f2db29e67ca (bug 1278136)

MozReview-Commit-ID: K9WcZFjL2XB
2016-10-11 20:40:36 -07:00
Hiroyuki Ikezoe d7f92dae54 Bug 1278136 - Part 5: Create a stacking context for opacity/transform animations even if it's in delay phase and even if the property is overridden by !important rules. r=birtles
This patch introduces a new functions named HasEffectiveAnimationOfProperty.
This function checks that a given CSS property is overridden by !important
rules.
On the other hand, now KeyframeEffetReadOnly::HasAnimationOfProperty() does
just check that the effect has a given CSS property.  This is used to create
a stacking context because we should create a stacking context for opacity or
transform animations even if the property is overridden by !important rules.

MozReview-Commit-ID: AG1Y0IgoB3U
2016-10-12 09:59:03 +09:00
Stone Shih 9985f4aaac Bug 1304290 - Part 2: Keep nsPresShell alive to prevent access invalid address of shell->mPointerEventTarget. r=smaug
MozReview-Commit-ID: FG8AyKEJ6Qr

--HG--
extra : rebase_source : a807b916bf2958b9c1439778600d368f40573709
extra : histedit_source : a0c38d68191016f53eeaf1e1838911b67a7e6cb2
2016-10-03 13:20:14 +08:00
Hiroyuki Ikezoe ff84f76fce Bug 1278136 - Part 5: Create a stacking context for opacity/transform animations even if it's in delay phase and even if the property is overridden by !important rules. r=birtles
This patch introduces a new functions named HasEffectiveAnimationOfProperty.
This function checks that a given CSS property is overridden by !important
rules.
On the other hand, now KeyframeEffetReadOnly::HasAnimationOfProperty() does
just check that the effect has a given CSS property.  This is used to create
a stacking context because we should create a stacking context for opacity or
transform animations even if the property is overridden by !important rules.

Note about no-stacking-context-(opacity|transform)-removing-animation-in-delay.html
Before this patch we don't create any stacking context for animations overridden
by !important rules, but after this patch we do create a stacking context for
such animations.  As a result, in the test case we did paint a stacking context
in the first rAF callback and then in the second rAF callback we did clear the
painted stacking context. Unfortunately sometimes the second rAF callback was
called prior to clear the stacking context on the compositor because of
compositor delay. To avoid this situation, we have to wait for MozAfterPaint
instead of rAF callback.

MozReview-Commit-ID: AG1Y0IgoB3U
2016-10-13 16:54:25 +09:00
Cameron McCormack c1f0ee12ba Bug 1309082 - Part 2: Rename some ImageTracker members. r=bholley
MozReview-Commit-ID: 6yOIKKl8npT

--HG--
extra : rebase_source : 247787a0e18640c878e461c4b600bc36a40bad6d
2016-10-13 15:04:19 +08:00
Cameron McCormack 58c32a9088 Bug 1309082 - Part 1: Extract image tracking from nsDocument into a separate, refcounted object. r=bholley
This is refcounted as we'll need to hold strong references to the ImageTracker
from style structs that load images.

MozReview-Commit-ID: 994gE9tOjAn

--HG--
extra : rebase_source : 2d50059e51b42251c89a92a954cef7b49720ceba
2016-10-13 15:04:15 +08:00
Kan-Ru Chen 7c1c963ca5 Bug 1301346 - Add telemetry to collect how much time was spent in handling beforeunload and unload event. r=bsmedberg,smaug
MozReview-Commit-ID: 3jCsBcDncGC

--HG--
extra : rebase_source : b382dbf89483b9aee6c1a205bfc7b20cca18af85
2016-09-09 12:06:36 +08:00
Wes Kocher d4cb3f4086 Merge m-c to autoland, a=merge 2016-12-16 16:53:06 -08:00
Botond Ballo 6aa36c0f99 Bug 1321885 - Add CSSPixel::FromAppUnits(nscoord) and CSSPixel::ToAppUnits(CSSCoord). r=kats
MozReview-Commit-ID: 8V9gjVf35bC

--HG--
extra : rebase_source : 7fc17e00fddbdbe4856c08a78729e8467a1f9571
2016-08-24 13:42:57 -04:00
Hiroyuki Ikezoe d91dbe2d3a Bug 1322382 - Add EffectCompositor::GetBaseStyle for nsIFrame. r=birtles
Currently this function is used when an nsIFrame is generated by reframing. In
reframing, we call EffectCompositor::UpdateEffectProperties, as a result, we
have to clear the base style that we resolved once. So, for such cases, we need
to re-resolve the base style with the style context that is associated with the
nsIFrame.

MozReview-Commit-ID: F90OuF44SPI

--HG--
extra : rebase_source : ef163681f49b11887d4ea546d28a9fd217251d97
2016-12-10 09:16:33 +09:00
Wes Kocher 0d3acb69a9 Backed out changeset 41f004509646 (bug 1315394) for android crashtest assertions a=backout 2016-11-11 11:17:53 -08:00
Markus Stange 28cb955754 Bug 1316719 - Apply scale to the mask layer's contents. r=mattwoodrow
MozReview-Commit-ID: 7nd3oL8bFLw

--HG--
extra : rebase_source : 936d43c69ffd530d6995839328b30f2052e25a1e
extra : histedit_source : 51e86c503451e03a9215e58a16a42e5656321ca1
2016-11-11 13:18:28 -05:00
Markus Stange b5d327f9be Bug 1316673 - Respect the scroll destination when doing asynchronous scrollIntoView. r=kats
MozReview-Commit-ID: 6sLjxUc9Df1

--HG--
extra : rebase_source : d884f2766379dfc3e2d4152f75c61b4bbc40fd72
extra : histedit_source : c374a841635442801c5403644c3db5c6bd164cb0
2016-11-10 14:32:12 -05:00
Markus Stange 3994547b42 Bug 1307242 - Add a non-blank paint telemetry probe for foreground root content documents. r=bkelly, f=bsmedberg
This adds a probe called TIME_TO_NON_BLANK_PAINT_MS which reports time to
non-blank paint for root content documents whose docshell was active for the
entire time between navigation start and first non-blank paint.

MozReview-Commit-ID: 7JQdk5vHr1O

--HG--
extra : rebase_source : 66be2aab4c4a32d20fb44c88c5270c5b5cfc0b81
extra : histedit_source : 5d6bef86d4a2a2250405d24ce28c6bfd9d654f8d
2016-11-10 14:26:54 -05:00
Markus Stange 39097a49f3 Bug 1307242 - Call nsPresContext::NotifyNonBlankPaint when building the display list for a presshell that contains more than just canvas backgrounds. r=mattwoodrow
MozReview-Commit-ID: LLmt3ooMxL3

--HG--
extra : rebase_source : db3eb7cfa534b2b7312047871d4ae4fb97061b03
extra : histedit_source : 1b2896f78b23897b8fef235dbc215ae2e3416745
2016-11-09 22:46:26 -05:00
Markus Stange 22f951e2b3 Bug 1307242 - Add infrastructure for measuring time to non-blank paint. r=bkelly
MozReview-Commit-ID: LZBQOvKZYes

--HG--
extra : rebase_source : 4bf315aab5b663fbc82b11d1961b7a6e98800d6d
extra : histedit_source : 02c003a780c0ba217d17f1c009252217010dd84e
2016-11-10 16:00:45 -05:00
Bobby Holley 05c3b6e81a Bug 1315394 - stylo: stop unconditionally marking the root node as dirty in PresShell::Init. r=heycam
MozReview-Commit-ID: 66gJWIZl0wo
2016-11-11 09:13:06 -08:00
Timothy Nikkel 92f8b1dea2 Bug 1309982. Check if presshell is destroying before proceeding to do more work in PresShell::ReconstructFrames. r=mats
PresShell::Destroy calls destroy on the frame constructor/manager, which clears it's local presshell pointer, thus causing us to crash.
2016-10-20 16:42:16 -05:00
Daniel Holbert 0b7b1fc98b Bug 1309119 part 3: Change nsCSSFrameConstructor to use nsFlexContainerFrame::IsLegacyBox instead of its own less-complete version. r=mats
MozReview-Commit-ID: 5sElULdTkOT
2016-10-20 13:23:51 -07:00
Matt Woodrow 3001df0422 Bug 1314193 - Early return in PresShell::Paint if BeginTransaction fails. r=dvander 2016-11-01 13:23:33 +13:00
Emilio Cobos Álvarez 4eff4ca3e9 Bug 1314161: stylo: Don't try to recreate style contexts for non-element and non-text nodes. r=bholley
Signed-off-by: Emilio Cobos Álvarez <ecoal95@gmail.com>

MozReview-Commit-ID: 4qvF2T7BR4h
2016-11-01 11:25:02 +01:00
cku ca4fc9245c Bug 1310575 - Part 2. Implement nsDisplayFilter::ComputeInvalidationRegion. r=mstange
Bring back ShouldInvalidateToSyncDecodeImages check in
nsDisplayFilter::ComputeInvalidationRegion.
nsSVGIntegrationUtils::PaintFilter might be failure if the filter is not ready.
That is, effectProperties.HasValidFilter() returns false. So we still need that
check.

MozReview-Commit-ID: B4Lv5qZlHRr

--HG--
extra : rebase_source : 99a02e8d9401ce144a004795a4b3f4e5f505afb1
2016-10-28 11:31:08 +08:00
cku 5c0dd57b39 Bug 1310575 - Part 1. Have a new base class for nsDisplayMaskGeometry and nsDisplayFilterGeometry. r=mstange
Use nsDisplayMaskGeometry, created by nsDisplayMask, in nsDisplaySVGEffects,
which is the parent class of nsDisplayMask) is odd.
So create a base class for both nsDisplayMaskGeometry and
nsDisplayFilterGeometry. Use this base class in nsDisplaySVGEffects's code.

MozReview-Commit-ID: G3FLybT1pQp

--HG--
extra : rebase_source : c8d2f5f122a9888adaba7d309f95cea6b957ee3e
2016-10-26 15:55:32 +08:00
Cameron McCormack 13f86cd932 Merge backout. 2016-11-01 08:43:23 +08:00
Cameron McCormack 02f1de5bbd Back out a0488e9c0024..5ebcedea1fa5 (bug 1288302 and bug 1310463) for Talos RSS regressions.
MozReview-Commit-ID: JB5uwDeO0We
2016-11-01 08:42:49 +08:00
Andi-Bogdan Postelnicu 29e18f24c8 Bug 1308877 - prevent null pointer dereference in PresShell::HandleEvent. r=smaug
MozReview-Commit-ID: E4tdcyUCxpU

--HG--
extra : rebase_source : 5bde36c19aba84735800ca8eed76f3350851fa8a
2016-10-10 13:44:03 +03:00