Commit Graph

55495 Commits

Author SHA1 Message Date
Mats Palmgren
0f9743bbe7 Bug 1346699 part 1 - [css-grid] Don't require that some (flexible) track size changed to apply min/max-size. r=dholbert
The "origSizes.isSome()" condition on the outer if-block was
a logical mistake.  We should check it before re-assigning
mSizes though (this was the optimization originally intended).

MozReview-Commit-ID: AooUHYKG3jB
2017-03-16 13:24:50 +01:00
Gabor Krizsanits
2fc4ec4086 Bug 1341008 - Use the preallocated process manager by default. r=billm, r=kmag 2017-03-16 11:22:37 +01:00
Mats Palmgren
f58f0bee15 Bug 1317149 - Comment out a part of this test that causes to many intermittent failures. r=me
--HG--
extra : rebase_source : 324814b936fc124b161cf57d5feb6be7b869033d
2017-03-15 14:05:00 -04:00
Wes Kocher
06af2f1e92 Merge inbound to central, a=merge
MozReview-Commit-ID: 4p4SK3EhvJ2
2017-03-15 14:24:58 -07:00
Boris Zbarsky
a5a69068c1 Fix up stylo mochitest expectations after landing of <8f0c7809d8>. Bug 1341102, r=bustage
MozReview-Commit-ID: Cdqz3pPRxA8
2017-03-15 13:01:53 -04:00
cku
00b08f1df8 Bug 1320036 - Part 2. Reftest. r=jwatt
There are two reftest
filter-region-01.html tests on filtered outer svg element. FF can not pass this
test without Part 2.
filter-region-02.html tests on filtered inner svg element, FF can pass this test
without Part 2. I add this in case we make a mistake in the future.
MozReview-Commit-ID: 1iwQWh0C7DH

--HG--
extra : rebase_source : 4770c99b1b81a593acdd4810fadc34376db93c13
extra : source : 6389fa0ca948dfc988778d2a3b808bb552dd60e3
2017-03-15 18:39:00 +08:00
cku
8f0a57337e Bug 1320036 - Part 1. Correct objectBoundingBox region of a filter applied to an outer SVG element. r=jwatt
MozReview-Commit-ID: 8frACVe2gFE

--HG--
extra : rebase_source : f796c7ae084cc2af0960a0702167fe8211aa083a
extra : source : 43b17a8af53a4684abb4379a3fba95c9d424c77f
2017-03-15 18:36:53 +08:00
Carsten "Tomcat" Book
7decdeb7c8 Merge mozilla-central to autoland 2017-03-15 13:19:12 +01:00
Carsten "Tomcat" Book
f807b332df merge mozilla-inbound to mozilla-central a=merge 2017-03-15 13:12:42 +01:00
Xidorn Quan
7be07ee519 Bug 1345698 part 5 - Add support of CSSNamespaceRule for stylo. r=heycam
MozReview-Commit-ID: Kl4Wd3eh9ll

--HG--
extra : rebase_source : 7c649dd885ad31ddfb1e563dedf6272038d560da
2017-03-14 18:51:59 +11:00
Xidorn Quan
cc3896262e Bug 1345698 part 4 - Create a new CSSNamespaceRule as a base class. r=heycam
MozReview-Commit-ID: 5QvGWfb18cY

--HG--
extra : rebase_source : 1a85b59a71ca920371bc94bf4376e4e42863f6df
2017-03-14 18:50:28 +11:00
Xidorn Quan
0ea1508806 Bug 1345698 part 3 - Fix a build failure for adding source. r=heycam
MozReview-Commit-ID: 54Um71Dlf8l

--HG--
extra : rebase_source : cf153b0553afe86b1e816a2e9922808c2e9b5bd4
2017-03-14 17:10:03 +11:00
Xidorn Quan
0e0511338c Bug 1345698 part 2 - Add bindings for namespace rule. r=heycam
MozReview-Commit-ID: 5QHeVqfiEGh

--HG--
extra : rebase_source : 191fe0a8ff0742ec00022062d819da8e92137e8a
2017-03-14 15:44:37 +11:00
Xidorn Quan
c0a293e41b Bug 1345698 part 1 - Unify common code for implementing a rule type. r=heycam
MozReview-Commit-ID: ABwAq2HXrkC

--HG--
extra : rebase_source : 76dd1436234ae351d13ccc218c31754705d70bfe
2017-03-14 17:52:37 +11:00
Xidorn Quan
6226e098b7 Bug 1341102 - Update stylo test expectation. 2017-03-15 17:49:44 +11:00
Astley Chen
bdf50726af Bug 1342880 : Remove class inSearchLoop from the tree. r=heycam
inSearchLoop is referenced from nowhere, as a result, we don't need to get its timer event labeled.

MozReview-Commit-ID: 5fxg38WD9dQ

--HG--
extra : rebase_source : a72f150e15605e604e969c725ed4a23168bda1b4
2017-03-15 11:48:41 +08:00
Ting-Yu Lin
7bd47fa30a Bug 1273045 Part 2 - Update carets when scrolling in subframes without APZ. r=mtseng
Override OnScrollPositionChanged() in ScrollState because we want to update
carets during scrolling in subframes without APZ.

Due to the observation in bug 1273045 comment 8, we do not distinguish
PositionChangedResult::NotChanged and PositionChangedResult::Changed.
Instead, we always update caret even if its position is not changed.

To avoid excessive CaretStateChangedEvents are dispatched in
OnScrollPositionChanged(), we add IsScrollStarted to distinguish whether
OnScrollStart() is called or not.

MozReview-Commit-ID: KNi9Mct4dSk

--HG--
extra : rebase_source : 61d29fb0e1b6b91971217d3f45a791c456fa4f07
2017-03-14 17:50:03 +08:00
Ting-Yu Lin
fb0e5cae3e Bug 1273045 Part 1 - Convert UpdateCaretsHint to use EnumSet. r=mtseng
Part 2 is going to add a new hint which will use with RespectOldAppearance.
Hence this patch.

Remove #include "mozilla/WeakPtr.h" and "nsWeakReference.h" because they're
not used in the header.

MozReview-Commit-ID: KiNv0M0v8iO

--HG--
extra : rebase_source : 0969fc5accf11ac69bc97e3a51569b063172ffe3
2017-03-14 15:25:16 +08:00
Xidorn Quan
bf3f1e88eb Bug 1341102 - Update test expectations. 2017-03-15 12:13:16 +11:00
Brad Werth
79fcb7ba0d Bug 1343695 Part 2: Narrow an overly restrictive assert in GetRenderedText. r=mats
MozReview-Commit-ID: EuxNJmKPxok

--HG--
extra : rebase_source : b77018ea2417b0778fb51ba579d8c4baeeaf06a5
2017-03-14 14:27:30 -07:00
Boris Zbarsky
5a5123809e Bug 1276186. Stop using the locale-sensitive AppendPrintf in code that is supposed to always use '.' as a decimal separator. r=dbaron
MozReview-Commit-ID: ILXSgv5QUr4
2017-03-14 23:16:32 -04:00
Lee Salzman
f942812710 Bug 1347147 - fix DrawTargetD2D1::GetImageForSurface to support uploads in device-space. r=mchang
MozReview-Commit-ID: 2galhKidxca
2017-03-14 22:17:47 -04:00
Wes Kocher
a7c590aa9c Merge inbound to central, a=merge
MozReview-Commit-ID: KWDF34vWlBx
2017-03-14 17:18:59 -07:00
Wes Kocher
6315d21293 Bug 1341102 - fix autoland bustage; r=bustage a=bustage
MozReview-Commit-ID: qJqahM6q5n

--HG--
extra : source : ab9bdbdc7780b163a722d12d1d927f68b35d030f
2017-03-14 14:50:10 -07:00
Emilio Cobos Álvarez
efce33e655 Bug 1328652: Reftest expectation adjustments. r=emilio
MozReview-Commit-ID: I9l2q73luEU

--HG--
extra : rebase_source : 9bea8cefe53915a6fbfefe4261912d55c1608206
2017-03-14 20:08:17 +01:00
Emilio Cobos Álvarez
ce085313a9 Bug 1328652: Ensure we do actual restyling work after calling RebuildAllStyleData. r=bz
The Gecko restyle manager does this synchronously, along with a content flush.

In my testing there's no need to do so, and Boris couldn't think off-hand of
why, except the fact that we have this mRebuildAllStyleData thing that takes
care of rebuilding the rule tree, which is quite sensitive.

Also, Boris made a good point about non-inheriting anon boxes, that could
technically change style. I've left a note about it too.

MozReview-Commit-ID: 2lvzhxugKB0

--HG--
extra : rebase_source : 38cf56811f73f5a9f0f6659e08d03e78d4c6dcb5
2017-03-11 00:25:37 +01:00
Emilio Cobos Álvarez
2a97ec5b19 Bug 1328652: Assume medium feature changes in nsPresContext::MediaFeatureValuesChanged. r=bz
This allows us to test our media query stuff at least, and works around the fact
that we don't set mUsesViewportUnits.

This will get us better test coverage, at the expense of more expensive window
resizes and similar, temporarily.

MozReview-Commit-ID: 7lgELz86lmW

--HG--
extra : rebase_source : c6d62438b1d76d5adb9eec3a26ef47af1a84924c
2017-03-11 00:23:05 +01:00
Manish Goregaokar
2ead1e0272 Bug 1341102 - fix autoland bustage; r=bustage
MozReview-Commit-ID: HjvN4HqcNAq
2017-03-14 12:03:20 -07:00
Martijn Wargers
e9146e80ca Bug 489647 - Crashtest.
MozReview-Commit-ID: LvnPdkxuWK5
2017-03-14 15:25:17 +01:00
Daniel Holbert
6e7d876da4 Bug 883514 - Crashtests.
MozReview-Commit-ID: JWy4zKQfGAE
2017-03-14 15:25:17 +01:00
Robin Whittleton
f487838691 Bug 980223 - Crashtest.
MozReview-Commit-ID: C5lohXXgdXA
2017-03-14 15:25:17 +01:00
Carsten "Tomcat" Book
dba578960e merge mozilla-inbound to mozilla-central a=merge 2017-03-14 14:23:03 +01:00
L. David Baron
0d116bc3f9 Bug 1305754 - Don't rebuild the whole path in the rule tree when resolving style with replacement. r=heycam
MozReview-Commit-ID: HdNhDBnOS3u

--HG--
extra : transplant_source : %B1%CD%A5%21Tw%8A%E5%83E%DF%96%E6%7Cp%1A%20%AD%FD%17
2017-03-13 15:31:32 -07:00
L. David Baron
8db21fb2ea Bug 1346692 - Clarify reftest documentation about combining <failure-type>s. No review.
This makes two changes:

* adds "on the line" to clarify what last means

* adds "when combining <failure-type> from the manifest include and the
  test line" to clarify that the parenthetical only applies to combining
  at different levels, and not within a line

DONTBUILD

--HG--
extra : rebase_source : 4e45753f11b20313ed010ec8d01e0403b89591fd
extra : amend_source : c1f4acb341f0cb2f713080e73c686a5e67aed521
2017-03-13 19:08:28 -07:00
Wes Kocher
bdd77feb24 Merge m-c to inbound, a=merge
MozReview-Commit-ID: GiMyITxSevR
2017-03-13 16:39:38 -07:00
Wes Kocher
9c14a7c4ed Merge inbound to central, a=merge
MozReview-Commit-ID: ECt4ZkKUuQp
2017-03-13 16:37:21 -07:00
Wes Kocher
74b80253bf Merge autoland to central, a=merge
MozReview-Commit-ID: BY29KDE4HlR
2017-03-13 13:58:11 -07:00
Kartikaya Gupta
916f12ed8f Merge m-c to graphics
MozReview-Commit-ID: GpqewOAwje8
2017-03-13 13:13:37 -04:00
Kartikaya Gupta
b1573d9a13 Bug 1344947 - Update reftest.list files with new webrender results. r=jrmuizel
MozReview-Commit-ID: 8F8ZetpBUUY
2017-03-13 13:03:24 -04:00
sotaro
90e35e2b18 Bug 1345712 - Fix rebasing failure part 2 r=jrmuizel 2017-03-13 23:55:39 +09:00
Carsten "Tomcat" Book
c1edc7067d merge mozilla-inbound to mozilla-central a=merge 2017-03-13 15:22:26 +01:00
Xidorn Quan
61c4d0467e Bug 1341102 - Mark the correct one random.
--HG--
extra : rebase_source : 8b7684046fbab5ad29dd76210bdd3c28c22bc5f8
2017-03-13 23:20:50 +11:00
Carsten "Tomcat" Book
94904a8409 Backed out changeset be602e750e39 (bug 1325940) for stylo build bustage 2017-03-13 11:39:12 +01:00
Carsten "Tomcat" Book
b8ac5ccfac Backed out changeset a035c2b6ae72 (bug 1325940) 2017-03-13 11:38:36 +01:00
Gajanan
ca8371df56 Bug 1325940 part 2 - Converted NS_STYLE_BORDER_IMAGE_REPEAT_* to an enum class. r=xidorn
MozReview-Commit-ID: 4Y30dMHsFgj

--HG--
extra : source : 1b6d6f5feb59f895f19ee51cad0e477ca568c168
2017-03-13 21:19:19 +11:00
Gajanan
dca4dbdc2b Bug 1325940 part 1 - Added a constructor for nsCSSValue to accept enumerations. r=xidorn
MozReview-Commit-ID: 5Vns9QGA8c5

--HG--
extra : source : 8de1423bee6b7ba9d584419650674a4d4a7ac7b0
2017-03-13 21:19:19 +11:00
Morris Tseng
fcc1cbacec Bug 1341156 - Add border image support. r=mattwoodrow
MozReview-Commit-ID: 146FCaqEoi1
2017-03-13 11:46:04 +08:00
Morris Tseng
895ffbd17f Bug 1341156 - Create nsCSSBorderImageRenderer. r=mattwoodrow
Basiclly refactor DrawBorderImage function for later re-use.

MozReview-Commit-ID: 9KIO6jp14M2
2017-03-13 11:46:04 +08:00
Morris Tseng
3756e950d3 Bug 1341156 - Move nsImageRenderer to a separate file. r=mattwoodrow
MozReview-Commit-ID: EIEl3Jbtcsi
2017-03-13 11:46:04 +08:00
Morris Tseng
11f13fedeb Bug 1341156 - Modify webrender_ffi and add OpDPPushBorderImage. r=kats r=ethlin
MozReview-Commit-ID: Ct63gy6nk3q
2017-03-13 11:46:03 +08:00