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

834688 Коммитов

Автор SHA1 Сообщение Дата
Jonathan Kew ce6caaeacf Bug 1823215 - Extract ElementOrArray<T> from CanvasRenderingContext2D into gfxUtils.h so it can also be used elsewhere in gfx/thebes. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D172938
2023-03-19 16:36:05 +00:00
anwar dfac3c918a Bug 1821901 - Convert toolkit/components/timermanager to ES modules. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D172872
2023-03-19 11:43:27 +00:00
Tiaan Louw 03828b4c67 Bug 1822041 - Color interpolation takes none keyword into account r=emilio,layout-reviewers
Now that the none keyword is available, we can take it into account when
interpolating colors following the rules from the spec here:

https://drafts.csswg.org/css-color-4/#interpolation-missing

Differential Revision: https://phabricator.services.mozilla.com/D172666
2023-03-19 10:09:53 +00:00
Mozilla Releng Treescript 9d5cddea34 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
en-GB -> eab5a751dad7e6e815fb66121006c6671c1ec782
es-AR -> 4f0a817ece38c5efcb31534d4cf7c4613251867e
es-CL -> c0de983c723ab25ec11f62034d8fc4437bb178da
nb-NO -> 32240fb92df646342537d8abee39d3a5f10b7d10
zh-CN -> b3a1436da3124f7682b82be46322204f9fbb863b
2023-03-19 07:00:04 +00:00
Robert Longson 7fb9adef36 Bug 1823111 - increase text-shadow reftest fuzziness slightly on Android r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D172925
2023-03-19 06:13:16 +00:00
Norisz Fay 24d202aec7 Backed out changeset 7f1f3d4b0464 (bug 1823111) as requested by dev for causing reftest failures on text-shadow.svg, dynamic-text-shadow.svg CLOSED TREE 2023-03-19 07:54:59 +02:00
Steve Fink 0d94b738c0 Bug 1787579 - Minor allocation cleanup - comments, reordering, etc. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D155767
2023-03-19 02:52:11 +00:00
Steve Fink b4a4d328eb Bug 1787579 - Move AllocateObject into js::gc::CellAllocator alongside AllocateString and AllocateBigInt r=arai
Differential Revision: https://phabricator.services.mozilla.com/D155766
2023-03-19 02:52:11 +00:00
Steve Fink 6cbb38a3fc Bug 1787579 - Use constructors for BigInt r=arai
Differential Revision: https://phabricator.services.mozilla.com/D155765
2023-03-19 02:52:10 +00:00
Lee Salzman d9bcef0fa5 Bug 1447839 - Directly calculate endpoint in PathBuilderRecording::Arc. r=jrmuizel,gfx-reviewers
The math for directly calculating the endpoint of the arc is actually trivial,
and ArcToBezier is pretty expensive so should be avoided.

Differential Revision: https://phabricator.services.mozilla.com/D172929
2023-03-19 02:05:23 +00:00
Robert Longson 71bd835025 Bug 1823111 - increase fuzziness slightly on Android r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D172925
2023-03-18 22:27:01 +00:00
Daniel Holbert fc511c104c Bug 1821793 part 2: Use 0 margin and Ahem font in WPT clip-path-polygon-013.html, to make its computations less likely to produce fractional-pixel sizes with fuzzy failures. r=emilio
The standard WPT viewport is 800px wide, which (as a multiple of 100) can
conveniently resolve whole-number percentages without creating a fractional
size.  But the default body-margins reduce it by 16px, to 784, which is less of
a round-number percent basis.

This was producing some fractional-pixel sizes in this test, which were causing
a fuzzy failure, due to antialiasing differences between how "width" and
"clip-path" handle fractional pixel sizes.

So, this patch just removes those margins, to give us 800px as our percent
basis, which avoids fractional-pixel sizes in this test.

Similarly: this patch also makes us use the Ahem font so that the test's "ex"
units will resolve to a predictable value, instead of whatever
potentially-fractional-value the default font would yield.

Differential Revision: https://phabricator.services.mozilla.com/D172917
2023-03-18 20:27:38 +00:00
Daniel Holbert d4051b7a68 Bug 1821793 part 1: Add fuzzy annotations for various mask-image WPT test-failures whose mismatching pixels are all antialiasing differences along curves. r=emilio
See https://bugzilla.mozilla.org/show_bug.cgi?id=1821793#c2 for more info on
these failures.

In most cases here, I'm taking the fuzzy annotations from the exact values that
wpt.fyi reports for Firefox/Gecko.  The only exception is for
clip-path-borderBox-1a.html, where I use a (higher) threshold taken from the
values that wpt.fyi reports for Safari/WebKit (which has a similar fuzzy
failure).

Differential Revision: https://phabricator.services.mozilla.com/D172916
2023-03-18 20:27:37 +00:00
Emilio Cobos Álvarez 5352c49339 Bug 1823056 - Fix autoscroll popup styles after bug 1809084. r=Itiel
Two issues:

 * The part="content" of this popup is the <slot> itself. As such, it
   now respects box-sizing, which our existing rules didn't account for.

 * The <slot> didn't automatically fill the popup as old XUL did.
   Explicitly set width/height.

Differential Revision: https://phabricator.services.mozilla.com/D172888
2023-03-18 19:21:46 +00:00
Itiel a2e4b3aeca Bug 1823171 - Don't shrink panel menu items r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D172923
2023-03-18 19:14:11 +00:00
Hubert Boma Manilla 9e2dc86bbd Bug 1818962 - [devtools] Refactor search modifiers actions and reducers r=ochameau,devtools-reviewers
This patch makes the SearchInput a connected component, This allows us cleanup
all the seperate actions and reducer logic and makes it easier to add new SearchInput
with modifers functionality.

Differential Revision: https://phabricator.services.mozilla.com/D171034
2023-03-18 18:59:47 +00:00
Mozilla Releng Treescript 536fca3341 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
cak -> f343c178515d6722f3c045cec6698dc3050d9a03
en-GB -> f3d857198bdd6d3e9f7cd7f5ce02ab15ef2ff050
es-MX -> a88bd78d93e6cc29cff301b41c07186a1b381348
fr -> f1ad6d3d8f564886df807ac89cf9300702d92d54
ia -> 64ca8c39ff9923583381998158157ffb84c6d444
it -> a81c165c550c52f740b594f08987be47f47782f4
lo -> 137d76e72ede0e13c31d1ee2b4213cfde4227884
pt-BR -> c9bcff93c946fa7063a8dcc7be93dc9c5c2f6486
pt-PT -> e1411e49327696840fc0422dcd9eded0923a24bb
skr -> dbb79146790a40811db6406da914c6c84acce205
vi -> 8236a2079deee6f42c70a52e187e220cfe221d39
zh-CN -> 05af437578cdf5a3efc1c64ae1e5daa03239016d
2023-03-18 19:01:04 +00:00
Marian-Vasile Laza a8ccc1f226 Backed out changeset 6dc913a054e9 (bug 1822521) for bc failures on browser_parsable_css.js. CLOSED TREE 2023-03-18 16:06:04 +02:00
Cathie Chen c289513d2f Bug 1822521 - Update UA stylesheet for popover. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D172700
2023-03-18 12:56:18 +00:00
Hubert Boma Manilla 56f88f9ab8 Bug 1820200 - [devtools] Fix and enable browser_resources_network_events.js test r=jdescottes,devtools-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D172581
2023-03-18 12:47:24 +00:00
zaggy1024 2bbf25b345 Bug 1813145 - Enable AVIF sequences on nightly. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D168629
2023-03-18 12:33:51 +00:00
Mathew Hodson 7eba459fca Bug 1822955 - Disable mozImageSmoothingEnabled by default. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D172860
2023-03-18 11:45:36 +00:00
Masayuki Nakano 5b59e4aeae Bug 1384606 - part 4: Make `nsIFrame::GetFrameFromDirection` allow to return content in different native anonymous subtree if the caller wants r=emilio
The a11y module wants to traverse frames in native anonymous subtrees.
Therefore, this patch adds new option for allowing it, makes
`nsIFrame::GetFrameFromDirection` check it before comparing native anonymous
subtree root nodes, and makes `HyperTextAccessible::FindOffset` use the
option.

Differential Revision: https://phabricator.services.mozilla.com/D172759
2023-03-18 04:18:53 +00:00
Masayuki Nakano 01d2fe15e1 Bug 1384606 - part 3: Make `nsPeekOffsetStruct` and its handlers treat `bool` options with an `EnumSet` r=emilio
The constructor of `nsPeekOffsetStruct` and `nsIFrame::GetFrameFromDirection`
take too many `bool` arguments.  Therefore, adding new `bool` arguments does
not make sense.  Now, we have a useful `mozilla:EnumSet` class to treat them
with an `enum class`. Therefore, let's change `nsPeekOffsetStruct` with it.

Differential Revision: https://phabricator.services.mozilla.com/D172758
2023-03-18 04:18:53 +00:00
Masayuki Nakano 1ae8b063f9 Bug 1384606 - part 2: Add automated tests for caret browsing around form controls r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D172347
2023-03-18 04:18:53 +00:00
Masayuki Nakano bf5792cbac Bug 1384606 - part 1: Make `nsIFrame::GetFrameFromDirection` treat frames in different native anonymous subtree not selectable r=emilio
It's called by `PeekOffsetFor*` and `GetPrevNextBidiLevels`, so it's used for
considering whether to put caret or move a selection range boundary.
Therefore, it should treat nodes which can be managed by `Selection` as
selectable.  In theory, even if a native anonymous subtree does not have
an independent selection, its content nodes should not be the container of
the selection range boundaries of selection outside the subtree since
Selection API shouldn't expose nodes in native anonymous subtrees.  Therefore,
it can simply treat content nodes in different anonymous subtrees are not
selectable.

Note that it's not standardized that how `Selection.modify` works with various
content nodes.
https://w3c.github.io/selection-api/#dom-selection-modify

And also Chrome cannot cross generated content like form controls with this API.
This could cause web-compat issues, but it does not make sense for caret
navigation, and anyway out of scope of this bug.  Therefore, this patch just
adds the crash test.

Differential Revision: https://phabricator.services.mozilla.com/D172204
2023-03-18 04:18:52 +00:00
Cosmin Sabou 5a03595206 Bug 1821918 - Increase the number of chunks for windows debug web-platform tests due to hitting max run time. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D172904
2023-03-18 02:54:49 +00:00
Emanuele Rocca 92da89bf60 Bug 1822827 - Remove explicit NEON flags from skia build r=glandium
While Firefox builds for Android ARMv7 don't support non-NEON
processors, downstreams (including non-Android ones) may still want to
support them.

On the Firefox builds that don't support non-NEON processors, the NEON
flags are actually already passed globally, and they don't need to be
explicitly added. NEON_FLAGS is actually only meant to be used for
sources that specifically need NEON support even when the target doesn't
support it, for, e.g. specialized code behind runtime CPU detection.

So removing NEON_FLAGS is a no-op in practice when NEON processors are
already targeted.

Differential Revision: https://phabricator.services.mozilla.com/D172801
2023-03-17 22:59:50 +00:00
Emilio Cobos Álvarez a8be8e8d20 Bug 1823020 - Set mUntransformedAnchorRect for rect-anchored popups.
I missed setting mUntransformedAnchorRect in one case, causing Wayland
popups to be wrongly positioned.

Differential Revision: https://phabricator.services.mozilla.com/D172886
2023-03-17 19:26:54 +00:00
Emilio Cobos Álvarez 39aeca9d9c Bug 1449669 - Remove IsNodeOfType. r=longsonr
Depends on D172893

Differential Revision: https://phabricator.services.mozilla.com/D172894
2023-03-17 19:22:14 +00:00
Emilio Cobos Álvarez 6779dc7088 Bug 1449669 - Minor clean ups in nsGenericHTMLElement. r=longsonr
Differential Revision: https://phabricator.services.mozilla.com/D172893
2023-03-17 19:22:13 +00:00
Robert Longson 6fc3d48772 Bug 1781253 - GetBoundingClientRect should return the bounding rect of the text ignoring ink overflow r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D172549
2023-03-17 19:13:45 +00:00
Lee Salzman 94519ca0e5 Bug 1447839 - Avoid creating internal path builder for PathRecording unless necessary. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D172870
2023-03-17 19:04:40 +00:00
Lee Salzman 47c82792d1 Bug 1447839 - Avoid creating internal path for PathRecording unless necessary. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D172869
2023-03-17 19:04:39 +00:00
Mozilla Releng Treescript e468b1ba27 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
bg -> 01360f4bce126fd0758abb5759e8d88c809acd25
da -> b4c0357e5185526ae35a036310908bae02e97add
fr -> d95fa0593e2d0f5be54d2e5ab375ba85b39d4ba1
gn -> 6afafc4c9de1141ae87e63fe89e307e877f5b2c9
he -> 103f251af0aaee41278d9cc08085b431328562fa
hu -> d50652202be850d4e8df9d894828132059553835
ia -> ccf08deaa498f3e2491d7755f09651d3dae63bf5
is -> db0d33fcbe9a063a30ac28da1cd77f88a2218ec4
zh-CN -> 9ba36aef7f4fedbacc712c24ad4064b9565b6825
2023-03-17 19:01:27 +00:00
Dale Harvey a40e109905 Bug 1819867 - Update ubuntu distribution code. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D171448
2023-03-17 17:57:17 +00:00
Zach Hoffman 4b116c8e65 Bug 1808229 - Enable :nth-child(... of <selector>) in all release channels r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D172838
2023-03-17 17:07:12 +00:00
Iain Ireland 58a60ccba9 Bug 1817933: Don't elide shapeguard for debugger targets r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D171520
2023-03-17 16:31:18 +00:00
Robert Longson 209497bfd2 Bug 1822884 - Remove eSHAPE from IsNodeOfType and replace with IsSVGGeometryElement r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D172820
2023-03-17 16:26:34 +00:00
Updatebot af85a73834 Bug 1822882 - Update irregexp to 49d868fb32eb9982980ed0f6d0925572d425ce94 r=iain
Differential Revision: https://phabricator.services.mozilla.com/D172814
2023-03-17 16:24:29 +00:00
Randell Jesup 708c070510 Bug 1720594: Add an Assertion r=necko-reviewers,kershaw,valentin
Differential Revision: https://phabricator.services.mozilla.com/D170965
2023-03-17 15:52:55 +00:00
blessingpeters 751e4466a7 Bug 1670436 - Prevent localized strings from being truncated in the crash reporter client r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D172823
2023-03-17 15:52:45 +00:00
Hubert Boma Manilla bbb52ed0bc Bug 1818806 [devtools] Local overrides feature in the debugger r=ochameau,devtools-backward-compat-reviewers,devtools-reviewers
Highlights for this patch
- Support for the script overrides feature
- Overrides for html files are not supported
- Add styling to indicate overrides
- Add mochitests

Depends on D163600

Differential Revision: https://phabricator.services.mozilla.com/D163610
2023-03-17 14:18:29 +00:00
Jan-Niklas Jaeschke 0ec5448edf Bug 1818686: Reset selection after replacing textarea content when no editor is present. r=masayuki
If the `.textContent` or `.defaultValue` attributes are used to change the content of a textarea,
according to the DOM Spec dictates first all children are removed and then a new child is added.
Removing all child elements must collapse the selection to 0.
However, the spec is not very precise on that matter,
see https://github.com/whatwg/html/issues/9028 .

This was currently not done (the selection was adjusted to the new length instead),
because the `Reset()` call was executed as a script runner,
therefore running (twice) after the new content has already been added.
With this change, the selection is adjusted to the new length explicitly
as soon as `ContentChanged()` is invoked, therefore updating it to 0
when content is removed.

Differential Revision: https://phabricator.services.mozilla.com/D172791
2023-03-17 12:52:46 +00:00
Jonathan Kew c258387e9f Bug 1822184 - Create an ElementOrArray<T> helper in CanvasRenderingContext2D, and use this to store a single ClipState directly without a separate array allocation. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D172657
2023-03-17 12:48:11 +00:00
Cristina Horotan 588b393945 Backed out 2 changesets (bug 1815937) for causing wpt failures at blockeduri-inline.html CLOSED TREE
Backed out changeset 668971329051 (bug 1815937)
Backed out changeset a4a3430c9bab (bug 1815937)
2023-03-17 15:52:33 +02:00
Csoregi Natalia 60acb93de2 Backed out changeset f38530a9bedf (bug 1822184) for causing build bustage on CanvasRenderingContext2D.h. CLOSED TREE 2023-03-17 14:11:52 +02:00
Dale Harvey 66849540fe Bug 1822326 - Add ability to configure maximum trending suggestions. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D172766
2023-03-17 11:41:28 +00:00
Jonathan Kew 5f730d4cdb Bug 1822184 - Create an ElementOrArray<T> helper in CanvasRenderingContext2D, and use this to store a single ClipState directly without a separate array allocation. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D172657
2023-03-17 11:26:18 +00:00
Emilio Cobos Álvarez 8bc6063811 Bug 1822837 - Fix flex-basis of update history list. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D172798
2023-03-17 10:24:10 +00:00