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

76445 Коммитов

Автор SHA1 Сообщение Дата
Botond Ballo da4b66c796 Bug 1720176 - Get Matrix4x4Typed::Decompose() to compile for non-Unknown matrix types. r=jrmuizel
Depends on D119696

Differential Revision: https://phabricator.services.mozilla.com/D119697
2021-07-19 18:37:37 +00:00
Andreea Pavel ecd395a099 Bug 1718175 - mark radialGradient-basic-03.svg as fuzzy on win10 webrender debug r=intermittent-reviewers,ahal,emilio
Differential Revision: https://phabricator.services.mozilla.com/D120119
2021-07-19 16:07:20 +00:00
Alex Lopez 77ce415604 Bug 1696251 - Replace self with command_context where possible in existing mach commands. r=mhentges,webdriver-reviewers,perftest-reviewers,whimboo
This step removes all the dependencies of mach commands to
having a MachCommandBase as the `self` by using the `command_context`
argument instead. This also removes any remaining statefulness from those
classes that implement mach commands, ultimately making it easier to move
existing commands out of classes in a follow-up.

Differential Revision: https://phabricator.services.mozilla.com/D118058
2021-07-19 16:04:25 +00:00
Miko Mynttinen 0db87ebeb5 Bug 1720804 - Part 2: Cleanup clang tidy warnings and namespaces r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D120042
2021-07-19 11:28:21 +00:00
Miko Mynttinen 76c9644105 Bug 1720804 - Part 1: Move majority of the display list code inside mozilla namespace r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D120041
2021-07-19 11:28:20 +00:00
Emilio Cobos Álvarez 94913a95b1 Bug 1720703 - Sync the list of hidden elements with the HTML spec. r=annevk
`<source>` and `<track>` were missing, and the order is tweaked to match the HTML spec.

Differential Revision: https://phabricator.services.mozilla.com/D120206
2021-07-19 10:40:17 +00:00
Sonia Singla 28ced48ac1 Bug 1659266 - Remove layout.css.prefixes.columns. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D120057
2021-07-19 09:20:14 +00:00
Ting-Yu Lin 70a94bffbb Bug 1720963 - Remove unused method declarations in nsTableFrame.h. r=layout-reviewers,jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D120123
2021-07-18 18:42:10 +00:00
Butkovits Atila df5b6f3929 Backed out 13 changesets (bug 1709640, bug 1718341) for causing android build bustages. CLOSED TREE
Backed out changeset 20645ae32b84 (bug 1709640)
Backed out changeset 7c45682a8f98 (bug 1709640)
Backed out changeset 667e768fd75e (bug 1709640)
Backed out changeset f072adb45b85 (bug 1718341)
Backed out changeset cf443dddb5f5 (bug 1718341)
Backed out changeset 09d3d3e4ce7d (bug 1718341)
Backed out changeset 2b47cc469477 (bug 1718341)
Backed out changeset 8ec277361e46 (bug 1718341)
Backed out changeset b6c4c82d3efc (bug 1718341)
Backed out changeset 8afb8fcd0dc3 (bug 1718341)
Backed out changeset 7723d3a9ba7f (bug 1718341)
Backed out changeset f33b120a77d0 (bug 1718341)
Backed out changeset e7bf6deac270 (bug 1718341)
2021-07-17 01:02:51 +03:00
Emily McDonough 6e2a97de80 Bug 1717703 Part 2 - Add test for printing with down-scaled page-size. r=dholbert
This test couldn't succeed without the fix for the clipping issue.

Differential Revision: https://phabricator.services.mozilla.com/D119460
2021-07-16 19:47:49 +00:00
Emily McDonough 2844167a17 Bug 1717703 Part 1 - Set display list clipping rect for nsPageFrame children to use the content size. r=emilio,mattwoodrow
Without explicitly setting the clipping rect to the specified page size, the
building rect of the display lists will be kept to the size of the nsPageFrame.
This means that any content in the nsPageContentFrame which is larger than the
physical paper size will be clipped.

The actual content frames are scaled down when this is too large, so no
overdraw will occur.

Differential Revision: https://phabricator.services.mozilla.com/D119459
2021-07-16 19:47:48 +00:00
Agi Sferro fa3a9445b3 Bug 1718341 - Generate Android AVD in TL job instead of using tooltool r=aklotz,nalexander
Tooltool images are hard to update because we don't provide a script to
generate the image and documentation is often inaccurate.

This patch makes it so we generate the AVD in the android-sdk TL job instead.

Differential Revision: https://phabricator.services.mozilla.com/D119221
2021-07-16 17:49:54 +00:00
Butkovits Atila a07f790e42 Backed out changeset e1921c5112d8 (bug 1696251) for causing bustages complaining about 'CommandContext'. CLOSED TREE 2021-07-16 20:35:55 +03:00
Alex Lopez 190e03aaab Bug 1696251 - Replace self with command_context where possible in existing mach commands. r=mhentges,webdriver-reviewers,perftest-reviewers,whimboo
This step removes all the dependencies of mach commands to
having a MachCommandBase as the `self` by using the `command_context`
argument instead. This also removes any remaining statefulness from those
classes that implement mach commands, ultimately making it easier to move
existing commands out of classes in a follow-up.

Differential Revision: https://phabricator.services.mozilla.com/D118058
2021-07-16 15:51:29 +00:00
Alexandru Michis fbd939b860 Backed out 2 changesets (bug 1720804) for causing bustages.
CLOSED TREE

Backed out changeset 5278e88c6d34 (bug 1720804)
Backed out changeset 1acb4ed79b6b (bug 1720804)
2021-07-16 18:10:11 +03:00
Miko Mynttinen 9be17e0d34 Bug 1720804 - Part 2: Cleanup clang tidy warnings and namespaces r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D120042
2021-07-16 14:36:35 +00:00
Miko Mynttinen ffc501ddc9 Bug 1720804 - Part 1: Move majority of the display list code inside mozilla namespace r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D120041
2021-07-16 14:36:34 +00:00
Miko Mynttinen f1d35170a6 Bug 1720803 - Merge nsDisplayItemBase and nsDisplayItem r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D120039
2021-07-16 13:11:40 +00:00
Iulian Moraru a6eeed2022 Backed out changeset ff3b52062c5a (bug 1659266) for causing build bustages on WebIDLPrefs. CLOSED TREE 2021-07-16 16:02:09 +03:00
Sonia Singla 0200117fc5 Bug 1659266 - Remove layout.css.prefixes.columns. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D120057
2021-07-16 12:17:49 +00:00
Jonathan Kew 080117611f Bug 1717556 - Give gfxContext::UserToDevicePixelSnapped an option to prioritize the rect dimensions over snapping each individual edge, and use this for GTK widget painting. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D119885
2021-07-16 11:20:26 +00:00
Miko Mynttinen 746fe9865a Bug 1720711 - Remove most nsDisplayItem::GetAbove() calls r=mattwoodrow
Replaces direct linked list traversals with iterators.

Differential Revision: https://phabricator.services.mozilla.com/D119985
2021-07-16 10:55:03 +00:00
Emilio Cobos Álvarez c28d6aae07 Bug 1715098 - Skip overflow containers in nsSplittableFrame::CalcAndCacheConsumedBSize. r=TYLin,dholbert
As per comments on the bug.

Differential Revision: https://phabricator.services.mozilla.com/D120010
2021-07-16 09:01:52 +00:00
Sandor Molnar c40ce62c3c Backed out 10 changesets (bug 1718341) for causing wrench bustages. CLOSED TREE
Backed out changeset e5bd150a58b2 (bug 1718341)
Backed out changeset e82e752b8f44 (bug 1718341)
Backed out changeset d9462c727c8f (bug 1718341)
Backed out changeset 2bd647754780 (bug 1718341)
Backed out changeset 31dfce45985f (bug 1718341)
Backed out changeset 03266cea345d (bug 1718341)
Backed out changeset 3920b27acecb (bug 1718341)
Backed out changeset 2b17603c5e65 (bug 1718341)
Backed out changeset ebc0d5d4f537 (bug 1718341)
Backed out changeset 1c8844157b8d (bug 1718341)
2021-07-16 03:40:56 +03:00
Agi Sferro 164fc2191d Bug 1718341 - Generate Android AVD in TL job instead of using tooltool r=aklotz,nalexander
Tooltool images are hard to update because we don't provide a script to
generate the image and documentation is often inaccurate.

This patch makes it so we generate the AVD in the android-sdk TL job instead.

Differential Revision: https://phabricator.services.mozilla.com/D119221
2021-07-15 23:22:15 +00:00
Florian Quèze c4c51c4002 Bug 1720358 - Make AutoProfilerLabel available even when MOZ_GECKO_PROFILER is not defined, and remove ifdefs, r=gerald.
Differential Revision: https://phabricator.services.mozilla.com/D119795
2021-07-15 22:04:22 +00:00
Emilio Cobos Álvarez 4cd9444b4f Bug 1717922 - Blockify outside markers at used value time rather than at computed value time. r=jfkthame
Trusting the display value in style_adjuster is wrong, as some elements
force a given kind of frame (like <details>).

Differential Revision: https://phabricator.services.mozilla.com/D119609
2021-07-15 11:23:19 +00:00
Daniel Holbert 4802b66f14 Bug 1511300: Annotate observed fuzziness in reftest 490174-1.html. r=intermittent-reviewers,bhearsum
This should silence a relatively high-frequency intermittent that seems to be
specific to Windows-with-WebRender, which fails with "max difference: 168,
number of differing pixels: 30", where the differing pixels are due to a subtle
positioning difference in the dropdown arrow on a select element (not
particularly interesting/worrisome).

Differential Revision: https://phabricator.services.mozilla.com/D119830
2021-07-14 19:15:11 +00:00
Markus Stange 019f5a39a1 Bug 1703518 - Cancel any drag tracking before opening native context menus. r=smaug
When opening a native context menu with ctrl+click, the mousedown initiates drag
tracking. Then the menu opens. Native menus consume all mouse events, including
the upcoming mouseup event. This means that Gecko never sees the mouseup event
for the ctrl+click, so drag tracking stays active. Once the menu closes, the
next mouse event can be a long distance away from the ctrl+click's mousedown
position, so Gecko may initiate an unintended drag.

So we manually cancel drag tracking before opening the menu.

Differential Revision: https://phabricator.services.mozilla.com/D114795
2021-07-14 18:40:18 +00:00
Tom Ritter 42c0ec86b4 Bug 1666222: Rip fuzzyfox out of the timestamp classes 2/5 r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D119637
2021-07-14 18:18:16 +00:00
Tom Ritter 701266cef6 Bug 1666222: Remove added Fuzzyfox Files Patch 1/5 r=smaug,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D119636
2021-07-14 18:18:15 +00:00
Andreea Pavel 37702a1fe0 Bug 1714895 - adjust fuzziness for 1313772-ref.xhtml on linux fission r=dholbert,intermittent-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D119016
2021-07-14 18:10:27 +00:00
Daniel Holbert 8b694b6eb5 Bug 1599346: Annotate recent observed fuzziness in reftest 315920-9.html. r=intermittent-reviewers,ahal
This is to allow "max difference: 1, number of differing pixels: 41".  The
differing pixels are all antialiased fringe along the curved edges of the
test's radio-buttons.

Differential Revision: https://phabricator.services.mozilla.com/D119778
2021-07-14 18:05:47 +00:00
Butkovits Atila 433d514141 Backed out 4 changesets (bug 1718755) for causing Reftest failures. CLOSED TREE
Backed out changeset f2cc4fb3caa8 (bug 1718755)
Backed out changeset babc4fdcd08c (bug 1718755)
Backed out changeset 4566477a7075 (bug 1718755)
Backed out changeset 3cc5fcf9aeb6 (bug 1718755)
2021-07-14 18:36:32 +03:00
Emilio Cobos Álvarez ae70245631 Bug 1718755 - Follow-up: Put the rAF back in reftest-content.js. CLOSED TREE 2021-07-14 16:47:21 +03:00
Emilio Cobos Álvarez a2cfcac615 Bug 1718755 - Ensure the reftest harness at least ticks the refresh driver once. r=tnikkel
Otherwise after the previous change we might get some reftest failures
like this in noqr platforms if the snapshot is taken too soon:

  https://treeherder.mozilla.org/jobs?repo=try&revision=5452076b8278fdb514e8c3bc10486b0c74917eb0

This patch fixes it.

Differential Revision: https://phabricator.services.mozilla.com/D119453
2021-07-14 11:29:25 +00:00
Emilio Cobos Álvarez 0d448eff03 Bug 1718755 - Fix the SpecialPowers pref code to deal with ui / font prefs correctly after the previous change. r=kmag
This allows us to remove the timeout (which was there for these prefs)
and makes the code a bit more explicit.

Unconditionally making all tests wait for rAF causes some timing changes
which cause some tests to time out / fail, see:

  https://treeherder.mozilla.org/jobs?repo=try&revision=3aef4c168c6ab7d762dd360f49d4f56dff686c03

So this only does it when changing the prefs that care about it. Fix
some tests that were relying on the timeout to get this green.

Differential Revision: https://phabricator.services.mozilla.com/D119040
2021-07-14 11:29:25 +00:00
Emilio Cobos Álvarez 5c4a0e6c23 Bug 1718755 - Use an early refresh driver runner rather than Dispatch() to coalesce theme changes. r=stransky
That way we guarantee they are processed before display.

Differential Revision: https://phabricator.services.mozilla.com/D119023
2021-07-14 11:29:24 +00:00
Masayuki Nakano 02417e6be6 Bug 1720405 - part 1: Get rid of the pref check of `dom.keyboardevent.keypress.dispatch_non_printable_keys_only_system_group_in_content` from the tests r=smaug
Its default value is `true` and it will never be reverted in release builds
by default.  Therefore, we can get rid of it from the tests unless testing
non-default behavior.

Differential Revision: https://phabricator.services.mozilla.com/D119849
2021-07-14 10:59:03 +00:00
Adam Bruce dbfecb35ea Bug 1713527 - Removed else after return in nsCSSProps::GetStringValue. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D119764
2021-07-14 09:11:31 +00:00
Masayuki Nakano 04b41051dd Bug 1665550 - part 4: Make `EventStateManager` update `mGestureDownFrameOwner` when anonymous nodes in `<input>` or `<textarea>` are replaced r=smaug
`EventStateManager` gives up to track gesture to start a drag if mouse down
content which is stored in `mGestureDownFrameOwner` gets lost its primary frame.

When user tries to start to drag selected text in `<input>` or `<textarea>`
element, mouse down content is an anonymous node in `TextControlElement`. So,
if a reflow occurs after `mousedown` event, the anonymous `<div>` element
is replaced with new one and `EventStateManager` gives up to track it.

Therefore, this patch makes `EventStateManager` do similar things as
`nsBaseDragService`.  When `nsTextControlFrame` notifies of remove/add
the anonymous nodes, `EventStateManager` tries to keep tracking gesture with
a new anonymous node.

Differential Revision: https://phabricator.services.mozilla.com/D119488
2021-07-14 01:20:20 +00:00
Masayuki Nakano a171e12db6 Bug 1665550 - part 3: Make `nsTextControlFrame` set the source node and selection of drag session to new ones when it's reframed r=smaug
When `nsTextControlFrame` is reframed, `TextEditor`, anonymous `<div>`, its
`Text` and the independent `Selection`s are deleted temporarily and recreated
them.

If users are dragging text in `<input>` or `<textarea>`, the drag session's
source node is set to the anonymous text node in the element and the selection
is set to the independent selection.  So, if the element is reframed during a
drag, the source node is disconnected from the document and `EndDragSession`
failed to dispatch `eDragEnd` event.

Therefore, this patch makes `nsTextControlFrame` replaces the source node and
selection when it's recreated and only when the drag session's original source
node was in the text control element.  For checking which text control had the
anonymous text node, this patch makes `nsTextControlFrame` replaces source
node with the `<input>` or `<textarea>` element when the frame is destroyed.

Differential Revision: https://phabricator.services.mozilla.com/D119487
2021-07-14 01:20:19 +00:00
Matt Woodrow c61a06c5db Bug 1719389 - Null check correct DrawTarget. r=miko
Differential Revision: https://phabricator.services.mozilla.com/D119241
2021-07-13 22:16:01 +00:00
Dorel Luca a3b05cf23d Merge mozilla-central to autoland 2021-07-14 00:44:01 +03:00
Dorel Luca 42ae3bea10 Merge autoland to mozilla-central. a=merge 2021-07-14 00:41:42 +03:00
Dorel Luca d1e1f219ba Backed out changeset 0e17878eeb86 (bug 1711437) for causing Bug 1719963. a=backout DONTBUILD 2021-07-14 00:36:05 +03:00
Ting-Yu Lin 8cfb2a0202 Bug 1699964 - Apply clang-format to nsCSSFrameConstructor.cpp. r=layout-reviewers,AlaskanEmily
Differential Revision: https://phabricator.services.mozilla.com/D119798
2021-07-13 21:25:13 +00:00
Masayuki Nakano 1125b625c3 Bug 1715603 - part 1: Don't extend selection into a link r=edgar
If middle button click with `Shift` key occurs, Chrome and Safari extend the
selection in most cases.  However, if the clicked position is in a link,
Chrome does:
* If editable, collapse selection into the link instead of extending selection.
* If not editable, not extending selection and open tabs.

We should follow this behavior for both backward compatibility and web-compat.

Differential Revision: https://phabricator.services.mozilla.com/D119252
2021-07-13 08:15:55 +00:00
Paul Bone 2885e22066 Bug 1718184 - pt 3. Use TimeDuration more in CCGCScheduler r=nika
Differential Revision: https://phabricator.services.mozilla.com/D118793
2021-07-13 01:42:32 +00:00
Anny Gakhokidze 1620a4511a Bug 1646532 - Move mAreDialogsEnabled, mLastDialogQuitTime and mDialogAbuseCount to BC group, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D119299
2021-07-12 17:53:53 +00:00