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

50538 Коммитов

Автор SHA1 Сообщение Дата
Carsten "Tomcat" Book 50dfc69f35 merge mozilla-inbound to mozilla-central a=merge 2016-05-13 11:59:20 +02:00
L. David Baron d097996b85 Bug 1111440 - Replace -moz- prefixed logical margin/padding/border properties with their standard versions. r=heycam
This patch was generated by the command:
  find . -name "*.css" -exec sed -i -f mozpropsub {} \;
in the root of a mozilla-central tree, with the file mozpropsub
containing the contents:
s/-moz-padding-end\>/padding-inline-end/g
s/-moz-padding-start\>/padding-inline-start/g
s/-moz-margin-end\>/margin-inline-end/g
s/-moz-margin-start\>/margin-inline-start/g
s/-moz-border-end\>/border-inline-end/g
s/-moz-border-end-color\>/border-inline-end-color/g
s/-moz-border-end-style\>/border-inline-end-style/g
s/-moz-border-end-width\>/border-inline-end-width/g
s/-moz-border-start\>/border-inline-start/g
s/-moz-border-start-color\>/border-inline-start-color/g
s/-moz-border-start-style\>/border-inline-start-style/g
s/-moz-border-start-width\>/border-inline-start-width/g

While I didn't manually review all the changes, I did review the list of
files, and manually reviewed the changes in the files that I thought
were more interesting.

Note that there are a few tests that should be fixed up as well, but
I'll do that in a later patch.

MozReview-Commit-ID: EiQTuuV0MNQ
2016-05-12 22:19:58 -07:00
Masayuki Nakano 3e4ceded8b Bug 1259661 part.9 Rename WidgetMouseEvent::clickCount to WidgetMouseEvent::mClickCount r=smaug
MozReview-Commit-ID: 5tC8UqcfLek

--HG--
extra : rebase_source : a336f9d8676c74804e2c00eebec4f2a30d7a11b3
2016-05-10 23:29:14 +09: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
Seth Fowler 180fb0583d Bug 1268348 - Pass the previous visibility state to OnVisibilityChange(). r=mstange 2016-05-11 19:27:27 -07:00
Xidorn Quan 7af86ba4a3 Bug 1270009 - Ensure CSSPROPS_FOR_SHORTHAND_SUBPROPERTIES is type-safe. r=heycam
MozReview-Commit-ID: 3QntFmOGTFR

--HG--
extra : source : d2e238129cb2e0c042cf10e1db55ea8be5ab9b4f
2016-05-12 10:28:56 +10:00
Matt Woodrow 62f3ec6605 Bug 881832 - Fix hover_helper to handle that multiple resizes due to :hover oscillation are now coalesced and don't fire resize events. r=dbaron
--HG--
extra : rebase_source : 806449975140c30fca612d647605b953b3511e00
2016-05-12 12:08:31 +12: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
Cameron McCormack 4ca33888b2 Bug 1271869 - Rename NS_STYLE_TEXT_ALIGN_DEFAULT to NS_STYLE_TEXT_ALIGN_START. r=dholbert 2016-05-11 14:03:34 +10:00
Cameron McCormack f9bc9c5fd4 Bug 1271510 - Part 2: Improve nsStyleOutline::CalcDifference to make better use of mActualOutlineWidth. r=dholbert 2016-05-11 14:03:34 +10:00
Cameron McCormack 8e8681cc48 Bug 1271510 - Part 1: Rename nsStyleOutline::mCachedOutlineWidth to mActualOutlineWidth. r=dholbert 2016-05-11 14:03:34 +10:00
Ben Tian 1d3df2ccde Bug 1261499 - Make nsContentUtils::AddScriptRunner return void, r=khuey 2016-05-06 16:09:03 +08:00
Timothy Nikkel bf94e2fc4e Bug 1261752. Part 3. r=mats 2016-05-10 22:58:47 -05:00
Ryan VanderMeulen e6b875b2de Bug 1252405 - Add fuzz to bg-fixed-child-mask.html for Windows e10s D2D. r=sotaro 2016-05-10 22:23:29 -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
Mason Chang a708ef285b Bug 1270640 - Part 2: Reftest fuzzing for skia on OS X due to hinting changes. r=lsalzman
--HG--
extra : rebase_source : f9f041a45eb9833009ab650962cf712b3e8c238a
2016-05-09 12:38:00 -04:00
Peter Van der Beken 5c9bb43e9d Bug 1267186 - Split lookup of WebIDL DOM class names from lookup of DOMCI DOM class names. r=bz.
--HG--
extra : rebase_source : 073ec0857b63df3e2ecef43ef3b982f2e1be2d24
2016-05-09 17:08:31 +02:00
Cameron McCormack 74881f45fe Bug 1271168 - Part 1: Remove nsPresContext arg from nsStyleOutline::RecalcData. r=bholley 2016-05-08 20:22:00 +02: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
Hiroyuki Ikezoe 64599f507d Bug 1223658 - Part 1: Drop ExtractComputedValueForTransition. r=birtles,dholbert
MozReview-Commit-ID: I4SMwcv30YL
2016-05-10 18:39:37 +09: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
Xidorn Quan f355ff0241 Bug 1269976 part 2 - Add nsCSSPseudoElements::IsEnabled() and make GetPseudoType take CSSEnabledState. r=heycam
MozReview-Commit-ID: K3uFwojy6FZ

--HG--
extra : rebase_source : b4a671f8d97b1d11696c375d9af790ea27ccf0ca
extra : source : d458585bd00bbe6a503bfb0f1072c632b8f0e26f
2016-05-10 18:44:05 +10:00
Xidorn Quan 9a12bfd9db Bug 1269976 part 1 - Move CSSPseudoElements_flags to a static array in nsCSSPseudoElements. r=heycam
MozReview-Commit-ID: HWMuRrakCia

--HG--
extra : rebase_source : 7867601d650dd6dee92e7f7f922a47f0d357d6bd
extra : source : 8b27cbd442385900df9935c82c726167e489cdc8
2016-05-10 18:44:05 +10:00
Xidorn Quan 6a72181520 Bug 1269975 part 4 - Make nsCSSPseudoClasses::GetPseudoType() take CSSEnabledState rather than two bool params. r=heycam
MozReview-Commit-ID: Xh50g9hsH9

--HG--
extra : rebase_source : 7d1a2b5259f8c041c08536293f49b73071b428d7
extra : source : 4d400db27c134019063306fe5b5ef7d02c275af0
2016-05-10 18:44:05 +10:00
Xidorn Quan ab52eeed12 Bug 1269975 part 3 - Make some static arrays in nsCSSPseudoClasses.cpp static members of the class. r=heycam
MozReview-Commit-ID: 4CRtDgiYKnO

--HG--
extra : rebase_source : 8a2f2c0c9e5f89845cb782fb29d9d31837e9b281
extra : source : dda3412d88716504c8a5205fcced7cadbb140c74
2016-05-10 18:44:05 +10:00
Xidorn Quan 7b7ddfc469 Bug 1269975 part 2 - Rename nsCSSParser::PropertyEnabledState() to EnabledState(). r=heycam
MozReview-Commit-ID: 4JESxsOYN4w

--HG--
extra : rebase_source : 14ba06f00d51f51309367b99039d7c5a4c5d8f9a
extra : source : b52bff89c494a5411557e8a2ab7332862736c0b5
2016-05-10 18:44:05 +10:00
Xidorn Quan fa7ba2cb82 Bug 1269975 part 1 - Move nsCSSProps::EnabledState to a top level enum class mozilla::CSSEnabledState. r=heycam
MozReview-Commit-ID: 3KH5cqDFzUI

--HG--
extra : rebase_source : 3c8355f7807982152a16a913b31cbcdd6ef78030
extra : source : 73e89d25a34ca5587f306b848b0b801342f9432f
2016-05-10 18:44:05 +10: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 f514ed495c Backed out 4 changesets (bug 1269975) for bustage.
Backed out changeset a55ecedea260 (bug 1269975)
Backed out changeset 5321545b938c (bug 1269975)
Backed out changeset 7e4a2ee61ef3 (bug 1269975)
Backed out changeset d181f8e7e4c3 (bug 1269975)
2016-05-10 00:08:54 -04: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
Ryan VanderMeulen 937594f842 Backed out changesets 4e949692600a and 6f7ecae8e663 (bug 1269976) for bustage. 2016-05-09 23:58:49 -04:00
Xidorn Quan 05db7e1bc8 Bug 1269976 part 2 - Add nsCSSPseudoElements::IsEnabled() and make GetPseudoType take CSSEnabledState. r=heycam
MozReview-Commit-ID: K3uFwojy6FZ

--HG--
extra : source : 9828f687af13af0d4e220ea440692b29cf14dcd0
2016-05-10 13:36:25 +10:00
Xidorn Quan 85ca906802 Bug 1269976 part 1 - Move CSSPseudoElements_flags to a static array in nsCSSPseudoElements. r=heycam
MozReview-Commit-ID: HWMuRrakCia

--HG--
extra : source : fca40d54c5270d09642f329267809fb3f7447c60
2016-05-10 13:36:25 +10:00
Xidorn Quan 438b9dea89 Bug 1269975 part 4 - Make nsCSSPseudoClasses::GetPseudoType() take CSSEnabledState rather than two bool params. r=heycam
MozReview-Commit-ID: Xh50g9hsH9

--HG--
extra : source : 5455ce61582ef7c98a24f587a9212113487db984
2016-05-10 13:36:25 +10:00
Xidorn Quan 9869ec38a9 Bug 1269975 part 3 - Make some static arrays in nsCSSPseudoClasses.cpp static members of the class. r=heycam
MozReview-Commit-ID: 4CRtDgiYKnO

--HG--
extra : source : 3e9cd355be9c476c52984ed789695c3c794d4e49
2016-05-10 13:36:25 +10:00
Xidorn Quan 9e9f009050 Bug 1269975 part 2 - Rename nsCSSParser::PropertyEnabledState() to EnabledState(). r=heycam
MozReview-Commit-ID: 4JESxsOYN4w

--HG--
extra : source : b52bff89c494a5411557e8a2ab7332862736c0b5
2016-05-10 13:36:25 +10:00
Xidorn Quan 30a6d76b26 Bug 1269975 part 1 - Move nsCSSProps::EnabledState to a top level enum class mozilla::CSSEnabledState. r=heycam
MozReview-Commit-ID: 3KH5cqDFzUI

--HG--
extra : source : 73e89d25a34ca5587f306b848b0b801342f9432f
2016-05-10 13:36:25 +10:00
Boris Zbarsky 59de5a530f Bug 1270349 part 5. Use LegacyUnenumerableNamedProperties instead of passing flags to GetSupportedNames to determine whether named props on DOM proxies should be reflected in ownPropertyKeys. r=peterv 2016-05-09 22:25:40 -04:00
Boris Zbarsky 76180fb5a7 Bug 1270349 part 4. Use LegacyUnenumerableNamedProperties instead of NameIsEnumerable() calls to determine whether named props on DOM proxies should be enumerable. r=peterv 2016-05-09 22:25:40 -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
Matt Woodrow 6811eb7ee7 Bug 1271058 - Use Layers effective opacity for determining if it is opaque. r=mstange 2016-05-10 12:42:57 +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 d7641eeef2 Bug 1271015 patch 2 - Add tests for things not happening (optimizations) in response to media query changes. r=heycam
This adds a few basic tests for expectations of when we do and don't
restyle, construct frames, and reflow in response to changes of media
queries.  They don't give us a lot of coverage, but often the tiny bits
of coverage at the beginning are the most useful.

In general, I'd like us to have more tests for specific optimizations,
i.e., for specific things that we expect not to happen in certain cases.
The elementsRestyled, framesConstructed, and framesReflowed getters on
DOMWindowUtils are a good way to make such measurements for a number of
things in layout; that's why I added them.

(Inspired a bit by bug 1259641.)

MozReview-Commit-ID: JFtlPO1eyoD
2016-05-09 11:26:35 -07: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 b11e2e12ee Bug 1270795 - Crash test; r=jfkthame
MozReview-Commit-ID: CPnOAyuc6hp

--HG--
extra : rebase_source : 2586233eb9d8e931260510efbff94ae351247308
2016-05-07 00:47:13 +08: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
Andreas Tolfsen 90edca9757 Bug 1123506 - Update references to __webDriverArguments; r=automatedtester
__marionetteParams was renamed to __webDriverArguments.

MozReview-Commit-ID: 9t1skl5MESf
2016-05-09 16:08:27 +01:00
Carsten "Tomcat" Book 98f0a3271a Backed out changeset d385df62c0e7 (bug 1267186) for hazard failures 2016-05-09 13:40:01 +02:00
Peter Van der Beken b6c1e074c2 Bug 1267186 - Split lookup of WebIDL DOM class names from lookup of DOMCI DOM class names. r=bz.
--HG--
extra : rebase_source : 324cf124544c0ffe2ad2ceccbed397d5069d1435
2016-03-09 15:48:12 +01:00
L. David Baron 5aafe1d979 Bug 567283 patch 4 - Support #rgba and #rrggbbaa colors in CSS. r=xidorn
This adds support for #rgba and #rrggbbaa colors to CSS.  This feature
is specified in https://drafts.csswg.org/css-color-4/#hex-notation .

This adds new types to nsCSSValue so that we can serialize the syntax
that was specified, as we do for other distinctions in how colors are
specified.

It does not change the behavior of the hashless color quirk, which
continues to support only 3 and 6 digit colors as specified in
https://quirks.spec.whatwg.org/#the-hashless-hex-color-quirk (step 4).

This changes property_database.js to remove various uses of 4 and 8
digit colors as invalid values.  It then adds them in slightly fewer
places as valid values, but more thoroughly testing both initial and
non-initial values on 'color'.

It marks two canvas tests explicitly testing this feature as no longer
known to fail by removing their .ini files.

Finally, it adjusts the web platform test testing the hashless color
quirk to no longer treat 4 and 8 digit colors with hashes as invalid
values.  Removing the relevant test items seems like the right thing
since they're in a section where 3 and 6 digit colors were skipped but
other lengths were tested.  Modifying this imported test is OK since:
  <jgraham> dbaron: Commit the change you want to m-c, it is
    (semi-)automatically upstreamed every so often (typically
    about once a week)

MozReview-Commit-ID: IFq4HxaRkil
2016-05-08 22:16:42 -07:00
L. David Baron 9ee89fe42f Bug 567283 patch 2 - Rename NS_HexToRGB to NS_HexToRGBA and add parameter saying whether 4 and 8 digit colors are allowed. r=xidorn
This patch tells all callers to use the existing behavior, so it is
intended not to change behavior.  Callers that will be modified in later
patches are marked with "FIXME" comments that will be removed in those
later patches (patches 3 and 4).

MozReview-Commit-ID: FaLryfxaeHv
2016-05-08 22:16:41 -07: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
Gregory Szorc e13542b72f Bug 1271035 - Disable Places during reftests, preventing 50 GB of I/O; r=dholbert
It was a cold Friday night in San Francisco. Earlier in the day, I
informed Chris AtLee that I was going to start focusing on improving
the efficiency of Firefox automation and asked him where the biggest
capacity issues were. He said "we're hurting most on Windows tests."

As I was casually drinking a barleywine (note to reader: barleywines
are serious beers - there's nothing casual about them), I found myself
tediously clicking through Treeherder looking at logs for Windows jobs,
looking for patterns and other oddities. As I was clicking through,
something stood out to me: the sheer number of reftest jobs. I
recalled a random project I started a few years ago. Its aim was to
analyze buildbot job metadata so we could better understand where time
was spent in automation. I had mostly written off the side project as
a failure and a near complete waste of my time. Not even a stray
random thought of this project had entered my mind in the past year.
But clicking through Treeherder after a few glasses of barleywine
somehow reminded me of one of the few useful findings of that project:
reftest jobs consumed a seemingly disproportiate amount of machine time,
something like 35 or 40% IIRC of the time spent on all jobs.

Now, this finding was several years ago and almost certainly no longer
relevant. But, again, I had a few glasses of barleywine in me and was
bothered by the amount of reftest jobs and their duration, so I thought
"hey, why don't I run reftests and see why they take so long." So I
built Firefox on Windows - the platform Chris AtLee said we're "hurting
most on."

I decided to start my very casual profiling session by recording a
`mach reftest` run using Sysinternals Process Monitor. To my surprise,
it yielded a very obvious and unexpected result: the Places SQLite
database was incurring a lot of I/O. On my i7-6700K Windows 10 desktop
with a high performance SSD, `mach reftest` yielded the following:

File Time  #Events  #Reads   #Writes  RBytes        WBytes          Path
198s       980,872  243,270  669,231  7,971,471,360 20,667,084,080  places.sqlite-wal
165s       645,853  222,407  367,775  7,287,701,820 14.071,529,472  places.sqlite
  2s       377,121        1        0         32,768              0  places.sqlite-shm

The Places SQLite database accounts for 2,003,846 of the total of
3,547,527 system calls (56.49%) recorded by procmon during `mach
reftest` execution. This represents a staggering 49,997,786,732 of the
50,307,660,589 (99.38%) bytes of I/O recorded! Yes, that's 50 GB.

I reckon the reason the Places database accumulates so much I/O load
during reftests is because the reftest suite essentially loads thousands
of pages as quickly as possible. This effectively performs a stress
test against the Places history recording service.

As effective as reftests are at stress-testing Places, it adds no value
to reftests because reftests are testing the layout features, not the
performance of history recording. So these 2M system calls and 50 GB
of I/O are overhead.

This commit disables Places when executing reftests and prevents
the overhead.

After this commit, `mach reftest` has significantly reduced interaction
with the Places SQLite database:

File Time  #Events  #Reads   #Writes  RBytes        WBytes         Path
0.09s          502     138       302     4,521,984      8,961,528  places.sqlite-wal
0.07s          254      20       140       524,604      8,126,464  places.sqlite
0.01s        3,289       1         0        32,768              0  places.sqlite-shm

Of the 948,033 system calls recorded with this change (26.7% of
original), 691,322 were related to I/O. The Places SQLite database
only consumed ~22MB of I/O, <0.01% of original. It's worth noting that
~half of the remaining I/O system calls are related to reftest.log,
which now accounts for the largest percentage of write I/O (only
~53 MB, however). It's worth noting that reftest.log appears to be
using unbuffered writes and is requiring an excessive amount of
system calls for writing. But that's for another bug and commit.

In terms of wall time, the drastic I/O reduction during `mach reftest`
appears to have minimal impact on my machine: maybe 30s shaved from a
~900s execution, or ~3%. But my machine with its modern SSD doesn't
struggle with I/O.

In automation, it is a different story.

I pushed this change to Try along with the base revision and triggered
4 runs of most reftest jobs. The runtime improvements in automation
are impressive. Here are the fastest reported times for various jobs:

Job                     Before      After     Delta
Linux Opt R1               31m        34m       +3m
Linux Opt R2               43m        35m       -8m
Linux Opt Ru1              40m        34m       -6m
Linux Opt Ru2              43m        37m       -6m
Linux Opt R E10s           89m        72m      -17m
Linux Debug R1             52m        40m      -12m
Linux Debug R2             49m        42m       -7m
Linux Debug R3             60m        51m       -9m
Linux Debug R4             42m        37m       -5m
Linux Debug R1 E10s        84m        72m      -12m
Linux Debug R2 E10s        97m        85m      -12m
Linux64 Opt R1             35m        24m      -11m
Linux64 Opt R2             37m        26m      -11m
Linux64 Opt Ru1            32m        29m       -3m
Linux64 Opt Ru2            37m        26m      -12m
Linux64 Opt TC R1          12m        10m       -2m
Linux64 Opt TC R2          10m         7m       -3m
Linux64 Opt TC R3          11m         9m       -2m
Linux64 Opt TC R4          11m         9m       -2m
Linux64 Opt TC R5          13m        11m       -2m
Linux64 Opt TC R6          11m         9m       -2m
Linux64 Opt TC R7           9m         8m       -1m
Linux64 Opt TC R8          11m        10m       -1m
Linux64 Opt TC Ru1         30m        25m       -5m
Linux64 Opt TC Ru2         36m        27m      -11m
OS X 10.10 Opt             31m        27m       -4m
OS X 10.10 Opt E10s        26m        25m       -1m
OS X 10.10 Debug           68m        55m      -13m
Win7 Opt R                 30m        28m       -2m
Win7 Opt Ru                28m        26m       -2m
Win7 Opt R E10S            29m        27m       -2m
Win7 Debug R               85m        76m       -9m
Win7 Debug R E10S          75m        65m      -10m
Win8 x64 Opt R             29m        26m       -3m
Win8 x64 Opt Ru            27m        25m       -2m
Win8 x64 Debug R           90m        71m      -19m
Android 4.3 API15 Opt R1   89m        71m      -18m
Android 4.3 API15 Opt R2   78m        64m      -14m
Android 4.3 API15 Opt R3   75m        64m      -11m
Android 4.3 API15 Opt R4   74m        68m       -6m
Android 4.3 API15 Opt R5   75m        69m       -6m
Android 4.3 API15 Opt R6   91m        86m       -5m
Android 4.3 API15 Opt R7   87m        66m      -21m
Android 4.3 API15 Opt R8   87m        82m       -5m
Android 4.3 API15 Opt R9   80m        66m      -14m
Android 4.3 API15 Opt R10  80m        67m      -13m
Android 4.3 API15 Opt R11  73m        66m       -7m
Android 4.3 API15 Opt R12 105m        91m      -14m
Android 4.3 API15 Opt R13  72m        59m      -13m
Android 4.3 API15 Opt R14  82m        61m      -21m
Android 4.3 API15 Opt R15  73m        62m      -11m
Android 4.3 API15 Opt R16  79m        78m       -1m

The savings total 6+ *hours* or ~15% when running all reftests. I'd
say this isn't bad for a one-line code change!

MozReview-Commit-ID: H1LkACgSpVn

--HG--
extra : rebase_source : 891a5ce8e1f6c3d70fc646f116c2f49f897ad735
2016-05-07 02:53:14 -07:00
Bobby Holley 21a222e332 Bug 1270515 - Bonus fix: Factor out unnecessary Reset calls during nsStyleCoord initialization. r=dbaron
The previous patches prevent us from generating temporaries at the affected callsites,
but this could still have benefits in other places.
2016-05-06 16:11:10 -07:00
Bobby Holley 23b53c3cad Bug 1270515 - Avoid synthesizing temporary nsStyleCoords in nsStyleSides::ToLength. r=dbaron 2016-05-06 16:11:10 -07:00
Bobby Holley e7fab38387 Bug 1270515 - Avoid synthesizing temporary nsStyleCoords in nsStyleSides::ConvertsToLength. r=dbaron 2016-05-06 16:11:10 -07:00
Cameron McCormack 53c4d9df37 Bug 1270956 - Stub out some ServoRestyleManager methods. r=bholley 2016-05-06 14:19:57 -07:00
Bobby Holley bedd733071 Bug 1270956 - Convert CSS_PSEUDO_ELEMENT_SUPPORTS_USER_ACTION_STATE assertion into a warning. r=me 2016-05-06 14:19:57 -07:00
Cameron McCormack 1bc38c297a Bug 1268759 - Make ServoStyleSet handle anonymous content incorrectly but without crashing. 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
Sebastian Hengst faffe478f6 Backed out changeset f9d3ea58c195 (bug 1267186) for static bustage in WebIDLGlobalNameHash.cpp. r=backout 2016-05-06 18:11:03 +02:00
Peter Van der Beken 827ee394ba Bug 1267186 - Split lookup of WebIDL DOM class names from lookup of DOMCI DOM class names. r=bz.
--HG--
extra : rebase_source : 5578057666186f58e434767af84fbfeac0cbdc3c
2016-03-09 15:48:12 +01: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
Cameron McCormack 0e7490d676 Bug 1270741 - Correctly resolve styles for non-elements. r=bholley 2016-05-06 00:32:00 +02:00
Astley Chen cfc3509d01 Bug 859301 : Part 4 - add w3c-css test cases. r=dbaron
MozReview-Commit-ID: ETP2Welagwc

--HG--
extra : rebase_source : 899250d3f3904fd5f3c0cc76ecc06ed41d860e0e
2016-05-06 12:01:46 +08:00
Astley Chen 844639b0ad Bug 859301 : Part 3 - unprefix test cases. r=dbaron
MozReview-Commit-ID: 6KvILd31r9Y

--HG--
extra : rebase_source : 68c820453ca2d27fda63b645cdab65dddfa90c31
2016-05-04 13:31:24 +08:00
Astley Chen d626fe0c49 bug 859301 : Part 2 - unprefix internal css files. r=dbaron
MozReview-Commit-ID: CRyp3zQxayh

--HG--
extra : rebase_source : 6b4a5d3e5292a1bdeceab37c5067c78fac69834a
2016-05-04 13:31:24 +08:00
Astley Chen b21f79d943 Bug 859301 - Part 1 - unprefix :dir. r=dbaron
MozReview-Commit-ID: EyKKRrhARI0

--HG--
extra : rebase_source : 11566e76b725d1d8ad22aed407f841c0f7a096ba
2016-05-05 18:10:57 +08:00
Bobby Holley b852e0988e Bug 1269933 - Add hooks for Servo to manipulate list-style-type. r=xidorn 2016-05-06 00:09:18 -07:00
Bobby Holley 2dfd23a1ac Bug 1269933 - Teach CounterStyles their name and remove the string member from the style structs. r=xidorn 2016-05-06 00:09:18 -07:00
Bobby Holley 7c027eb69c Bug 1269933 - Pass the builtin counter manager corresponding to the appropriate default when initializing style structs for servo. r=xidorn 2016-05-06 00:09:18 -07: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
Cameron McCormack e0e0348a4f Bug 1270374 - Create style context with correct pseudo tag in ServoStyleSet::ResolveAnonymousBoxStyle. r=bholley 2016-05-04 22:33:00 -04: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
Matt Woodrow 23ad434a74 Bug 1265237 - Clear clipping for out-of-flow frames that we are descending into but haven't stored explicit clip data for. r=mstange 2016-05-06 10:53:24 +12:00
Mike Shal 16febf4398 Bug 1269787 - Use _pretty_path instead of full path for inputs; r=glandium
We use _pretty_path when specifying the targets of generated files, so
we need to use _pretty_path for the inputs as well. Otherwise make won't
know that they refer to the same file, and result in "No rule to make
target" errors.


MozReview-Commit-ID: JTdLFbkX1J0
2016-04-29 13:43:25 -04:00
Emilio Cobos Álvarez b479a2256d Bug 1270305: stylo: Replace nsTArray to aid rust binding generation, r=bholley 2016-05-05 19:32:29 +02:00
Ryan VanderMeulen 44fcbd8a7d Bug 1266943 - Add a bit more Windows fuzz. 2016-05-05 09:33:02 -04: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
Bobby Holley 60bd9ae61b Bug 1269901 - Remove mCachedMargin. r=dbaron 2016-05-04 16:56:17 -07:00
Bobby Holley f2c9cdf0d8 Bug 1269901 - Remove mCachedPadding. r=dbaron 2016-05-04 16:56:17 -07:00
Bobby Holley 6e6e20ba47 Bug 1269901 - Refactor Helpers. r=dbaron 2016-05-04 16:56:17 -07:00
Bobby Holley a8015a6b72 Bug 1269936 - Introduce and call a runtime-wide servo initialization hook. r=heycam 2016-05-04 15:34:21 -07:00
Timothy Nikkel bab76c33fa Bug 1265577. r=mats 2016-05-04 16:12:48 -05:00
Markus Stange ebfab32e37 Bug 1227327 - Add tests. r=mattwoodrow
MozReview-Commit-ID: 6BIJJiCUedo

--HG--
extra : rebase_source : c33a071f4117c3e2e4b244ba9bec0c281413a70c
2016-05-04 14:11:05 -04:00
Markus Stange aaac8ed991 Bug 1227327 - Use regular background drawing for XUL groupbox frames. r=mattwoodrow
MozReview-Commit-ID: 7S1gdZJgBCS

--HG--
extra : rebase_source : 3576ab2662eef6ddca3e430c305c3eda18200c71
2016-04-27 17:45:21 -04: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 cd46c2a7e9 Bug 1227327 - Use regular background image display items for painting button backgrounds. r=mattwoodrow
This has multiple benefits:
 - It makes DLBI detection of background-position changes work for buttons.
 - It makes background-attachment: fixed work for button backgrounds.
 - It allows the willPaintBorder optimization to be used for button background
   drawing, which reduces the background clip to not overlap with opaque borders.

The willPaintBorder optimization requires a change to the reftest 611574-2.html.
This reftest compares backgrounds to inset box shadows. Box shadows those don't
have a willPaintBorder optimization, so we'd get different results due to the
borders - inset box shadows will bleed through the rounded corner anti-aliasing
of the border, backgrounds won't any more. So we just turn off button borders
and cover the outer edges of the borders with an outline in that reftest.

MozReview-Commit-ID: Lvx2p5szjw7
***
Cover the antialiasing in 611574-2.html with a black outline.

MozReview-Commit-ID: IHC3B7Eq72j

--HG--
extra : rebase_source : 71ae376f482d14e55820879f28b37056e1b857bf
2016-05-04 14:12:23 -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
Ryan VanderMeulen 722094b7a5 Bug 1266943 - Add a bit more Linux and Windows fuzz to the 456219-1* testcases. rs=me
--HG--
extra : rebase_source : 92d07cf220eafeb44e445bf2f1b91c645858ce4c
2016-05-04 13:37:00 -04:00
Daniel Holbert fd53b731b2 Bug 1269992: In mochitest test_clip_path_equals (for CSS transitions), don't try to pop a reference box off of the expected value when it doesn't have one. r=jwatt
MozReview-Commit-ID: K0o1y40o6Pe
2016-05-04 08:57:04 -07:00
Neil Deakin 190dbc551b Bug 1251634, release mouse capture when a context menu is opened, r=tn 2016-05-04 10:08:01 -04:00
Neil Deakin 5d2aea87d5 Bug 1266963, stop propagation before other steps, r=masayuki 2016-05-04 10:07:45 -04:00
Andi-Bogdan Postelnicu 1302887134 Bug 1267187 - added assert before doing modulo with the second argument being |num|. r=birtles
MozReview-Commit-ID: eUZeAbudib

--HG--
extra : rebase_source : 870a599119bcc7ecfef7ca89683ec61f41d6016c
2016-04-25 13:47:21 +03:00
Xidorn Quan 67093c6823 Bug 1268347 - Forbid break opportunities inside horizontal-in-vertical. r=jfkthame
MozReview-Commit-ID: K8ao3D0IE93

--HG--
extra : rebase_source : dbdd0ec230181468cacd6aec83dcf12275bd2815
2016-05-03 14:39:24 +10:00
Cameron McCormack (:heycam) e78be5f934 Bug 1270001 - Rename NS_STYLE_TEXT_TRANSFORM_FULLWIDTH to use underscores consistently. r=xidorn
This renaming helps with auto-generated code in stylo.

--HG--
extra : rebase_source : d11cf8190f7aa4a73bf63c55afc97043d7c9c159
2016-05-03 23:32:00 +02:00
Ting-Yu Lin c68250d06d Bug 1267524 followup - Revert list-initialization for array in Part 19. r=me
This revert the new C++11 syntax used in Part 19. which should fix build
errors for msvc 2013.
https://msdn.microsoft.com/en-us/library/9f53ks1w.aspx

--HG--
extra : amend_source : 95d5565f549358d26ffa7136fb4f8a1be1c66050
2016-05-04 13:35:21 +08:00
Xidorn Quan 25d88bda72 Bug 1268749 part 3 - Hide :fullscreen pseudo-class from content when unprefixed API is disabled. r=heycam
MozReview-Commit-ID: 78hlOGCDKn0

--HG--
extra : rebase_source : 3fbdf8fcde0064316b821d1ffde98e9e3f8185a1
2016-05-02 14:24:38 +10:00
Xidorn Quan 89008c7833 Bug 1268749 part 2 - Make pseudo-classes able to present conditionally like properties. r=heycam
MozReview-Commit-ID: 6D3UPQGrS71

--HG--
extra : rebase_source : e059616e5ec853c17614d119d58d3aeb5cb6c7af
2016-05-04 15:09:36 +10: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
Phil Ringnalda 6d562f3981 Back out 23bf1e82cc34 (bug 1265237) for reftest failures
CLOSED TREE
2016-05-03 19:24:33 -07:00
Matt Woodrow 071273aa13 Bug 1265237 - Clear clipping for out-of-flow frames that we are descending into but haven't stored explicit clip data for. r=mstange
--HG--
extra : rebase_source : e9f88b3e469a8afdec5c9636751a278a70ae7102
2016-05-04 12:58:01 +12:00
Matt Woodrow 76c8d4c781 Bug 1269184 - Make sure we create an nsDisplayWrapList around nsDisplayPerspective items so that the z-index of the perspective frame gets taken into account. r=mstange
--HG--
extra : rebase_source : 735c30ec166eeab19e26a78864e7626c9f00790a
2016-05-04 12:56:50 +12:00
Matt Woodrow 47cde44daf Bug 1243610 - Refactor UpdateOverflow to separate out local overflow from that contributed by descendants. r=dbaron 2016-05-04 12:27:43 +12:00
Matt Woodrow 7980b88d54 Bug 1243614 - Implement UpdateOverflow for nsMathMLContainerFrame. r=roc 2016-05-04 12:26:42 +12: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 286449b632 Bug 1227327 - Add tests. r=mattwoodrow
MozReview-Commit-ID: 6BIJJiCUedo

--HG--
extra : rebase_source : e2edbfd148b6a8cff33dd2067a9e3a246a66991f
2016-04-28 14:41:25 -04:00
Markus Stange a1808bf5af Bug 1227327 - Use regular background drawing for XUL groupbox frames. r=mattwoodrow
MozReview-Commit-ID: 7S1gdZJgBCS

--HG--
extra : rebase_source : dfebe31debd02bee286e1db851fca231dfcfc14c
2016-04-27 17:45:21 -04: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 bb440eec66 Bug 1227327 - Use regular background image display items for painting button backgrounds. r=mattwoodrow
This has multiple benefits:
 - It makes DLBI detection of background-position changes work for buttons.
 - It makes background-attachment: fixed work for button backgrounds.
 - It allows the willPaintBorder optimization to be used for button background
   drawing, which reduces the background clip to not overlap with opaque borders.

The willPaintBorder optimization requires a change to the reftest 611574-2.html.
This reftest compares backgrounds to inset box shadows. Box shadows those don't
have a willPaintBorder optimization, so we'd get different results due to the
borders - inset box shadows will bleed through the rounded corner anti-aliasing
of the border, backgrounds won't any more. So we just turn off button borders
and cover the outer edges of the borders with an outline in that reftest.

MozReview-Commit-ID: Lvx2p5szjw7
***
Cover the antialiasing in 611574-2.html with a black outline.

MozReview-Commit-ID: IHC3B7Eq72j

--HG--
extra : rebase_source : fbd7d3152b819232adfc97dd9df1481a582925c5
2016-04-29 13:16:23 -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
Brian Birtles 16e027ce5c Bug 1268858 part 3 - Make CSS Animations store computed values; r=heycam
This allows us to represent values specified using CSS variable references in
a predictable fashion.

MozReview-Commit-ID: D9KUUhCxPW4
2016-05-13 11:56:10 +09:00
Markus Stange 8ece268559 Bug 1263192 - Clip scrolled contents to the display port. r=mattwoodrow
MozReview-Commit-ID: 4Uut8OAmCAd

--HG--
extra : rebase_source : 6b32f018f671ce0028dc558fdecc43c41756e1fa
2016-05-12 18:56:24 -04:00
Brian Birtles 90fb66a530 Bug 1271904 - Rename KeyframeEffectReadOnly.getFrames() and KeyframeEffect.setFrames() to getKeyframes()/setKeyframes(); r=hiro, r=smaug
MozReview-Commit-ID: GwLLY39l1KE

--HG--
rename : dom/animation/test/css-animations/file_keyframeeffect-getframes.html => dom/animation/test/css-animations/file_keyframeeffect-getkeyframes.html
rename : dom/animation/test/css-animations/test_keyframeeffect-getframes.html => dom/animation/test/css-animations/test_keyframeeffect-getkeyframes.html
rename : dom/animation/test/css-transitions/file_keyframeeffect-getframes.html => dom/animation/test/css-transitions/file_keyframeeffect-getkeyframes.html
rename : dom/animation/test/css-transitions/test_keyframeeffect-getframes.html => dom/animation/test/css-transitions/test_keyframeeffect-getkeyframes.html
rename : testing/web-platform/meta/web-animations/keyframe-effect/setFrames.html.ini => testing/web-platform/meta/web-animations/keyframe-effect/setKeyframes.html.ini
rename : testing/web-platform/tests/web-animations/keyframe-effect/setFrames.html => testing/web-platform/tests/web-animations/keyframe-effect/setKeyframes.html
2016-05-13 09:40:52 +09:00
Markus Stange 68f8a0a260 Bug 1271112 - Check transformed gradient end points for fixed point overflow, not the size of the gradient. r=jrmuizel
The gradient on this website had, the float values of xdim and ydim were
about 7500, which is definitely representable by 16.16 fixed point values.
But the matrix had a large (> 32000) translation on it.

MozReview-Commit-ID: 1WVhZQLF99g

--HG--
extra : rebase_source : b60c5e37f7dcb94943dadfc4ac73a58e9e18f1d9
2016-05-12 17:45:38 -04:00
CJKu 3e44bcb79b Bug 1269971 - Part 7. Clean out unused things created in bug 759568; r=jfkthame
MozReview-Commit-ID: 4spLj1fgthI

--HG--
extra : rebase_source : 02261090faab2c37cf5e9c35b223832ec3af59cf
2016-05-13 00:09:39 +08:00
CJKu 2c14cf0ee3 Bug 1269971 - Part 6. Modify reftest according to the way we generate bg-clip:text; r=jfkthame
MozReview-Commit-ID: LhvH5SS0SJY

--HG--
extra : rebase_source : f1b4f885d574e478b59d3155b34491d8a5fdf277
2016-05-13 00:09:28 +08: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 39f4a65281 Bug 1269971 - Part 4. Add text stroke into text mask; r=jfkthame
MozReview-Commit-ID: IkaLMEX5q0T

--HG--
extra : rebase_source : 14ef2f4e033121873cbb51e437c3e7690c963fdb
2016-05-13 00:09:05 +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
Andrew Halberstadt aea682d7a3 Bug 1271448 - Stop saving reftest.log for |mach reftest| perf improvements, r=jgraham
In bug 1271035 gps identified disk I/O as a major cause for reftest slowness.
He was able to fix most of it, but the new highest source of I/O in reftest is
reftest.log.

To note, we were only saving reftest.log when running via mach, so this won't
impact automation in any way:
https://hg.mozilla.org/mozilla-central/file/043082cb7bd8/layout/tools/reftest/mach_commands.py#l204

I don't know why we are doing this given that the same output goes to stdout.
And as dholbert pointed out, since bug 1034290 landed, that log contains raw
structured logs, which are not at all useful for debugging. Given that it is
no longer useful and causes slowness, we should stop saving it.

If anyone wishes to keep saving to a log, they can use:
./mach reftest --log-tbpl reftest.log

If they wish this to be the default behaviour they can make a machrc (or
.machrc) in either topsrcdir, ~/.mozbuild or $MACHRC. Then add:
[alias]
reftest = reftest --log-tbpl reftest.log

MozReview-Commit-ID: A3e2X7qF90H

--HG--
extra : rebase_source : 9286e3061c068c6fef55b503017b3f4a9588be46
2016-05-09 17:53:04 -04:00
Jean-Yves Avenard e926d54268 Bug 1206637: P1. Add MediaPrefs convenience class. r=cpearce
Almost identical to gfxPrefs, with the exception that preferences can't be set (as it doesn't work with e10s anyway). The generated code size is tiny enough that we don't have to bother about having duplicates.

MozReview-Commit-ID: 5SZyscvIzzS

--HG--
extra : rebase_source : 1a2577bbe24d2d6644c3f1f5d0c47850b67fdea0
2016-05-09 14:59:02 +10:00
Daniel Holbert 0892fa8f5a Bug 1269174: Fix nsSVGViewBox::HasRect() to return false instead of using stale mBaseVal. r=longsonr
MozReview-Commit-ID: esNxaomT3D
2016-05-03 07:40:26 -07:00
Ting-Yu Lin 1c724eaebc Bug 1267524 Part 19 - Move nsStyleCoord members to initializer list. r=heycam
MozReview-Commit-ID: BOjeQGlCbV9

--HG--
extra : rebase_source : f5372e3b70812ad1777a76d8346dbdfe9913584b
2016-05-03 17:26:30 +08:00
Ting-Yu Lin fd1ce11cba Bug 1267524 Part 18 - Remove "void" from zero argument functions. r=heycam
MozReview-Commit-ID: GW6RsdgcC1j

--HG--
extra : rebase_source : bb272974662b8543bbcb177cf5bacb7bd024bee3
2016-05-03 17:26:30 +08:00
Ting-Yu Lin 2abba94f05 Bug 1267524 Part 17 - Use member initializer list for nsStyleVariables. r=heycam
MozReview-Commit-ID: Ag7VZKgrNf3

--HG--
extra : rebase_source : 4c9c01289a350579c750ed3318593ad7eaca827d
2016-05-03 17:26:30 +08:00
Ting-Yu Lin 8c8ebcd032 Bug 1267524 Part 16 - Use member initializer list for nsStyleUIReset. r=heycam
MozReview-Commit-ID: 58XpFZLLskk

--HG--
extra : rebase_source : 3bc4f084a0dc993544a4f3a248215a46bf35da51
2016-05-03 17:26:30 +08:00
Ting-Yu Lin 6107e10221 Bug 1267524 Part 15 - Use member initializer list for nsStyleUserInterface. r=heycam
MozReview-Commit-ID: KqSikZnyKd0

--HG--
extra : rebase_source : 1ce862d039331b90da0150ba025e50a6b74809ef
2016-05-03 17:26:30 +08:00
Ting-Yu Lin 49fbebcf6b Bug 1267524 Part 14 - Use member initializer list for nsStyleText. r=heycam
MozReview-Commit-ID: 2akpRSE1Kkv

--HG--
extra : rebase_source : 2c36eff15c368fbad0337463ef87de44ab6f00b0
2016-05-03 17:26:29 +08:00
Ting-Yu Lin d46088a7f8 Bug 1267524 Part 13 - Use member initializer list for nsStyleTextReset. r=heycam
MozReview-Commit-ID: GqlFSXXCSZ9

--HG--
extra : rebase_source : a85616e60ee88e913242bbfa126e8f10179e46ab
2016-05-03 17:26:29 +08:00
Ting-Yu Lin 786a0b39e8 Bug 1267524 Part 12 - Use member initializer list for nsStyleContent. r=heycam
MozReview-Commit-ID: L7kQDKfAOVb

--HG--
extra : rebase_source : d239d272c8cd1f67d860490c815cc5f793121876
2016-05-03 17:26:29 +08:00
Ting-Yu Lin 1575e0225d Bug 1267524 Part 11 - Use member initializer list for nsStyleVisibility. r=heycam
MozReview-Commit-ID: I8YHela8U4Z

--HG--
extra : rebase_source : 24572d4dd3745b1b8eef76f777043519007f4be3
2016-05-03 17:26:29 +08:00
Ting-Yu Lin b2bf598458 Bug 1267524 Part 10 - Use member initializer list for nsStyleDisplay. r=heycam
MozReview-Commit-ID: 2tW9RYNTOMD

--HG--
extra : rebase_source : 348e6be67f260c6c8e1b0a41c6e5b940f0d65ca5
2016-05-03 17:26:29 +08:00
Ting-Yu Lin d4f2f311d2 Bug 1267524 Part 9 - Use member initializer list for nsStyleColor. r=heycam
MozReview-Commit-ID: 61fklP4Ojev

--HG--
extra : rebase_source : 6721dde79f9657deee99d33ea36b747c94dc3353
2016-05-03 17:26:29 +08:00
Ting-Yu Lin 757f9e8caf Bug 1267524 Part 8 - Use member initializer list for nsStyleTableBorder. r=heycam
MozReview-Commit-ID: DO40OraGWoj

--HG--
extra : rebase_source : 78d7f004fd9494cbe773fb14d66233383b46abe6
2016-05-03 17:26:29 +08:00
Ting-Yu Lin 1d1d802deb Bug 1267524 Part 7 - Use member initializer list for nsStyleTable. r=heycam
MozReview-Commit-ID: 4WUjx8rONVt

--HG--
extra : rebase_source : efa5ddf886f1ef66bf153e88b250adf47c5c5bb4
2016-05-03 17:26:28 +08:00
Ting-Yu Lin 707e8fda33 Bug 1267524 Part 6 - Use member initializer list for nsStylePosition. r=heycam
MozReview-Commit-ID: En2yLFd0WGs

--HG--
extra : rebase_source : a5c3b466aa0dabf226f2faacefdb48a40091f560
2016-05-03 17:26:28 +08:00
Ting-Yu Lin 39663f3b8d Bug 1267524 Part 5 - Use member initializer list for nsStyleSVGReset. r=heycam
MozReview-Commit-ID: 8Lzhifb6uir

--HG--
extra : rebase_source : 659cf302e0daa0b6bf3d922594e38f0d6a5784b4
2016-05-03 17:26:28 +08:00
Ting-Yu Lin 336393cc4e Bug 1267524 Part 4.2 - Use member initializer list for nsStyleSVG. r=heycam
In the initializer list of the copy constructor, mStrokeDasharray and
mStrokeDasharrayLength are both initialized to nullptr and 0
respectively. If aSource.mStrokeDasharray has value, they're further be
set to proper values later in the function body. In this way, the two
'else' clauses can be removed.

MozReview-Commit-ID: DGybV7zFcyo

--HG--
extra : rebase_source : fe7d6e73323e226ab304d1a45e29d192cdc8f39c
2016-05-03 17:26:28 +08:00
Ting-Yu Lin 8864b85d3a Bug 1267524 Part 4.1 - Add Reset() and rewrite methods for nsStyleSVGPaint. r=heycam
Eliminate the explicit destructor / placement new calls in SetType().

MozReview-Commit-ID: 1CtjX1AEbFR

--HG--
extra : rebase_source : 85c46087bb0aa1debe08789caecf15066a0f4704
2016-05-03 17:26:27 +08:00
Ting-Yu Lin 4420a4b3a8 Bug 1267524 Part 3 - Use member initializer list for nsStyleColumn. r=heycam
MozReview-Commit-ID: 8xvVUe9QaRF

--HG--
extra : rebase_source : d065de11cde5779e4ad489dc10d4fb063a25610f
2016-05-02 11:11:45 +08:00
Ting-Yu Lin 49a65a5200 Bug 1267524 Part 2 - Use member initializer list for nsStyleXUL. r=heycam
MozReview-Commit-ID: FHb0yTvYAXR

--HG--
extra : rebase_source : 6158f8d7ec97ef93dd0ff7efedea2c0bfb65b10f
2016-05-02 11:11:45 +08:00
Ting-Yu Lin b375f10f47 Bug 1267524 Part 1 - Use member initializer list for nsStyleOutline. r=heycam
mCachedOutlineWidth was not initialized. I set it to 0.

MozReview-Commit-ID: fqaoZj1iMm

--HG--
extra : rebase_source : 54b158e52fb2600602a93c8a6921716a16b4b32b
2016-05-02 11:11:45 +08:00
Andrea Marchesini 3df261e948 Bug 1269303 - Remove RequestSync API, r=fabrice 2016-05-03 11:13:03 +02: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
Xidorn Quan 3e68c8e1d2 Bug 1097499 followup 2 - Fix metadata of tests submitted to w3c. DONTBUILD
MozReview-Commit-ID: 3CJjby828W3

--HG--
extra : source : 8703ab2933f674756d48d05a675a24b20a787408
2016-05-03 14:43:40 +10:00
L. David Baron b88cf97913 Bug 1187851 followup - Use versioned specification link to make CSSWG test system happy. No review.
Fixes "Needs Work" status in:
https://test.csswg.org/shepherd/testcase/::2760731a1e82/filter-containing-block-dynamic-1a/
https://test.csswg.org/shepherd/testcase/::2760731a1e82/filter-containing-block-dynamic-1b/
2016-05-02 21:33:44 -07:00
Xidorn Quan a5181b3238 Bug 1097499 followup - Fix metadata of tests submitted to w3c. DONTBUILD
MozReview-Commit-ID: DyUFx8i499B

--HG--
extra : source : 8c937354212f892ebac2350f65d2c0d8c83a534b
extra : amend_source : 44a298d1cd5f97617de5a4e7fcdd652af6b36d2d
2016-05-03 11:16:56 +10:00
Markus Stange ba28165566 Bug 1227327 - Add tests. r=mattwoodrow
MozReview-Commit-ID: 6BIJJiCUedo

--HG--
extra : rebase_source : 86a311c3c6b66a57246d5c4ac89455255ba399c3
2016-04-28 14:41:25 -04:00
Markus Stange 64035d7f81 Bug 1227327 - Use regular background drawing for XUL groupbox frames. r=mattwoodrow
MozReview-Commit-ID: 7S1gdZJgBCS

--HG--
extra : rebase_source : 99d4be46d60582b3c6d55b720f2fcca08458a06a
2016-04-27 17:45:21 -04: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 50c5f916d0 Bug 1227327 - Use regular background image display items for painting button backgrounds. r=mattwoodrow
This has multiple benefits:
 - It makes DLBI detection of background-position changes work for buttons.
 - It makes background-attachment: fixed work for button backgrounds.
 - It allows the willPaintBorder optimization to be used for button background
   drawing, which reduces the background clip to not overlap with opaque borders.

The willPaintBorder optimization requires a change to the reftest 611574-2.html.
This reftest compares backgrounds to inset box shadows. Box shadows those don't
have a willPaintBorder optimization, so we'd get different results due to the
borders - inset box shadows will bleed through the rounded corner anti-aliasing
of the border, backgrounds won't any more. So we just turn off button borders
and cover the outer edges of the borders with an outline in that reftest.

MozReview-Commit-ID: Lvx2p5szjw7
***
Cover the antialiasing in 611574-2.html with a black outline.

MozReview-Commit-ID: IHC3B7Eq72j

--HG--
extra : rebase_source : e2c625e25ebce052948dc39de6f9af91d4987315
2016-04-29 13:16:23 -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
Kartikaya Gupta bf75215060 Bug 1266833 - When the scroll position is clamped during a frame reconstruction, send a scroll offset update to APZ. r=tnikkel
MozReview-Commit-ID: 2UBM4AWWIVI
2016-05-02 15:44:29 -04:00
Kit Cambridge 9265c4b746 Back out 3 changesets (bug 1263799) for bustage.
Backed out changeset d379317d86df (bug 1263799)
Backed out changeset 067e84f524d1 (bug 1263799)
Backed out changeset 8f31424a9d07 (bug 1263799)

MozReview-Commit-ID: KJ9b8tC5k4n

--HG--
extra : rebase_source : 125da6dbfe299e6f4621fce20e88d796d123fce0
2016-05-02 11:38:55 -07:00
Kevin Chen f0c6c43d98 Bug 1263799 - Support IPC for TV service between B2G and content processes. Part 1 - Refactor TV service and pass TV stream handle. r=schien
MozReview-Commit-ID: 7vjmcxcjGQl

--HG--
extra : rebase_source : 30ec37fdd8203dbdeb762182aecf51e4f28c2218
2016-04-15 13:40:34 +08:00
Jonathan Watt 23c872cc11 Bug 1266868, part 3 - Avoid Maybe::ref() where not necessary. r=dholbert 2016-05-02 18:54:58 +01:00
Jonathan Watt aa8b43ad6e Bug 1266868, part 2 - Fix leaks of the values passed to nsCSSValue::.SetPairValue in the StyleAnimationValue code. r=dholbert 2016-05-02 18:40:08 +01:00
Jonathan Watt 96b50de4f0 Bug 1266868, part 1 - Fix nsCSSValue::Array leaks in the StyleAnimationValue code. r=dholbert 2016-05-02 18:39:23 +01:00
Kyle Machulis 85146b9ee1 Bug 1263696 - Block embed content loading when ancestor of object element with content; r=bz 2016-05-02 09:54:16 -07:00
Carsten "Tomcat" Book 548d98c27e merge mozilla-inbound to mozilla-central a=merge 2016-05-02 11:25:32 +02:00
Nicholas Nethercote 2ae68d12e9 Bug 1268772 (part 4) - Use MOZ_MUST_USE with NS_NewISupportsArray(). r=erahm.
A few callers of NS_NewISupportsArray() didn't use the return value to detect
failure, but instead checked if the |array| argument was null after the call.
This is inconsistent with the majority of the calls to NS_NewISupportsArray().
This patch changes them to be checked in the normal way.

--HG--
extra : rebase_source : bf91836d7c3b159833c303a3716f4d9366f8b76a
2016-05-02 09:06:47 +10:00