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

59493 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez 572cd4acf9 Bug 1392964: Remove aDidReconstruct outparam from ContentRemoved. r=mats
MozReview-Commit-ID: 4fSAQQAnPWF

--HG--
extra : rebase_source : 15cfb8ae703db574db3845b0031feb6aaf451948
2017-08-23 11:03:30 +02:00
Gregory Szorc a1d02ea1fb Bug 1392886 - Defer import reftestcommandline; r=mshal
This shouldn't be at module level.

This isn't technically needed for this series. I caught it during
an earlier attempt at teasing out all Python import dependencies
to run `mach`. Why let a good patch go to waste.

MozReview-Commit-ID: FwwdZqcKtpq

--HG--
extra : rebase_source : a8ce2cf452dc8c03371dc384ea4f1be9195b5d30
2017-07-19 11:27:10 -07:00
Kevin Chen 9fa0238d13 Bug 1362321 - Do not crash in gfxPlatform:Init if there is a TDR happening; r=bas
MozReview-Commit-ID: 9gJCErHosg1

--HG--
extra : rebase_source : 6fc0e95b18ee795f2571d82ca81f3a72970142b3
2017-08-09 18:00:01 +08:00
Sebastian Hengst c5b98b786f merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE
--HG--
extra : amend_source : 138539eda803df4aa7fa2d161e78ad36cf3f55ef
2017-08-23 16:31:21 +02:00
Sebastian Hengst 99e5cb9c14 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: GSKVB94r7Kk
2017-08-23 16:29:51 +02:00
angelsl 5ee4fec339 Bug 1324499: Save and restore scroll position after reflow in GetContentSizeInternal r=dbaron
The bug is caused by the first call to ResizeReflow in
nsDocumentViewer::GetContentSizeInternal, which reflows the content with
unlimited height. ResizeReflow calls DidDoReflow, which calls a
callback installed by nsHTMLScrollFrame that clamps the scroll port setting
the scroll top to 0 and losing the original scroll top. When the content
is reflowed again to the maximum height, the scroll top stays at 0.

MozReview-Commit-ID: 3VkgWLqSTDP

--HG--
extra : rebase_source : 68c65746e014f0702de82ea576897592b07f81cb
2017-08-21 21:25:20 +08:00
Emilio Cobos Álvarez 8b193459d8 Bug 1389743: Update expected assertion count in layout/generic/crashtests/1059138-1.html. rs=heycam
MozReview-Commit-ID: IeyIi9Q53JZ
2017-08-23 12:54:22 +02:00
Makoto Kato d458d5c295 Bug 1348073 - Part 2. Enable lazy frame construction for editable regions. r=Ehsan
MozReview-Commit-ID: C92SY2lv8n8

--HG--
extra : rebase_source : 47848b4ec0285991826ecd2bbdd2b5cf692430b3
2017-08-21 15:30:07 +09:00
Boris Chiou 3453068a19 Bug 1387990 - Remove skipped transform tests and fix animation utils. r=birtles
Sometimes, we may get a 2d transform matrix like this:
  matrix(0, 1, -1, 0.33, 0, 0)
The reason is we might have "rotate(90deg)" in the test case, so the 1st or
the 4th element could be 0.0, and we shouldn't assume they are 1.0 while
converting matrix2d into matrix3d, or we will get a weird result, like this:
  matrix3d(1, 1, 0, 0,
          -1, 0.33, 0, 0,
           0, 0, 1, 0,
           0, 0, 0, 1)
m11 shouldn't be "1" here.

Add a "defined()" function to return the first defined object as the
matrix element because we should be testing the defined-ness, instead of
truthiness.

MozReview-Commit-ID: HSTt2PR02AU

--HG--
extra : rebase_source : 417438239635f9bbf0eb4818b39c611ab90b9a10
2017-08-18 18:08:34 +08:00
Emilio Cobos Álvarez 8700c2a4c3 Bug 1392170: Don't call ResolveServoStyle unnecessarily for undisplayed and not restyled stuff. r=heycam
In particular, this avoids the stupid calls in display: none roots.

The cache stuff should be unnecessary, but there's still some fishy stuff going
on.

MozReview-Commit-ID: LgnW0k1gmsN

--HG--
extra : rebase_source : b07e1f2533e4a2fc1610f35351fc2964f37e82e2
2017-08-23 13:34:17 +02:00
Emilio Cobos Álvarez 0b1c2eb45e Bug 1389743: Remove various Stylo hacks to deal with XBL edge cases. r=heycam
MozReview-Commit-ID: HN7PfsNrh9e

--HG--
extra : rebase_source : 13a607fbc45285a23a0a107853dcc9be9c1200f7
2017-08-13 20:44:58 +02:00
Emilio Cobos Álvarez 1e6e97fed1 Bug 1389743: Only reconstruct frames synchronously from ContentRemoved when called from frame construction. r=mats
There's only one case of sync frame construction from ContentRemoved now, and
it's not on the element being removed, but on the whitespace siblings if needed,
and _only_ when they don't support lazy frame construction.

Basically, this switches all the RecreateFramesForContent calls to use
`aAsyncInsert` (which I changed to an enum class for readability), except when
we're already reframing.

Also, it switches ReframeTextIfNeeded to opt-in into lazy frame construction,
since it's used only when aFlags == CONTENT_REMOVED.

This allows to simplify the DestroyFramesFor API (which I'm happy to rename to
something more meaningful, since now it's something like
DestroyFramesForAndRecreateThemAsync), and do some other consistency cleanups.

A bunch of the ContentRemoved callsites were pretty random at passing
aAsyncInsert, and that was some kind of a mess. This patch ensures consistency,
and makes it impossible to do O(n^2) work when removing DOM nodes, which is
nice.

The underlying reason for this is explained in the description of bug 1377848,
and basically allows us to remove a bunch of Servo hacks on the longer term (a
few of them are going away already, yay!).

MozReview-Commit-ID: 2DrUTxGV8RX

--HG--
extra : rebase_source : f428d839a5482477dea22c0fea600d54f3e8799c
2017-08-23 09:58:57 +02:00
Bobby Holley 7210bd7226 Bug 1383332 - Track the restyle root and use it to do less work during the traversal. r=emilio
MozReview-Commit-ID: A8O3JOpsv4E
2017-08-22 21:19:24 -07:00
Francois Marier 95ce2d4568 Bug 1385484 - Ensure that login reputation checks are disabled in tests. r=hchang
The login reputation checks depend on a server lookup and therefore would
render non-deterministic the performance and correctness of tests.

MozReview-Commit-ID: Bil0rSZsGPT

--HG--
extra : rebase_source : ae06a028c71eee323307ecd4e62bbf1e8a14fe13
2017-08-22 17:56:20 -07:00
Wes Kocher 655a23a70a Merge m-c to autoland, a=merge
MozReview-Commit-ID: CxIXNml1xZW
2017-08-22 17:24:16 -07:00
Wes Kocher 207dd28c61 Backed out 4 changesets (bug 1385484) for build failures a=backout
Backed out changeset 401c2744f16b (bug 1385484)
Backed out changeset 2ff443a0c744 (bug 1385484)
Backed out changeset 1a1c476a9aaa (bug 1385484)
Backed out changeset 87ec064a3681 (bug 1385484)

MozReview-Commit-ID: D9WGXiXaNoZ

--HG--
extra : rebase_source : ebab6135905e972abf7eeab9af8db41454687373
2017-08-22 17:22:41 -07:00
Wes Kocher 6dd42e2664 Merge inbound to central, a=merge
MozReview-Commit-ID: BMWuqvmTljV
2017-08-22 17:07:23 -07:00
Mantaroh Yoshinaga b6477dc29c Bug 1387986 - Enable stroke-* test of test_transitions_per_property.html on Servo. r=birtles
MozReview-Commit-ID: 6OGzMPAEP6K

--HG--
extra : rebase_source : 6ea430757a0a79b6c3537ec4de208565dd47a149
2017-08-22 13:45:46 +09:00
Honza Bambas 51907c6b32 Bug 1388448 - Logs for better network requests and context tracking. r=mcmanus 2017-08-17 12:16:00 -04:00
Francois Marier 7975ef15d4 Bug 1385484 - Ensure that login reputation checks are disabled in tests. r=hchang
The login reputation checks depend on a server lookup and therefore would
render non-deterministic the performance and correctness of tests.

MozReview-Commit-ID: Bil0rSZsGPT

--HG--
extra : rebase_source : c9a641e4bf49c48bf864ed546bf2ae6eb51c27e4
2017-08-08 16:25:12 -07:00
Masatoshi Kimura 5f035965ac Bug 1390209 - Remove unused nsIDOMHTML*Element interfaces. r=qdot
MozReview-Commit-ID: DagD3IHhRZy

--HG--
extra : rebase_source : 2add5ad8e9181ba9bf29f53a6df75b730ab5ea78
2017-08-15 01:31:47 +09:00
Nathan Froyd 4524b05ac2 Bug 1387218 - label StyleImageRequestCleanupTask; r=billm 2017-08-22 20:52:22 -04:00
J. Ryan Stinnett 2c635e5c43 Bug 1392447 - Fix up Servo_StyleSheet_GetOrigin for Linux 32-bit ABI. r=emilio
Bindgen bitfield enums don't work as return values with the Linux 32-bit ABI at
the moment because they wrap the value in a struct.

This causes the Rust side to believe the caller will pass along space for the
struct return value, while C++ believes it's just an integer value.

MozReview-Commit-ID: JHDp0XAmQCG
2017-08-22 14:54:20 -05:00
Sebastian Hengst 2f56a032cd merge mozilla-central to autoland. r=merge a=merge 2017-08-22 11:50:08 +02:00
Sebastian Hengst 75955d0246 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 8fJX1xXgzhD
2017-08-22 11:49:04 +02:00
Ting-Yu Lin c7dc325aed Bug 1388165 - Clear mPresContext after creating XBL styleset. r=xidorn
MozReview-Commit-ID: VBmKMTt8lc

--HG--
extra : rebase_source : e2b16da8f3d9c55a1485558f76285dc10c39b530
2017-08-22 14:46:25 +08:00
Nicholas Nethercote ac72ddb583 Bug 1390760 - Measure ServoComputedData::visited_style. r=bholley.
For the Obama wikipedia page, this covers about 85% of the unmeasured
ComputedValues structs. The about:memory output looks like this:

> +---2,443,648 B (02.41%) -- computed-values
> |   +--1,088,272 B (01.07%) -- dom
> |   +----945,744 B (00.93%) -- non-dom
> |   +----409,632 B (00.40%) -- visited

I'm not sure why some CVs are still being missed.

MozReview-Commit-ID: 1bYWwSi4ihn

--HG--
extra : rebase_source : 14e4bd36a54bbbd8fd265f559704bec5a5e3b154
2017-08-21 16:07:16 +10:00
Wes Kocher 7459418fd6 Backed out 16 changesets (bug 1364714) for android reftest failures in out-of-bounds-selectedindex.html a=backout
Backed out changeset b00b74e9d34b (bug 1364714)
Backed out changeset 1f52db2530d3 (bug 1364714)
Backed out changeset e3dda4fe9dae (bug 1364714)
Backed out changeset ff188112de35 (bug 1364714)
Backed out changeset 0e26a8c07cae (bug 1364714)
Backed out changeset e0cf94cb8666 (bug 1364714)
Backed out changeset 6f758a7673d3 (bug 1364714)
Backed out changeset 4b915e42b36d (bug 1364714)
Backed out changeset 80ca8faf1dac (bug 1364714)
Backed out changeset 2bd5a2d0ea09 (bug 1364714)
Backed out changeset aa5a89aac5ea (bug 1364714)
Backed out changeset 7634973c46ad (bug 1364714)
Backed out changeset b02a1d99e603 (bug 1364714)
Backed out changeset a297dc40177e (bug 1364714)
Backed out changeset 40e902ed7dbe (bug 1364714)
Backed out changeset d653fc499c9b (bug 1364714)

MozReview-Commit-ID: AyHF7oPwAs4
2017-08-21 16:16:29 -07:00
Ethan Lin d592c08612 Bug 1387994 - Ensure the draw target when initializing the canvas context. r=nical
MozReview-Commit-ID: DxqoywKaSbE

--HG--
extra : rebase_source : 142dea1433db50600fa73d5b0ed3d2eb9c584732
2017-08-10 15:04:42 +08:00
Ethan Lin d9862646f9 Bug 1391996 - Move some checks from nsDisplayText::GetLayerState to constructor to prevent ambiguous status. r=jrmuizel
MozReview-Commit-ID: QPSIqLz56p

--HG--
extra : rebase_source : 1c4db4b0111126b79f4d3e5ab8f693545f1cbd70
2017-08-21 14:52:31 +08:00
Jonathan Kew 234e8a8ef2 Bug 1391717 - Update imported CSS tests in layout/reftests/w3c-css/received. r=dholbert 2017-08-21 21:11:32 +01:00
Jonathan Kew 734895ccf7 Bug 1364714 - Adjust reftest text-emphasis-line-height-001z.html to avoid potential unwanted scrollbar. r=dholbert 2017-08-21 14:37:46 +01:00
Jonathan Kew aa0d9ce1d7 Bug 1364714 - Adjust dimensions in fixed-table-layout-010 tests to allow for increased font metrics without disrupting layout of test elements. r=dholbert 2017-08-21 14:37:43 +01:00
Jonathan Kew a996067c9b Bug 1364714 - Increase line-height in some ruby reftests to allow for default font with larger metrics. r=dholbert 2017-08-21 14:37:41 +01:00
Jonathan Kew 6cb6d8d95d Bug 1364714 - Adjust fuzzy() annotation for pre-line-1 test to account for change in freetype's font rendering. r=dholbert 2017-08-21 14:37:37 +01:00
Jonathan Kew 8ecce523ed Bug 1364714 - Adjust fuzzy() annotation for table-background test to allow for change in freetype's rendering. r=dholbert 2017-08-21 14:37:35 +01:00
Jonathan Kew 497c91f7b3 Bug 1364714 - Add fuzzy() annotation to mathml-mmultiscript test to allow for changed freetype rendering. r=dholbert 2017-08-21 14:37:32 +01:00
Jonathan Kew 4ac410c6cd Bug 1364714 - Modify text to avoid possibly-overflowing descender in last line of orthogonal float. r=dholbert 2017-08-21 14:37:29 +01:00
Jonathan Kew cad3d5c213 Bug 1364714 - Set explicit line-height in position-relative tests, to avoid fragile dependence on default font's metrics. r=dholbert 2017-08-21 14:37:25 +01:00
Jonathan Kew f3cae15008 Bug 1364714 - Set explicit line-height on background-position-vrl-018-ref file for better reliability. r=dholbert
(Already fixed upstream via https://github.com/w3c/web-platform-tests/pull/6924.)
2017-08-21 14:37:23 +01:00
Jonathan Kew 49bddb0ade Bug 1364714 - Fix fragile reference case for multicol-gap-001 test. r=dholbert
(Already fixed upstream via https://github.com/w3c/web-platform-tests/pull/6879.)
2017-08-21 14:37:19 +01:00
Jonathan Kew 7b1afa5045 Bug 1364714 - Adjust fuzzy() annotation for box-decoration reftest. r=dholbert
Re-ordering fuzzy annotations so that the Android annotation follows (and overrides)
the more general skiaContent one.
2017-08-21 14:37:15 +01:00
Sebastian Hengst 02a34cdd40 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-21 13:43:53 +02:00
Sebastian Hengst cf6a9260e7 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IC9EbX0bomM
2017-08-21 13:41:46 +02:00
Bevis Tseng 6b5c329803 Bug 1390790 - Label ScrollFrameHelper::ScheduleSyntheticMouseMove. r=tnikkel 2017-08-16 17:10:36 +08:00
Sebastian Hengst 54d8b1efae merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 1yS8D5e0Ejz
2017-08-20 23:24:15 +02:00
Sebastian Hengst 786597aec6 Backed out changeset 2f49d825c651 (bug 1363922) for failing mochitest test_transformed_scrolling_repaints_3.html on Windows 7 debug and mochitest test_bug590573.html on Android 4.3. r=backout 2017-08-20 19:21:25 +02:00
Sebastian Hengst 7e610db54c Backed out changeset 3241eaaa608d (bug 1363922) 2017-08-20 19:20:12 +02:00
Emilio Cobos Álvarez 2b074ed3a4 Bug 1391787: Mutex out the system color stuff. r=Manishearth
GTK is definitely not thread-safe, and unless proven otherwise, I suspect the
other widgets aren't either.

Mutex the calls to get the system color stuff.

There are chances to make this more fine-grained moving the mutexes into the
specific widget code and when needed. That is more analysis work which I'm not
sure we should waste time on, since the chances on racing here seem quite
unlikely in practice (system colors are uncommon enough in content, I guess).

MozReview-Commit-ID: AOQQ2jtkgpx
2017-08-20 18:19:19 +02:00
Bas Schouten fc62b0a980 Bug 1363922 - Part 2: Estimate scale of frames based on their PresShell resolution. r=mstange
MozReview-Commit-ID: 8f6T3PiPkF8
2017-08-17 15:45:31 +02:00