When a login choice was made, the Hint associated with it was lost, so recalculate it and pass it to the LoginSelectOption constructor.
Differential Revision: https://phabricator.services.mozilla.com/D209898
- Delete paragraph starting with "The frame tree should not store any important
data .." because I don't understand what specifically it wants to convey.
- Delete XUL related content.
- Add a section "Physical Coordinates vs Logical Coordinates"
Note: `./mach doc layout/docs` generates the doc preview locally.
Differential Revision: https://phabricator.services.mozilla.com/D210097
Move `SetRootFrame()` to nsFrameManager.cpp, because in order to compile
`mRootFrame = aRootFrame` the compiler requires the full definition of
`ViewportFrame` to know that `ViewportFrame` is a subclass of `nsIFrame`
Differential Revision: https://phabricator.services.mozilla.com/D210671
We can just use `mFrameConstructor` to call `GetRootFrame()`. In order to do so
while keeping `PresShell::GetRootFrame()` as a inline method, we need to include
`nsCSSFrameConstructor` header in `PresShell.h`, and remove `PresShell` header
in `nsCSSFrameConstructor.h`. That means we can no longer inline
`RestyleManager()` since it needs to access `PresShell`, but it's OK since
`RestyleManager` is used only in the frame constructor, and is probably not in
the hot path.
Differential Revision: https://phabricator.services.mozilla.com/D210670
If the destination file doesn't exist, we don't need to check the
current file's time, and we can just write or symlink regardless.
Differential Revision: https://phabricator.services.mozilla.com/D210330
This patch adds chrome://global/skin/in-content/common.css and update
some css variables so about:memory use the same colors and fonts as our
Design System.
Differential Revision: https://phabricator.services.mozilla.com/D210128
As bug 1896823 has disabled the device reuse for intel gen12, it doesn't
seem necessary to add this workaround to disable the device reuse.
We should revert this and investigate whether we can use DXVA decoder
directly via ffmpeg in Bug 1893427.
Differential Revision: https://phabricator.services.mozilla.com/D210721
wpt test ids are URLs, and can have query components. This means that
using `os.path.dirname` isn't a correct way to extract different parts
of the URL
In particular a test id like `/foo/bar/baz?foobar=sp/am` can lead to an
invalid group name like `foo/bar/baz?foobar=sp`, which breaks the
invariant that we can turn the group name into a filesystem path that
may contain a __dir__.ini file with metadata for that group.
The fix here is to correctly treat the test id as a URL using the same
logic as in wptrunner.
Differential Revision: https://phabricator.services.mozilla.com/D210783
backup-settings changes:
- adds a new button in the Backup section of about:preferences / about:settings
- shows the turn on dialog after pressing the button
Turn on dialog behaviour (implemented):
- pressing the cancel will close the dialog
- pressing the confirm button will set the pref browser.backup.scheduled.enabled=true and close the dialog
- pressing the passwords checkbox will show more options
Turn on dialog behaviour (not implemented):
- requiring a password for the backup (see Bug 1895981)
- modifying the save location and showing a file picker (see Bug 1895943)
Other changes:
- tests for backup-settings and the turn on dialog
- Storybook template for the turn on dialog
Lo-fi Figma designs: https://www.figma.com/design/vNbX4c0ws0L1qr0mxpKvsW/Fx-Backup?node-id=147-4558&t=PYLY0QMN1n8GR9vW-0
Differential Revision: https://phabricator.services.mozilla.com/D209769
Such cas is invalidated out-of-band in `RestyleManager` because
their invalidation can be trivially determined. Don't consider them
again while determining the general-case relative selector invalidation.
Also fix `:only-child` being classified as a simple edge selector, and
prevent them from ending up in the any (`*`) bucket in `InvalidationMap`.
Differential Revision: https://phabricator.services.mozilla.com/D210343
We make the focused tab appear in fronts of the others,
so the box-shadow of the focus-indicator applies properly
on each side.
We also hide the small line on active tab when it is also
focused, so we avoid it to overlap with the focus-indicator
outline.
Differential Revision: https://phabricator.services.mozilla.com/D210818