Commit Graph

726170 Commits

Author SHA1 Message Date
Masayuki Nakano
da0f19a5f3 Bug 1663370 - part 6: Create a method to check whether HTMLEditor::MoveOneHardLineContents() returns "handled" or "canceled" r=m_kato
Unfortunately, `HTMLEditor::MoveOneHardLineContents()`,
`HTMLEditor::MoveChildrenWithTransaction()` and
`HTMLEditor::MoveNodeOrChildrenWithTransaction()` return strict result whether
at least one node is moved or not.  Therefore, we need to scan the DOM tree
whether there is at least one content node which can be moved by them for
computing target ranges.

We cannot do same thing for ``HTMLEditor::MoveOneHardLineContents()` because
it split parent elements first and use `ContentSubtreeIterator` which lists
up topmost nodes which are completely in the range, but we need to compute
target ranges without splitting nodes at the range boundaries.  Therefore,
this patch checks whether the line containing specified point has content
except invisible `<br>` element.

The others are simple.  We can use same logic with them.

Finally, this adds `NS_ASSERTION()`s to check whether the computation is done
correctly at running any automated tests on debug build, and I don't see any
failure with them.

Depends on D89575

Differential Revision: https://phabricator.services.mozilla.com/D89576
2020-09-14 10:54:42 +00:00
Masayuki Nakano
6355f06829 Bug 1663370 - part 5: Make helper methods of AutoInclusiveAncestorBlockElementsJoiner::Run() use simple constructor of EditActionResult when they return error r=m_kato
When they return error, neither "handled" nor "canceled" state is referred.
So, for making the code simpler, we can make them return
`EditActionResult(NS_ERROR_*)` instead of `EditActionIgnored(NS_ERROR_*)`.

Depends on D89574

Differential Revision: https://phabricator.services.mozilla.com/D89575
2020-09-14 07:25:08 +00:00
Masayuki Nakano
f081792788 Bug 1663370 - part 4: Sort out "handled" state settings around AutoInclusiveAncestorBlockElementsJoiner users r=m_kato
The 2 of them always mark the edit action as "handled", but it's not important
when it's "canceled" or an error.  Therefore, we can make the users simpler
as this patch does.

Depends on D89573

Differential Revision: https://phabricator.services.mozilla.com/D89574
2020-09-14 05:07:48 +00:00
Masayuki Nakano
0e90b72f58 Bug 1663370 - part 3: Use early-return style when AutoInclusiveAncestorBlockElementsJoiner::Prepare() returns false r=m_kato
Note that in such cases, current code mark the results as both "canceled" and
"handled", but only "canceled" state is important for the root caller.
* https://searchfox.org/mozilla-central/rev/ac142717cc067d875e83e4b1316f004f6e063a46/editor/libeditor/HTMLEditSubActionHandler.cpp#4200-4204
* https://searchfox.org/mozilla-central/rev/ac142717cc067d875e83e4b1316f004f6e063a46/editor/libeditor/HTMLEditSubActionHandler.cpp#3452-3457
* https://searchfox.org/mozilla-central/rev/ac142717cc067d875e83e4b1316f004f6e063a46/editor/libeditor/HTMLEditSubActionHandler.cpp#3100-3125

Depends on D89572

Differential Revision: https://phabricator.services.mozilla.com/D89573
2020-09-14 03:44:54 +00:00
Masayuki Nakano
a87c9efc84 Bug 1663370 - part 2: Move AutoTrackDOMPoint for AutoInclusiveAncestorBlockElementsJoiner::Run() into the minimum scope r=m_kato
Now, `AutoInclusiveAncestorBlockElementsJoiner::Run()` is wrapped by a
small block in every caller.  Therefore, `AutoTrackDOMPoint` for it can
be moved into the small blocks.

Depends on D89571

Differential Revision: https://phabricator.services.mozilla.com/D89572
2020-09-14 01:36:42 +00:00
Masayuki Nakano
c326309928 Bug 1663370 - part 1: Make AutoInclusiveAncestorBlockElementsJoiner::Prepare() stop returning EditActionResult r=m_kato
For making the refactoring patch simpler, `Prepare()` considers the
`EditActionResult` value of its callers instead.  However, this is odd
so that it just return whether the caller should keep working with
it or not as `bool` result.  Then, for the additional information, whether
the caller should consume the edit action handling or not, this patch
adds a new method, `CanJoinBlocks()`.

Depends on D89440

Differential Revision: https://phabricator.services.mozilla.com/D89571
2020-09-14 01:25:52 +00:00
Timothy Nikkel
e0b3d86cc9 Bug 1663537. Use overlay scrollbars in a few reftests. r=kats
All of these reftests end up using a minimum scale with layout/classic scrollbars. (They hit the assert from the patch in bug 1663534.)

Some of them are only written with overlay scrollbars in mind (for example overflow-hidden-region-with-negative-left-positioned-element.html which I looked at in detail).

The change that causes them to fail is the code in nsHTMLScrollFrame::TryLayout that decides if we need scrollbars. Before desktop zooming scrollbars we compared the visual viewport size and the scrolled rect size. With desktop zooming scrollbars we compare the (layout) scrollport and the scrolled rect to determine if we need regular scrollbars and then compare the visual viewport size to the (layout) scrollport to determine if we need scrollbars to scroll the visual viewport inside the scrollport. Then can get different results.

Differential Revision: https://phabricator.services.mozilla.com/D89407
2020-09-10 21:19:34 +00:00
Timothy Nikkel
8646146723 Bug 1663562. Don't call MaybeReflowForInflationScreenSizeChange with webrender when running mochitests in dom/base/test to work around webrender bug for now. r=botond
This is sad, but seems like the least bad option to enable desktop zooming scrollbars reasonable soon.

Differential Revision: https://phabricator.services.mozilla.com/D90181
2020-09-15 04:33:49 +00:00
Timothy Nikkel
9a661331df Bug 1663562. Call MaybeReflowForInflationScreenSizeChange when any prefs that could affect font inflation change. r=kats
When I start setting the pref ui.useOverlayScrollbars in bug 1663537 we trigger this assert

```
###!!! ASSERTION: can't mark frame dirty during reflow: '!mIsReflowing', file /builds/worker/checkouts/gecko/layout/base/PresShell.cpp, line 2677
#01: mozilla::PresShell::MaybeReflowForInflationScreenSizeChange() [layout/base/PresShell.cpp:11148]
#02: mozilla::PresShell::CompleteChangeToVisualViewportSize() [layout/base/PresShell.cpp:11177]
#03: MobileViewportManager::UpdateVisualViewportSize(mozilla::gfx::IntSizeTyped<mozilla::ScreenPixel> const&, mozilla::gfx::ScaleFactor<mozilla::CSSPixel, mozilla::ScreenPixel> const&) [layout/base/MobileViewportManager.cpp:504]
#04: MobileViewportManager::RefreshVisualViewportSize() [layout/base/MobileViewportManager.cpp:557]
#05: nsHTMLScrollFrame::Reflow(nsPresContext*, mozilla::ReflowOutput&, mozilla::ReflowInput const&, nsReflowStatus&) [layout/generic/nsGfxScrollFrame.cpp:1340]
#06: nsContainerFrame::ReflowChild(nsIFrame*, nsPresContext*, mozilla::ReflowOutput&, mozilla::ReflowInput const&, int, int, nsIFrame::ReflowChildFlags, nsReflowStatus&, nsOverflowContinuationTracker*) [layout/generic/nsContainerFrame.cpp:1115]
#07: mozilla::ViewportFrame::Reflow(nsPresContext*, mozilla::ReflowOutput&, mozilla::ReflowInput const&, nsReflowStatus&) [layout/generic/ViewportFrame.cpp:297]
#08: mozilla::PresShell::DoReflow(nsIFrame*, bool, mozilla::OverflowChangedTracker*) [layout/base/PresShell.cpp:9650]
#09: mozilla::PresShell::ProcessReflowCommands(bool) [layout/base/PresShell.cpp:9816]
#10: mozilla::PresShell::DoFlushPendingNotifications(mozilla::ChangesToFlush) [layout/base/PresShell.cpp:4239]
#11: nsRefreshDriver::Tick(mozilla::layers::BaseTransactionId<mozilla::VsyncIdType>, mozilla::TimeStamp) [layout/base/nsRefreshDriver.cpp:2139]
```

This happens after the test is finish when we unset the ui.useOverlayScrollbars pref which (I'm assuming because it must) causes reflow. When running a font-inflation related reftest we also unset the font inflation related prefs that were specified in the reftest.list file. This causes font-inflation to go from enabled to disabled and we detect that for the first time while reflowing the scroll frame.

Instead we should reflow when any pref that could affect font inflation is changed. I scanned the font-inflation code in PresShell and Document::GetViewportInfo for prefs are consulted, but I didn't go a super exhaustive search.

Differential Revision: https://phabricator.services.mozilla.com/D89409
2020-09-15 04:33:38 +00:00
Henrik Skupin
ab599395c1 Bug 1612831 - [wpt] Update expected data for formerly erroring tests. r=jgraham,maja_zf,annevk
Formerly some tests were not running at all because the wptrunner
triggered an error when loading the test page. With the changes
to the navigation in Marionette this error is no longer present,
and as such allows the tests to actually run even when they still
fail or timeout.

Differential Revision: https://phabricator.services.mozilla.com/D89921
2020-09-15 04:53:59 +00:00
Henrik Skupin
fbcb446781 Bug 1612831 - [marionette] Remove no longer used handling of pending commands. r=marionette-reviewers,maja_zf
Now that all the navigation related code runs in the parent process
there is no need anymore for handling pending commands. This was
only necessary for navigation commands which could have caused
remoteness changes and as such new instances of the framescript.
In these cases the reply cannot be sent to the client unless the
command has been finished.

Differential Revision: https://phabricator.services.mozilla.com/D89717
2020-09-15 04:53:44 +00:00
Henrik Skupin
2866bc388a Bug 1612831 - [marionette] Move navigation commands to parent process. r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D80622
2020-09-15 04:53:24 +00:00
Mihai Alexandru Michis
a64de8bf5f Backed out 2 changesets (bug 1663562) for causing bustages in nsPresContext.cpp
CLOSED TREE

Backed out changeset 67cbb5422dbc (bug 1663562)
Backed out changeset 574709176152 (bug 1663562)
2020-09-15 07:22:29 +03:00
Timothy Nikkel
147ca18b99 Bug 1663562. Don't call MaybeReflowForInflationScreenSizeChange with webrender when running mochitests in dom/base/test to work around webrender bug for now. r=botond
This is sad, but seems like the least bad option to enable desktop zooming scrollbars reasonable soon.

Depends on D89409

Differential Revision: https://phabricator.services.mozilla.com/D90181
2020-09-15 04:07:21 +00:00
Timothy Nikkel
d1a2ce8468 Bug 1663562. Call MaybeReflowForInflationScreenSizeChange when any prefs that could affect font inflation change. r=kats
When I start setting the pref ui.useOverlayScrollbars in bug 1663537 we trigger this assert

```
###!!! ASSERTION: can't mark frame dirty during reflow: '!mIsReflowing', file /builds/worker/checkouts/gecko/layout/base/PresShell.cpp, line 2677
#01: mozilla::PresShell::MaybeReflowForInflationScreenSizeChange() [layout/base/PresShell.cpp:11148]
#02: mozilla::PresShell::CompleteChangeToVisualViewportSize() [layout/base/PresShell.cpp:11177]
#03: MobileViewportManager::UpdateVisualViewportSize(mozilla::gfx::IntSizeTyped<mozilla::ScreenPixel> const&, mozilla::gfx::ScaleFactor<mozilla::CSSPixel, mozilla::ScreenPixel> const&) [layout/base/MobileViewportManager.cpp:504]
#04: MobileViewportManager::RefreshVisualViewportSize() [layout/base/MobileViewportManager.cpp:557]
#05: nsHTMLScrollFrame::Reflow(nsPresContext*, mozilla::ReflowOutput&, mozilla::ReflowInput const&, nsReflowStatus&) [layout/generic/nsGfxScrollFrame.cpp:1340]
#06: nsContainerFrame::ReflowChild(nsIFrame*, nsPresContext*, mozilla::ReflowOutput&, mozilla::ReflowInput const&, int, int, nsIFrame::ReflowChildFlags, nsReflowStatus&, nsOverflowContinuationTracker*) [layout/generic/nsContainerFrame.cpp:1115]
#07: mozilla::ViewportFrame::Reflow(nsPresContext*, mozilla::ReflowOutput&, mozilla::ReflowInput const&, nsReflowStatus&) [layout/generic/ViewportFrame.cpp:297]
#08: mozilla::PresShell::DoReflow(nsIFrame*, bool, mozilla::OverflowChangedTracker*) [layout/base/PresShell.cpp:9650]
#09: mozilla::PresShell::ProcessReflowCommands(bool) [layout/base/PresShell.cpp:9816]
#10: mozilla::PresShell::DoFlushPendingNotifications(mozilla::ChangesToFlush) [layout/base/PresShell.cpp:4239]
#11: nsRefreshDriver::Tick(mozilla::layers::BaseTransactionId<mozilla::VsyncIdType>, mozilla::TimeStamp) [layout/base/nsRefreshDriver.cpp:2139]
```

This happens after the test is finish when we unset the ui.useOverlayScrollbars pref which (I'm assuming because it must) causes reflow. When running a font-inflation related reftest we also unset the font inflation related prefs that were specified in the reftest.list file. This causes font-inflation to go from enabled to disabled and we detect that for the first time while reflowing the scroll frame.

Instead we should reflow when any pref that could affect font inflation is changed. I scanned the font-inflation code in PresShell and Document::GetViewportInfo for prefs are consulted, but I didn't go a super exhaustive search.

Differential Revision: https://phabricator.services.mozilla.com/D89409
2020-09-14 22:19:09 +00:00
Razvan Maries
30e70f2fe8 Backed out changeset 40297c1bb09c (bug 1663503) for perma failures on browser_modal_print.js and browser_ext_tabs_printPreview.js. CLOSED TREE 2020-09-15 05:34:20 +03:00
Razvan Maries
f46af2adfc Backed out changeset ee6dbeaf8852 (bug 1664077) for build bustages on gfxFontUtils.h. CLOSED TREE 2020-09-15 04:02:01 +03:00
Mike Hommey
3fd47263f8 Bug 1664077 - Remove _NON_GLOBAL_ACDEFINES. r=firefox-build-system-reviewers,mhentges,rstewart
I think they're remnants from the past that we don't really need anymore.
And they're making things more complicated for some pending work of mine.

Differential Revision: https://phabricator.services.mozilla.com/D89687
2020-09-14 16:31:31 +00:00
Mihai Alexandru Michis
a75aa1f3ed Backed out 2 changesets (bug 1664047, bug 1664135) for causing dt failures in ScreenshotGrabber.cpp
CLOSED TREE

Backed out changeset d8996fcd3568 (bug 1664047)
Backed out changeset 070815d3ff02 (bug 1664135)
2020-09-15 03:09:08 +03:00
Harry Twyford
d4b85bd17a Bug 1657801 - Exit search mode if the current search mode engine is removed. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D89827
2020-09-14 20:27:10 +00:00
Daisuke Akatsuka
d22402eef0 Bug 1644193: Update stylesheeet watcher test. r=ochameau
Depends on D89283

Differential Revision: https://phabricator.services.mozilla.com/D89884
2020-09-14 23:35:19 +00:00
Daisuke Akatsuka
aa9f77e93e Bug 1644193: Make walker.getStyleSheetOwnerNode() to reflect resource watcher. r=ochameau
Depends on D89282

Differential Revision: https://phabricator.services.mozilla.com/D89283
2020-09-14 23:37:39 +00:00
Daisuke Akatsuka
581ea9af20 Bug 1644193: Implement addStyleSheet function. r=ochameau,devtools-backward-compat-reviewers
Depends on D89280

Differential Revision: https://phabricator.services.mozilla.com/D89281
2020-09-14 23:37:39 +00:00
Daisuke Akatsuka
eb8b319b2c Bug 1644193: Reflect added stylesheets. r=ochameau
Depends on D89277

Differential Revision: https://phabricator.services.mozilla.com/D89280
2020-09-11 08:11:08 +00:00
Daisuke Akatsuka
1a2e261447 Bug 1644193: Implement update function. r=ochameau
Depends on D88540

Differential Revision: https://phabricator.services.mozilla.com/D89277
2020-09-11 08:10:25 +00:00
Daisuke Akatsuka
3908e7a6d9 Bug 1644193: Implement basic server-side stylesheets watcher. r=ochameau
Depends on D88531

Differential Revision: https://phabricator.services.mozilla.com/D88540
2020-09-14 21:29:47 +00:00
Daisuke Akatsuka
1b9df15f05 Bug 1644193: Make media rules to be resource based. r=ochameau
Depends on D88759

Differential Revision: https://phabricator.services.mozilla.com/D89106
2020-09-09 03:57:49 +00:00
Razvan Maries
c8e604eb78 Backed out 4 changesets (bug 1660970, bug 1525854, bug 1663657, bug 1645108) for perma failures on test_trr_additional_section.js. CLOSED TREE
Backed out changeset ad6c2e8af09b (bug 1663657)
Backed out changeset 419e26e3f452 (bug 1525854)
Backed out changeset 55bf856faf33 (bug 1660970)
Backed out changeset c543a3a008fa (bug 1645108)
2020-09-15 02:35:05 +03:00
Razvan Maries
7c00a1f440 Backed out changeset 8c75a97a107c (bug 1662147) for perma failures on test_HTMLSpec.html. CLOSED TREE 2020-09-15 02:30:20 +03:00
Sam Foster
7a239d517c Bug 1663503 - Add debug logging to help troubleshoot printer paper sizes. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D89844
2020-09-14 23:10:10 +00:00
Dragana Damjanovic
3459cf7d68 Bug 1655636 - avoid reinitializing the timers for ProcessOutputAndEvents, r=dragana,necko-reviewers
We initialize the same timer with different delays.
Therefore, `SetDelay` is enough for this case.

Differential Revision: https://phabricator.services.mozilla.com/D85233
2020-09-14 23:09:58 +00:00
Emma Malysz
79275fc1bc Bug 1662818, select pages radio button from system dialog if custom range is specified r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D90176
2020-09-14 22:28:55 +00:00
Emilio Cobos Álvarez
8b0177b46a Bug 1664718 - Allow :is() and :where() to have better error recovery. r=xidorn
Adjust is-where-parsing.html to work with both the new and old behavior,
and add a test for the new behavior.

Depends on D90049

Differential Revision: https://phabricator.services.mozilla.com/D90050
2020-09-14 22:33:01 +00:00
Morgan Reschenberg
b99c8c44b6 Bug 1662147: Add AXControlSearchKey to rotor r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D89073
2020-09-14 21:22:50 +00:00
Barret Rennie
f74cb16fd0 Bug 1657188 - Implement rel=preload load time telemetry r=Dexter,emilio,nika
Differential Revision: https://phabricator.services.mozilla.com/D86074
2020-09-14 21:03:52 +00:00
Ricky Stewart
9ca5df0699 Bug 1664408 - Don't delete ~/.mozbuild/mozboot directory after use in bootstrap r=mhentges,nalexander
The idea here was that we keep the NDK's downloaded in this directory as a "cache", such that if the download gets interrupted, then we can resume the download from an earlier point. This logic was walked back by bug 1637379, which deletes the cache.

In the spirit of the original version of the code, remove the `os.rmdir()` that was introduced by that bug.

An alternative fix for this is to download the NDK to a temporary directory and just clean that up entirely after every call to `mach bootstrap`, but then we would be forgoing the build cache behavior, which I'm not sure makes sense at this point in time.

Differential Revision: https://phabricator.services.mozilla.com/D90125
2020-09-14 21:16:49 +00:00
Ricky Stewart
72d793d728 Bug 1664581 - Specifically recommend installing version control systems in documentation r=nalexander
This is a requirement anyway, and the bootstrap script will yell at you if it can't find `hg` (or `git`, if it's necessary), but we can be more specific about this requirement here so people don't waste any more time than necessary.

Differential Revision: https://phabricator.services.mozilla.com/D90172
2020-09-14 21:30:21 +00:00
Ricky Stewart
821d955268 Bug 1664581 - Explicitly recommend putting hg in your PATH if bootstrap can't find it r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D90171
2020-09-14 21:18:27 +00:00
Markus Stange
b2cdbc6d3e Bug 1664047 - Only call UpdateSnapshot when ScreenshotGrabber calls GetWindowContents, which it only does if the profiler is running (and Screenshots are enabled). r=mattwoodrow
This requires passing down the window size down in a different way, because the
NativeLayerRootSnapshotter does not know the window size otherwise.

At the same time, this patch also removes WindowNLRS and makes the NativeLayerRoot
implement the profiler_screenshots::Window interface directly.

Depends on D89863

Differential Revision: https://phabricator.services.mozilla.com/D89864
2020-09-13 21:41:24 +00:00
Markus Stange
fafb77fc27 Bug 1664135 - Null-check the return value of CreateSnapshotter(). r=mattwoodrow
This can return null when the creation of the GL context for the snapshotter fails, for example.

Differential Revision: https://phabricator.services.mozilla.com/D89863
2020-09-13 21:34:50 +00:00
Valentin Gosu
6d149e6e7a Bug 1663657 - Turn IsIpAddr* functions into NetAddr methods r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D89552
2020-09-14 12:06:27 +00:00
Valentin Gosu
26af33d4cc Bug 1525854 - TRR shouldn't fallback to DNS on DNSSEC error r=necko-reviewers,dragana
This patch adds support for the Extended DNS Errors draft code.
https://datatracker.ietf.org/doc/html/draft-ietf-dnsop-extended-error-16

While not yet in the draft, it seems the OPT code for Extended DNS Error is 15
https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-11

The list of errors for which we hard fail isn't necessarily final.
I picked the errors that indicate a DNSSec failure, or an intentional
filtering done by the resolver.

Differential Revision: https://phabricator.services.mozilla.com/D87698
2020-09-14 21:42:02 +00:00
Valentin Gosu
438128d0d4 Bug 1660970 - Get rid of DoHAddr r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D88121
2020-09-14 21:42:02 +00:00
Valentin Gosu
6051d814c2 Bug 1645108 - Parse additional section of TRR response r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D87088
2020-09-14 21:41:44 +00:00
Daisuke Akatsuka
3fd81e0284 Bug 1664842: Introduce async watch function. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D88759
2020-09-14 21:12:52 +00:00
Mike Conley
c45bb3b77f Bug 1664899 - Set the Picture-in-Picture toggle to Mode 2 by default. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D90157
2020-09-14 21:12:33 +00:00
Mike Conley
721a77e759 Bug 1664899 - Make sure the experimental toggle element is hidden when in fullscreen. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D90164
2020-09-14 20:59:02 +00:00
Glenn Watson
e05e5e82b8 Bug 1664719 - Pt 2 - Select ancestor clips as shared clips only. r=nical
Instead of selecting any rectangle clips as potential shared clips
for content in a picture cache slice, only select clips that are
positioned by an ancestor spatial node of the picture cache
scroll root.

This ensures we don't incorrectly select rectangle clips on the
primitive as potential shared clips, which will be important in
the follow up patches for this bug.

Differential Revision: https://phabricator.services.mozilla.com/D90052
2020-09-14 07:11:28 +00:00
Ting-Yu Lin
ecca275fc4 Bug 1168478 Part 2 - Combine the border and padding arguments for nsIFrame::ComputeSize(). r=dholbert
Also combine the border and padding arguments for
nsContainerFrame::ComputeSizeWithIntrinsicDimensions(), too. This method
is used as a helper to implement ComputeSize() for various replaced
elements. Its callers are all within nsIFrame's derived classes'
overridden methods, so I'm not bothering to convert them in a separate
patch.

This change shouldn't change behavior.

Differential Revision: https://phabricator.services.mozilla.com/D90064
2020-09-14 20:42:22 +00:00
Ting-Yu Lin
ff5d92f454 Bug 1168478 Part 1 - Combine the border and padding argument for nsIFrame::ComputeAutoSize(). r=dholbert
Also, revise the nsIFrame::ComputeAutoSize()'s documentation.

This change shouldn't change behavior.

Differential Revision: https://phabricator.services.mozilla.com/D90063
2020-09-14 20:39:17 +00:00