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

10857 Коммитов

Автор SHA1 Сообщение Дата
Hiroyuki Ikezoe 8a563af888 Bug 1649663 - Migrate reftest-paged reftests in layout/reftests/backgrounds/ into wpt. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D81807
2020-07-02 04:01:33 +00:00
longsonr 357287af64 Bug 588684 - Mark objectBoundingBox-and-fePointLight reftests passing on linux r=dholbert
We can mark this fuzzy if necessary but it does seem OK now

Differential Revision: https://phabricator.services.mozilla.com/D82376
2020-07-06 18:33:24 +00:00
Hiroyuki Ikezoe d32459e2c0 Bug 1650686 - Drop layout.viewport_contains_no_contents_area. r=botond
I suppose it's been well tested on Fenix.

Differential Revision: https://phabricator.services.mozilla.com/D82305
2020-07-06 09:53:34 +00:00
Hiroyuki Ikezoe 43877bd8b5 Bug 1647186 - Apply the cumulative resolution smaller than 1.0 to the root frame size for the partial pre-render. r=botond
So that we can reasonably expand the pre-render region on mobile environments.

Differential Revision: https://phabricator.services.mozilla.com/D81961
2020-07-05 23:17:02 +00:00
Hiroyuki Ikezoe 4205879729 Bug 1324591 - Report janked animations to the main-thread and update them on the main-thread. r=botond,boris
The machinery to report janked animations is;

1) Store the partial pre-rendered animation id and the Animation object in a
   hashtable in LayerManager
2) Store the animation id in the Animation object as well
3) When we detect jank, we send the animation id to the main-thread via an IPC
   call
4) Find the Animation object with the id in the hashtable and update the
   Animaiton
5) Whenever the partial pre-rendered Animation stop running on the compositor
   i.e. the Animation finished normally, the Animation's target element is
   changed, etc. etc., remove the Animation from the hashtable

Depends on D75731

Differential Revision: https://phabricator.services.mozilla.com/D75732
2020-07-05 11:45:01 +00:00
Hiroyuki Ikezoe 85030f4af6 Bug 1324591 - Jank if we are trying to composite area which is outside of the the partial prerender rect on non WebRender. r=botond,jrmuizel
Depends on D81481

Differential Revision: https://phabricator.services.mozilla.com/D75731
2020-07-05 11:44:18 +00:00
Narcis Beleuzu a1826f59a6 Backed out changeset 290c0c7b9864 (bug 1647186) for reftest failure on partial-prerender-expansion-with-resolution-2.html 2020-07-05 14:38:53 +03:00
Brindusan Cristian 7f75410fd7 Backed out 9 changesets (bug 1324591) for linux build bustages on central on nsDisplayList.h.
Backed out changeset 75966ee1fe65 (bug 1324591)
Backed out changeset d6a01c6bc40e (bug 1324591)
Backed out changeset fef36ff2ea3d (bug 1324591)
Backed out changeset 4a4ae4bd95d1 (bug 1324591)
Backed out changeset 732804c83add (bug 1324591)
Backed out changeset 84657a3522fb (bug 1324591)
Backed out changeset e6c74ba41007 (bug 1324591)
Backed out changeset 8e6d4e9f5aa0 (bug 1324591)
Backed out changeset 6bc284863aff (bug 1324591)
2020-07-05 13:45:35 +03:00
Hiroyuki Ikezoe 4215f9a916 Bug 1647186 - Apply the cumulative resolution smaller than 1.0 to the root frame size for the partial pre-render. r=botond
So that we can reasonably expand the pre-render region on mobile environments.

Differential Revision: https://phabricator.services.mozilla.com/D81961
2020-07-05 09:57:36 +00:00
Hiroyuki Ikezoe 92208a9c28 Bug 1324591 - Report janked animations to the main-thread and update them on the main-thread. r=botond,boris
The machinery to report janked animations is;

1) Store the partial pre-rendered animation id and the Animation object in a
   hashtable in LayerManager
2) Store the animation id in the Animation object as well
3) When we detect jank, we send the animation id to the main-thread via an IPC
   call
4) Find the Animation object with the id in the hashtable and update the
   Animaiton
5) Whenever the partial pre-rendered Animation stop running on the compositor
   i.e. the Animation finished normally, the Animation's target element is
   changed, etc. etc., remove the Animation from the hashtable

Differential Revision: https://phabricator.services.mozilla.com/D75732
2020-07-05 02:21:01 +00:00
Hiroyuki Ikezoe c350cb04ad Bug 1324591 - Jank if we are trying to composite area which is outside of the the partial prerender rect on non WebRender. r=botond,jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D75731
2020-07-05 02:20:23 +00:00
Hiroyuki Ikezoe 10242eeaf4 Bug 1646629 - Set updateCanvasPending explicitly when reftest-wait was removed and take a snapshot of the whole screen if reftest-no-flush is specified. r=mattwoodrow,tnikkel
That's because we no longer fire MozAfterPaint event for changes by
animations on the compositor.

Differential Revision: https://phabricator.services.mozilla.com/D80157
2020-07-04 08:01:40 +00:00
Kartikaya Gupta bc6c7c9f34 Bug 1650081 - Use scrollbar-width:none instead of overflow:hidden to hide scrollbars. r=botond
Instead of using overflow:hidden on the body to hide the scrollbar, this
patch sets scrollbar-width:none on the html element. In some cases
overflow:hidden is set on non-root scrollers (i.e. div elements); in those
cases it is replaced by overflow:scroll;scrollbar-width:none to get an
equivalent effect.

One test had a pre-existing visible scrollbar on a nested scrollframe, but
which started failing with a small fuzz difference. I left the scrollbar as-is
and added an annotation to the reftest.list file.

Note that this only updates the tests that use reftest-async-scroll as those
were the cases that were easily detectable, and causing problems with the
apz.allow_zooming=true pref.

Differential Revision: https://phabricator.services.mozilla.com/D82032
2020-07-03 19:50:11 +00:00
Mihai Alexandru Michis fb3212f7cc Backed out changeset bd58cdafe3c9 (bug 1650081) for causing failures in offscreen-prerendered-active-opacity.html
CLOSED TREE
2020-07-03 22:30:50 +03:00
Kartikaya Gupta 3bc44b4a60 Bug 1650081 - Use scrollbar-width:none instead of overflow:hidden to hide scrollbars. r=botond
Instead of using overflow:hidden on the body to hide the scrollbar, this
patch sets scrollbar-width:none on the html element. In some cases
overflow:hidden is set on non-root scrollers (i.e. div elements); in those
cases it is replaced by overflow:scroll;scrollbar-width:none to get an
equivalent effect.

One test had a pre-existing visible scrollbar on a nested scrollframe, but
which started failing with a small fuzz difference. I left the scrollbar as-is
and added an annotation to the reftest.list file.

Note that this only updates the tests that use reftest-async-scroll as those
were the cases that were easily detectable, and causing problems with the
apz.allow_zooming=true pref.

Differential Revision: https://phabricator.services.mozilla.com/D82032
2020-07-03 16:07:51 +00:00
Ting-Yu Lin 3fca243aa4 Bug 1645549 Part 2 - Find the first non-anonymous-box's content node when sorting frame list. r=dholbert
When sorting frames in DOM order, we need to be careful to avoid using
an anonymous flex item's content node to make ordering decisions;
otherwise, all such items would incorrectly end up being sorted to the
front of the list. We need to dig through it to find the content node
that was wrapped in the anonymous wrapper, and use that content node for
sorting/ordering.

Differential Revision: https://phabricator.services.mozilla.com/D81001
2020-07-01 02:38:57 +00:00
Emilio Cobos Álvarez 3b9c28af7a Bug 1256980 - Make z-index only apply to positioned and grid / flex item frames. r=miko,hiro
Differential Revision: https://phabricator.services.mozilla.com/D81557
2020-06-30 22:51:12 +00:00
Hiroyuki Ikezoe 12256cfca1 Bug 1645274 - Migrate reftest-paged reftests in layout/reftests/table-overflow into wpt. r=TYLin
Note that on Chrome table-row-pagination-001-print.html doesn't generate the
second page at least in the print preview.  The second page is actually just a
blank page, but the height of a table element in the test is `160%` so that
there should be overflowed area from the first page.

It may be possible that it's an optimization in Chrome to reduce paper
consumption, but the second page in the reference, it's also a blank page, is
generated in the print preview, so I suppose it's either a bug or an
inconsistent optimization in Chrome.

Differential Revision: https://phabricator.services.mozilla.com/D81635
2020-06-30 21:58:07 +00:00
Zeke Medley 83e9191999 Bug 1506364 - Implement the prefers-contrast media-query. r=morgan,emilio
Differential Revision: https://phabricator.services.mozilla.com/D79553
2020-06-29 17:46:12 +00:00
Boris Chiou 897e56554c Bug 1638844 - Update fuzzy condition for linux-64-ccov. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D81586
2020-06-29 21:26:07 +00:00
longsonr 5a4aaccb28 Bug 386713 - Mark text-font-weight-01.svg passing on linux r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D81453
2020-06-28 23:40:18 +00:00
Glenn Watson 1628e0582a Bug 1647862 - Fix panic when casting large rects to i32. r=Bert
In various parts of the picture and mask code, we were casting
the `clipped` rect to i32 (after rounding out). However, this
can cause overflow panics when the origin of the rect is too big.

Instead, treat the origin as f32 (which it was generally being
converted to anyway), and only cast the size part to be i32 as
required. This is safe since we know that the size has been
clipped to the visible screen, so will always be safe to cast
to i32.

Differential Revision: https://phabricator.services.mozilla.com/D80968
2020-06-28 22:00:56 +00:00
Hiroyuki Ikezoe 1320a9622c Bug 1648013 - Migrate reftest-paged reftests in layout/reftests/columns into wpt. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D80832
2020-06-25 21:01:34 +00:00
Hiroyuki Ikezoe 2d9e750de3 Bug 1648016 - Migrate reftest-paged reftests in layout/reftests/details-summary into wpt. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D80833
2020-06-25 21:01:26 +00:00
Narcis Beleuzu 16b93d8b26 Backed out changeset c2e266e2f077 (bug 1648013) for reftest failure on column-balancing-paged-001.html . CLOSED TREE 2020-06-25 13:45:10 +03:00
Narcis Beleuzu f8a925a7a9 Backed out changeset 3f21595a6b8e (bug 1648016) for reftest failures on details-page-break-after-1.html . CLOSED TREE 2020-06-25 13:36:59 +03:00
Hiroyuki Ikezoe 634a59dd84 Bug 1648013 - Migrate reftest-paged reftests in layout/reftests/columns into wpt. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D80832
2020-06-25 09:41:47 +00:00
Hiroyuki Ikezoe 09828f53be Bug 1648016 - Migrate reftest-paged reftests in layout/reftests/details-summary into wpt. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D80833
2020-06-25 09:23:53 +00:00
Delan Azabani 5dc229e516 Bug 1630935 - Add use counter and deprecation warning for STIXGeneral fonts. r=emilio
This patch adds the boolean pref mathml.stixgeneral_operator_stretching.disabled, which defaults to true iff nightly.

When the pref is true, stretched operators won’t be rendered with STIXGeneral, because we only use OpenType MATH tables (in fonts that have them) or the generic Unicode table.

When the pref is false, we continue to support STIXGeneral for stretched operators, but warn the author in devtools and bump the use counter (up to once per page). This only happens when a stretched operator actually uses STIXGeneral: not when we successfully render the operator with some other font earlier in the font-family stack, and not when STIXGeneral isn’t installed.

Differential Revision: https://phabricator.services.mozilla.com/D73833
2020-06-25 04:20:57 +00:00
Lee Salzman 0f03ab076c Bug 1645621 - gracefully downgrade to grayscale font smoothing in WR when necessary. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D80969
2020-06-25 03:01:04 +00:00
Kartikaya Gupta 18cdc2e52a Bug 1644271 - Mark a couple of reftests fuzzy with WR. r=tnikkel
The top end of the scrollbar seems off by a subpixel amount. Some initial
investigation is documented in bug 1646527 and points to a WR internal bug.

Depends on D80089

Differential Revision: https://phabricator.services.mozilla.com/D80090
2020-06-21 20:48:30 +00:00
longsonr 6b4aba0696 Bug 1555948 - SVGSVGElement::BindToTree should use composed doc to get the animation controller r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D80390
2020-06-21 20:53:18 +00:00
Razvan Maries c60adf564e Backed out 6 changesets (bug 1644271) for perma failures on browser_bug1170531.js.
Backed out changeset 9d4e746c732d (bug 1644271)
Backed out changeset 681a48643a84 (bug 1644271)
Backed out changeset 3cf3176c45d4 (bug 1644271)
Backed out changeset efaddcd67a33 (bug 1644271)
Backed out changeset 03aaac05c759 (bug 1644271)
Backed out changeset a780f5111efa (bug 1644271)
2020-06-21 23:44:04 +03:00
Kartikaya Gupta 3cabfd00ab Bug 1644271 - Mark a couple of reftests fuzzy with WR. r=tnikkel
The top end of the scrollbar seems off by a subpixel amount. Some initial
investigation is documented in bug 1646527 and points to a WR internal bug.

Depends on D80089

Differential Revision: https://phabricator.services.mozilla.com/D80090
2020-06-18 09:20:53 +00:00
Markus Stange c5cf53e63b Bug 1642603 - Make TransformAndClipBounds stop discarding the corner positions of empty rectangles. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D79582
2020-06-17 18:54:46 +00:00
Glenn Watson a0179d273f Bug 1646619 - Update reftest annotations for android device. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D80145
2020-06-18 06:21:50 +00:00
Ting-Yu Lin 2b5101b052 Bug 1574046 Part 1 - Upstream float clear reftests to wpt, and add column-fill:auto counterparts. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D74536
2020-05-26 22:12:15 +00:00
Emilio Cobos Álvarez ffec6f608b Bug 1643656 - Remove prefers-color-scheme: no-preference. r=gl,remote-protocol-reviewers,hiro,whimboo
It was removed from the spec.

Differential Revision: https://phabricator.services.mozilla.com/D78834
2020-06-14 23:26:04 +00:00
Emilio Cobos Álvarez 58bb0b25d9 Backed out 2 changesets (bug 477157) for border rendering regressions.
Backed out changeset 04543b8ded50 (bug 477157)
Backed out changeset 5df17ecbcaa1 (bug 477157)

MANUAL PUSH: backout
2020-06-14 11:45:06 +02:00
Ting-Yu Lin 2905f20adf Bug 1637788 Part 2 - Add more fragmentation reftests for multi-line row-oriented flex containers. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D79243
2020-06-11 19:20:38 +00:00
Ting-Yu Lin f169ef67a6 Bug 1637788 Part 1 - Add base fragmentation reftests for multi-line row-oriented flex containers. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D79242
2020-06-11 19:20:13 +00:00
Glenn Watson ddb8979c67 Bug 1644632 - Add more fuzziness to android test. r=jrmuizel
The exact fuzziness amount depends on where it's placed in the
texture cache, which depends on previous evictions.

Differential Revision: https://phabricator.services.mozilla.com/D79231
2020-06-11 01:18:00 +00:00
neil 6b1f254a89 Bug 1641324 Remove the layout.css.scrollbar-width.enabled and layout.css.scrollbar-color.enabled prefs r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D78400
2020-06-10 13:16:34 +00:00
Emilio Cobos Álvarez e8caef7a14 Bug 477157 - Ceil border and outline widths to 1 dev px at computed value time, but don't floor others to dev pixels until paint time. r=mats,dbaron
This seems to match what other browsers do, and seems saner layout-wise,
at least.

I only annotated outline-width-interpolation.html because it's already
fixed upstream in:

  8a489657bc

Differential Revision: https://phabricator.services.mozilla.com/D75360
2020-06-10 10:44:32 +00:00
Glenn Watson 7473e73dbd Bug 1644632 - Update fuzziness for android test on webrender. r=nical
The change in texture cache eviction policy made this slightly
more fuzzy on android hardware.

Differential Revision: https://phabricator.services.mozilla.com/D79030
2020-06-10 06:48:02 +00:00
Razvan Maries f761608e79 Backed out changeset bca9f7459a16 (bug 1643656) for reftests perma failures. CLOSED TREE 2020-06-09 18:24:48 +03:00
Emilio Cobos Álvarez 6b86e22f72 Bug 1643656 - Remove prefers-color-scheme: no-preference. r=gl,remote-protocol-reviewers,hiro,whimboo
It was removed from the spec. Bug 1643934 updates the WPT tests.

Differential Revision: https://phabricator.services.mozilla.com/D78834
2020-06-09 13:21:54 +00:00
longsonr 930e2b7a2b Bug 1462186 - Mark reftest as slightly fuzzy on Windows 7 r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D78667
2020-06-08 16:42:59 +00:00
longsonr c4107df595 Bug 1644048 - wait for onload in reftest r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D78650
2020-06-08 16:45:06 +00:00
longsonr 001136fb24 Bug 1503525 - Increase fuzziness slightly r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D78670
2020-06-08 16:40:50 +00:00