Ethan Lin
e03c8c6a53
Bug 1372118 - Part3. Implement CreateWebRenderCommands for text, transform and background color. r=jrmuizel, r=kats
...
MozReview-Commit-ID: JRoSjygSFHc
2017-06-30 17:23:20 -07:00
Ethan Lin
596418d7bd
Bug 1372118 - Part2. Use new interface of CreateWebRenderCommands for non-image display items. r=jrmuizel, r=kats
...
MozReview-Commit-ID: BcmRjQhDEyf
2017-06-30 17:23:20 -07:00
Ethan Lin
aaa0657a01
Bug 1372118 - Part1. Have a path to create WebRender commands without layers. r=jrmuizel, r=kats, r=mattwoodrow
...
MozReview-Commit-ID: 7iOW9rEtwur
2017-06-30 17:23:20 -07:00
sotaro
966edad229
Bug 1357734 - Change argument of DisplayListBuilder::PushBorder() to bypass compiler bug r=jrmuizel
...
Visual Studio 2015 Update 3 has a bug that PGO build generates movaps to unaligned address. The patch just bypasses the compiler bu
2017-06-30 16:22:25 -07:00
Carsten "Tomcat" Book
8f40d14bcc
merge mozilla-inbound to mozilla-central a=merge
2017-06-30 12:59:45 +02:00
Jessica Jong
d14eef00ce
Bug 1374967 - Part 2: Consider step when deciding whether to show second/millisecond field. r=smaug
...
We should consider step and step base when deciding whether to show second and
millisecond field, since step and step base can affect the valid time intervals,
and the valid intervals may have second/millisecond part.
MozReview-Commit-ID: H4mJvLTvBOM
2017-06-29 11:47:00 -04:00
Cameron McCormack
0d5d83a54e
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
e1b7ef5687
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
Mason Chang
ebd54bd7d5
Bug 1372577. Fallback to CPU alpha to luminance on the parent process. r=jrmuizel
2017-06-29 10:09:14 -07:00
Mats Palmgren
e6e3e1829a
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
a588cdca04
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
2017-06-28 15:11:04 -04:00
Carsten "Tomcat" Book
56bcf9bb99
Merge mozilla-central to mozilla-inbound
2017-06-29 15:49:39 +02:00
Carsten "Tomcat" Book
dff92b2a3c
merge mozilla-inbound to mozilla-central a=merge
2017-06-29 15:47:04 +02:00
Ryan VanderMeulen
2f5a023887
Bug 1375611 - Add Android fuzz to threshold-select-combobox-contents-under-2.html. r=me
2017-06-29 08:26:30 -04:00
Olli Pettay
6f309a81d2
Bug 1375491, make child process to cache ime properties only at animation tick time, r=masayuki
2017-06-29 14:46:11 +03:00
Fernando Jimenez Moreno
99bee24076
Bug 1377068 - temporarily disable layout/style/test/test_variables.html. r=xidorn
2017-06-29 00:41:00 +02:00
Carsten "Tomcat" Book
1370c74581
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
2bc0e8180b
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
07aa4b4d7a
Backed out changeset 99dfc776b001 (bug 1375555) for failing layout/style/test/test_variables.html on stylo. r=backout
2017-06-29 05:46:01 +02:00
Sebastian Hengst
7613f6ff64
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
cda83acdcd
Backed out changeset e1283673d436 (bug 1312605)
2017-06-29 05:05:05 +02:00
Fernando Jimenez Moreno
33030ba348
Bug 1375555 - Part 3: Update test expectations. r=emilio
...
MozReview-Commit-ID: Iv2OLcrzEgw
2017-06-28 19:25:10 -07:00
Fernando Jimenez Moreno
316e1e91cd
Bug 1375555 - Part 2: Implement indexed getter for custom property names. r=emilio
...
MozReview-Commit-ID: Ckc85EJcngM
2017-06-28 19:25:10 -07:00
Fernando Jimenez Moreno
9a5eff4f3d
Bug 1375555 - Part 1: Get custom props count from Servo side for nsComputedDOMStyle::GetLength. r=emilio
...
MozReview-Commit-ID: DYY37HGqRq0
2017-06-28 19:25:10 -07:00
Masayuki Nakano
a38c1205f8
Bug 1375825 - part2: ContentEventHandler::ExpandToClusterBoundary() should check the return value of nsTextFrame::PeekOffsetCharacter() r=jfkthame
...
ContentEventHandler::ExpandToClusterBoundary() doesn't check the return value of nsTextFrame::PeekOffsetCharacter(). Therefore, it may set its result to reversed offset. (e.g., when aForward is true and offset is 6, the result may be 5. When aForward is false and offset is 5, the result may be 6.)
For avoiding that, ContentEventHandler::ExpandToClusterBoundary() should check the result and only when it returns nsIFrame::FOUND, it should compute the proper offset.
On the other hand, it's too bad for ContentEventHandler that nsTextFrame::PeekOffsetCharacter() to return nsIFrame::CONTINUE_UNSELECTABLE when the user-select style is "all" because IME doesn't expect such cases.
Therefore, this patch adds additional argument to nsIFrame::PeekOffsetCharacter(), aOptions which is a struct containing bool members. The reason why it's not a bit mask enum is, such struct doesn't cause simple mistake at checking the value and the code is shorter. When mIgnoreUserStyleAll of it is true, this patch makes nsTextFrame not return nsIFrame::CONTINUE_UNSELECTABLE.
MozReview-Commit-ID: ACNNBTP92YZ
2017-06-29 10:58:16 +09:00
Emilio Cobos Álvarez
03a3dd1fea
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
2b22f826eb
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
2017-06-28 16:13:01 -07:00
Jan Henning
746e979900
Bug 1312605 - Part 0 - Fix indentation in MVM. r=kats
...
MozReview-Commit-ID: FYAZNhVzPsb
2017-06-28 11:23:02 -07:00
Cameron McCormack
859e0706b8
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
Boris Chiou
c4936d9ed8
Bug 1375812 - Add crashtest for interpolation between interpolatematrix and none. r=birtles
...
MozReview-Commit-ID: 4Dg5KfyHLRB
2017-06-27 08:42:56 -07:00
Ting-Yu Lin
f97c402e1c
Bug 1375513 Part 2 - Add a reftest for testing non-chrome XBL bindings with stylesheets. r=heycam
...
This reftest can also catch bug 1372876 because it has pseudo element rules
like ::-moz-range-progress in the XBL stylesheet.
MozReview-Commit-ID: LUicjTRzMKt
2017-06-27 22:24:59 -07:00
Sebastian Hengst
fd8ef3780e
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
Xidorn Quan
2123368ed9
Bug 1375944 - Increment font set generation when font-face is synchronously loaded in post-traversal. r=heycam
...
MozReview-Commit-ID: IJO6Uggpca4
2017-06-28 11:14:18 -07:00
Cameron McCormack
31cac2b727
Bug 1372061 - Part 4: Test expectation adjustment. r=heycam
...
MozReview-Commit-ID: BXDMoZ8LTg5
2017-06-27 23:56:13 -07:00
Cameron McCormack
6f01ef8c21
Bug 1372061 - Change StyleChildrenIterator FFI functions to use placement new/delete. r=bholley
...
MozReview-Commit-ID: BEWvJcaJxA
2017-06-27 23:56:13 -07:00
Cameron McCormack
7003654317
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
Kartikaya Gupta
2df4b399f1
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
2017-06-28 11:42:23 -04:00
Kartikaya Gupta
831844753a
Bug 1376782 - Replace gfxSize with a typedef to SizeDouble. r=jrmuizel
...
Most of the changes in this patch are just using the explicit
constructor from gfx::IntSize to gfx::Size, since gfxSize did
that implicitly but gfx::Size doesn't.
MozReview-Commit-ID: CzikGjHEXje
2017-06-28 11:41:21 -04:00
Matt Brubeck
9a26e17fb6
Bug 1367312 - stylo: Implement :-moz-lwtheme* pseudo-classes. r=emilio
...
MozReview-Commit-ID: 4T6Tn1VEwXP
2017-06-28 09:04:49 -07:00
Bobby Holley
b7f9b0d4cd
Bug 1376655 - Move EnsureSameStructsCached to GeckoStyleContext. r=emilio
2017-06-28 10:08:37 -07:00
Bobby Holley
210e7eac34
Bug 1376655 - Stop using EnsureSameStructsCached in ViewportFrame::UpdateStyle. r=emilio
2017-06-28 10:08:37 -07:00
Bobby Holley
53a0874e63
Bug 1376655 - Don't call EnsureSameStructsCached in ServoRestyleManager. r=emilio
2017-06-28 10:08:37 -07:00
Bobby Holley
0bb4f2f9ec
Bug 1376655 - Use ServoStyleContext in more places. r=emilio
2017-06-28 10:08:36 -07:00
Carsten "Tomcat" Book
2ac538b0f1
Merge mozilla-central to autoland
2017-06-28 13:47:29 +02:00
Carsten "Tomcat" Book
2d174eeab7
merge mozilla-inbound to mozilla-central a=merge
2017-06-28 13:23:29 +02:00
Sebastian Hengst
82dd3b809b
Backed out changeset cfc48662b2cc (bug 1308876) for reftest failures, at least on Windows 7, e.g. layout/reftests/text-overflow/xulscroll.html. r=backout on a CLOSED TREE
2017-06-28 02:59:25 +02:00
Sebastian Hengst
c0ccbb5f83
Backed out changeset 0b20a0fd86ff (bug 1308876)
2017-06-28 02:58:17 +02:00
Sebastian Hengst
99412a480a
Backed out changeset 07def0eabf91 (bug 1308876)
2017-06-28 02:58:12 +02:00
Sebastian Hengst
f1f93715f4
Backed out changeset 4b74f07a39bb (bug 1308876)
2017-06-28 02:58:08 +02:00
Sebastian Hengst
8ac8dc3e01
Backed out changeset 67c036d54d3e (bug 1308876)
2017-06-28 02:58:04 +02:00