Commit Graph
56629 Commits
Author SHA1 Message Date
Emilio Cobos Álvarez 9f679878b6 Bug 1357142: Always append descendants to RestyleTracker. r=bz,heycam
MozReview-Commit-ID: 80ORql9Zixg
2017-04-18 01:49:49 +02:00
Emilio Cobos Álvarez 6bd910c684 Bug 1357142: Kill PresShell::RecreateFramesFor. r=bz
It's not only inefficient, but also prone to buggyness. Since styles may not be
up-to-date when it happens.

Post a reconstruct instead, which ensures a style flush happens before running
frame construction.

MozReview-Commit-ID: DrakHsJv5fY
Signed-off-by: Emilio Cobos Álvarez <[email protected]>
2017-04-17 18:01:37 +02:00
Carsten "Tomcat" Book 5b0ec70e2e merge autoland to mozilla-central a=merge 2017-04-25 11:23:43 +02:00
Jeremy Chen 866ae873cf Bug 1348173 - stylo: combined gecko side patch for -moz-border-*-colors support. r=heycam
MozReview-Commit-ID: 53gWkWKJNmV
2017-04-25 14:50:44 +08:00
Iris Hsiao 2663113912 Merge mozilla-central to mozilla-inbound 2017-04-25 11:30:03 +08:00
Iris Hsiao 771051c3c3 merge mozilla-inbound to mozilla-central a=merge 2017-04-25 11:21:30 +08:00
Wes Kocher 51f44e161a Merge m-c to autoland, a=merge
MozReview-Commit-ID: Lmq6phawHD
2017-04-24 16:16:50 -07:00
Wes Kocher b0c9708840 Merge inbound to central, a=merge
MozReview-Commit-ID: 2tbIf1rfy0p
2017-04-24 15:53:30 -07:00
Wes Kocher e34a6aa22c Bug 1358586 - Fix adjusted stylo expectation data a=me
MozReview-Commit-ID: CnBCYK0xJLj
2017-04-24 15:38:12 -07:00
Wes Kocher df09d5c5d1 Bug 1358586 - Adjust stylo expectation data a=me
MozReview-Commit-ID: 4RgSDtgLe3u
2017-04-24 15:30:31 -07:00
Wes Kocher 7726d12a36 Bug 1341102 - Adjust expectations a=me
MozReview-Commit-ID: SK3lvnXtbg
2017-04-24 12:49:22 -07:00
Carsten "Tomcat" Book 7a4463ab6f Merge mozilla-central to mozilla-inbound 2017-04-24 16:07:21 +02:00
Andrea Marchesini 26d2ebd48e Bug 1353629 - PBlob refactoring - part 5 - IPCBlobInputStreamStorage, r=smaug
An IPCBlobInputStream can be sent back to the parent process (not implemented
in this patch). When this is done, we basically send only the internal ID.
From this ID, we can retrieve the original inputStream because any
IPCBlobInputStreamParent actor has previously registered it into a singleton:
IPCBlobInputStreamStorage.

So, if we have a IPCBlobInputStreamParent, we have an inputStream, and this
inputStream is known by IPCBlobInputStreamStorage. This will be useful in the
next patches.
2017-04-24 12:09:40 +02:00
Iris Hsiao c6383fd1f0 Backed out changeset 9c7c061b959f (bug 1348173) for hazard busted 2017-04-25 14:24:10 +08:00
Daniel Holbert 0df6b6112f Bug 1358586: Require comma after <angle>, in -webkit-linear-gradient() CSS syntax. r=heycam
The logic around here is a bit tricky, because -moz-linear-gradient() shares
this codepath. Here's how things were going wrong:

* The -moz-linear-gradient syntax allows an angle (e.g. "30deg") to be followed
  by an optional box-position (e.g. "top right") before eventually requiring a
  comma and then some color stops.
* In contrast, the -webkit-linear-gradient syntax does NOT allow a box-position
  there (unless the box-position is by itself, without an angle).
* So, for -webkit-linear-gradient, we (correctly) skipped the box-position
  parsing code, if we've seen an angle already.
* BUT: in skipping that code, we *also* inadvertantly skipped the code that
  enforces that we eventually see a comma before we get to the color stops.
  So, we incorrectly accept some -webkit-linear-gradient() expressions that are
  missing a comma that really should be mandatory.

So, this patch adds a special case for -webkit-linear-gradient that
preemptively bails if we get an angle that's not followed by a comma. (With
that, we can also simplify the condition around the box position parsing, too.)

MozReview-Commit-ID: B7MQLxqe6D7
2017-04-21 14:38:14 -07:00
Cameron McCormack 88e4ef4785 Bug 1341102 - Update stylo test expectations. r=me 2017-04-25 11:51:02 +08:00
Hiroyuki Ikezoe 029e4890d2 Bug 1358965 - Drop unnecessary static_cast. r=birtles
MozReview-Commit-ID: 1V1ISqv2uo1
2017-04-25 12:24:51 +09:00
Hiroyuki Ikezoe 15584fac27 Bug 1358965 - Don't call UpdateEffectProperties and UpdateTransitions() for null computed values. r=birtles
MozReview-Commit-ID: 9NfR2Dzq92g
2017-04-25 11:29:43 +09:00
Iris Hsiao ee4dc0a75c Merge mozilla-central to autoland 2017-04-25 11:28:40 +08:00
Boris Zbarsky 6fa1539ab5 Bug 1358056. Fix stylesheet handling of associated documents in various edge cases. r=heycam 2017-04-24 15:44:19 -04:00
Botond Ballo cbbfccfb91 Bug 1355376 - Do not use async scrollbar dragging for scroll frames with custom scrollbar mediators. r=mstange
Supporting custom scrollbar mediators would require having custom logic in APZ
for each custom mediator. Since custom mediators are only used by legacy XUL
elements (<listbox> and <tree>) that isn't worth implementing.

MozReview-Commit-ID: KtCUvtiR1qn
2017-04-21 19:26:13 -04:00
Boris Chiou fcc513f6a3 Bug 1355758 - Update RestyleManager::mAnimationGeneration for non-animation update. r=heycam
We use RestyleManager::mAnimationGeneration as the animation index of a
new created transition, and Element.getAnimations() uses this index to
sort the order of transitions. We increase mAnimationGeneration one per
restyle cycle if there is any non-animation update.

MozReview-Commit-ID: KmirBzI7CXi
2017-04-21 16:44:17 +08:00
Iris Hsiao 3da48afe1f Merge mozilla-central to autoland 2017-04-24 14:28:11 +08:00
Iris Hsiao 98e4b64dc4 merge mozilla-inbound to mozilla-central a=merge 2017-04-24 11:35:45 +08:00
Hiroyuki Ikezoe 0f0a803545 Bug 1354998 - Update reftest expectations for contain property. r=me
It seems that these three test cases are affetced by scrollbar.

MozReview-Commit-ID: JnPw8EfEyVl
2017-04-24 07:05:53 +09:00
Hiroyuki Ikezoe 98756f52c0 Bug 1067360 - Skip test-image-layers-multiple-displayitem.html on stylo too. r=jmaher
MozReview-Commit-ID: IkkDNeuksQo
2017-04-24 06:48:10 +09:00
Daniel Holbert 722837a685 Bug 1358200: Initialize member vars in nsRootBoxFrame init list. r=mats
MozReview-Commit-ID: HqKksokYNrD
2017-04-22 12:07:03 -07:00
Sebastian Hengst ce4404f3c8 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 289I7nCINwK
2017-04-22 10:48:16 +02:00
Wes Kocher db65c06f6f Merge m-c to autoland, a=merge
MozReview-Commit-ID: FvBazP0CwKm
2017-04-21 17:39:39 -07:00
Wes Kocher 304a8fff62 Merge inbound to central, a=merge
MozReview-Commit-ID: FHfhKIIlItM
2017-04-21 17:30:43 -07:00
Geoff Brown e0940f9d68 Bug 1067360 - Skip test-image-layers.html on stylo only; r=manishearth
Avoid stylo-only frequent intermittent failures.
2017-04-21 13:01:20 -06:00
Wes Kocher a76c3859c5 Merge m-c to inbound, a=merge
MozReview-Commit-ID: Cb0b59wJ0vy
2017-04-21 17:35:24 -07:00
Timothy Nikkel 5381876d31 Bug 1358290. Clear nsPluginFrame's old mInnerView before creating a new one. r=mats
This can happen if an instance owner goes away and then comes back.
2017-04-21 17:55:21 -05:00
Sebastian Hengst 210d39dc97 Backed out changeset d0ecd711cbc4 (bug 1302470) 2017-04-21 19:09:11 +02:00
Sebastian Hengst 2792e49666 Backed out changeset d12341c804a2 (bug 1302470) 2017-04-21 19:09:11 +02:00
Nicolas B. Pierron 754ef645c3 Bug 900784 part 1.5 - Encode JS bytecode when no more scripts are executed. r=mrbkap 2017-04-21 16:57:58 +00:00
Sebastian Hengst cdeba7b3cb merge mozilla-central to mozilla-inbound. r=merge a=backout 2017-04-21 18:36:31 +02:00
Sebastian Hengst 036a7b0984 Backed out changeset 435e638babd1 (bug 1349418) for failing checkerboard-{1,2,3}.html on Android 4.3. r=backout a=backout
MozReview-Commit-ID: Au7FbypQNvf
2017-04-21 18:01:24 +02:00
Sebastian Hengst 7136e794ee Backed out changeset 3ccf396a61fe (bug 1349418)
MozReview-Commit-ID: 8VeAi8IOAl4
2017-04-21 17:59:43 +02:00
Carsten "Tomcat" Book 63fbb13aec merge mozilla-inbound to mozilla-central a=merge 2017-04-21 10:57:02 +02:00
Iris Hsiao bb687383d9 Backed out 9 changesets (bug 1353689) for web platform reftest failures
Backed out changeset 80ac3ea1427e (bug 1353689)
Backed out changeset 9a5b36fefb22 (bug 1353689)
Backed out changeset 44c5f4b4cdfc (bug 1353689)
Backed out changeset 7f2790b4c963 (bug 1353689)
Backed out changeset 8d8d2824a763 (bug 1353689)
Backed out changeset d3ced5751998 (bug 1353689)
Backed out changeset 5179ebf1e982 (bug 1353689)
Backed out changeset ebf24732e9b3 (bug 1353689)
Backed out changeset e81924e4cff3 (bug 1353689)
2017-04-21 13:38:28 +08:00
Carsten "Tomcat" Book e7145c14bc Merge mozilla-central to mozilla-inbound 2017-04-21 11:43:14 +02:00
Marco Bonardo 800b491d50 Bug 1356440 - Favicons of bookmarks views don't update on visit. r=mrbkap,past,enndeakin
MozReview-Commit-ID: 8j5yLqr7MTc
2017-04-19 11:41:49 +02:00
Sebastian Hengst 23e91db3a2 merge mozilla-central to autoland. r=merge a=backout 2017-04-21 18:41:49 +02:00
Bobby Holley 3a584b1c13 Bug 1358375 - Reftest for refreshing the cached booleans. r=bz 2017-04-21 16:54:07 -07:00
Cameron McCormack 034828c3d6 Bug 1241623 - Update stylo test expectations. r=me 2017-04-24 10:34:26 +08:00
Jeremy Chen 0fb27e5fbe Bug 1357350 - update test expectations for reseting longhands of border-image while parsing border shorthand. r=emilio
MozReview-Commit-ID: 9oeav955fpD
2017-04-23 16:30:29 +08:00
Nazım Can Altınova 3797b77af4 Bug 1354998 - stylo: Update test expectations for contain property r=emilio
MozReview-Commit-ID: 4B570Lb5Auu
2017-04-23 01:47:21 +03:00
Manish Goregaokar c0945469d3 Bug 1356275 - Assert that we're on the main thread in the unused and unsafe Gecko_GetFontMetrics ; r=bholley
MozReview-Commit-ID: LGu8mdFMq9
2017-04-14 10:44:00 +08:00
Manish Goregaokar 2afe3135d2 Bug 1349417 - Part 10: Use mutex to guard system font computation; r=bholley
MozReview-Commit-ID: CBKdItjolm9
2017-04-21 15:41:02 -07:00