Commit Graph
60391 Commits
Author SHA1 Message Date
Emilio Cobos Álvarez 90f8c0b84a Bug 1324684: Remove stale crashtest annotations. r=me
MozReview-Commit-ID: 4wwGkefTWC3
2017-10-04 11:38:12 +02:00
Emilio Cobos Álvarez 58c08dca3d Bug 1404324: Mark one of the test-cases as known-asserting until we figure out what to do with that assertion. r=me
MozReview-Commit-ID: 7RI7dwRSFkH
2017-10-04 11:36:20 +02:00
Sebastian Hengst 33441a0651 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-04 11:18:02 +02:00
Sebastian Hengst 387952c22a merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: EVLGo1zCANb
2017-10-04 11:13:24 +02:00
Emilio Cobos Álvarez 709ea27b56 Bug 1404324: Use the placeholder state to remove out-of-flows that aren't real descendants of the destruction root. r=bz
Using the style of the frame can mess things up when we reparent them due to
::first-line before removing them.

MozReview-Commit-ID: 3Dt0wF2XRAH
2017-10-04 10:49:41 +02:00
Sebastian Hengst bc77eea8a5 Backed out changeset cb247c8a0fe5 (bug 1404324) for landing with wrong commit message. r=backout 2017-10-04 10:48:14 +02:00
Emilio Cobos Álvarez dcb5efedb7 Bug 1404324: Always remove out of flows from the placeholder frame, using its info. r=bz
MozReview-Commit-ID: 3Dt0wF2XRAH
2017-10-04 10:38:34 +02:00
Boris Zbarsky ad44afc3e4 Bug 1402766. Work around layout violating its own invariants and causing stylo code to crash. r=emilio
MozReview-Commit-ID: 3ggJI0qmOJV
2017-10-03 18:50:10 -04:00
Xidorn Quan f5bc6f90fd Bug 1404179 - Prepend rather than append frames from overflow list of prev-in-flow for ruby frames. r=dholbert
MozReview-Commit-ID: 1xUEf1S6GEK
2017-10-03 16:19:41 +11:00
Wes Kocher 1f45ffa62d Merge m-c to autoland, a=merge
MozReview-Commit-ID: 43R3aNMoMyN
2017-10-03 14:58:01 -07:00
Kartikaya Gupta 5142d6e6e5 Bug 1403915 - Remove some leftover painting callback goop. r=jrmuizel
MozReview-Commit-ID: BycK4Ug1sgm
2017-10-03 16:31:08 -04:00
Kartikaya Gupta 7c1da03e1c Bug 1403915 - Remove the WebRender*Layer classes and functions that refer to them. r=jrmuizel
MozReview-Commit-ID: 2syFwMc7j3r
2017-10-03 16:31:08 -04:00
Kartikaya Gupta cbacb77052 Bug 1403915 - Remove the IsLayersFreeTransaction() machinery and assume it's always true. r=jrmuizel
MozReview-Commit-ID: 7FYVirQ5pal
2017-10-03 16:31:07 -04:00
Kartikaya Gupta 41c4ae9cca Bug 1403915 - Remove the layers-free pref entirely and assume it's true at the call sites. r=jrmuizel
MozReview-Commit-ID: 7tLxaBGiE4R
2017-10-03 16:31:07 -04:00
Jeff Muizelaar 053d27cea7 Bug 1404955 - Use ComplexClipRegion instead of WrComplexClipRegion. r=kats
cbindgen will let us do this now.
2017-10-03 18:11:14 -04:00
Bobby Holley 352ba9d09f Bug 1403397 - Revert: Round hashglobe allocations up to the nearest page size. r=bholley
This reverts commit a4aba77facc8ceab1e0d7f7d796075a6606b15c6.

MozReview-Commit-ID: 7quMDoDmqxL
2017-10-03 14:07:05 -07:00
Bobby Holley db0be0bf4b Bug 1403397 - Revert: Protect the hashmaps outside of rebuilds. r=bholley
This reverts commit 80a3d080ad6f6ae8641443ba08e11a6e9eed260a.
2017-10-03 14:05:57 -07:00
Bobby Holley b1404a6cc6 Bug 1403397 - Revert: Add a testing API. r=bholley
This reverts commit 4194b7dd8ec748c044a9b8b0967fd9d652ea342c.
2017-10-03 14:05:56 -07:00
Andrew Halberstadt 9d85bdcbc9 Bug 1403222 - Add test suite families to SCHEDULES.exclusive r=dustin
MozReview-Commit-ID: JWKB7eOgfWc
2017-09-26 10:47:22 -04:00
Ethan Lin c91472eb05 Bug 1404091 - Re-enable some skip-if and random-if tests after the fix. r=kats
MozReview-Commit-ID: 6gFLZWi0p4b
2017-10-02 22:51:03 +08:00
Ethan Lin f22d91c79b Bug 1404091 - In layers-free mode, we should do NotifyInvalidation after EndTransaction if there is any scheduled flush. r=kats
MozReview-Commit-ID: D0LNF0LgWYq
2017-10-03 16:00:38 +08:00
Ethan Lin 0c3f73c38c Bug 1404782 - Update reftest annotation after the fix. r=mattwoodrow
MozReview-Commit-ID: E7ux1PWIkVk
2017-10-02 17:45:13 +08:00
Sebastian Hengst b4777dbb36 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IRW0W7LuIM7
2017-10-03 11:43:52 +02:00
Wes Kocher 4b17009b22 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 4ZKbmMi1U80
2017-10-02 16:23:14 -07:00
Timothy Nikkel 4674aaa593 Bug 1364295. Simplify some code now that we don't create displayports during display list building. r=mstange 2017-10-02 16:00:16 -05:00
Marina Samuel 334759afdc Bug 1403695: Send a generic health telemetry ping through Ping Centre for Activity Stream. r=k88hudson
MozReview-Commit-ID: CJGX1aihFuV
2017-09-27 16:29:06 -04:00
Alexis Beingessner dd08a82562 Bug 1404370 - TextDrawTarget: add fallbacks for remaining cases, remove some hacks. r=jrmuizel
This adds fallbacks for:
* synthetic bold
* synthetic italics
* text-writing-modes

This also removes an old hack to make synthetic italics less broken.

This also prevents special opacity handling for color fonts so that webrender
gets that information.

MozReview-Commit-ID: DKiTUBR6hzy
2017-09-29 12:05:34 -04:00
Louis Chang 1164e2f4ef Bug 1400050 Part 2 - Add test case for testing clamping issue of checkbox/radio. r=mats
MozReview-Commit-ID: BJgK4E3dOsi
2017-10-02 16:04:32 +08:00
Arthur Edelstein 4c429b5be4 Bug 1404572 - Fix ubsan runtime error for ReferrerPolicy enum in FontFaceSet.cpp. r=jfkthame 2017-09-30 21:52:00 -04:00
Arthur Edelstein 17ede5027d Bug 1404570 - Fix ubsan runtime error for nsEventStatus enum in PresShell.cpp. r=smaug 2017-09-29 21:57:00 -04:00
Sebastian Hengst 95c011a9f0 Backed out changeset ddfc127526b2 (bug 1403222) for failing python/mozbuild/mozbuild/test/frontend/test_reader.py::TestBuildReader::test_schedules, at least for Linux asan opt builds. r=backout on a CLOSED TREE 2017-10-02 16:03:12 +02:00
Andrew Halberstadt 5c9a4c3849 Bug 1403222 - Add test suite families to SCHEDULES.exclusive r=dustin
MozReview-Commit-ID: JWKB7eOgfWc
2017-09-26 10:47:22 -04:00
cku 97a2f88f0e Bug 1403057 - Early return if the scale vector is zero. r=mstange
MozReview-Commit-ID: 69X5mvG2UIj
2017-10-02 14:38:09 +08:00
Kartikaya Gupta 997b6a1f90 Bug 1403176 - Turn on empty transactions support in layers-free WebRenderLayerManager. r=mstange
By returning true from WebRenderLayerManager::EndEmptyTransaction, we
avoid doing a full paint in cases where the caller decides an empty
transaction would be sufficient. WebRenderLayerManager already rejects
attempts to set some forms of empty-transaction data (specifically
transform and scroll offset updates). This means that we will never get
a call to EndEmptyTransaction where the caller is expecting a transform
or scroll offset update to be sent over to the compositor. So if we have an
implementation of EndEmptyTransaction that ignores that data, it will not
break expectations.

There is still one piece of information that WebRenderLayerManager
doesn't reject in this manner, the APZ focus state. That is, if the
layout code sets a pending APZ focus state on the WRLM, followed by a
all to EndEmptyTransaction, it expects the focus state to get propagated
to the compositor. This patch makes sure that it does happen by using
the new API added in the previous patch.

MozReview-Commit-ID: 596UgW9ZWAF
2017-10-02 16:49:56 -04:00
Brad Werth 8f31b2c72c Bug 1403694 Part 1: Prevent nsStyleSheetService from storing null servo stylesheets. r=xidorn
MozReview-Commit-ID: 2PxurAtACtd
2017-09-28 16:45:09 -07:00
Cameron McCormack 99ea52a095 Bug 1404180 - Don't allow associating form elements by ID to <form>s across anonymous subtree boundaries. r=smaug
MozReview-Commit-ID: KRJjrkL4FgZ
2017-10-02 13:10:18 +08:00
cku 6115dd90fd Bug 1404077 - Remove unnecessary gfxContext::Save/Load in nsTreeBodyFrame::PaintCell. r=mattwoodrow
Between this pair of gfxContext::Save/Load, only the draw calls of the
DrawTarget are called. Since  draw calls do not alter the content of a AureState,
we should just remove  this pair of Save/Load.

MozReview-Commit-ID: BexjGJkO77E
2017-10-02 11:46:39 +08:00
Makoto Kato 628002948b Bug 1404178 - Fix some reftest conditions for Stylo on Android. r=heycam
Even if Stylo on Android, the following is successful.

- unit-vh-vw-overflow-scroll.html
- unit-vh-vw-overflow-scroll-x.html
- unit-vh-vw-overflow-scroll-y.html

- Although we use fails-if(stylo|styloVsGecko), since last condition is
fuzzy-if(Android,...), android's reftest uses fuzzy-if unfortunately.
We should modify fuzzy-if's order to pass reftest for Stylo on Android.

- input-transition-1.html

MozReview-Commit-ID: 12mRwJW67Nz
2017-09-27 16:27:19 +09:00
Ting-Yu Lin b445303baa Bug 1404243 Part 4 - Change StyleShapeSource's URL value storage by using nsStyleImage. r=heycam
This is for implementing shape-outside: <image> later.

MozReview-Commit-ID: 93TmLecRjRx
2017-09-29 16:24:23 +08:00
Ting-Yu Lin d35b7d33db Bug 1404243 Part 3 - Remove refcount for StyleBasicShape, and use UniquePtr to hold it. r=heycam
After StyleBasicShape is set to StyleShapeSource, it's life cycle never go
beyond StyleShapeSource, so I make StyleBasicShape hold by a UniquePtr in
StyleShapeSource.

Also, replace all raw pointers to StyleBasicShape by UniquePtr in all APIs.

MozReview-Commit-ID: 1MfIFjP8TsQ
2017-09-25 18:50:24 +08:00
Ting-Yu Lin bdeac3a666 Bug 1404243 Part 2 - Change StyleShapeSource::operator==() to use logic in DefinitelyEquals(). r=heycam
The original operator==() (implemented by EqualsInternal<true>) is not been
used. Therefore, I expand EqualsInternal<false> into it, and move it to
nsStyleStruct.cpp.

Also, use DefinitelyEqualURIs() in nsStyleStruct.cpp in operator==().

MozReview-Commit-ID: HccwKvzQHR
2017-09-29 14:36:35 +08:00
Ting-Yu Lin 73270862cd Bug 1404243 Part 1 - Move StyleShapeSource's large methods to nsStyleStruct.cpp. r=heycam
MozReview-Commit-ID: 5X5LGCSzSwX
2017-09-27 11:32:38 +08:00
Shih-Chiang Chien 1fce4177cf Bug 1381434 - off-main-thread loading web font r=heycam
MozReview-Commit-ID: 8PQdxK5K55
2017-09-29 10:10:13 +08:00
Bobby Holley 0838a71170 Bug 1404316 - Crashtest. r=me
MozReview-Commit-ID: LCbXnY8nqmJ
2017-10-01 14:08:20 -07:00
Sebastian Hengst 6786840feb Backed out changeset 325ab1b04aba (bug 1404316) 2017-10-01 10:07:12 +02:00
Bobby Holley 0148b58012 Bug 1404316 - Crashtest. r=me
MozReview-Commit-ID: LCbXnY8nqmJ
2017-09-30 21:17:36 -07:00
Phil Ringnalda 3920cc56da Backed out 2 changesets (bug 1404316) for debug build bustage
Backed out changeset 555a9dafe460 (bug 1404316)
Backed out changeset e939fa11b68c (bug 1404316)

MozReview-Commit-ID: 5ek3To3HsWo
2017-09-30 21:09:30 -07:00
Bobby Holley 132a98b613 Bug 1404316 - Crashtest. r=me
MozReview-Commit-ID: LCbXnY8nqmJ
2017-09-30 20:02:43 -07:00
Markus Stange 8e3da089e6 Bug 1402498 - Add ScrollAnimationMSDPhysics, can be enabled using general.smoothScroll.msdPhysics.enabled. r=rhunt
MozReview-Commit-ID: fr8Q9iod5k
2017-09-26 20:55:35 -04:00
Markus Stange 0079b2af6f Bug 1402498 - Separate out ScrollAnimationBezierPhysics and make ScrollAnimationPhysics an interface. r=rhunt
MozReview-Commit-ID: K3b8vjY5xaO
2017-09-29 18:37:14 -04:00