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

58689 Коммитов

Автор SHA1 Сообщение Дата
Manish Goregaokar 3597e8df2e Bug 1367904 - Part 13: stylo: Flatten ServoComputedValues into ServoStyleContext; r=bholley
This patch also removes the duplication of style contexts during the
restyle, because otherwise pointer equality of ServoComputedValues stops
holding (and we assert on that in a few places)

MozReview-Commit-ID: 7Evc1p8ZfM2
2017-07-17 21:01:02 -07:00
Manish Goregaokar d909c5cea0 Bug 1367904 - Part 11: stylo: Use ServoStyleContext in ServoStyleSet/ServoRestyleManager; r=bholley
MozReview-Commit-ID: JJOBixTSCZq
2017-07-17 21:00:54 -07:00
Manish Goregaokar f33beecc59 Bug 1367904 - Part 10: stylo: Switch Gecko over to ServoStyleContext; r=bholley
MozReview-Commit-ID: EmopKVjEzlz
2017-07-17 21:00:46 -07:00
Manish Goregaokar ead2d89220 Bug 1367904 - Part 6: stylo: Introduce ComputedValuesInner; r=bholley
MozReview-Commit-ID: 7BU0Pzhuul3
2017-07-17 21:00:39 -07:00
Manish Goregaokar c2b070c584 Bug 1367904 - Part 5: stylo: Make GetBaseComputedValuesForElement return a style context; r=bholley
MozReview-Commit-ID: K5WpWc26xNZ
2017-07-17 21:00:32 -07:00
Manish Goregaokar 387babf22c Bug 1367904 - Part 4: stylo: Replace real ComputedValues with bindgenned ComputedValues2; r=bholley
MozReview-Commit-ID: GRkycXueUVr
2017-07-17 21:00:25 -07:00
Manish Goregaokar 25536ab88d Bug 1367904 - Part 3: stylo: Use RawOffsetArc in ComputedValues; r=bholley
MozReview-Commit-ID: 1zexSgkcQv0
2017-07-17 21:00:14 -07:00
Manish Goregaokar ab2615effa Bug 1367904 - Part 1: stylo: Create C++-side ServoComputedValues; r=bholley
MozReview-Commit-ID: 1k7KFShSHAY
2017-07-17 21:00:07 -07:00
Ting-Yu Lin b87b2c1649 Bug 1381017 - Set NODE_DESCENDANTS_NEED_FRAMES from flatten tree parent. r=emilio,tnikkel
MozReview-Commit-ID: 3CBP8vc6OxB

--HG--
extra : rebase_source : edefbf78c564dc328b265496044171a71c77fb2f
2017-07-17 11:31:31 +08:00
cku b507182a78 Bug 1381503 - Part 2. Do not use GetWidgetLayerManager if gfxPrefs::LayersAllowTextLayers return false. r=mattwoodrow
Call gfxPrefs::LayersAllowTextLayers before aBuilder->GetWidgetLayerManager,
which is costly. Since LayersAllowTextLayers returns false by default, we are
free of using aBuilder->GetWidgetLayerManager.

MozReview-Commit-ID: Jv1voPYjOad

--HG--
extra : rebase_source : b4892a8800d71eeac5f30b8425954505cade31e6
2017-07-17 23:31:36 +08:00
cku cc8d5ba987 Bug 1381503 - Part 1. Fine tune nsDisplayListBuilder::GetWidgetLayerManager. r=mattwoodrow
nsDisplayText ctor does not pass aViewer into
nsDisplayListBuilder::GetWidgetLayerManager, as a result, finding viewer in that
function is not needed.

MozReview-Commit-ID: 2rPbp7jkpo6

--HG--
extra : rebase_source : 85fbe8a91efb9f741b9c513c015b199c88ad9c3a
2017-07-17 22:43:59 +08:00
Wes Kocher 74f8cf4b04 Merge m-c to autoland, a=merge
MozReview-Commit-ID: JZXw0y76rol
2017-07-17 17:38:19 -07:00
Wes Kocher cd4ae862fd Merge inbound to central, a=merge
MozReview-Commit-ID: CugzaiO4IW1
2017-07-17 17:27:51 -07:00
Sebastian Hengst 0c7a679780 Backed out changeset e4dc716c401c (bug 1377595) on suspicion of causing reftest failures on Android "(waiting for MozAfterPaint)". r=backout 2017-07-17 17:48:13 +02:00
Emilio Cobos Álvarez 8ea66df98c Bug 1381276: Reftest. r=jryans
MozReview-Commit-ID: IJUFMtWNETe

--HG--
extra : rebase_source : 33939817156e422138ddd510814b90ecb9363c41
2017-07-16 16:20:38 +02:00
Andrew McCreight 502a686cd7 Bug 1381615 - Remove unused fields from nsIDOMHTMLHRElement and nsIDOMHTMLOptGroupElement. r=bz
MozReview-Commit-ID: DSH3X3s1gsb

--HG--
extra : rebase_source : 15851a49593ce8a61a1c2e530d6b4ee6eb5f0805
2017-07-17 14:33:12 -07:00
Sebastian Hengst d85c6458d8 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-07-17 14:08:27 +02:00
Nicolas Silva 60379ed9fc Bug 1377595 - Mark four tests as passing with webrender. 2017-07-17 13:49:22 +02:00
Nicolas Silva 0a6ed62d0b Bug 1377595 - fuzz a test. r=jrmuizel 2017-07-17 13:49:14 +02:00
Nicolas Silva c81891b82b Bug 1377595 - Avoid using blob images for items that must be painted on the content side. r=jnicol
This patch allows us to decide whether to use blob images depending on a MustPaintOnContentSide flag exposed by each display item. If any of the display item assigned to a given painted layer data have this flag, then the painted layer data is marked as preferring content side painting and the webrender layer manager uses this information to decide whether to create a regular content layer or serialize the drawing commands with blob image. This is useful for items that must be painted on the content side such as scroll bars, checkboxes, buttons, etc. Using blob images for these makes us first paint the widget on the content side, then serialize the painted pixels and blit the content again in the blob image which has a lot more overhead than painting the content into a layer and sharing it with webrender directly.
2017-07-17 13:49:07 +02:00
Emilio Cobos Álvarez 57d0d30a91 Bug 1381323: Account for text frames in ExpectedOwnerForFrame. r=heycam
MozReview-Commit-ID: 62MXX5kf3jj

--HG--
extra : rebase_source : 2a99b8fa54e96f36df80cad208fe96ca5f16b034
2017-07-16 15:42:22 +02:00
cku efa9c443f2 Bug 1377329 - Enlarge the default capacity of nsDisplayBuilfer::mFramesMarkedForDisplayList. r=mattwoodrow
For gmail, 100 is too small, enlarge the dafault capaicty of
nsDisplayListBuilder::MarkFramesForDisplayList to prevent reallocation.

MozReview-Commit-ID: 5zSxyakZ5O9

--HG--
extra : rebase_source : a20032ef98fc0e78ddbd4ac8194ee4f11c2e11a7
extra : source : 105804994e32827ff87ea7fcacecf942df41a051
2017-07-14 01:47:34 +08:00
Brad Werth 271b9b7643 Bug 1359834 Part 4: Add a reftest to ensure dynamic changes to shape-outside trigger reflow. r=dholbert
MozReview-Commit-ID: BDGRKlss8JE

--HG--
extra : rebase_source : 4a3f9ee513e29b83fbbad3a1c2d1176910681379
2017-07-12 13:16:25 -07:00
Brad Werth cda3222945 Bug 1359834 Part 3: Force changes to shape-outside to trigger reflow and overflow recalculation. r=dholbert
MozReview-Commit-ID: 7EgYZIu7aZ9

--HG--
extra : rebase_source : ab56ff5a7c6be8972e6a3a8fd4afc84c0fe390c8
2017-07-14 17:26:30 -07:00
Brad Werth dce3ff515e Bug 1359834 Part 2: Define a new nsChangeHint_ReflowHintsForFloatAreaChange hint and use it for float changes. r=dholbert
MozReview-Commit-ID: 692GBiRUTab

--HG--
extra : rebase_source : 4b3413bb0468037ab5eb25101b7c2a54cdc63d9e
2017-07-14 17:20:35 -07:00
Brad Werth 5e7b4d5092 Bug 1359834 Part 1: Change nsStyleDisplay::CalcDifference to early exit when hinting nsChangeHint_ReconstructFrame. r=dholbert
If we'll be reconstructing frames for the subtree in question, then we'll also
be reflowing and repainting that whole subtree. So all of this function's
other changehints become unnecessary and redundant.

MozReview-Commit-ID: 7R9lARBU7vZ

--HG--
extra : rebase_source : 69904e5920b01c54ffee2698518448bed800994a
2017-07-14 17:16:47 -07:00
Sebastian Hengst c2d8f2d251 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: B5ihiIDgWOs
2017-07-16 16:31:38 +02:00
Sebastian Hengst 33f28b9e2b merge mozilla-central to autoland. r=merge a=merge 2017-07-15 16:35:44 +02:00
Sebastian Hengst 186c6d7165 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Kr2w3UdA0p9
2017-07-15 16:34:47 +02:00
Sebastian Hengst 41619a2b14 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IUTH4DuEehM
2017-07-15 16:32:52 +02:00
Sebastian Hengst 926ac48d87 Backed out changeset 85b25bbb3498 (bug 1368120)
MozReview-Commit-ID: FrScgn7ZRbJ
2017-07-15 16:24:45 +02:00
Sebastian Hengst d2f601555e Backed out changeset 563461d35726 (bug 1368120)
MozReview-Commit-ID: 7VgG99Z8zTV
2017-07-15 16:24:41 +02:00
Sebastian Hengst a3269fc9a9 Backed out changeset fd12674b1d25 (bug 1368120)
MozReview-Commit-ID: Bdfw2wj3k1t
2017-07-15 16:24:37 +02:00
Sebastian Hengst 783b0ede50 Backed out changeset 983f34f53bd2 (bug 1368120)
MozReview-Commit-ID: 3JpO0mNIiVE
2017-07-15 16:24:33 +02:00
Emilio Cobos Álvarez 75746a851c Bug 1380789: followup: Fixup alignment in macro definitions. r=whitespace-only
MozReview-Commit-ID: qNrmZMdKTE
2017-07-15 16:19:40 +02:00
Emilio Cobos Álvarez d18cca3dc7 Bug 1380789: Uplift the type assertions to nightly. r=heycam
I don't think there has been going any type confusion so far, but worth catching
them sooner than later.

MozReview-Commit-ID: CBzSFDnUokh
2017-07-15 16:10:21 +02:00
Wes Kocher 70f22fba79 Bug 1381045 - Remove CSS source text from parsing errors. r=bholley a=bustage
MozReview-Commit-ID: EJGdEc50Gpl
2017-07-15 01:10:13 -07:00
Wes Kocher e9fa5c772a Merge inbound to central, a=merge
MozReview-Commit-ID: 8nlqm5dHCUQ
2017-07-14 17:14:43 -07:00
Kris Maglione a2e2fa50da Bug 1379508: Part 1 - Apply the correct client offsets to remote frameloaders in popup widgets. r=kats
On-screen coordinates for points in remote frameloads are calculated relative
to the screen origin of the top-level window, while event coordinates are
calculated relative to the nearest widget. Since popups have their own widgets
separate from the top-level window, their native client offsets have no
particular relation to the origin of the top-level window, and we need to
manually calculate them relative to the origin of the top-level widget
instead.

MozReview-Commit-ID: EDyEyu37XuY

--HG--
extra : rebase_source : 5d3f7a3fb9518d7a0cf149b8c2f579805d75eb3b
extra : absorb_source : f48ee4b131ff67ae686d12f81ed2ad19b934e81e
2017-07-13 15:31:55 -07:00
Wes Kocher 6d62b1970e Merge m-c to inbound, a=merge
MozReview-Commit-ID: 4kiY84LofOi
2017-07-14 17:19:10 -07:00
Alexis Beingessner 292a9fb375 Bug 1368120 - Mark tests as passing when using webrender. r=kats
MozReview-Commit-ID: sl5wW4lR55

--HG--
extra : rebase_source : 733d2ec7ae544d49857165208de6bb69361cdf9c
2017-07-13 16:06:47 -04:00
Josh Matthews 4d369649f6 Bug 1380488 - Share CSS source line between all same-line errors. r=heycam 2017-07-14 10:53:11 -04:00
Hiroyuki Ikezoe a4f183c102 Bug 1371450 - Crash test. r=emilio
The crash test causes a panic in Servo_ResolveStyle on debug build without this
patch series.  The reason why we send mouse move event twice is that one for
E10S and the other one is for non-E10S. It seems to be caused by being
requestIdleCallback processed on different timing.

MozReview-Commit-ID: 7cBmwhE9HDk

--HG--
extra : rebase_source : a74aa277e2b161b1e4f8da27293cf89ddc3821e1
2017-07-15 13:16:15 +09:00
Hiroyuki Ikezoe 439420deeb Bug 1371450 - Recreate style context only if the element was restyled during the traversal. r=emilio
MozReview-Commit-ID: CBYTB5FeikP

--HG--
extra : rebase_source : e40d357ae70f9852e5b90eb6f3c41565bf1570a6
2017-07-15 13:16:11 +09:00
Hiroyuki Ikezoe 654bcef113 Bug 1371450 - Preserve restyle hints after ForThrottledAnimationFlush restyle. r=emilio
Those remaining restyle hints are needed for normal traversal later.

MozReview-Commit-ID: DswGYGQwgfw

--HG--
extra : rebase_source : e493d964454315e1c9d1dcf7a028976eef1e60a9
2017-07-15 13:09:35 +09:00
Hiroyuki Ikezoe e3679f353d Bug 1371450 - Don't traverse normal dirty elements in ProcessPostTraversal when we process throttled animations restyle for event handling. r=emilio
When we process throttled animations restyle for event handling, we skip normal
traversal at all, so after Servo_TraverseSubtree, normally there remains
unstyled elements which have to be processed in normal traversal later. These
elements should be skipped in ProcessPostTraversal too since it's not yet styled!

MozReview-Commit-ID: LgyWQpiFZ8e

--HG--
extra : rebase_source : f5aecf5952c72fa3902a5b4fa28aa80f3f66a4eb
2017-07-15 13:09:14 +09:00
Hiroyuki Ikezoe c040adf510 Bug 1371450 - Rename TraversalRestyleBehavior::ForAnimationOnly to TraversalRestyleBehavior::ForThrottledAnimationFlush. r=birtles,emilio
ForAnimationOnly is somewhat misleading, it means actually we process
*only* animation-only restyle without normal restyle. The purpose of
ForAnimationOnly is for updating throttled animations to get correct position
of the animations when we need to handle events. Currently we do also update
unthrottled animations though.

MozReview-Commit-ID: HBCCluKrZs9

--HG--
extra : rebase_source : bb37080e44b161b8b0210e3ba3c055604cf43a72
2017-07-15 13:08:47 +09:00
Ryan Hunt 8088a4349d Bug 1379822 - Schedule an empty transaction on a focus sequence number update. r=kats
MozReview-Commit-ID: 6DBRsf86F8m

--HG--
extra : rebase_source : 6694e3c1677a6e1f3ec01d6f58f95df95c8453f5
2017-07-13 10:47:42 -05:00
Samael Wang fb7d249ae4 Bug 1362903 - Clear gCurrentURL on reftest finishes. r=jmaher
MozReview-Commit-ID: 82jsXh702fj
2017-07-14 11:21:29 +08:00
Mason Chang 4e5fc5862f Bug 1381034 - Delete DISPLAY_ITEM_USAGE_COUNT telemetry probe. r=dvander 2017-07-14 13:13:39 -07:00