CJKu
e9520b431c
Bug 1273068 - Part 1. nsDisplayBackgroundColor::GetOpaqueRegion should respect bg-clip value r=jfkthame
...
MozReview-Commit-ID: BJWYoA8UQvJ
--HG--
extra : rebase_source : 58ce148d5fd84717e5721303f629c2e17516f6e8
2016-05-16 22:31:02 +08:00
Matt Woodrow
7727334a3e
Bug 1141468 - Don't report that we need component alpha for svg filters, since text within it will never have subpixel-AA. r=mstange
...
--HG--
extra : rebase_source : 18572157a0ef1ebb20dba9b7d903d788c31fbd09
2016-05-18 15:14:38 +12:00
Matt Woodrow
654125d823
Bug 1141468 - Clean up prerendering code in nsDisplayTransform to be easier to follow. r=mstange
...
--HG--
extra : rebase_source : ae9ded54e633e2ebffaeb8fef0b47a2d041dab1f
2016-05-18 15:12:44 +12:00
Matt Woodrow
4258a918f0
Bug 1141468 - Don't attempt to modify prerender state (for will-change) in nsDisplayTransform since it's already too late. r=BenWa,mstange
...
--HG--
extra : rebase_source : 62e38ec1e4fbfa4f92a008e16a85a7db5691b7ed
2016-05-18 15:12:14 +12:00
Moritz Brunner
f9f6b3c538
Bug 732733 - Resize drag image relative to the available screensize. r=jimm
...
--HG--
extra : rebase_source : 121170788742da505aada578a663b40ed05d838e
2016-05-13 06:48:00 -04:00
firefox@hindlemail.co.uk
94f266f4ff
Bug 1263288 - Make GetFrameForNodeOffset return a sibling frame for frameless content. r=mats
...
This fixes missing caret problems.
Also changed GetFrameForNodeOffset to be non recursive to prevent possibly of
large stack frame.
2016-05-11 15:28:45 -06:00
Kartikaya Gupta
b9e4a263e3
Bug 1270019 - Add a SetRestoreResolution API for fennec's SessionRestore to use. r=rbarker
...
MozReview-Commit-ID: 7WqmgAkFItQ
2016-05-17 14:50:08 -04:00
Andi-Bogdan Postelnicu
bac65649ef
Bug 1273123 - removed unused variable |mRestoringHistoryScrollPosition|. r=dbaron
...
MozReview-Commit-ID: 6JDCk7tFKo6
--HG--
extra : rebase_source : f71628d64fe4f8260da3582e21c58f99dcaade31
2016-05-17 09:51:05 +03:00
Kartikaya Gupta
6637b49101
Bug 1271432 - Optimization to avoid recomputing the same Matrix over and over. r=tnikkel
...
MozReview-Commit-ID: 28lV5ZRswxu
2016-05-17 11:05:46 -04:00
Kartikaya Gupta
9fe9512858
Bug 1271432 - When combining event regions across layers, don't expand the regions that shouldn't be expanded. r=tnikkel
...
MozReview-Commit-ID: 6GlYiJAm7rO
2016-05-17 11:05:46 -04:00
Botond Ballo
364c95341e
Bug 1272525 - Set a layer clip rather than a scroll clip for fixed background layers if not using a widget layer manager. r=mstange
...
MozReview-Commit-ID: 2fJyQXSLzsU
--HG--
extra : source : 8a282bae4fa3451efb3187d695ce0d523262acfd
extra : amend_source : 2e3d55a4cee03f6c3c58fe85e98f87a034f2bd39
extra : histedit_source : f6d5b5bfa98795824c0968065011b9ff4a4a6f5d
2016-05-16 14:15:48 -04:00
Masayuki Nakano
3359bad586
Bug 1254755 part.1 Rename WidgetKeyboardEvent::keyCode to WidgetKeyboardEvent::mKeyCode r=smaug
...
And also WidgetKeyboardEvent::mKeyCode should be compared with NS_VK_* rather than nsIDOMKeyEvent::DOM_VK_*.
MozReview-Commit-ID: IKjQ1nr8XYe
--HG--
extra : rebase_source : 83125cd2523f6b70759f621470aad23b00aae8ae
2016-05-12 17:13:49 +09:00
Bob Owen
757e385a15
Bug 1189846 Part 3: Remove CreatePrintSettings nsIPrintOptions and use GetNewPrintSettings instead. r=jimm
...
MozReview-Commit-ID: Esv5zYxpKVo
2016-05-16 10:40:54 +01:00
Hiroyuki Ikezoe
00e2f46aeb
Bug 1268385 - Clear isRunningOnCompositor for script animations if associated nsIFrame is destroyed. r=birtles
...
MozReview-Commit-ID: 3tTkDtxkHcT
--HG--
extra : rebase_source : 388f548cb30f5384cceb620a595dd10b5fd22e4e
2016-05-16 16:25:46 +09:00
Kan-Ru Chen
c5d6a959b2
Bug 1261612 - Allow <iframe mozbrowser> in chrome doc to use transparent attribute. r=smaug
...
MozReview-Commit-ID: JjiPKnw95pS
2016-05-16 10:56:09 +08:00
Kan-Ru Chen
d5e601ce6f
Bug 1261612 - Remove TabChild::IsRootContentDocument and related methods. r=smaug
...
MozReview-Commit-ID: 2ms1lBfimfv
2016-05-16 10:56:07 +08:00
Chris Peterson
8a9e2d2bd4
Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium
2016-05-14 00:54:55 -07:00
Chris Peterson
353ee65255
Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium
2016-05-11 00:00:01 -07:00
CJKu
ffc22638a9
Bug 1269971 - Part 5. Correct draw region in nsDisplayBackgroundColor::Paint; r=jfkthame
...
MozReview-Commit-ID: LV8lP6NuV85
--HG--
extra : rebase_source : 43a33cf310b644daf55676962c4f5e9ce510e0af
2016-05-13 00:09:16 +08:00
CJKu
31d52bc0c4
Bug 1269971 - Part 3. Handle selection text color and selection backgrond painting; r=jfkthame
...
MozReview-Commit-ID: CQmqiCmvygr
--HG--
extra : rebase_source : 271b8d2aae82c02678637bcbbb3a77bc7c5b43f8
2016-05-13 00:08:53 +08:00
CJKu
b901424670
Bug 1269971 - Part 2. From ClipBackgroundByText to GenerateAndPushTextMask; r=jfkthame,mtseng
...
MozReview-Commit-ID: 1PK2Huytq3i
--HG--
extra : rebase_source : 71f3e70694d874d5d575b12f882980544b1931e2
2016-05-13 00:08:41 +08:00
CJKu
ea85bf6191
Bug 1269971 - Part 1. Rename IsForGenerateGlyphPath to IsForGenerateGlyphMask; r=jfkthame
...
MozReview-Commit-ID: 80DZsEAvXxB
--HG--
extra : rebase_source : 2b6205ad119265679b28d06056c3b433aab445c8
2016-05-13 00:08:30 +08:00
Masayuki Nakano
b2a210c268
Bug 1259661 part.8 Rename WidgetMouseEvent::ignoreRootScrollFrame to WidgetMouseEvent::mIgnoreRootScrollFrame r=smaug
...
MozReview-Commit-ID: 98G9UMv4qqj
--HG--
extra : rebase_source : e3fed10d5d7b8b3a714e279457192e9f0bc703df
2016-05-10 21:15:05 +09:00
Masayuki Nakano
1663e01f1f
Bug 1259661 part.6 Rename WidgetMouseEvent::exit to WidgetMouseEvent::mExitFrom r=smaug
...
MozReview-Commit-ID: FHUaUOE5eIB
--HG--
extra : rebase_source : f4ff5a5f662054ab161805dc37b9e7b6d6b97d96
2016-05-12 11:42:08 +09:00
Masayuki Nakano
2d6e9e3d48
Bug 1259661 part.5 Rename WidgetMouseEvent::context to WidgetMouseEvent::mContextMenuTrigger r=smaug
...
MozReview-Commit-ID: GDAAHiyRrhY
--HG--
extra : rebase_source : fe7e3a658192f13f6458f664b35d5937925eca13
2016-05-12 11:39:05 +09:00
Masayuki Nakano
0902859a3a
Bug 1259661 part.4 Rename WidgetMouseEvent::reason to WidgetMouseEvent::mReason r=smaug
...
MozReview-Commit-ID: JaE0S7BIgVF
--HG--
extra : rebase_source : 2d0f80e49dfd09cecc7ab3c85d2496308055d434
2016-05-12 11:36:41 +09:00
Phil Ringnalda
c6417cc01e
Back out 5 changesets (bug 881832) for failures in browser_html_tooltip-02.js
...
Backed out changeset 117e8e24d714 (bug 881832)
Backed out changeset 8a0d5df41cfb (bug 881832)
Backed out changeset 6b3c5e185b04 (bug 881832)
Backed out changeset 11106afdcbe7 (bug 881832)
Backed out changeset d711b7c19a43 (bug 881832)
2016-05-11 21:08:08 -07:00
Seth Fowler
0b1e158092
Bug 1259281 - Mark frames NONVISIBLE if their pres shell is inactive or frozen. r=mstange
2016-05-11 19:27:29 -07:00
Seth Fowler
55f8a34cb9
Bug 1269937 - Manage updating visible frames and regions using RAII. r=mstange
2016-05-11 19:27:28 -07:00
Seth Fowler
298a9f9d69
Bug 1269935 - Replace PresShell::DecVisibleCount() with a general map function. r=mstange
2016-05-11 19:27:28 -07:00
Seth Fowler
1678f1d3bb
Bug 1269934 - Handle visible frame sets more generically in PresShell. r=mstange
2016-05-11 19:27:27 -07:00
Seth Fowler
40f1aa269b
Bug 1269931 - Send visible region updates for pres shells associated with nested views. r=botond
2016-05-11 19:27:27 -07:00
Mats Palmgren
e04a74ec14
Bug 881832 - Make inner document reflow asynchronous. r=tnikkel
...
--HG--
extra : rebase_source : 9987e19e3318d5bc58ac8214496893041bc1775c
2016-05-12 12:07:45 +12:00
Matt Woodrow
a93f3b746c
Bug 881832 - When flushing changes made by :hover style, make sure we also flush any pending changes on child documents. r=dbaron
...
--HG--
extra : rebase_source : 70d8e5f6805809fc8770f37932873b1ade7b0946
2016-05-12 12:06:38 +12:00
Matt Woodrow
175d6d32b1
Bug 881832 - Specify whether the height has changed when calling PresShell::ResizeReflow, since the PresContext size might have already been updated. r=dbaron
...
--HG--
extra : rebase_source : 05e6b4100b881848c78a5323d5ada4b65cf9963e
2016-05-12 12:06:11 +12:00
Botond Ballo
0c3f8a3e7d
Bug 1267438 - Remove the (no longer used) isClipFixed=false annotation. r=mstange
...
MozReview-Commit-ID: LicG7zFHnX3
--HG--
extra : rebase_source : 1b39fcb34403dfa92f19100b3a59c3f550d52ff1
extra : source : 2bf1247f574319f27f570bb372a71d6a826ab1fb
extra : histedit_source : cc75a6e848225552adb9b3148ca4e2bb87b94f80
2016-05-04 20:07:42 -04:00
Botond Ballo
11c0c8ea42
Bug 1267438 - For fixed backgrounds, use the scrolled clip rather than the isClipFixed=false annotation. r=mstange
...
MozReview-Commit-ID: 9STe7ypglpP
--HG--
extra : rebase_source : c8ed350bc1eb9a0aecb47b9e81730162deeaaf87
extra : source : 4aa07089ce57c4e66e6f4f4cacc915118ea39429
extra : histedit_source : cdc3f82d57dc231ff148e35ab40c2dd197947ad4
2016-05-06 19:02:26 -04:00
Botond Ballo
de687339fd
Bug 1267438 - Support adding ancestor mask layers from places other than SetupScrollingMetadata. r=mstange
...
MozReview-Commit-ID: DwdbSRdEMEc
--HG--
extra : rebase_source : 703ff74d56cecf0546457ff8940265f97a3331cc
extra : source : 1c8e4840f8b40b7e02b9274e446e278e8c907053
extra : histedit_source : 6efd4834b4ec52a6d57a05bdd9529cf39a7669a4
2016-05-06 19:34:16 -04:00
Botond Ballo
0702a1f217
Bug 1267438 - Group ScrollMetadata's optional clip rect and mask layer index into a LayerClip structure. r=mstange
...
MozReview-Commit-ID: 6W0GZYkioov
--HG--
extra : rebase_source : f99b4c8bd571fd82ddd7e6121caac57b13c380f7
extra : source : b802e4ef209948f307565f2ba750b2fbd340bcb6
extra : histedit_source : 016fe1d78bde06feeb483446fdfb508448573d72
2016-04-29 16:14:21 -04:00
Neil Deakin
405358d4b3
Bug 1101975, handle access keys in content process before menus, r=masayuki
2016-05-11 08:56:42 -04:00
Boris Zbarsky
08254285a1
Bug 1190641
part 2. Add the sandboxed modals flag to iframe sandboxing. r=ckerschb
...
Automated testing for this seems rather difficult; I've done manual testing.
2016-05-06 13:56:36 -04:00
Boris Zbarsky
b84ac31e14
Bug 1271521. Add a sane way of temporarily disabling dialogs on a window. r=smaug
...
What we have right now is not very usable, because you can only enable/disable
on the scriptable top of the window, but it's not at all obvious that this is
the case when using the API.
2016-05-10 20:57:29 -04:00
Mason Chang
376575c614
Bug 1267260 - Change CanvasImageCache to lookup cache images based on imgIContainer instead of imgIRequest. r=seth
...
--HG--
extra : rebase_source : 872ee783a05d0319ed69ce3c494dbf2a3206e26d
2016-05-10 08:00:06 -07:00
Matt Woodrow
daea81cf90
Bug 1251644 - Snap object-contain fit if we were going to reduce the size by less than one css pixel. r=seth
2016-04-07 18:51:45 +12:00
Sotaro Ikeda
9eab898cc6
Bug 1252405 - Reduce MaskLayer's memory usage r=mattwoodrow
2016-05-10 03:18:11 -07:00
Robert Longson
4236a89dfc
Bug 1260032 - drop support for altGlyph as a tspan. r=cam r=peterv (DOM Peer)
2016-05-10 10:02:20 +01:00
Botond Ballo
810a495c93
Backed out 12 changesets (bug 1267438) for Android reftest failures on a CLOSED TREE. r=backout
...
MozReview-Commit-ID: LlibhRhbyVO
--HG--
extra : rebase_source : 6e2e52316ff4ef777b2a63ce5fb6ffc172623e40
2016-05-10 04:27:31 -04:00
Carsten "Tomcat" Book
8b1468cc35
Backed out changeset 51922d1ebfa1 (bug 1251644) for android reftest failures on a CLOSED TREE
2016-05-10 08:51:31 +02:00
Ryan VanderMeulen
3b7fc0b68e
No bug - Enable some e10s that pass and add some more annotations to ones that don't.
2016-05-09 17:01:16 -04:00
Matt Woodrow
f74cbd822c
Bug 1251644 - Snap object-contain fit if we were going to reduce the size by less than one css pixel. r=seth
...
--HG--
extra : rebase_source : 1ee6fbfbed92c16f4fb21535455af3737c02d9f8
2016-05-10 13:25:20 +12:00
Matt Woodrow
fec269f78c
Bug 1270797 - Differentiate between nsDisplayBlendContainers created for mix-blend-mode and background-blend-mode. r=mstange
2016-05-10 12:48:59 +12:00
Botond Ballo
89c6c3b097
Bug 1267438 - Remove the (no longer used) isClipFixed=false annotation. r=mstange
...
MozReview-Commit-ID: LicG7zFHnX3
--HG--
extra : rebase_source : 0e4d3a86f2fbc4b88126a346c938c8f9fd67bf4b
extra : histedit_source : 0b785c0881d1bf4ed5f7c991574d8d7033b71bfc
2016-05-04 20:07:42 -04:00
Botond Ballo
c0f4837a5f
Bug 1267438 - For fixed backgrounds, use the scrolled clip rather than the isClipFixed=false annotation. r=mstange
...
MozReview-Commit-ID: 9STe7ypglpP
--HG--
extra : rebase_source : 9324a8487cc52ab66b0ab9bc510e8261288381c9
extra : histedit_source : f945314ddfbe35ba5615ec5a417b967ade448a93
2016-05-06 19:02:26 -04:00
Botond Ballo
a5f375a42f
Bug 1267438 - Support adding ancestor mask layers from places other than SetupScrollingMetadata. r=mstange
...
MozReview-Commit-ID: DwdbSRdEMEc
--HG--
extra : rebase_source : 07cfbb871a15404d7d4766aea0b8f8387e42f67b
extra : histedit_source : 66dc2ae14acf2ae399e810785ccd7ee51550445d
2016-05-06 19:34:16 -04:00
Botond Ballo
8699c362f8
Bug 1267438 - Group ScrollMetadata's optional clip rect and mask layer index into a LayerClip structure. r=mstange
...
MozReview-Commit-ID: 6W0GZYkioov
--HG--
extra : rebase_source : c46d0d27145df9b268e70ab5aed67c8c64df9433
extra : histedit_source : 016fe1d78bde06feeb483446fdfb508448573d72
2016-04-29 16:14:21 -04:00
L. David Baron
91233fe6f4
Bug 1271015 patch 1 - Add mechanism for testing the number of elements restyled. r=heycam
...
This is useful for writing tests that test particular optimizations,
such as that a particular operation doesn't cause restyles. It sits
next to similar counters for frames constructed and frames reflowed.
I also snuck in a preference for the less-expensive mPresContext over
the more expensive mFrame->PresContext() (which dereferences multiple
pointers).
(Originally written for work I planned to be part of bug 1189598.)
MozReview-Commit-ID: 8PN7nwLJG9r
2016-05-09 11:26:35 -07:00
CJKu
a4e3f835fa
bug 1270795 - do not generate any background items in glyph path generating process; r=jfkthame
...
MozReview-Commit-ID: GbhxyY93Vur
--HG--
extra : rebase_source : 2eb309017fe2dcc33424de81eecdf4405cd38334
2016-05-07 00:47:01 +08:00
Hiroyuki Ikezoe
4030f03992
Bug 1258904 - Part 4: Set performance warning for small content. r=birtles
...
MozReview-Commit-ID: 7GyGkPog1Bo
--HG--
extra : rebase_source : c296a35c433af547fe4dd800ec8c8abd3bdba339
2016-05-07 17:37:58 +09:00
Hiroyuki Ikezoe
95f4a2736f
Bug 1258904 - Part 2: nsDisplay(Opacity|Transform)::GetLayerState should return LAYER_ACTIVE_FORCE if they have async animations to avoid flattening the layers. r=mattwoodrow
...
MozReview-Commit-ID: 16QtFJBX97W
--HG--
extra : rebase_source : 3d53df451a5695dcb5967dc3e9723efef36af556
2016-05-07 17:37:57 +09:00
Hiroyuki Ikezoe
bce5aea131
Bug 1258904 - Part 1: Don't create layers for compositor animations if the layer size is less than 16x16. r=mattwoodrow
...
MozReview-Commit-ID: Kb26GeYYr9D
--HG--
extra : rebase_source : ea38aedf3eeb329d86fb1387e8b19ed32ae69ba7
2016-05-07 17:37:57 +09:00
Cameron McCormack
53c4d9df37
Bug 1270956 - Stub out some ServoRestyleManager methods. r=bholley
2016-05-06 14:19:57 -07:00
Wes Kocher
462fc252b3
Backed out 3 changesets (bug 1190641
) for failures in test_dialogArguments.html and test_iframe_sandbox_modal.html
...
Backed out changeset ef1d1a433415 (bug 1190641
)
Backed out changeset b037f2642082 (bug 1190641
)
Backed out changeset 733eacd2ed13 (bug 1190641
)
--HG--
extra : rebase_source : 218cf6d49e6f71742da7c69cf42b0a6a355e1863
2016-05-06 12:54:16 -07:00
Markus Stange
e475933648
Bug 1266161 - Make DrawForcedBackgroundColor fill the entire draw region, not just the layer's visible region. r=mattwoodrow
...
We need to do this because the entire draw region will be added to the layer's
valid region after drawing. If there are parts in the valid region that are not
in the visible region, we still need those parts to have valid content, because
in a later frame the visible region may grow to include those parts.
MozReview-Commit-ID: 6zESYbPAmrx
--HG--
extra : rebase_source : 24078d1ff802e53a2eb8895d2c5ffd1fe9507f04
2016-05-06 13:53:56 -04:00
Boris Zbarsky
f3092cff84
Bug 1190641
part 2. Add the sandboxed modals flag to iframe sandboxing. r=ckerschb
...
Automated testing for this seems rather difficult; I've done manual testing.
2016-05-06 13:56:36 -04:00
Kartikaya Gupta
ec6390b365
Bug 1264592 - When doing thumbnails for fennec, don't mark frames as painted because it can interfere with tests. r=mstange
...
MozReview-Commit-ID: KOhZZV3aSLv
--HG--
extra : rebase_source : 80e39ca63cf3b3c54b6adcc8bac23bcd148467f9
2016-05-06 10:31:11 -04:00
Nathan Froyd
efbd9a9b65
Bug 1263197 - part 2 - remove temporary variable in nsPresContext's constructor; r=dholbert
...
In the upcoming patch to disable logging, we're going to conditionally
turn MOZ_LOG_TEST into a constant false. But for this instance of
MOZ_LOG_TEST in nsPresContext, turning it into a constant means that
|log| becomes unused. Since |log| isn't used after this point, let's
move the |gfxPlatform::GetLog| call into the MOZ_LOG_TEST call, removing
the temporary variable, and making the compiler happy.
2016-05-06 09:11:17 -04:00
Makoto Kato
833bf3893a
Bug 1261012 - Check whether nsIObserverService is nullptr. r=smaug
...
During shutdown, mozilla::services::GetObserverServie will return nullptr. So we should check it. Add another nullptr check
MozReview-Commit-ID: 9xBbltRatJF
--HG--
extra : rebase_source : a859de09f30eeba344c317aec4cf4ed2cce8da2b
extra : histedit_source : 325aba902eff367d046807e9be3a73ad3100ee67
2016-04-27 19:10:11 +09:00
L. David Baron
608d04db2f
Bug 1270626 - Don't leave an unhandled ErrorResult and assert when media query listeners throw exceptions. r=bzbarsky
...
I'm acting under the assumption that this is what's closest to what the
code does now, except without asserting in ~ErrorResult. It also seems
closest to what event listeners will do, both based on examining code
(EventListenerManager::HandleEventSubType, which I'm hoping is the right
code to look at, calls StealNSResult, and then stores it in a member
that's ignored by most callers) and based on testing (for both click
events, and for media query listeners with this patch, the exception
gets reported to the console as an unhandled exception). That said, I'm
not particularly well versed in the current error handling rules so I
may well be off here.
This code should presumably go away when we change this code to use
EventListeners in bug 1265622, so I don't think there's any spec that
covers this.
Without the patch, the mochitest hits the fatal assertion (after
reporting hitting the expected uncaught exception). With the
patch the test passes. (Tested locally.)
MozReview-Commit-ID: 5kxp6jzGzX8
--HG--
extra : transplant_source : n%B4%AE%99D%FB%B9NM%C0%A2%F0%D4%B7%8C%E7%DE4E%60
2016-05-05 21:33:47 -07:00
Ben Tian
88d03021fb
Bug 1263116 - Stop throwing for DOMTokenList's.contains() when using empty string or ASCII whitespace, r=baku
2016-05-05 18:07:22 +08:00
Kyle Huey
941ab1f522
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-05-05 01:45:00 -07:00
Markus Stange
dcc87ebff1
Bug 1227327 - Make fieldset frames build nsDisplayBackgroundImage items. r=mattwoodrow
...
Fieldsets break up their border so we need to disable the willPaintBorder optimization for them.
MozReview-Commit-ID: 2zmlxVRLIqe
***
--HG--
extra : rebase_source : 0735ea7651803769721d109d52ca83cddad65aa7
2016-04-28 14:09:06 -04:00
Markus Stange
7a09990486
Bug 1227327 - Allow specifying a background rect for background dislay items. r=mattwoodrow
...
MozReview-Commit-ID: 5X6FJYRCnWt
--HG--
extra : rebase_source : 990d5724e70858525ebd5732e184b96e1c75d7f3
2016-05-04 14:14:23 -04:00
Markus Stange
0aa0fa1e2b
Bug 1227327 - Invalidate table parts and MathML frames when background-position changes on them. r=dbaron
...
Theoretically we should do the same for nsTreeBodyFrame, but that frame type is
harder to detect and I'm not sure it's worth adding code to support updating
background-position on XUL trees.
MozReview-Commit-ID: 8HPT53MX6bO
--HG--
extra : rebase_source : 1e84e83616832debe8f6da394630a5a2e014e7df
2016-04-28 13:01:22 -04:00
Phil Ringnalda
f74761a568
Back out 6 changesets (bug 1227327) for Android reftest failures in 942672-1.html, background-position-2b.html and background-position-2c.html
...
CLOSED TREE
Backed out changeset c9b0ba301426 (bug 1227327)
Backed out changeset c857ad1fa01c (bug 1227327)
Backed out changeset 4ba58cd94310 (bug 1227327)
Backed out changeset 30e394faeb23 (bug 1227327)
Backed out changeset ce7fd04cc749 (bug 1227327)
Backed out changeset e0fe45294034 (bug 1227327)
2016-05-03 21:49:07 -07:00
Kartikaya Gupta
65f5105de7
Bug 1269539 - Ensure that the scroll position is restored properly on reloading a page which loads incrementally. r=tnikkel
...
MozReview-Commit-ID: 1qVA5yU7a7g
--HG--
extra : rebase_source : 032336d7552ece6dbeafa4eb07eceb7ed2a096ba
2016-05-03 10:40:20 -04:00
CJKu
184c33c9c4
Bug 1265715 - followup - Correct dirty region; r=me
...
MozReview-Commit-ID: 5iI8Cg5wry6
2016-05-04 03:55:26 +08:00
Markus Stange
4fdd26bfa9
Bug 1227327 - Make fieldset frames build nsDisplayBackgroundImage items. r=mattwoodrow
...
Fieldsets break up their border so we need to disable the willPaintBorder optimization for them.
MozReview-Commit-ID: 2zmlxVRLIqe
***
--HG--
extra : rebase_source : 5ae32cc1b9b7eadf4b28f6b64f0cf26f50f761f7
2016-04-28 14:09:06 -04:00
Markus Stange
6231d39a7c
Bug 1227327 - Allow specifying a background rect for background dislay items. r=mattwoodrow
...
MozReview-Commit-ID: 5X6FJYRCnWt
--HG--
extra : rebase_source : da85ec302345a64424e08693f3909c185364d913
2016-05-03 15:16:11 -04:00
Markus Stange
ea8e203822
Bug 1227327 - Invalidate table parts and MathML frames when background-position changes on them. r=dbaron
...
Theoretically we should do the same for nsTreeBodyFrame, but that frame type is
harder to detect and I'm not sure it's worth adding code to support updating
background-position on XUL trees.
MozReview-Commit-ID: 8HPT53MX6bO
--HG--
extra : rebase_source : 1e84e83616832debe8f6da394630a5a2e014e7df
2016-04-28 13:01:22 -04:00
Xidorn Quan
2bb1280ba1
Bug 1267568 part 4 - Replace InFullscreenChange flag of PresShell with IsResizeSuppressed flag in RefreshDriver. r=smaug
...
MozReview-Commit-ID: FB3vGXwKZ9O
--HG--
extra : source : 84878dbedf8c2efe2221d7562fd69a7c4cf20971
2016-05-03 17:58:57 +10:00
Xidorn Quan
1327931cba
Bug 1267568 part 2 - Add helper method to nsIPresShell to get the RefreshDriver. r=smaug
...
MozReview-Commit-ID: Cxbmr2CVXJz
--HG--
extra : source : fbf8cd895abbb69d3b5d3c2b3afe36984db5f985
2016-05-03 17:58:57 +10:00
Phil Ringnalda
5387bf0160
Back out 6 changesets (bug 1227327) for failures in est_fixed_bg_scrolling_repaints.html
...
Backed out changeset 529ff32ced48 (bug 1227327)
Backed out changeset b726c30c4290 (bug 1227327)
Backed out changeset 5453b1ce4e85 (bug 1227327)
Backed out changeset 462dc0904d05 (bug 1227327)
Backed out changeset 1515512d3731 (bug 1227327)
Backed out changeset 2276fc059bf7 (bug 1227327)
2016-05-02 22:23:10 -07:00
Markus Stange
1a6baf6d28
Bug 1227327 - Make fieldset frames build nsDisplayBackgroundImage items. r=mattwoodrow
...
Fieldsets break up their border so we need to disable the willPaintBorder optimization for them.
MozReview-Commit-ID: 2zmlxVRLIqe
***
--HG--
extra : rebase_source : 8093b69502ad849a4b8bb6d254967a6051f1909d
2016-04-28 14:09:06 -04:00
Markus Stange
2fc65c65af
Bug 1227327 - Allow specifying a background rect for background dislay items. r=mattwoodrow
...
MozReview-Commit-ID: 5X6FJYRCnWt
--HG--
extra : rebase_source : 334ea74abc71041246fcf9cbf25ff642c9e92b67
2016-04-27 17:39:25 -04:00
Markus Stange
6ae2cdbdd0
Bug 1227327 - Invalidate table parts and MathML frames when background-position changes on them. r=dbaron
...
Theoretically we should do the same for nsTreeBodyFrame, but that frame type is
harder to detect and I'm not sure it's worth adding code to support updating
background-position on XUL trees.
MozReview-Commit-ID: 8HPT53MX6bO
--HG--
extra : rebase_source : 1e84e83616832debe8f6da394630a5a2e014e7df
2016-04-28 13:01:22 -04:00
Aryeh Gregor
f14f1babe8
Bug 1193762 part 8 - Fix things that will break; r=froydnj
...
It looks like VC++ doesn't like comparisons of nsCOMPtr to 0 after this
change, but those are bad style anyway, so I removed them from
TestCOMPtr.cpp instead of trying to make them work.
2016-05-01 21:29:23 +03:00
Aryeh Gregor
f7bc47d59b
Bug 1193762 part 7 - Use .get() when assigning to variables; r=froydnj
...
Unlike when returning an nsCOMPtr in a ternary operator or passing to a
function, I used .get() here, since the operation is actually unsafe and
deserves to be marked explicitly.
2016-05-01 21:29:23 +03:00
Mats Palmgren
7364d9ac57
Bug 842853 - Follow-up to fix a test typo. r=me
2016-05-01 00:38:32 +02:00
Kartikaya Gupta
0858e31ab6
Bug 1268195 - When restoring a scroll position outside of incremental load, don't keep trying in a loop - just do it once and stop. r=tnikkel
...
It may be that when the frame is reconstructed after load, the frame gets shorter,
and the old scroll position cannot be restored, because it is out of bounds. In
such a case, we don't want to keep mRestorePos tracking the old scroll position,
because it can get incorrectly applied on a future frame reconstruction. Instead,
for scroll position restorations during frame reconstructions, we just try the
restore once and then clear mRestorePos.
MozReview-Commit-ID: BHoJHz0mGmf
2016-04-29 23:06:18 -04:00
Markus Stange
45015d5109
Bug 550426 - Use background-position-x/y in ActiveLayerTracker. r=dbaron
...
MozReview-Commit-ID: 4gBWTOLfX0i
--HG--
extra : rebase_source : b89a35fef04ed990d67c05ebd79528d9c4b4462b
2016-04-20 23:34:46 -04:00
Wes Kocher
6521757101
Backed out 10 changesets (bug 550426) for failures in browser_css_autocompletion.js
...
Backed out changeset 6ff2e12738ca (bug 550426)
Backed out changeset 10ee68fd318e (bug 550426)
Backed out changeset 324f4f602730 (bug 550426)
Backed out changeset 81306e78ccaa (bug 550426)
Backed out changeset 44b820f6fb3d (bug 550426)
Backed out changeset 987b6ff7262e (bug 550426)
Backed out changeset d505646974c7 (bug 550426)
Backed out changeset 2162ecc18859 (bug 550426)
Backed out changeset 1a030aba3acc (bug 550426)
Backed out changeset 3655883e7faf (bug 550426)
MozReview-Commit-ID: AlUihrLtlhL
--HG--
rename : layout/reftests/backgrounds/background-position-6b.html => layout/reftests/backgrounds/background-position-6.html
2016-04-29 14:47:43 -07:00
Markus Stange
1dbcb6b940
Bug 550426 - Use background-position-x/y in ActiveLayerTracker. r=dbaron
...
MozReview-Commit-ID: 4gBWTOLfX0i
--HG--
extra : rebase_source : bbda2f43f1cb2430a93c86b03a1f94cc4a1a932f
2016-04-20 23:34:46 -04:00
Carsten "Tomcat" Book
ba3fe0975c
Backed out changeset 85ce8cb0639a (bug 1268313)
...
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Cameron McCormack
3aadcf811c
Bug 1268404 - Part 1: Split out ResolveStyleForText from ResolveStyleForNonElement and pass in the text node. r=bholley
2016-04-29 14:01:44 +10:00
Cameron McCormack
2617364266
Bug 1268390 - Part 1: Factor out most of nsStyleSet::AddDocStyleSheet for re-use. r=bholley
2016-04-29 14:01:44 +10:00
Daniel Holbert
774f83d738
Bug 1030952 part 3: Add a frame property to allow flex container to impose a different main-size on a flex item for aspect ratio calculations. r=mats
...
MozReview-Commit-ID: HZylbVhO1Iv
2016-04-28 20:17:02 -07:00
Kyle Huey
48a594a09e
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-04-28 14:08:25 -07:00
Mantaroh Yoshinaga
240de53183
Bug 1134163 - Part1.Modify animationstart event timing in order to fire event after end of pending task. r=birtles
...
MozReview-Commit-ID: 8BwLRIKe1kV
--HG--
extra : transplant_source : %B0%C7f%92pi%E9cR%A8%A7%D2%EB%AEF0%A9%278%1E
2016-04-28 16:29:12 +09:00
Ting-Yu Lin
f24a9b7431
Bug 1266782 - Use RefPtr to hold document and selection in ExtendPhoneNumberSelection. r=mats
...
MozReview-Commit-ID: 3zAgKt7r8TO
--HG--
extra : rebase_source : 1ee468762812a955a41908bd0ce7f4b41aee8859
2016-04-28 13:59:39 +08:00
Matt Woodrow
8a17b3e85d
Bug 1266380 - Don't try to untransform visible regions for inactive perspective layers. r=thinker
2016-04-28 17:05:46 +12:00