Ting-Yu Lin
51d252c459
Bug 1377196 Part 1 - Store nsBindingManager* in ServoStyleSet. r=heycam
...
We need to call nsBindingManager's method from ServoStyleSet in a later
patch.
Also, we call nsStyleSet::SetBindingManager() immediately after we call
nsStyleSet::Init(). Therefore, we could pass binding manager to Init()
directly, and delete SetBindingManager().
MozReview-Commit-ID: 43WTpW3mSKX
--HG--
extra : rebase_source : f24f6085c51dfae1a969aee1e073720097d240d5
2017-06-29 13:43:59 -07:00
Carsten "Tomcat" Book
daa67cc9e3
merge mozilla-inbound to mozilla-central a=merge
2017-06-30 12:59:45 +02:00
Cameron McCormack
aee3fd5f2f
Bug 1362924 - Part 2: Add script blockers around remaining PresShell::{Destroy,Initialize} calls to protect against re-entrant nsDocumentViewer calls. r=tnikkel
...
MozReview-Commit-ID: G0lUGsNLb2b
2017-06-28 09:35:45 -04:00
Cameron McCormack
35ec5d97b3
Bug 1362924 - Part 1: Stop synchronously running XBL constructors and flushing style in PresShell::Initialize. r=tnikkel
...
MozReview-Commit-ID: 8GUm6Mt5wiK
2017-06-28 09:33:04 -04:00
Mats Palmgren
021ccf02e1
Bug 1377135
- Use LookupForAdd instead of Get+Put to avoid unnecessary hashtable lookups in nsRefreshDriver::AddImageRequest. r=froydnj
...
MozReview-Commit-ID: 4h0fvadmBn0
2017-06-29 20:53:46 +02:00
Ryan Hunt
f2d4d39378
Bug 1376538 - Transmit APZ focus target updates on empty transactions. r=kats
...
This commit also schedules empty transactions on input events that trigger a
focus sequence number update.
MozReview-Commit-ID: 1FWXfStLsGv
--HG--
extra : rebase_source : 02c6f07287b6909493f6f88345a3cca93ab3e45b
2017-06-28 15:11:04 -04:00
Carsten "Tomcat" Book
1367c473cd
Merge mozilla-central to mozilla-inbound
2017-06-29 15:49:39 +02:00
Carsten "Tomcat" Book
5f00ae3a8b
merge mozilla-inbound to mozilla-central a=merge
2017-06-29 15:47:04 +02:00
Olli Pettay
da0ec0a364
Bug 1375491, make child process to cache ime properties only at animation tick time, r=masayuki
...
--HG--
extra : rebase_source : 6f13f4d91fc4873d135824431adb4b0b2843b738
2017-06-29 14:46:11 +03:00
Carsten "Tomcat" Book
f32372e861
Backed out changeset 2992d5af6251 (bug 1376640) for assertion failures like Assertion failure: mOwner == ExpectedOwnerForChild(aFrame) (Missed some frame in the hierarchy?)
2017-06-29 08:22:08 +02:00
Boris Zbarsky
991d1134d8
Bug 1376640. Fix dynamic updates when an inline that sits between a first-letter and its block changes style. r=heycam
...
MozReview-Commit-ID: 8osMUpYVRvR
2017-06-28 22:19:35 -07:00
Sebastian Hengst
36ddc45095
Backed out changeset 8a07aa497968 (bug 1312605) for failing mobile/android/tests/browser/chrome/test_session_scroll_position.html. r=backout
2017-06-29 05:06:15 +02:00
Sebastian Hengst
37b8fdc065
Backed out changeset e1283673d436 (bug 1312605)
2017-06-29 05:05:05 +02:00
Emilio Cobos Álvarez
22eedb837d
Bug 1375969: Fix MightHave{State,Attribute}Dependency for XBL. r=heycam
...
MozReview-Commit-ID: 8I29pMHq4uf
2017-06-28 18:45:34 -07:00
Jan Henning
657e52aaed
Bug 1312605 - Part 1 - Don't clobber resolution changes that happen before first paint on Fennec. r=kats
...
When going back/forward through a tab's session history, the saved resolution from the LayoutHistoryState is set on the PresShell before first paint. On Fennec, this means that it is subsequently going to be overwritten by the MobileViewportManager's default zoom calculation.
To fix this, we make use of the MVM's feature to set a "restored" resolution that will then be taken into account on first paint.
MozReview-Commit-ID: 43o97M6fiaZ
--HG--
extra : rebase_source : 45d29057de137cb306617481311622c6ca620fa3
2017-06-28 16:13:01 -07:00
Jan Henning
af9f59581a
Bug 1312605 - Part 0 - Fix indentation in MVM. r=kats
...
MozReview-Commit-ID: FYAZNhVzPsb
--HG--
extra : rebase_source : 9dc0251763dc574e932b4508564d9ed8065f21c2
2017-06-28 11:23:02 -07:00
Cameron McCormack
e9022dc34e
Bug 1376647
- Use new MayHaveAnonymousChildren flag to skip work in AllChildrenIterator and some util functions. r=bholley
...
MozReview-Commit-ID: 783VtcY7qQF
2017-06-27 17:53:39 -07:00
Sebastian Hengst
0dae3d6940
Backed out changeset ee62473b968c (bug 1376647
) for build bustage: no member named 'MayHaveAnonymousChildren' in 'nsIContent' at dom/base/nsContentUtils.cpp:10258. r=backout on a CLOSED TREE
2017-06-29 01:09:42 +02:00
Cameron McCormack
e389f956ce
Bug 1376647
- Use new MayHaveAnonymousChildren flag to skip work in AllChildrenIterator and some util functions. r=bholley
...
MozReview-Commit-ID: 783VtcY7qQF
--HG--
extra : rebase_source : 9837ea050a56c86cc7572bc1f51945cb67b55226
2017-06-27 17:53:39 -07:00
Kartikaya Gupta
56edc85a6e
Bug 1376782 - Replace gfxPoint with a typedef to PointDouble. r=jrmuizel
...
This also moves the WithinEpsilonOf function from gfxPoint into
PointTyped, and changes call sites that are using
gfxPoint::Transform(Matrix4x4) to use Matrix4x4::TransformPoint(Point)
instead, which should be equivalent.
MozReview-Commit-ID: 3Z0bsU41rQt
--HG--
extra : rebase_source : 390e8de546d641d324e7125a06d0b8b51a48b946
2017-06-28 11:42:23 -04:00
Bobby Holley
834849b377
Bug 1376655 - Move EnsureSameStructsCached to GeckoStyleContext. r=emilio
2017-06-28 10:08:37 -07:00
Bobby Holley
83be980ecc
Bug 1376655 - Don't call EnsureSameStructsCached in ServoRestyleManager. r=emilio
2017-06-28 10:08:37 -07:00
Bobby Holley
5681b4713c
Bug 1376655 - Use ServoStyleContext in more places. r=emilio
2017-06-28 10:08:36 -07:00
Carsten "Tomcat" Book
7918eeee02
merge mozilla-inbound to mozilla-central a=merge
2017-06-28 13:23:29 +02:00
Sebastian Hengst
69c5a67f25
Backed out changeset 991cb2487be8 (bug 1375940)
2017-06-28 02:22:03 +02:00
Emilio Cobos Álvarez
10227381d3
Bug 1375674: Track the owner that represents the changes handled, and fix a bunch of issues while at it. r=heycam
...
In particular, this fixes:
* Restyling of <area> elements that reuse the primary frame mapping for the
image map.
* Restyling of children of display: contents elements when the display:
contents element generates a hint.
* Restyling of out-of-flows (if my analysis in the bug is right).
* Restyling of the ::backdrop pseudo-element.
* Restyling of the Viewport frame.
I only managed to do a reftest for the second one, but the rest of them are
covered by the assertions added.
MozReview-Commit-ID: E7QtiQ1vPqu
--HG--
extra : rebase_source : 89085d96103ca743ba95ba61feeac68d24e8d307
2017-06-23 19:31:35 +02:00
Emilio Cobos Álvarez
bb71f1a6bc
Bug 1375674: Don't use the owner's changes handled for the backdrop frame. r=heycam
...
MozReview-Commit-ID: GpIQwqge8L
--HG--
extra : rebase_source : edb667bfc077a15b2d5676a07c079544fd1556fb
2017-06-23 19:26:20 +02:00
Emilio Cobos Álvarez
79491cce00
Bug 1375674: Constify and simplify nsLayoutUtils::{First,Last}ContinuationOrIBSplitSibling. r=heycam
...
MozReview-Commit-ID: phsCyamDum
--HG--
extra : rebase_source : 805bcaef0732f9c3208b1234cd3aaaf4216eabe9
2017-06-25 01:48:27 +02:00
Michael Layzell
381991e752
Bug 1375940 - Part 2: Fix an assertion in PresShell::HandleEventWithTarget, r=smaug
...
MozReview-Commit-ID: 4hRjlgbLDA8
2017-06-27 16:24:48 -04:00
Masatoshi Kimura
68794e5c6e
Bug 1376164 - Turn nsDocumentViewer::mHintCharset and mForceCharacterSet into const mozilla::Encoding*. r=hsivonen
...
MozReview-Commit-ID: HTi2eNwDH99
--HG--
extra : rebase_source : 13c702981c188a395b6026883c3731e816f55240
2017-06-25 22:46:08 +09:00
Bobby Holley
7f8bab3fa9
Bug 1376245 - Hand the already-resolved style directly to servo when creating generated content. r=emilio,r=birtles
...
This avoids a lot of expensive machinery when we've already computed the style.
2017-06-27 11:39:53 -07:00
Carsten "Tomcat" Book
9c5ccdbab2
Merge mozilla-central to autoland
2017-06-27 15:15:58 +02:00
Carsten "Tomcat" Book
4e00eff077
merge mozilla-inbound to mozilla-central a=merge
2017-06-27 10:56:41 +02:00
Boris Zbarsky
c6ef0c7be1
Bug 1324618 part 9. Implement FrameForPseudoElement for ::first-letter. r=emilio
...
This also makes us stop reframing on lack of frame for pseudo-elements for which
such a lack is expected in various situations and means the pseudo-element's
styles do not matter.
MozReview-Commit-ID: K1qzeow2Z6H
2017-06-26 23:35:09 -07:00
Boris Zbarsky
3966a1a2ea
Bug 1324618 part 8. Implement restyling for first-letter frames. r=emilio
...
MozReview-Commit-ID: IPUDD1Q6AFq
2017-06-26 23:35:08 -07:00
Boris Zbarsky
650a2f7bf1
Bug 1324618 part 7. Set our new style context on all our continuations in ServoRestyleManager. r=emilio
...
MozReview-Commit-ID: 4gVXPDCPZnq
2017-06-26 23:35:08 -07:00
Boris Zbarsky
bcdd5893da
Bug 1324618 part 6. Change when we update frame pseudo styles to happen after we've dealt with styles for the frame's kids. r=emilio
...
::first-letter and ::first-line both want to change the styles of kids, and we
don't want the normal post-traversal for kids to clobber those changes.
MozReview-Commit-ID: 1tIsXz1n0uZ
2017-06-26 23:35:08 -07:00
Boris Zbarsky
955487f7ab
Bug 1324618 part 4. Implement a way to get the first-letter frame, if any, for a block. r=heycam
...
MozReview-Commit-ID: 1o0d5ugJ1hj
2017-06-26 23:35:07 -07:00
Carsten "Tomcat" Book
bb1fe1fc10
Backed out changeset 049b20a12429 (bug 1324618) for bustage
2017-06-27 10:39:58 +02:00
Carsten "Tomcat" Book
31e82235a6
Backed out changeset d2ac7a671d41 (bug 1324618)
2017-06-27 10:39:43 +02:00
Carsten "Tomcat" Book
4cc07d8aaf
Backed out changeset 01deb185c67a (bug 1324618)
2017-06-27 10:39:41 +02:00
Carsten "Tomcat" Book
d4cd7abe0a
Backed out changeset 169cafc2d5f9 (bug 1324618)
2017-06-27 10:39:39 +02:00
Carsten "Tomcat" Book
eaef36b0fe
Backed out changeset 18cd81f24778 (bug 1324618)
2017-06-27 10:39:38 +02:00
Boris Zbarsky
81594e4f4d
Bug 1324618 part 9. Implement FrameForPseudoElement for ::first-letter. r=emilio
...
This also makes us stop reframing on lack of frame for pseudo-elements for which
such a lack is expected in various situations and means the pseudo-element's
styles do not matter.
MozReview-Commit-ID: K1qzeow2Z6H
--HG--
extra : rebase_source : 6e41d87247e9af9f4516058cbd1f2ea8c869555c
2017-06-26 23:35:09 -07:00
Boris Zbarsky
f9aed5db67
Bug 1324618 part 8. Implement restyling for first-letter frames. r=emilio
...
MozReview-Commit-ID: IPUDD1Q6AFq
--HG--
extra : rebase_source : e7f1b97fc43825de4617195edb4d9ed6bfbb12f2
2017-06-26 23:35:08 -07:00
Boris Zbarsky
b78e40f149
Bug 1324618 part 7. Set our new style context on all our continuations in ServoRestyleManager. r=emilio
...
MozReview-Commit-ID: 4gVXPDCPZnq
--HG--
extra : rebase_source : c6f6102afee259daa92c41a083acf70cc52b93f3
2017-06-26 23:35:08 -07:00
Boris Zbarsky
c28a6ece99
Bug 1324618 part 6. Change when we update frame pseudo styles to happen after we've dealt with styles for the frame's kids. r=emilio
...
::first-letter and ::first-line both want to change the styles of kids, and we
don't want the normal post-traversal for kids to clobber those changes.
MozReview-Commit-ID: 1tIsXz1n0uZ
--HG--
extra : rebase_source : d7e35495eb3745f13d439558b4ceaee35289088d
2017-06-26 23:35:08 -07:00
Boris Zbarsky
af8c5f3819
Bug 1324618 part 4. Implement a way to get the first-letter frame, if any, for a block. r=heycam
...
MozReview-Commit-ID: 1o0d5ugJ1hj
--HG--
extra : rebase_source : 6b6900ab2c6fdb3ae07af6e7915b1ecce8cf051d
2017-06-26 23:35:07 -07:00
Bill McCloskey
f115503a0b
Bug 1372405
- Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Masatoshi Kimura
b515c9c804
Bug 1373984 - Turn nsIDocument::mCharacterSet into mozilla::NotNull<const mozilla::Encoding*>. r=hsivonen
...
MozReview-Commit-ID: GF0YXDwfA14
--HG--
extra : rebase_source : fdae0046f882d47fb539a7f882364e5c5caafdcd
extra : source : 49249788c0dee331ac2989dc39f0505d965a7bd8
2017-06-18 20:37:50 +09:00