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

76121 Коммитов

Автор SHA1 Сообщение Дата
Dzmitry Malyshau a7b6e68a6c Bug 1712766 - Enable alpha for the WebGPU presented image r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D115906
2021-05-25 16:05:09 +00:00
Butkovits Atila 95df13ddf8 Backed out changeset f7944c3f9e5b (bug 1711437) for causing mochitest failures. CLOSED TREE 2021-05-25 18:56:00 +03:00
Emilio Cobos Álvarez 4da4bb9699 Bug 1711437 - Don't EnsureUniqueInner from the cssRules getter. r=layout-reviewers,jfkthame
Instead, fix up the various content data structures when the stylesheet
is mutated. This makes reading a stylesheet not disable style sharing.

Differential Revision: https://phabricator.services.mozilla.com/D115203
2021-05-25 13:23:35 +00:00
Olli Pettay c3df4637f6 Bug 1711643 - Make layout/base/tests/browser_disableDialogs_onbeforeunload.js work with Fission and BFCache, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D115351
2021-05-25 12:28:56 +00:00
Butkovits Atila 202250ee59 Backed out 2 changesets (bug 1699890) for causing failures on background-color-animation-with-table2.html. CLOSED TREE
Backed out changeset 38bfba07a1ac (bug 1699890)
Backed out changeset 69826920340d (bug 1699890)
2021-05-25 15:30:01 +03:00
Emilio Cobos Álvarez 98c195c65e Bug 1641603 - Fix order of checks in nsLayoutUtils::SurfaceFromElement(HTMLVideoElement*). r=nical
We do have a size even if we can't turn the image into a SourceSurface,
and per spec in that case we shouldn't throw from
CanvasRenderingContext2D::DrawImage.

Note that per
https://html.spec.whatwg.org/#check-the-usability-of-the-image-argument
we should never ever throw for video anyways. Bug 1629381 covers that
(I'll try to reland with android tests fixed).

But this is correct and less invasive too.

Differential Revision: https://phabricator.services.mozilla.com/D115823
2021-05-25 10:36:25 +00:00
Hiroyuki Ikezoe 6b494767d9 Bug 1699890 - Forcibly create a display item for backgroud-color animations even if it's transparent at the moment. r=boris,miko
Otherwise we keep restyling for the animations on the main thread and trying
to create display items for them.

Differential Revision: https://phabricator.services.mozilla.com/D115441
2021-05-25 01:58:19 +00:00
Kris Wright 5e37146c9f Bug 1692068 - Disable broken crashtests on tsan. r=necko-reviewers,decoder,dragana
These tests either cause frequent or permanent failures on TSan.

Differential Revision: https://phabricator.services.mozilla.com/D110371
2021-05-25 01:15:49 +00:00
sotaro 82b27117d3 Bug 1704000 - Update reftest.list r=jmaher,gfx-reviewers,bradwerth
Update reftest.list for enabling reftest on Android emulator.

Differential Revision: https://phabricator.services.mozilla.com/D115780
2021-05-24 21:07:40 +00:00
Joel Maher 3ad9f06697 Bug 1710923 - migrate windows 7x32 debug tests to windows 10x32. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D115017
2021-05-24 20:06:43 +00:00
Dorel Luca 08f063f4c8 Backed out changeset 2c95330ad7c7 (bug 1711437) for Devtools failures in devtools/client/inspector/markup/test/browser_markup_shadowdom.js. CLOSED TREE 2021-05-24 23:01:46 +03:00
Emilio Cobos Álvarez 510cae01ca Bug 1711437 - Don't EnsureUniqueInner from the cssRules getter. r=layout-reviewers,jfkthame
Instead, fix up the various content data structures when the stylesheet
is mutated. This makes reading a stylesheet not disable style sharing.

Differential Revision: https://phabricator.services.mozilla.com/D115203
2021-05-24 17:18:44 +00:00
Andi-Bogdan Postelnicu 1cf28e7475 Bug 1519636 - Reformat recent changes to the Google coding style. r=emilio
Updated with clang-format version 12.0.0 (taskcluster-KEgO7qdgQ8uaewA6NkRnRA)

Differential Revision: https://phabricator.services.mozilla.com/D115804
2021-05-24 15:08:47 +00:00
Brad Werth 4275e4bd2b Bug 1669840 Part 4: Update test expectations. r=jrmuizel
Depends on D103130

Differential Revision: https://phabricator.services.mozilla.com/D103938
2021-05-23 00:09:04 +00:00
Brad Werth 8695def8cc Bug 1669840 Part 2: Make nsImageRenderer::BuildWebRenderDisplayItems premultiply alpha with provided opacity. r=miko,jrmuizel
Depends on D92941

Differential Revision: https://phabricator.services.mozilla.com/D103130
2021-05-23 00:09:03 +00:00
Miko Mynttinen 2118c99166 Bug 1669840 Part 1 - Allow applying opacity to nsDisplayBackgroundImage items r=jrmuizel,mstange
Differential Revision: https://phabricator.services.mozilla.com/D92941
2021-05-23 00:09:03 +00:00
Mats Palmgren 716685da84 Bug 1711630 - Honor 'break-inside: avoid' also when 'min-block-size' causes the overflow. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D115604
2021-05-22 22:57:31 +00:00
Kagami Sascha Rosylight abd3d9776e Bug 1712147 - Add more missing MOZ_JXL checks r=tnikkel
This removes the check from static prefs, mainly since it's hard to check MOZ_JXL in JS side. It can be a bit confusing but generally shouldn't be harmful.

Differential Revision: https://phabricator.services.mozilla.com/D115704
2021-05-22 05:33:48 +00:00
Emily McDonough 3b435a71eb Bug 1712218 - Refactor getting the nsPageContentFrame from nsPageFrame r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D115662
2021-05-21 20:32:55 +00:00
Olli Pettay 06fe870379 Bug 1708042, use control priority for DidComposite but dispatch MozAfterPaint using mediumhigh, since scripts shouldn't run in control queue, r=bas
Depends on D115405

Differential Revision: https://phabricator.services.mozilla.com/D115406
2021-05-21 15:46:46 +00:00
Iulian Moraru e0b2722506 Backed out 3 changesets (bug 1708042) for causing wr failures on background-color-animation-in-body.html.
Backed out changeset f8febc2db198 (bug 1708042)
Backed out changeset a0fccd7121b5 (bug 1708042)
Backed out changeset ddc6d95f0601 (bug 1708042)
2021-05-21 16:39:38 +03:00
Jonathan Kew 2f61bdc207 Bug 1710116 - Use more saturating nscoord arithmetic in BasicTableLayoutStrategy::DistributeISizeToColumns. r=emilio
This avoids potentially computing col_iSize values greater than nsccoord_MAX, which will confuse
a subsequent NSCoordSaturatingSubtract.

Differential Revision: https://phabricator.services.mozilla.com/D115684
2021-05-21 10:57:17 +00:00
Iulian Moraru 8887e460a5 Backed out changeset c5ce83934eac (bug 1699890) for causing dt assertion failures on nsDisplayList.h. CLOSED TREE 2021-05-21 14:25:37 +03:00
Lee Salzman 28af07fd90 Bug 1700434 - Add SWGL fast-path for ps_text_run. r=jrmuizel
This adds some swgl_commitTextureLinearR8ToRGBA8 variations so that we can deal
with alpha glyph formats. Following that, a simple span shader is added that
dispatches to this as appropriate.

Differential Revision: https://phabricator.services.mozilla.com/D115551
2021-05-21 06:52:12 +00:00
Hiroyuki Ikezoe c8c37c4c3c Bug 1699890 - Forcibly create a display item for backgroud-color animations even if it's transparent at the moment. r=boris,miko
Otherwise we keep restyling for the animations on the main thread and trying
to create display items for them.

Differential Revision: https://phabricator.services.mozilla.com/D115441
2021-05-21 06:09:38 +00:00
Iulian Moraru 7fcb0d2a66 Backed out 4 changesets (bug 1700434) for causing bustages in src/glsl.h. CLOSED TREE
Backed out changeset 215ea9dc277b (bug 1700434)
Backed out changeset 64f8b849e94e (bug 1700434)
Backed out changeset 6643c36ec306 (bug 1700434)
Backed out changeset a998658f3364 (bug 1700434)
2021-05-21 09:37:17 +03:00
Lee Salzman acd20a15d5 Bug 1700434 - Add SWGL fast-path for ps_text_run. r=jrmuizel
This adds some swgl_commitTextureLinearR8ToRGBA8 variations so that we can deal
with alpha glyph formats. Following that, a simple span shader is added that
dispatches to this as appropriate.

Differential Revision: https://phabricator.services.mozilla.com/D115551
2021-05-21 05:53:46 +00:00
Alexandru Michis 1c4e911bb6 Backed out 4 changesets (bug 1700434) for causing bustages in src/glsl.h
CLOSED TREE

Backed out changeset 78cc8dd9ed2a (bug 1700434)
Backed out changeset eb02c32b173e (bug 1700434)
Backed out changeset 9d932ee247a2 (bug 1700434)
Backed out changeset 5ff6e9101b77 (bug 1700434)
2021-05-21 08:36:57 +03:00
Lee Salzman 0eabbb9d61 Bug 1700434 - Add SWGL fast-path for ps_text_run. r=jrmuizel
This adds some swgl_commitTextureLinearR8ToRGBA8 variations so that we can deal
with alpha glyph formats. Following that, a simple span shader is added that
dispatches to this as appropriate.

Differential Revision: https://phabricator.services.mozilla.com/D115551
2021-05-21 04:54:31 +00:00
Noemi Erli 15e72db6a4 Backed out changeset 1c7f2486a0e9 (bug 1699890) for causing multiple failures CLOSED TREE 2021-05-21 06:43:14 +03:00
Hiroyuki Ikezoe 7cceb18c82 Bug 1699890 - Forcibly create a display item for backgroud-color animations even if it's transparent at the moment. r=boris,miko
Otherwise we keep restyling for the animations on the main thread and trying
to create display items for them.

Differential Revision: https://phabricator.services.mozilla.com/D115441
2021-05-20 23:46:10 +00:00
Noemi Erli e861fde400 Backed out 4 changesets (bug 1669840) for causing reftest failures in opacity-background-1.html CLOSED TREE
Backed out changeset b0dc93c36fb5 (bug 1669840)
Backed out changeset dc8740f5d193 (bug 1669840)
Backed out changeset 17d1706271a9 (bug 1669840)
Backed out changeset a4d21aa2f97d (bug 1669840)
2021-05-21 02:51:14 +03:00
Brad Werth ea20223f83 Bug 1669840 Part 4: Update test expectations. r=jrmuizel
Depends on D103130

Differential Revision: https://phabricator.services.mozilla.com/D103938
2021-05-20 21:02:53 +00:00
Brad Werth 930e22f764 Bug 1669840 Part 2: Make nsImageRenderer::BuildWebRenderDisplayItems premultiply alpha with provided opacity. r=miko,jrmuizel
Depends on D92941

Differential Revision: https://phabricator.services.mozilla.com/D103130
2021-05-20 21:02:52 +00:00
Miko Mynttinen 356e5d12b0 Bug 1669840 Part 1 - Allow applying opacity to nsDisplayBackgroundImage items r=jrmuizel,mstange
Differential Revision: https://phabricator.services.mozilla.com/D92941
2021-05-20 21:02:52 +00:00
Luca Greco 98af19631a Bug 1394579 - Allow SVG context-fill on privileged extensions. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D114957
2021-05-20 20:34:40 +00:00
Emilio Cobos Álvarez d455c7de64 Bug 1712130 - Make print.print_via_parent a static pref. r=layout-reviewers,jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D115612
2021-05-20 17:05:33 +00:00
Noemi Erli fadafafe08 Backed out 4 changesets (bug 1669840) for causing reftest failures in border-collapse-opacity-table-row-group.html CLOSED TREE
Backed out changeset be66ef46592b (bug 1669840)
Backed out changeset 31dfd306b953 (bug 1669840)
Backed out changeset 7716542373a3 (bug 1669840)
Backed out changeset 8444d88d1869 (bug 1669840)
2021-05-20 21:00:20 +03:00
Csoregi Natalia 814d52a59c Backed out changeset 7ed8d739fe9a (bug 1710923) for causing cppunit failures. CLOSED TREE 2021-05-20 20:48:22 +03:00
Joel Maher 359e6f6227 Bug 1710923 - migrate windows 7x32 debug tests to windows 10x32. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D115017
2021-05-20 16:31:20 +00:00
Brad Werth f7c7810416 Bug 1669840 Part 4: Update test expectations. r=jrmuizel
Depends on D103130

Differential Revision: https://phabricator.services.mozilla.com/D103938
2021-05-20 15:59:06 +00:00
Brad Werth db18607781 Bug 1669840 Part 2: Make nsImageRenderer::BuildWebRenderDisplayItems premultiply alpha with provided opacity. r=miko,jrmuizel
Depends on D92941

Differential Revision: https://phabricator.services.mozilla.com/D103130
2021-05-20 15:59:05 +00:00
Miko Mynttinen 705ad8e8c8 Bug 1669840 Part 1 - Allow applying opacity to nsDisplayBackgroundImage items r=jrmuizel,mstange
Differential Revision: https://phabricator.services.mozilla.com/D92941
2021-05-20 15:59:04 +00:00
Olli Pettay cbae42faf9 Bug 1708042, use control priority for DidComposite but dispatch MozAfterPaint using mediumhigh, since scripts shouldn't run in control queue, r=bas
Depends on D115405

Differential Revision: https://phabricator.services.mozilla.com/D115406
2021-05-20 12:42:31 +00:00
Jonathan Kew db06e27c59 Bug 1711576 - Ensure we set the primary frame for native anon content where needed. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D115527
2021-05-20 08:39:05 +00:00
Jonathan Kew 5e9a828adc Bug 1711064 - patch 1 - Add a pref to control whether linkifying Save-as-PDF output is enabled. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D115514
2021-05-20 08:25:44 +00:00
jkew 7cbbbc1426 Bug 1711947 - Update glyph properties during AAT substitutions so that mark zeroing works as expected. r=RyanVM
Cherry-pick of the following upstream commits:
[aat] Update glyph properties from GDEF if available when doing a replacement.
[aat] If shaping via morx, don't adjust mark positioning when zeroing widths.

https://github.com/harfbuzz/harfbuzz/pull/2968

Differential Revision: https://phabricator.services.mozilla.com/D115542
2021-05-19 22:13:13 +00:00
Sandor Molnar 4e346690ad Backed out changeset 7fb52bd0c5b6 (bug 1710923) for causing win10 reftest failures. CLOSED TREE 2021-05-19 17:11:39 +03:00
Joel Maher ce8b9ba202 Bug 1710923 - migrate windows 7x32 debug tests to windows 10x32. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D115017
2021-05-19 12:47:29 +00:00
Timothy Nikkel d6f76550e1 Bug 1693496. Invalidate when nsPresContext::mViewportScrollStyles changes because it can change whats in our display list. r=miko
Differential Revision: https://phabricator.services.mozilla.com/D115301
2021-05-19 12:21:24 +00:00