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

61499 Коммитов

Автор SHA1 Сообщение Дата
Xidorn Quan 783034684d Bug 1412145 - Drop more backpointers of CSSOM objects in dtor and unlink. r=bz
MozReview-Commit-ID: Ftg3WMBBNlO

--HG--
extra : rebase_source : 65834280c2ae9736861096172ca3f1d4e789c7a4
extra : source : ecbc4f545e09e969b8212e77d013a6b46b983763
2017-11-28 17:06:51 -06:00
Tiberius Oros c1f0b328fa Backed out changeset 5043401c5447 (bug 1412145)for failing layout/style/test/test_any_dynamic.html r=backout on a CLOSED TREE
--HG--
extra : amend_source : 7779c8e296c0e8e1a9677608f67d28f171cdf654
2017-11-28 21:50:29 +02:00
Xidorn Quan 80a94641e2 Bug 1412145 - Drop more backpointers of CSSOM objects in dtor and unlink. r=bz
MozReview-Commit-ID: Ftg3WMBBNlO
2017-10-24 12:20:50 +11:00
Mike Conley 741c01cd43 Bug 1421351 - Queue chrome-only scrollend event in refresh driver scroll event queue instead of firing immediately. r=kats
MozReview-Commit-ID: KVQ5kp1t7NW

--HG--
extra : rebase_source : f8daa82c692c94a9a2f5d2f88987b3d0d10d7bbb
2017-11-28 13:09:56 -05:00
Cosmin Sabou 7d7b59dd0b Backed out changeset 423f4e43a975 (bug 1417751) for xpcshell failures at devtools/shared/tests/unit/test_css-properties-db.js r=backout on a CLOSED TREE 2017-11-28 13:50:59 +02:00
lochang 416f319bb8 Bug 1417751 - Implement a new value inner-spin-button to -moz-appearance on all platforms except Android. r=mats
MozReview-Commit-ID: 3I1LBLbCfmF

--HG--
extra : rebase_source : f9a356d592eac90d91a59de0c7ab0ded6ab80ab2
2017-11-28 10:39:50 +08:00
Brindusan Cristian 9f3bd430c2 Merge inbound to mozilla-central a=merge r=merge 2017-11-28 11:50:57 +02:00
Hiroyuki Ikezoe 32c6e1fae4 Bug 1415783 - Flush pending style, layout and paint and wait for a MozAfterPaint before waiting for MozAfterPaint for OMT animation. r=birtles
With the conformant Promise handling (bug 1193394), there happen to receive
unexpected MozAfterPaint while waiting for MozAfterPaint for OMT animation.
The safest way to avoid this confusion is to start test refresh mode and
flush all pending styles (layout and paint) there so that the unexpected
MozAfterPaint is absorbed there.

MozReview-Commit-ID: 2xdKe4InYcP

--HG--
extra : rebase_source : dd6ba1dff7c449e40bb3286b5d9083eefc196de5
2017-11-28 14:57:24 +09:00
Dave Townsend 27380b996e Bug 1404420: Add custom element support to XUL. r=edgar, r=smaug
MozReview-Commit-ID: BietEX2gOoG

--HG--
extra : rebase_source : 6fd9a732a21f2c048d37c3f7139cd18503148767
2017-10-10 15:25:10 -07:00
Margareta Eliza Balazs 463d2cbb86 Merge mozilla-central to mozilla-inbound. r=merge a=merge on a CLOSED TREE 2017-11-28 00:10:33 +02:00
Margareta Eliza Balazs f0400e7e4c Merge inbound to mozilla-central r=merge a=merge 2017-11-27 23:57:42 +02:00
Matt Woodrow dc809d0cf5 Bug 1418722 - Mark nsDisplayPerspective items for removal when the inner transform frame gets removed from the frame tree. r=mstange
--HG--
extra : rebase_source : 2fb93f516949aa084ab014388fbb19e7a59f1c19
2017-11-28 09:39:08 +13:00
Kartikaya Gupta 71b95cfe9c Bug 1418397 - Add dispatch-to-content hit info to WR hit-test for inactive scrollframes. r=mstange
MozReview-Commit-ID: F6HgYPRc9Bi

--HG--
extra : rebase_source : b05af2f355118fcd340effc9e022e95f7b03fbaa
2017-11-27 12:37:30 -05:00
Sebastian Hengst 9dc9b78023 Backed out 3 changesets (bug 1419226) for frequently for frequently timing out in Web reftests in webvtt, e.g. enable_controls_reposition.html. r=backout
Backed out changeset 5a2460c34657 (bug 1419226)
Backed out changeset 8cda3fb3ce1a (bug 1419226)
Backed out changeset 21d9bedcf411 (bug 1419226)
2017-11-27 17:27:27 +02:00
Ciure Andrei ce43f5fe52 Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2017-11-27 11:51:40 +02:00
Matt Woodrow b5800a6de2 Bug 1420312 - Followup to only mark frame as modified during retained building, since otherwise it won't be restored.
--HG--
extra : rebase_source : 675d7b40da6c41f2b2bc1513bee72e3361cbcd33
2017-11-27 16:47:28 +13:00
Mantaroh Yoshinaga 1256ba5b9b Bug 1419226 - Part 2. Remove notify did paint timer. r=mattwoodrow
This EnsureEventualDidPaintEvent() creates software timer. But this timer will
bring several intermittent tests fail. For example, if we want to check the
compositor animation property. If test receives MozAfterPaint of the timer,
there doesn't have animation property on compositor, as result of this, a test
will fail.

I think we don't need to create this timer each time since current painting is
happening synchronously under the refresh driver.

[1] https://searchfox.org/mozilla-central/rev/919dce54f43356c22d6ff6b81c07ef412b1bf933/layout/base/nsPresContext.cpp#189

MozReview-Commit-ID: Hb7UEITer5t

--HG--
extra : rebase_source : 7aee1eced01813907ab0c3e5dff80e90261c0815
2017-11-27 09:33:54 +09:00
Phil Ringnalda 0d1d9fec7b Backed out 2 changesets (bug 1418433) for unexpected "why should we have flushed style again?" assertion failures
Backed out changeset 761f84b8edb0 (bug 1418433)
Backed out changeset 436723f33b10 (bug 1418433)

MozReview-Commit-ID: 84FAoZcyQjU

--HG--
extra : rebase_source : 5fbba91a8b80fbb25f57f4a6d8b521c8feb7f89a
2017-11-26 23:32:41 -08:00
Matt Woodrow 7f1eacde4f Bug 1419225 - Clip transformed rectangles to the maximum allowed values for the appunit coordinates we're converting into. r=miko 2017-11-27 15:01:15 +13:00
Matt Woodrow 294b97b3df Bug 1420312 - Rebuild the entire visible area when we find preserve-3d content. r=miko 2017-11-27 15:00:19 +13:00
Robert Longson 059b5600cf Bug 584623 - fix cairo bounds calculation for zero length lines. r=jmuizelaar 2017-11-26 14:47:25 +00:00
Cameron McCormack 8839daefd6 Bug 1420383 - Move nsCSSProps::kParserVariantTable into its rightful home in nsCSSProps.cpp. r=xidorn
MozReview-Commit-ID: 7Rg3EYq5GPQ

--HG--
extra : rebase_source : a3bb2bc6fa9f04c72104dc942316f14fd83ed636
2017-11-24 18:17:36 +08:00
Kartikaya Gupta 65fe04094f Bug 1418541 - Correct an error when generating event regions. r=mstange
Turns out that there's been a bug in the event regions code since it was
first written, where touch-action:manipulation is not properly expressed
in the event region structs. It's sort of a design bug that we can't fix
without adding another region. However, in bug 1389149 I accidentally
changed the behaviour of some of these cases because I wasn't aware of
this bug. This patch repairs the code so that it behaves the same as it
used to prior to bug 1389149, and documents the buggy scenario.

MozReview-Commit-ID: 9XhkH6ypZHi

--HG--
extra : rebase_source : 970054c0cc71cdcb9b89925474e553d638c8fcc6
2017-11-25 10:53:35 -05:00
Hiroyuki Ikezoe 45e22a8032 Bug 1420791 - Drop waitForPaints() in runOMTATest(). r=boris
It's no longer used.

MozReview-Commit-ID: DO7RRZaKHxm

--HG--
extra : rebase_source : c7a963ca942d3de5c304f7f19e47ab6e77001e93
2017-11-27 12:29:48 +09:00
Hiroyuki Ikezoe d606b7a73d Bug 1420791 - Drop explicit flushing styles before calling waitForPaintsFlushed(). r=boris
waitForPaintsFlushed() flushes styles inside it, so we don't need the explicit
flush.

MozReview-Commit-ID: KcQYRDWyhU0

--HG--
extra : rebase_source : 9adeaa107f358d9beb717a6d1fa96bbfd4c05416
2017-11-27 12:29:45 +09:00
Hiroyuki Ikezoe 126931ab2d Bug 1420791 - Use waitForPaintsFlushed() instead of waitForPaints(). r=boris
The waitForPaints() which is defined in function runOMTATest() invokes
waitForAllPaintsFlushed(), it is the same what waitForPaintsFlushed() does.

MozReview-Commit-ID: BKt2fZO3DuM

--HG--
extra : rebase_source : b0cd89ca4000cd7bfae2c169d44984e15e78f9e5
2017-11-27 12:29:41 +09:00
Gerald Squelart 91a021aeb0 Bug 1420298 'layout.display-list.retain.verify' to debug retained-dl - r=mattwoodrow
Setting the 'layout.display-list.retain.verify' gfxPrefs implies
'layout.display-list.build-twice', and then compares the retained-built tree
to the non-retained one, and outputs differences&trees to the terminal.

MozReview-Commit-ID: 3dnyIUTbtH8

--HG--
extra : rebase_source : 36a6b8f029d0bd1339557e7c630906311ecf1254
2017-11-20 17:15:08 +11:00
dluca 627438bf3c Backed out 4 changesets (bug 1418224) for build bustages r=backout on a CLOSED TREE
Backed out changeset 3ef8715cb8d7 (bug 1418224)
Backed out changeset 0d58d9fed90d (bug 1418224)
Backed out changeset faad7f275749 (bug 1418224)
Backed out changeset 1e86ff6b95ae (bug 1418224)
2017-11-27 07:42:50 +02:00
Jeremy Chen 52cf386fc1 Bug 1418433 - increment RestyleGeneration for undisplayed elements when updating servo stylist. r=heycam
In the current implementation, we call SetStylistStyleSheetsDirty() every time
a style sheet is changed. However, the dirty bit setting may or may not always
update the style data. For example, the style data for undisplayed elements are
deliberately not updated in Stylo. However, the getComputedStyle API is supposed
to provide a way to get the up-to-date computed style data, even for undisplayed
elements.

In this patch, we increment RestyleGeneration for undisplayed elements when we
decide to update style data (i.e., calling ServoStyleSet::UpdateStylist()) due
to (XBL)StyleSheet is dirty. This could flush the cached data that getComputedStyle
API holds, and ensures the getComputedStyle API computes a new one.

MozReview-Commit-ID: JDDhACOG3z4

--HG--
extra : rebase_source : 51d37757b5449d315aa7c2e0aedb4a4622e2a859
2017-11-26 11:47:27 +08:00
Jeremy Chen b44b5ae893 Bug 1418433 - add a test for style data update mechanism for non-displayed elements. r=heycam
In certain situations, we might access a non-displayed (i.e., display: none;)
element's style data through getComputedStyle API. In this patch, we add a test
to ensure that, if the inline style sheet is changed/modified, the style data
of a non-displayed element is always up-to-date.

MozReview-Commit-ID: Ggjd4FMqZlo

--HG--
extra : rebase_source : 8e9ba5d6b7b4c26b5247b36d44ff02a391dc7ee6
2017-11-26 21:49:41 +08:00
Ethan Lin e488c3f928 Bug 1416995 - Update annotations for related reftests. r=kats
MozReview-Commit-ID: lk4HAiYgid

--HG--
extra : rebase_source : adb5b15851860c063e8edd53ed6f94f3d72c1498
2017-11-15 16:06:13 +08:00
Xidorn Quan d965dc4ff3 Bug 1417824 part 2 - Add reftest for this bug. r=heycam
MozReview-Commit-ID: GxQG5kqo0sM

--HG--
extra : rebase_source : bf1f1c6f647ab1752acb90ae3cbdd91a0c452c10
2017-11-24 19:30:19 -06:00
Xidorn Quan c131c02332 Bug 1417824 part 1 - Query theme for attribute change on element with appearance. r=heycam
The change is mostly copied from GeckoRestyleManager::AttributeChanged.
It is not clear to me whether it's worth moving it to the superclass so
that we don't duplicate the code. If we are removing the Gecko code in
short term, it probably doesn't matter.

It is also not clear whether we should port other code from that method
to ServoRestyleManager.

MozReview-Commit-ID: Fd1nbwgLGa1

--HG--
extra : rebase_source : 7bba8907fa7e57695a8294cf9277804fbe23ff8f
2017-11-22 15:35:12 -06:00
Botond Ballo edb18f7329 Bug 951793 - Export a servo binding to StyleOverscrollBehavior. r=emilio
MozReview-Commit-ID: LlAyLP2IVyp
2017-11-25 01:29:22 +01:00
Botond Ballo a3ce4187d1 Bug 951793 - Do not reconstruct the frame when overscroll-behavior has changed. r=mstange
A repaint is sufficient to pick up the new property value.

MozReview-Commit-ID: oKFgGfquyl
2017-11-25 01:29:21 +01:00
Botond Ballo 94aad98f21 Bug 951793 - Add a test for the pref that controls overscroll-behavior. r=emilio
MozReview-Commit-ID: 9qIuF1Vdsm4
2017-11-25 01:29:19 +01:00
Botond Ballo 41aac0b97c Bug 951793 - Store the overscroll behavior in ScrollMetadata and propagate it to APZ. r=mstange
MozReview-Commit-ID: J7Vkd941QxK
2017-11-25 01:29:01 +01:00
Botond Ballo 4554e0cd08 Bug 951793 - Add overscroll-behavior attributes to ScrollbarStyles. r=mstange
MozReview-Commit-ID: 7fksMZdDSrG
2017-11-25 01:28:59 +01:00
Botond Ballo 978ae3283a Bug 951793 - Style support for overscroll-behavior. r=heycam
MozReview-Commit-ID: IDAfBZy2D5p
2017-11-25 01:28:58 +01:00
Sebastian Hengst 6d4637aebb Backed out 15 changesets (bug 951793) because it landed before the necessary servo changes. r=backout requested by emilio on a CLOSED TREE
Backed out changeset ca8c86e229df (bug 951793)
Backed out changeset 6eef6403fa71 (bug 951793)
Backed out changeset a5e529f52fb1 (bug 951793)
Backed out changeset 054e837609d0 (bug 951793)
Backed out changeset 713a3c9617ce (bug 951793)
Backed out changeset 884913aa1668 (bug 951793)
Backed out changeset c3340b84e534 (bug 951793)
Backed out changeset 50fe3c6ac486 (bug 951793)
Backed out changeset be4e22e5c257 (bug 951793)
Backed out changeset 7055bd5dfc4e (bug 951793)
Backed out changeset fa6da1e723cf (bug 951793)
Backed out changeset 386f77004d89 (bug 951793)
Backed out changeset fa82cdc01408 (bug 951793)
Backed out changeset 867d8ea5355c (bug 951793)
Backed out changeset e61ac8e48971 (bug 951793)
2017-11-25 01:01:41 +02:00
Botond Ballo 67a743207f Bug 951793 - Export a servo binding to StyleOverscrollBehavior. r=emilio
MozReview-Commit-ID: LlAyLP2IVyp

--HG--
extra : rebase_source : 84ef8ce56d4d4eb4ac07fec37786bf64f88f469e
2017-11-24 14:22:16 -05:00
Botond Ballo 9d1d1025ca Bug 951793 - Do not reconstruct the frame when overscroll-behavior has changed. r=mstange
A repaint is sufficient to pick up the new property value.

MozReview-Commit-ID: oKFgGfquyl

--HG--
extra : rebase_source : 4f145fb29eddcc5f83506cc6f512b123c29676ef
2017-11-22 19:06:43 -05:00
Botond Ballo 0c0ca862c0 Bug 951793 - Add a test for the pref that controls overscroll-behavior. r=emilio
MozReview-Commit-ID: 9qIuF1Vdsm4

--HG--
extra : rebase_source : 825cc20e6877c9ec5804c19540b5c4104ee4406c
2017-11-20 18:11:24 -05:00
Jeremy Chen a3c09a51bc Bug 1420724 - remove duplicated include declaration in nsCSSFrameConstructor. r=heycam
MozReview-Commit-ID: KZz7C4gF3md

--HG--
extra : rebase_source : b101f60dedeaf4d08880f0d614966c2ca056a9e6
2017-11-26 23:37:46 +08:00
Ting-Yu Lin 6f96433350 Bug 1418224 Part 4 - Fix tests after adding shape-outside: <image> to style system. r=heycam
Run those fragment URL tests in test_transitions_per_property.html for
clip-path only because shape-outside will resolve URL fragments (i.e. #a),
so the computed value of URL fragment will have document URL as a prefix,
which won't match. Also, added absolute URL tests for both clip-path and
shape-outside.

MozReview-Commit-ID: 8SUpfTaV9cz

--HG--
extra : rebase_source : e5c180a2ef293d70fa33133012023e9360eef98e
2017-11-22 17:54:56 +08:00
Ting-Yu Lin 0a432576a1 Bug 1418224 Part 3 - Add shape-outside: <image> support to style system. r=heycam
Some Gecko style system files are modified to prevent assertions and
crashing, and to keep test failures on stylo disabled builds to minimum.

MozReview-Commit-ID: GuxAeCTz0xx

--HG--
extra : rebase_source : 97c8b3900e4492ac03158a38aa03f7c044b71e0f
2017-11-17 16:34:37 +08:00
Ting-Yu Lin fdbb843588 Bug 1418224 Part 2 - Extract ShapeInfo::CreateBasicShape(). r=heycam
MozReview-Commit-ID: DZ1O0CzzsyT

--HG--
extra : rebase_source : 41d23db4caef61663003c8ea1453363c90cdeca7
2017-11-21 18:24:34 +08:00
Botond Ballo 69d3063396 Bug 951793 - Store the overscroll behavior in ScrollMetadata and propagate it to APZ. r=mstange
MozReview-Commit-ID: J7Vkd941QxK

--HG--
extra : rebase_source : f9d0f664f17f4efe34a21064cbbf259642fe3caf
2017-10-18 20:13:19 -04:00
Botond Ballo 8c642c4f86 Bug 951793 - Add overscroll-behavior attributes to ScrollbarStyles. r=mstange
MozReview-Commit-ID: 7fksMZdDSrG

--HG--
extra : rebase_source : 05f2abc208016ce55bbf2c20c231ab638f0fee3d
2017-10-18 19:13:02 -04:00
Botond Ballo 3ff3395934 Bug 951793 - Style support for overscroll-behavior. r=heycam
MozReview-Commit-ID: IDAfBZy2D5p

--HG--
extra : rebase_source : d70820f9612174ffc8f17f1a2646dc65f46667df
2017-11-22 19:01:11 -05:00