Sebastian Hengst
5d61e2eec8
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: JDCYKq7yKwb
2017-10-07 10:45:11 +02:00
Sebastian Hengst
b834f0d177
merge autoland to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: 7Ez95T2ivfR
2017-10-07 10:37:39 +02:00
Mats Palmgren
d31c70f572
Bug 1001994 - crashtest.
...
MozReview-Commit-ID: ADO517JgBy
2017-10-07 03:38:14 +02:00
Jesse Ruderman
28c6fe21cf
Bug 743364 - Add a crashtest.
...
MozReview-Commit-ID: Coknrcu4XwO
2017-10-07 03:38:14 +02:00
Mats Palmgren
6cda75700f
Bug 1405443 - Don't delete next-in-flows when the state IsInlineBreakBefore. r=dholbert
...
MozReview-Commit-ID: vCqhHFsXUO
2017-10-06 20:59:09 +02:00
Alexis Beingessner
c0bfb121ad
Bug 1405927 - Change PushGlyphs to take webrender formats. r=jrmuizel
...
Also cleans up a bunch of TextDrawTarget code as fallout.
This is a significant perf win for textFrames.
MozReview-Commit-ID: J1BDkXZdvnc
--HG--
extra : rebase_source : 5a0769a53cadb55a074cfe5d718e259401fa7028
2017-10-04 13:49:51 -04:00
Alexis Beingessner
03f40cdeed
Bug 1405927 - Remove TextLayer support from nsDisplayText. r=mattwoodrow
...
MozReview-Commit-ID: J1BDkXZdvnc
--HG--
extra : rebase_source : 8c9f1e211cae636d219bb475bf2e07a4b14df6ef
2017-10-04 13:49:51 -04:00
cku
3997f2cb11
Bug 1343147 - Part 1. Do not double applying transform vector of the root frame in a glyph mask into the target context. r=mstange
...
When we generate the glyph mask for a transformed frame in
GenerateAndPushTextMask, the transform vector had been applied into aContext[1],
so we should find a way to prevent applying the vector again when painting the
glyph mask.
In bug 1299715, I tried to prevent double apply at [2], it caused two problems:
1. We only skip generating nsDisplayTransform, but we may still create a
nsDisplayPerspactive bellow. Since the parent of a nsDisplayPerspective must be
a nsDisplayTransform, which have been ignored, so we hit this assertion.
2. We skip all transform for all frames while painting the glyph mask, which is
not correct. We should only skip double applying transform vector of the root
frame.
This patch fixes both of these issues:
a. We will still create a nsDisplayTransform for the root frame if need. But
the transform matrix we apply into the target context will be an identity
matrix, so we fix #1 above.
b. In #a, we change the transform matrix to an identity matrix only for the root
frame of the glyph mask, so we fix #2 .
[1]
https://hg.mozilla.org/mozilla-central/file/59e5ec5729db/layout/painting/nsDisplayList.cpp#l752
[2]
https://hg.mozilla.org/mozilla-central/file/ce2c129f0a87/layout/generic/nsFrame.cpp#l2806
MozReview-Commit-ID: 973lkQQxLB6
--HG--
extra : rebase_source : aef80444e94d3af7eca776c981f8faded03bc985
2017-10-03 11:29:19 +08:00
Kyle Machulis
e54a4653ba
Bug 1404079
- Remove nsIDOMHTMLFrameElement; r=bz
...
MozReview-Commit-ID: GSvMwRpl7g4
--HG--
extra : rebase_source : a5e8ee45bae90eaa9ecdcc6f0bac0c9dac0ce2c8
2017-09-28 19:06:14 -07:00
Wes Kocher
6dc323cfe9
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: Dxbv9TjDlDY
2017-10-04 16:47:41 -07:00
Wes Kocher
d8985b6e57
Merge inbound to central, a=merge
...
MozReview-Commit-ID: IUFdbLdYFhX
2017-10-04 16:37:59 -07:00
Emilio Cobos Álvarez
d46ace29b9
Bug 1405605: Bypass the IsReallyFixedPos assertion when the style may have changed due to first-line reparenting. r=bz
...
MozReview-Commit-ID: HS0670UMqKK
2017-10-04 17:53:13 +02:00
Kartikaya Gupta
5bc0302cb0
Bug 1391816 - Follow-up to rename WebRenderCommandsBuilder to WebRenderCommandBuilder. r=jrmuizel
...
MozReview-Commit-ID: 3M0CTIheg5s
--HG--
rename : gfx/layers/wr/WebRenderCommandsBuilder.cpp => gfx/layers/wr/WebRenderCommandBuilder.cpp
rename : gfx/layers/wr/WebRenderCommandsBuilder.h => gfx/layers/wr/WebRenderCommandBuilder.h
extra : rebase_source : 713acc860b61f9be81934f2e03491aa6acc6a98e
2017-10-04 10:45:29 -04:00
Kartikaya Gupta
561b271b7d
Bug 1405399 - Update due to API change in WR cset 75216e5. r=Gankro
...
MozReview-Commit-ID: GM8qA0MKaHv
--HG--
extra : rebase_source : cb8cddeab931e34ad5cc7392308f177970cdabde
2017-10-04 14:54:37 -04:00
Emilio Cobos Álvarez
6c660646ad
Bug 1324684: Remove stale crashtest annotations. r=me
...
MozReview-Commit-ID: 4wwGkefTWC3
2017-10-04 11:38:12 +02:00
Sebastian Hengst
8512b78e41
merge mozilla-central to mozilla-inbound. r=merge a=merge
2017-10-04 11:18:02 +02:00
Sebastian Hengst
5e0b457b10
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
660ab8f549
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
0ba56b9c7d
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
ae652b0b37
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
4f26cd362a
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
0f0bb7e74c
Bug 1404179 - Prepend rather than append frames from overflow list of prev-in-flow for ruby frames. r=dholbert
...
MozReview-Commit-ID: 1xUEf1S6GEK
--HG--
extra : rebase_source : d4aba39066b147ce0bcbe736b6e936676861c7db
2017-10-03 16:19:41 +11:00
Wes Kocher
9e15b5649f
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: 43R3aNMoMyN
2017-10-03 14:58:01 -07:00
Kartikaya Gupta
2f1948343f
Bug 1403915 - Remove the WebRender*Layer classes and functions that refer to them. r=jrmuizel
...
MozReview-Commit-ID: 2syFwMc7j3r
--HG--
extra : rebase_source : 9a3852506820eb09328d91007581d74786eba9b0
2017-10-03 16:31:08 -04:00
Kartikaya Gupta
dbe077b3f1
Bug 1403915 - Remove the IsLayersFreeTransaction() machinery and assume it's always true. r=jrmuizel
...
MozReview-Commit-ID: 7FYVirQ5pal
--HG--
extra : rebase_source : 4b33fba54776003b4f0d45b89be07916db1f2340
2017-10-03 16:31:07 -04:00
Wes Kocher
2364d1a8d8
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: 4ZKbmMi1U80
2017-10-02 16:23:14 -07:00
Timothy Nikkel
3ca5249135
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
Alexis Beingessner
b5bacff9f8
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
--HG--
extra : rebase_source : 22b445d40ee46bb09d4325828a8e959d3da7a9c7
2017-09-29 12:05:34 -04:00
Ting-Yu Lin
d944131798
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
--HG--
extra : rebase_source : bdbbd47de57e0bc610e37913752ab8413f62588a
2017-09-25 18:50:24 +08:00
Markus Stange
4b4d6f1561
Bug 1402498 - Add ScrollAnimationMSDPhysics, can be enabled using general.smoothScroll.msdPhysics.enabled. r=rhunt
...
MozReview-Commit-ID: fr8Q9iod5k
--HG--
extra : rebase_source : b9113d40081371872deff6aade13fd226b3e72a9
2017-09-26 20:55:35 -04:00
Markus Stange
c2ed209689
Bug 1402498 - Separate out ScrollAnimationBezierPhysics and make ScrollAnimationPhysics an interface. r=rhunt
...
MozReview-Commit-ID: K3b8vjY5xaO
--HG--
rename : layout/generic/ScrollAnimationPhysics.cpp => layout/generic/ScrollAnimationBezierPhysics.cpp
extra : rebase_source : e112a02b0ce40438375ff48e5bd1911a8ad4da3b
2017-09-29 18:37:14 -04:00
Markus Stange
c4ba4ac85d
Bug 1402498 - Clean up ScrollAnimationPhysics code after the separation. r=rhunt
...
MozReview-Commit-ID: Ldm96zHxqWD
--HG--
extra : rebase_source : c5e18772e07425e07221541761af01c55f9db782
2017-09-22 15:08:39 -04:00
Markus Stange
488f43bd92
Bug 1402498 - Rename AsyncScrollBase to ScrollAnimationPhysics and use composition instead of inheritance. r=rhunt
...
MozReview-Commit-ID: 7UFf0mZsrEr
--HG--
rename : layout/generic/AsyncScrollBase.cpp => layout/generic/ScrollAnimationPhysics.cpp
rename : layout/generic/AsyncScrollBase.h => layout/generic/ScrollAnimationPhysics.h
extra : rebase_source : 66cc26ef54b31d5cfe498d8f23bc678862423aa5
2017-09-22 13:42:29 -04:00
Markus Stange
387bf73f2e
Bug 1404137 - Fix unified-build problem in TextOverflow.cpp r=botond,Gankro
...
MozReview-Commit-ID: GuJp2rHuHXj
--HG--
extra : rebase_source : e194cb3bcb87997ebfb8c635e6d18caf950df091
2017-09-29 17:56:48 -04:00
Wes Kocher
eb9a2ed0f2
Merge inbound to central, a=merge
...
MozReview-Commit-ID: IqwKWn7ceHC
2017-09-29 14:47:25 -07:00
Wes Kocher
1c60b714fa
Backed out changeset 35eef74c99f2 (bug 1404137) for windows build bustage a=backout
...
MozReview-Commit-ID: 7p79NTmrSSK
2017-09-29 11:18:12 -07:00
Markus Stange
581a74f989
Bug 1404137 - Fix unified-build problem in TextOverflow.cpp r=Gankro
...
MozReview-Commit-ID: 3r2mkbZCprX
--HG--
extra : rebase_source : 3aabd01c29c92da0cbeac9818641992ed4928b83
2017-09-28 18:08:52 -04:00
Emilio Cobos Álvarez
78eab7101d
Bug 1404167: Properly update the styles of first-letter childs of anon boxes. r=bz
...
MozReview-Commit-ID: Cyxs4FxGj6B
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-09-29 13:14:37 +02:00
Sebastian Hengst
9aa7a73678
Backed out changeset 710b592482ee (bug 1404167) for asserting mOwner == ExpectedOwnerForChild(aFrame) at ServoRestyleManager.cpp:125. r=backout
2017-09-29 11:39:12 +02:00
Emilio Cobos Álvarez
6f5e0eacb8
Bug 1404167: Properly update the styles of first-letter childs of anon boxes. r=bz
...
MozReview-Commit-ID: Cyxs4FxGj6B
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-09-29 08:50:47 +02:00
Wes Kocher
253017b382
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: 9qR4QYHAi2x
2017-09-28 17:08:09 -07:00
Wes Kocher
1674eb3e4f
Merge inbound to m-c a=merge
...
MozReview-Commit-ID: 7zOjePOWzOM
2017-09-28 16:56:44 -07:00
Xidorn Quan
75f4e122c9
Bug 1401420 part 5 - Add crashtest for this bug. r=dholbert
...
MozReview-Commit-ID: 6U9aUdoj4n9
--HG--
extra : source : 163fe606a34732b4347e56ba15d9d637d63bde10
2017-09-29 08:36:36 +10:00
Xidorn Quan
06ddedaf53
Bug 1401420 part 4 - Have ruby frames only push children to overflow list, and reparent floats when adopting children from prev-in-flow. r=dholbert
...
MozReview-Commit-ID: JmAhY4WnHRV
--HG--
extra : source : 2e38f77752cdbd96c41b39dfac858057aca38924
2017-09-29 08:36:36 +10:00
Xidorn Quan
49586f2e2e
Bug 1401420 part 3 - Add nsContainerFrame::PushChildrenToOverflow. r=dholbert
...
MozReview-Commit-ID: 80kFIJEQjLC
--HG--
extra : source : 8a9c4d3546e36b16b0519c3e171eaf7f395f0a25
2017-09-29 08:36:36 +10:00
Xidorn Quan
e8f82c139a
Bug 1401420 part 2 - Remove some duplicate function comment from nsContainerFrame. r=dholbert
...
MozReview-Commit-ID: 197O996oujk
--HG--
extra : source : a210fe66ace0ac58b8e9e0564b9853f7542c2464
2017-09-29 08:36:36 +10:00
Xidorn Quan
a431f4013b
Bug 1401420 part 1 - Move ReparentFloatsForInlineChild from nsInlineFrame to nsContainerFrame. r=dholbert
...
So that ruby base/text container can use it.
MozReview-Commit-ID: 1YrWJZKMk7J
--HG--
extra : source : 6e51026558ea6f8b6057c98332deb6636ae320a3
2017-09-29 08:36:36 +10:00
Ting-Yu Lin
a19f7d8471
Bug 1401807 Part 3 - Use a local reflow status when reflowing nsVideoFrame's children. r=dholbert
...
This ensures the video frame's reflow status is not affect by its children's
reflow result.
MozReview-Commit-ID: 4WwLFyIyV4q
--HG--
extra : rebase_source : 1a2f4c4b4b6508dfda195bceef39a80f9093e117
2017-09-27 23:27:25 +08:00
Ting-Yu Lin
569e748c2f
Bug 1401807 Part 2 - Add a crashtest. r=dholbert
...
MozReview-Commit-ID: 18oPdP1OplJ
--HG--
extra : rebase_source : 18452a683a1dfbcf612778da1287815553db8d20
2017-09-27 23:12:55 +08:00
Ting-Yu Lin
03b735b023
Bug 1401807 Part 1 - Give unconstrained block size when reflowing mPosterImage. r=dholbert
...
Also, added MOZ_ASSERT to ensure all the video frame's children are fully
complete after reflowing (except for the mVideoControls special case on
Android).
This fixed aStatus.IsEmpty() assertion for the test case added in Part 2.
MozReview-Commit-ID: HKze4EZoaJY
--HG--
extra : rebase_source : d695ee3a7c884450ba7dd9da41e14ab3621c89ed
2017-09-27 23:04:42 +08:00