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

2582 Коммитов

Автор SHA1 Сообщение Дата
Matt Woodrow 1d8fbc442e Bug 1456111 - Make sure an empty pixel rectangle gets converted to an empty app unit rectangle, regardless of scale factor. r=tnikkel
MozReview-Commit-ID: GGl7ul6aka1

--HG--
extra : rebase_source : 07b620feaa3362b7fb610ba56dbf26d2d1f9c47a
2018-07-10 17:53:22 +12:00
Matt Woodrow c1d6c26906 Bug 1466638 - Implement support for ContainerLayerParameters::mOffset in nsDisplayImageContainer. r=mstange
This gets set to a non-zero value when we have an inactive ContainerLayer ancestor (filter in this case).
The current code assumes we'd never call BuildLayer on an image when that happen, but we force the pseudo-active
state here because background-position is animated (all properties have a transition).

MozReview-Commit-ID: 6pL8EJTNgWy

--HG--
extra : rebase_source : 6370fc79d5f47f0b5c4bbe86c0b605b90256b653
2018-07-09 16:11:08 +12:00
Joel Maher 8bc0bcda97 Bug 1392106 - random-if more win7 reftest font rendering failures. r=RyanVM 2018-06-26 13:32:30 -04:00
Margareta Eliza Balazs f20a8bbc78 Backed out changeset 97d67e0eaccf (bug 1456111) for reftest failures e.g.: worker/workspace/build/tests/reftest/tests/layout/reftests/svg/image/image-x-01.svg on a CLOSED TREE 2018-06-21 14:18:35 +03:00
Matt Woodrow f59c972b9c Bug 1456111 - Make sure an empty pixel rectangle gets converted to an empty app unit rectangle, regardless of scale factor. r=tnikkel
MozReview-Commit-ID: 1S59BARsMzZ

--HG--
extra : rebase_source : 76bf7f7809a267c0be74870217e2b9e2b0b43850
2018-06-21 15:34:25 +12:00
Joel Maher 8324126795 Bug 1405428 - annotate crashtests and reftests which fail in test-verify mode. r=gbrown 2018-06-19 11:38:25 -04:00
Kartikaya Gupta ac099e5073 Bug 1467267 - Expand fuzzy range to cover new failures. r=Gankro
MozReview-Commit-ID: CgIeuEp7cv2

--HG--
extra : rebase_source : ad0b27fa702ba8cf75ec3996bb479d4a2489a39d
2018-06-11 08:24:45 -04:00
Emilio Cobos Álvarez 64d52f8175 Bug 1288572: Update test expectations. r=xidorn
MozReview-Commit-ID: DubkcRaaD4C
2018-06-04 15:56:01 +02:00
Paolo Amadini 47fe75160e Bug 1457719 - Part 2 - Disable the reftest for "arrowscrollbox" scrolling for timing issues. rs=dao
MozReview-Commit-ID: ICEyF1zpaLn

--HG--
extra : rebase_source : 672f94e2b638e7112c9b6bbe60b1c6dd9d6950b3
2018-06-01 11:15:13 +01:00
Joel Maher 5cf551b940 Bug 1392106 - random-if more win7 tests for missing letters. r=RyanVM 2018-06-01 09:29:35 -04:00
Emilio Cobos Álvarez 50bc098041 Bug 1466008: Make will-change honor prefs properly, and clean it up while at it. r=xidorn
Will add a test, though in JSConf right now...

MozReview-Commit-ID: JyzwaRgf5Ct
2018-06-01 14:49:59 +02:00
Kartikaya Gupta 609e6eca4d Bug 1465273 - Adjust fuzz lower bound by a pixel to fix intermittent pass. r=me 2018-05-31 15:04:34 -04:00
Joel Maher bea2e0899f Bug 1392106 - random-if many more win7 tests. r=RyanVM 2018-05-29 13:50:33 -04:00
Kartikaya Gupta 8e203673f1 Bug 1463416 - use new WR subpixel positioning API from WR PR 2738. r=Gankro
Patch originally developed on bug 1458921 but needs to land with the WR update.

MozReview-Commit-ID: 82BYyNWBAfn

--HG--
extra : rebase_source : e6bca2f446c019fd41a37c2c28db73bbe1cfc216
2018-05-26 11:09:21 -04:00
Kartikaya Gupta 0459fe2789 Bug 1463416 - Update reftest annotations for changes in WR PR 2767. r=Gankro
MozReview-Commit-ID: AL7QaRu39G3

--HG--
extra : rebase_source : 1fb0b7b970fbffb18125830fad474b75cf207df1
2018-05-26 11:09:21 -04:00
Joel Maher 29d83f200e Bug 1392106 - random-if many more tests on win7. r=RyanVM 2018-05-25 13:03:59 -04:00
Joel Maher 5bff4baed5 Bug 1392106 - random-if many tests on win7 to avoid missing letters. r=RyanVM 2018-05-23 13:06:50 -04:00
Jonathan Kew 71787557ea Bug 1392147 - Test/expectation adjustments for the change in default font on Android. r=xidorn 2018-05-23 13:52:08 +01:00
Xidorn Quan d9975fe508 Bug 1458159 - Use rounding instead of ceiling on max{Ascent,Descent} for DWriteFont. r=jfkthame
The ceiling was introduced in bug 549190 for improve the consistency of
underline positioning. However, removing ceiling now doesn't seem to
regress the testcases in that bug, probably thanks to improvement in
other part.

The ceiling here causes us to have different font metrics than other
browsers on Windows, and can lead to webcompat issue. We also don't do
this for other backends. So it's probably better removing it in favor
of rounding.

There are several test changes:

* min-intrinsic-with-percents-across-elements.html changes result due to
  height of wrapping div in reference page depends on line height, so a
  fixed line height is set to work around the issue.

* 368020-1.html changes result because a slightly different line-height
  triggers bug 1462514. It is changed to use fixed line-height to work
  around the issue.

* 456147.xul is disabled because it compares XUL against HTML page, but
  XUL has different approach to position text in its elements than HTML.
  Specifically, XUL elements don't seem to respect line height while
  HTML elements do. The original line height in the file was probably
  chosen to make the HTML match XUL, so it seems to be non-trivial to
  fix it in a platform-independent way.

* sizing-orthog-{vlr,vrl}-in-htb-{008,020}.xht fails due to text in <p>
  after the testing block shifts 1px up for unknown reason.

MozReview-Commit-ID: 2WJG1AigWl1

--HG--
extra : source : 653c6b7480997c4e1dbead5f0441bc06a0605b7a
2018-05-22 11:43:30 +10:00
Noemi Erli e380c579e9 Backed out changeset 1be70a3d127f (bug 1458159) for reftest failures in sizing-orthog-vlr-in-htb-008.xht on a CLOSED TREE 2018-05-22 04:23:47 +03:00
Xidorn Quan 98bfde7521 Bug 1458159 - Use rounding instead of ceiling on max{Ascent,Descent} for DWriteFont. r=jfkthame
The ceiling was introduced in bug 549190 for improve the consistency of
underline positioning. However, removing ceiling now doesn't seem to
regress the testcases in that bug, probably thanks to improvement in
other part.

The ceiling here causes us to have different font metrics than other
browsers on Windows, and can lead to webcompat issue. We also don't do
this for other backends. So it's probably better removing it in favor
of rounding.

There are several test changes:

* min-intrinsic-with-percents-across-elements.html changes result due to
  height of wrapping div in reference page depends on line height, so a
  fixed line height is set to work around the issue.

* 368020-1.html changes result because a slightly different line-height
  triggers bug 1462514. It is changed to use fixed line-height to work
  around the issue.

* 456147.xul is disabled because it compares XUL against HTML page, but
  XUL has different approach to position text in its elements than HTML.
  Specifically, XUL elements don't seem to respect line height while
  HTML elements do. The original line height in the file was probably
  chosen to make the HTML match XUL, so it seems to be non-trivial to
  fix it in a platform-independent way.

* sizing-orthog-{vlr,vrl}-in-htb-{008,020}.xht fails due to text in <p>
  after the testing block shifts 1px up for unknown reason.

MozReview-Commit-ID: 2WJG1AigWl1

--HG--
extra : rebase_source : 540e68ffff618a6dc3c14b3702b2c042988061a3
2018-05-01 15:18:55 +10:00
Andreea Pavel 5298f758aa Backed out changeset 5352d48512f7 (bug 1458159) for failing reftest min-intrinsic-with-percents-across-elements.html == min-intrinsic-with-percents-across-elements-ref.html on a CLOSED TREE 2018-05-21 13:00:19 +03:00
Xidorn Quan d8a44ee949 Bug 1458159 - Use rounding instead of ceiling on max{Ascent,Descent} for DWriteFont. r=jfkthame
The ceiling was introduced in bug 549190 for improve the consistency of
underline positioning. However, removing ceiling now doesn't seem to
regress the testcases in that bug, probably thanks to improvement in
other part.

The ceiling here causes us to have different font metrics than other
browsers on Windows, and can lead to webcompat issue. We also don't do
this for other backends. So it's probably better removing it in favor
of rounding.

There are several test changes:

* min-intrinsic-with-percents-across-elements.html changes result due to
  height of wrapping div in reference page depends on line height, so a
  fixed line height is set to work around the issue.

* 368020-1.html changes result because a slightly different line-height
  triggers bug 1462514. It is changed to use fixed line-height to work
  around the issue.

* 456147.xul is disabled because it compares XUL against HTML page, but
  XUL has different approach to position text in its elements than HTML.
  Specifically, XUL elements don't seem to respect line height while
  HTML elements do. The original line height in the file was probably
  chosen to make the HTML match XUL, so it seems to be non-trivial to
  fix it in a platform-independent way.

* sizing-orthog-{vlr,vrl}-in-htb-{008,020}.xht fails due to text in <p>
  after the testing block shifts 1px up for unknown reason.

MozReview-Commit-ID: 2WJG1AigWl1

--HG--
extra : rebase_source : 6c61fa95a3b01e7b439be46a2498b4f893d8b84b
2018-05-01 15:18:55 +10:00
Alexis Beingessner 692c803365 Bug 1406179 - add reftest to check that preserve-3d corrupts nothing. r=kats
MozReview-Commit-ID: 5kmAQIu0CP

--HG--
extra : rebase_source : fad50f5d9ad612034f5c44e951b145edc58b6b6b
2018-05-14 14:09:54 -04:00
Kartikaya Gupta 32a1261d0d Bug 1322845 - Update reftest annotations for WebRender on macOS. r=Gankro
MozReview-Commit-ID: 6NufRyb41ia
2018-05-08 22:42:51 -04:00
Andreea Pavel 8daddd690f Backed out 2 changesets (bug 1322845) for failing reftest background-repeat-large-area.html == background-repeat-large-area-ref.html on a CLOSED TREE
Backed out changeset 4fd46cd822bf (bug 1322845)
Backed out changeset abd41b3e63e7 (bug 1322845)
2018-05-09 05:13:08 +03:00
Kartikaya Gupta 93650c1b04 Bug 1322845 - Update reftest annotations for WebRender on macOS. r=Gankro
MozReview-Commit-ID: 6NufRyb41ia
2018-05-08 20:39:51 -04:00
Kartikaya Gupta 1eb717ccf5 Bug 1377187 - Rewrite the clipping code to use the new clipchain API. r=mstange
The clip chain API in webrender allows us to build the clip state in WR
so that it matches the gecko display list more closely. This patch throws
away ScrollingLayersHelper.* and introduces ClipManager.* which pushes
the clip state to WR using the new method. A quick summary of the new
method is below.

Each display item in gecko has a DisplayItemClipChain which is a chain
of individual clips. The individual clips are defined in WR, and the
clip ids for those clips are put into a WR clip chain using the new
define_clip_chain API. Furthermore, each clip chain can also have a
parent chain, which is used to link a DisplayItemClipChain to the parent
display item's DisplayItemClipChain. This allows the WR clip state to
closely match the structure of the gecko display list clip state,
resulting in more correct behaviour.

There are a few other major changes that are lumped into this patch and
that were tricky to separate into their own patches:
- The collapsing of WrScrollId and WrStickyId into WrClipId. On the WR
  side all the clip ids are treated the same anyway. Trying to preserve
  the arbitrary distinction on the gecko side was resulting in
  increasingly convoluted code, with different kinds of Variant<..>
  types in the method signatures. It was much simpler and resulted in a
  bunch of code deletion to just collapse the types.
- Moving the "override" mechanism from WebRenderAPI to ClipManager. The
  override mechanism (explained in ClipManager.h) was simplified by
  moving it into ClipManager, because it removed the need for tracking
  additional clip stack state in WebRenderAPI.

MozReview-Commit-ID: GGbdFyJGprK

--HG--
extra : rebase_source : baa56ff179e917b0ab5a5c186a3a415761f8050a
2018-05-08 09:08:39 -04:00
Markus Stange 90d2624508 Bug 1219985 - The canvas rendering context 2d should be opaque if either the moz-opaque attribute is set or if it has been initialized with alpha:false. r=jrmuizel
If the canvas is cleared by setting the width or height attributes, its
opaqueness should not be affected.

This patch keeps support for moz-opaque, and also keeps the behavior that
changing the moz-opaque attribute clears the canvas, even if this does not
affect the actual opaqueness of the canvas.

MozReview-Commit-ID: LOlsJxiP9kc

--HG--
extra : rebase_source : 8bb95b1d5932c39a8085e007f9fd1b88b97afe55
2018-05-02 11:23:53 -04:00
arthur.iakab 9e9c6ca596 Merge mozilla-central to inbound on a CLOSED TREE
--HG--
extra : amend_source : 45e514d60768068dc6f2b59b05059a0b86e4f692
2018-05-01 01:20:42 +03:00
Ryan Hunt 8298d017b1 Bug 1454978 - Update test fuzziness. r=bas
MozReview-Commit-ID: DFDwOo8VsdQ

--HG--
extra : rebase_source : fd8366e79d08da52d1105946a2e6d5f146ea70d4
2018-04-25 16:54:31 -05:00
Nicolas Silva 85d46efa66 Bug 1457241 - Add fuzziness to some of the gradient reftests. r=kats
MozReview-Commit-ID: 4sfWX1tbbKB

--HG--
extra : rebase_source : 05c26de1f9627052a0705f2a20f197a6d3d1fe68
2018-04-30 10:13:08 -04:00
Miko Mynttinen 181215aa0f Bug 1454105 - Do not flatten opacity for IB splits r=mattwoodrow
MozReview-Commit-ID: 67nBRgzdSZ6

--HG--
extra : rebase_source : 5bd24b253e4d3c2638c38d745abf16abebabd302
2018-04-24 17:17:04 +02:00
Alexis Beingessner 5b56b93c8b Bug 1430869 - add reftest for border collapse and captions. r=mstange
MozReview-Commit-ID: CrmfZx7rKPV

--HG--
extra : rebase_source : d876371fd02c309766e7236ba9e5954263a5cc93
2018-04-25 11:11:32 -04:00
Alexis Beingessner d01c9f3acf Bug 1403261 - remove fuzziness (no longer comparing fallback to native). r=mstange
MozReview-Commit-ID: LX2v9pidrEx

--HG--
extra : rebase_source : 44d1c017f5e7419ddc64fee61168bf4802a48a39
2018-04-18 09:32:11 -04:00
Ryan VanderMeulen bd9e5194af Bug 1386138 - Add Android fuzz for 568441.html. r=me
--HG--
extra : rebase_source : 017b417bb8389378cc4d3bf637a4cefdb0da5f6e
2018-04-16 13:15:49 -04:00
Emilio Cobos Álvarez 9509cd7e32 Bug 1453789: Remove Element.createShadowRoot. r=smaug
MozReview-Commit-ID: Hgxbp1Icgvh
2018-04-13 20:51:55 +02:00
Miko Mynttinen 8c3bbd7b8e Bug 1442190 - Part 6: Make three reftests fuzzy r=mattwoodrow
MozReview-Commit-ID: 4zSYL3BxhCg

--HG--
extra : rebase_source : 1e8b484f13e121aad417ae74056b1807a8c9fdbb
2018-03-21 16:18:45 +01:00
Alexis Beingessner 545f6207bd Bug 1412375 - Add reftest for atomicity of masks. r=kats
MozReview-Commit-ID: 7rckMw1DWFj

--HG--
extra : rebase_source : 8de286b236e1ea68178d8c908a308365f4e169b9
2018-04-11 16:19:03 -04:00
Noemi Erli b57bd05828 Backed out 6 changesets (bug 1442190) for reftest failures on /anonymous-block.html on a CLOSED TREE
Backed out changeset e8dc919d0f42 (bug 1442190)
Backed out changeset e406251cf5ea (bug 1442190)
Backed out changeset ce317da6a8fc (bug 1442190)
Backed out changeset cebcdd61afcb (bug 1442190)
Backed out changeset 7a1185d616dc (bug 1442190)
Backed out changeset f8c99ac6bf0d (bug 1442190)
2018-04-11 20:14:53 +03:00
Miko Mynttinen 4d47286a15 Bug 1442190 - Part 6: Make three reftests fuzzy r=mattwoodrow
MozReview-Commit-ID: 4zSYL3BxhCg

--HG--
extra : rebase_source : 39b0fce4b541d4d6a099fba85d083c3daa6d7b46
2018-03-21 16:18:45 +01:00
Andreea Pavel 4e68a27bb1 Backed out 6 changesets (bug 1442190) for failing reftest text-overflow/anonymous-block.html, at least on OS X on a CLOSED TREE
Backed out changeset db65cdb10a34 (bug 1442190)
Backed out changeset 1ca2a0266f20 (bug 1442190)
Backed out changeset c992deef1ec5 (bug 1442190)
Backed out changeset 9503cb9d5fc1 (bug 1442190)
Backed out changeset 8018f83c161b (bug 1442190)
Backed out changeset 7f82627c75fa (bug 1442190)
2018-04-11 17:04:36 +03:00
Miko Mynttinen 4e7075c1b7 Bug 1442190 - Part 6: Make three reftests fuzzy r=mattwoodrow
MozReview-Commit-ID: 4zSYL3BxhCg

--HG--
extra : rebase_source : 082c98aa8248364ebf912e08061a309ec45e9ee8
2018-03-21 16:18:45 +01:00
Kartikaya Gupta 0f89486f32 Bug 1452658 - Mark many reftests as fuzzy instead of failing for windows-qr. r=jrmuizel
MozReview-Commit-ID: BDvtV6trKkK

--HG--
extra : rebase_source : 0591564f6cea5c782de6baecc24c3defcef0c4fb
2018-04-10 17:48:16 -04:00
Mats Palmgren 2414745e12 Bug 1434478 part 7 - Update tests and enable some previously temporarily disabled Grid reftests from bug 1427608. 2018-04-10 00:16:58 +02:00
Kartikaya Gupta aa3aba2c35 Bug 1451453 - Update reftest annotations for WR PR 2626. r=jrmuizel
MozReview-Commit-ID: E6QyBRRAB3m

--HG--
extra : rebase_source : 3009056624edf1222e72980f8459a2565c4b528c
2018-04-09 08:27:16 -04:00
Emilio Cobos Álvarez bf9afde936 Bug 1451874: Respect the -moz- gradient pref again. r=xidorn
MozReview-Commit-ID: 2MDRZLmLMM0
2018-04-07 18:18:09 +02:00
Kartikaya Gupta 2eefaf54ec Bug 1344350 - Mark reftests passing with webrender on Windows. r=jrmuizel
This covers all the reftests that have lower fuzz (or zero fuzz) and
were producing an UNEXPECTED-PASS result with webrender on windows. In
many cases I just adjusted the lower bound of the existing webrender
fuzz. In other cases existing fails-if conditions had to be tweaked to
exclude webrender.

MozReview-Commit-ID: 49LvS0vuYWR

--HG--
extra : rebase_source : d194e24affb87fe4560a127ff4016f9c38f414fd
2018-04-06 11:58:44 -04:00
Kartikaya Gupta 9a9c13a09f Bug 1344350 - Mark reftests failing with webrender on windows. r=jrmuizel
Many of these could probably be fuzzed but in the interests of getting
the reftest suite turned on sooner I'm doing a blanket fails-if. This
covers all the reftests where there is more fuzz with webrender on
windows than any of existing annotations account for. In some cases the
fuzz is only a few pixels more than the equivalent Linux fuzz already
annotated, but I'll clean that up in a future bug.

MozReview-Commit-ID: IaKarbnL46d

--HG--
extra : rebase_source : 71889340305b0b12fa8eace722e42bb3faf14419
2018-04-06 11:58:43 -04:00
Jonathan Watt 82ebebe276 Bug 1448714 - Fix up comments referring to 'style context' after the rename of nsStyleContext. r=emilio 2018-03-23 13:49:21 +00:00