Commit Graph

56211 Commits

Author SHA1 Message Date
Iris Hsiao
22dd380d12 Backed out changeset 3910de7acce3 (bug 1349418)
--HG--
extra : rebase_source : e0ddc3d0c48256acd0996f16d3198560041f9c3e
2017-04-10 14:42:38 +08:00
Iris Hsiao
9be4542d32 Backed out changeset 006445ffcddd (bug 1351412) for reftest failing in async-scrolling
--HG--
extra : rebase_source : 5366c018c781ab67779065a13c92def70fcefb2b
2017-04-10 14:42:31 +08:00
Nicholas Nethercote
c54a8b6198 Bug 1353948 - Add SizeOfIncludingThis() methods to ServoStyle{Set,Sheet,SheetInner}. r=heycam.
This fills things in a bit more on the Gecko side.

--HG--
extra : rebase_source : a7cd16969fa0ce06f7d9e39f83d67bf3bd472ea4
2017-04-06 12:22:36 +10:00
Matt Woodrow
1c44dce8d2 Bug 1351412 - Make the ContainerState AGR cache work even for non-async scrollable AGRs. r=mstange 2017-04-10 17:02:03 +12:00
Markus Stange
650ae288f5 Bug 1349418 - Remove checkerboarding code and just use an opaque background color behind root scroll frames. r=kats 2017-04-10 17:01:53 +12:00
Sebastian Hengst
1ac51ab409 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 3xAWLzLkoZ3
2017-04-09 20:32:42 +02:00
Ravi Shankar
83ad365ff7 Bug 1354775 - Gecko_CopyStyleGridTemplateValues function for Servo-side copying; r=bholley,heycam
MozReview-Commit-ID: 4Hz82MWZlB0
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-04-09 17:42:20 +08:00
Bob Owen
377f3f30b2 Bug 1347646 Part 2: Use CreateRenderingContext in nsSimplePageSequenceFrame::PrePrintNextPage to ensure recorder is used for canvases. r=jwatt
Calling CreateReferenceRenderingContext currently returns a non-recording DrawTarget even
when the nsIDeviceContextSpec within the nsDeviceContext has a DrawEventRecorder, due to
bug 1354624. Since we've already called BeginPage we can call CreateRenderingContext instead
though and that will give us a recording DrawTarget as we require to record the canvas drawing.
2017-04-08 22:47:51 +01:00
Bob Owen
3f14ad38c2 Bug 1347646 Part 1: Backout 4849ef8c9a34 for causing OOM issues when printing PDFs. r=jwatt, r=lsalzman, r=tobytailor 2017-04-08 22:47:51 +01:00
Sebastian Hengst
6a5fe3bae0 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IkoXCAwjjKu
2017-04-08 22:49:04 +02:00
Sebastian Hengst
03c0c3e43c Backed out changeset cbbedd0b3075 (bug 1351535) 2017-04-08 16:53:09 +02:00
Sebastian Hengst
3323ca3afe Backed out changeset 649120253cc1 (bug 1351535) 2017-04-08 16:53:04 +02:00
Sebastian Hengst
87744c4253 Backed out changeset 2687cb9cb4de (bug 1351535) 2017-04-08 16:52:56 +02:00
Sebastian Hengst
8bfc118fde Backed out changeset bff89114412c (bug 1351535) 2017-04-08 16:52:38 +02:00
Sebastian Hengst
017c1e7173 Backed out changeset 0410ff898157 (bug 1351535) 2017-04-08 16:52:34 +02:00
Cameron McCormack
6c8f6a70b6 Bug 1351286 - stylo: Make Servo mapped attributes mechanism cope with the document being in the bfcache. r=dbaron
MozReview-Commit-ID: H8tpBVKf3xo

--HG--
extra : rebase_source : 698a30deb1ab8ac4840dc6791e4cf12b3be6c5df
2017-04-08 22:42:43 +08:00
Wes Kocher
b689c79de1 Backed out changeset 17650db2f478 (bug 1354775) for stylo bustage at developer's request a=backout 2017-04-08 23:52:25 -07:00
Cameron McCormack
4c83188e63 Bug 1351535 - Part 9: Call StyleSubtreeForReconstruct when doing frame reconstruction. r=bholley
MozReview-Commit-ID: HxoGLPKJpnt

--HG--
extra : rebase_source : da2d6d141746a7765d3cd459a1dcb7be76a46c16
2017-04-04 19:36:09 +08:00
Cameron McCormack
993d5ac341 Bug 1351535 - Part 7: Call StyleSubtreeForReconstruct when doing frame reconstruction. r=bholley
MozReview-Commit-ID: HxoGLPKJpnt

--HG--
extra : rebase_source : 92f2fa9a8f8ce369d067920be762015c879e922f
2017-04-04 19:36:09 +08:00
Cameron McCormack
3d17c09c00 Bug 1351535 - Part 8: Add ServoStyleSet::StyleSubtreeForReconstruct. r=bholley
MozReview-Commit-ID: CovU36o4lAV

--HG--
extra : rebase_source : d827260d084625ff652059e8128b3736505f3903
2017-04-04 19:34:30 +08:00
Cameron McCormack
12cc9ae143 Bug 1351535 - Part 6: Add ServoStyleSet::StyleSubtreeForReconstruct. r=bholley
MozReview-Commit-ID: CovU36o4lAV

--HG--
extra : rebase_source : d1b990032dcf5438823316f2934bf59a1babd337
2017-04-04 19:34:30 +08:00
Cameron McCormack
d52f48a6c4 Bug 1351535 - Part 5: Add a TraversalRestyleBehavior argument to traversal functions. r=bholley
This argument will be used to control whether we are restyling in preparation
for reframing a subtree, which can avoid generating any change hints, as we
aren't preserving the frames that they would otherwise apply to.

MozReview-Commit-ID: DkLVCUnNGt

--HG--
extra : rebase_source : 086a1d71a2e6c706cdd25193ec0592fad897f147
2017-04-04 19:31:23 +08:00
Cameron McCormack
06188bfd80 Bug 1351535 - Part 3: Only explicitly style newly inserted content if the parent is not in a display:none subtree. r=bholley
If we append children to an element inside a display:none tree and we
decide not to do lazy frame construction, StyleNewChildren will assert.
It's also unnecessary, anyway, since we want to keep the descendants
of the display:none element free of ElementData.

MozReview-Commit-ID: 19tuzAzAIDp

--HG--
extra : rebase_source : 457a2c037a02ff50647eed84f51cbee29f737ecd
2017-04-04 19:21:05 +08:00
Cameron McCormack
2a3f4c8f4a Bug 1351535 - Part 2: Explicitly indicate when a ContentRangeInserted call is for frame reconstruction. r=bholley
It wasn't clear to me whether the existing check for whether we are
under a restyle was sufficient to cover all cases of reconstructing
frames, so this patch makes it more explicit by passing that state
into ContentAppended and ContentRangeInserted.

MozReview-Commit-ID: HjlDCzJv97n

--HG--
extra : rebase_source : 8ce4ba097f706e3d9a1f1292515dca64fb8765ab
2017-04-04 19:17:35 +08:00
Cameron McCormack
9ce0d4d3d2 Bug 1351535 - Part 4: Add a TraversalRestyleBehavior argument to traversal functions. r=bholley
This argument will be used to control whether we are restyling in preparation
for reframing a subtree, which can avoid generating any change hints, as we
aren't preserving the frames that they would otherwise apply to.

MozReview-Commit-ID: DkLVCUnNGt

--HG--
extra : rebase_source : cb3537cea26cb9805b2ec1556cf5ca6eb9d38ab8
2017-04-08 22:57:08 +08:00
Cameron McCormack
f8a5e03987 Bug 1351535 - Part 3: Only explicitly style newly inserted content if the parent is not in a display:none subtree. r=bholley
If we append children to an element inside a display:none tree and we
decide not to do lazy frame construction, StyleNewChildren will assert.
It's also unnecessary, anyway, since we want to keep the descendants
of the display:none element free of ElementData.

MozReview-Commit-ID: 19tuzAzAIDp

--HG--
extra : rebase_source : 457a2c037a02ff50647eed84f51cbee29f737ecd
2017-04-04 19:21:05 +08:00
Cameron McCormack
19734fd5ca Bug 1351535 - Part 2: Explicitly indicate when a ContentRangeInserted call is for frame reconstruction. r=bholley
It wasn't clear to me whether the existing check for whether we are
under a restyle was sufficient to cover all cases of reconstructing
frames, so this patch makes it more explicit by passing that state
into ContentAppended and ContentRangeInserted.

MozReview-Commit-ID: HjlDCzJv97n

--HG--
extra : rebase_source : 8ce4ba097f706e3d9a1f1292515dca64fb8765ab
2017-04-04 19:17:35 +08:00
Ravi Shankar
7bb1323a66 Bug 1354775 - Prefer '=' for setting TrackList values in eCSSUnit_Inherit; r=heycam
MozReview-Commit-ID: 16dHlgrA9OZ

--HG--
extra : rebase_source : 5f04433931b4cbf6f0a0c7ec2b7fd2f810d62187
2017-04-08 12:47:44 +05:30
Ravi Shankar
1d70fcbd3c Bug 1354775 - Gecko_CopyStyleGridTemplateValues function for Servo-side copying; r=bholley,heycam
MozReview-Commit-ID: 4Hz82MWZlB0

--HG--
extra : rebase_source : 962b60f9a67a157395f0f11aadfc95bad4a1d554
2017-04-08 12:47:34 +05:30
Mayank Srivastav
ae997781f5 Bug 1156019 - Fix the issue of background-size property, regenerated properties css database & updated tests. r=xidorn
MozReview-Commit-ID: ACRxUEWBbSM

--HG--
extra : rebase_source : 87876016c618465552bb86a21e12a5643cd530cc
2017-04-07 11:01:00 -04:00
Geoff Brown
3c3f929c78 Bug 1354042 - Delete pending crash reports between reftests; r=jmaher
Pending crash reports are stored in UAppData, which is typically
outside of the test profile. Pending crash reports left by one test
may affect future tests, so it is important that they be deleted
between tests. However, since UAppData crash data may be important
to developers running tests outside of automation, the harness cannot
delete them unless requested with the --cleanup-crashes option.
2017-04-07 15:46:08 -06:00
Nathan Froyd
c430f999dd Bug 1322656 - add servo bindings for profiler thread registration; r=xidorn
We need these to be able to register parallel traversal threads with the
profiler.
2017-04-07 10:44:41 -04:00
Carsten "Tomcat" Book
3a762886de Merge mozilla-central to mozilla-inbound 2017-04-07 15:33:03 +02:00
Carsten "Tomcat" Book
7eac1bb720 Backed out changeset d24b3983c4c2 (bug 1322656) for causing merge conflict with m-c
--HG--
extra : rebase_source : 2a5ec1a8ad6115b79edad5276d69cde3cf3a346e
2017-04-07 15:09:55 +02:00
Masayuki Nakano
09c6c60b8a Bug 1343642 - Ensure to grab nsFrameSelection before calling its methods unless calling only const methods. r=smaug
MozReview-Commit-ID: 9GKujCcrhly
2017-04-06 13:11:52 +09:00
Daniel Holbert
88cfb5bbcf Bug 1353992: Re-enable test_flexbox_focus_order.html on mac, with pref-tweak to allow links to be focused with 'tab' there. (no review, test-only)
MozReview-Commit-ID: B6J2QUoMdyx
2017-04-06 22:01:03 -07:00
Manuel Rego Casasnovas
6d1ed654dc Bug 1354006 - [selectors4] Remove "interact" flag from :focus-within tests. r=xidorn
This patch has been extracted from:
https://github.com/w3c/web-platform-tests/pull/5370

The problem is that the "interact" flag on these tests
causes that they are considered manual,
when they can be run automatically.

This patch removes the "interact" flag and uses "reftest-wait" class
to be sure that the test has been completed.
2017-04-06 07:09:35 +02:00
Nathan Froyd
7de981c17f Bug 1322656 - add servo bindings for profiler thread registration; r=xidorn
We need these to be able to register parallel traversal threads with the
profiler.
2017-04-06 21:01:05 -04:00
Mats Palmgren
6bd5854c02 Bug 1338108 - The result of adding any percentage factor to a size that is zero should also be zero. r=dholbert
MozReview-Commit-ID: ErkjtVZyFqV
2017-04-07 01:02:59 +02:00
Lee Salzman
22fb7629b8 Bug 1348980 - use UnscaledFont to track WebRender font keys. r=jrmuizel 2017-04-06 17:41:24 -04:00
Lee Salzman
a168dcdbf3 Bug 1348980 - implement UnscaledFont API for Moz2D and thebes. r=jfkthame 2017-04-06 17:41:02 -04:00
Ting-Yu Lin
867c2263f2 Bug 1312328 - Remove CSS variables preference "layout.css.variables.enabled". r=xidorn
MozReview-Commit-ID: HwYpwbhQkZj

--HG--
extra : rebase_source : 245d116b1fef01fa1db11eef70aa0379e8a9c9e9
2017-04-07 00:29:39 +08:00
Xidorn Quan
b7131eca1d Bug 1343964 followup - Add back code change which was incorrectly dropped when addressing review comment on a CLOSED TREE.
MozReview-Commit-ID: Kwehpac1Dia

--HG--
extra : source : dea1d96c2c4a60125fc4ffbfd2f24505ec79f3dd
2017-04-07 13:56:03 +10:00
Bobby Holley
04137c02ea Bug 1354358 - Assert main thread in NS_IMPL_FFI_REFCOUNTING. r=xidorn
MozReview-Commit-ID: 4J7yuJ8Thn0
2017-04-06 19:22:01 -07:00
Mike Hommey
d6aaa996f4 Bug 1353990 - Stop exporting brotli headers. r=gps
They have generic names, and are potentially conflicting with
in-tree headers with the same name (which is true for at least port.h).

There aren't enough users of brotli to want to avoid LOCAL_INCLUDES
in the directories that use it.

--HG--
extra : rebase_source : 82531ac5961ad80e1b3d0c1484a2f146be194411
2017-04-06 13:44:47 +09:00
Xidorn Quan
e27d2e7dbe Bug 1343964 part 8 - Update mochitest expectation. r=xidorn
MozReview-Commit-ID: 36zfle7hfOG

--HG--
extra : rebase_source : cdbdf68bcf7c0b232a7b86862ff97d9aab4ca94b
2017-04-04 17:16:45 +10:00
Xidorn Quan
987754e4dc Bug 1343964 part 7 - Use URLExtraData for declaration modification directly for Servo backend. r=heycam
MozReview-Commit-ID: 78JRYKk9hgV

--HG--
extra : rebase_source : 1a86db507451637379e35ea17d9dbd88e8dc6902
2017-04-04 16:09:20 +10:00
Xidorn Quan
3d5b648721 Bug 1343964 part 6 - Add a const Rule() method for ServoStyleRule. r=heycam
MozReview-Commit-ID: 1rvWrN3Biut

--HG--
extra : rebase_source : 174ccdeb847c8f3f0807690a0ab0fa2bc949a2f2
2017-04-04 16:07:44 +10:00
Xidorn Quan
04c1637bb1 Bug 1343964 part 5 - Factor out common part of nsDOMCSSDeclaration::Parse{,Custom}PropertyValue. r=heycam
MozReview-Commit-ID: 6IX8sWF4Vhn

--HG--
extra : rebase_source : 197c9ccf51e8bb86f7335a5a72b370c89a23d7ea
2017-04-04 15:28:07 +10:00
Xidorn Quan
4400d347a2 Bug 1343964 part 3 - Have ServoStyleSheet own a URLExtraData. r=heycam
MozReview-Commit-ID: CQyvrVtl0hr

--HG--
extra : rebase_source : 547fce2e9118bf9d6714775df847e8236aec74b6
2017-04-04 13:41:44 +10:00