| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Differential Revision: https://phabricator.services.mozilla.com/D163177
|
|
|
|
|
|
| |
Depends on D164807
Differential Revision: https://phabricator.services.mozilla.com/D164908
|
| |
|
|
|
|
|
|
| |
originate. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D164807
|
|
|
|
|
|
|
|
|
|
|
| |
If the UA sheet gets parsed with the pref off, and then the pref gets
flipped on, we don't re-parse the UA sheet (nor we want to).
Enable the property in UA sheets unconditionally so that the test passes
even when the browser was started-up with the container queries pref
off.
Differential Revision: https://phabricator.services.mozilla.com/D164823
|
|
|
|
|
|
|
| |
Just using 'rustup run nightly rustfmt'.
No change in behavior.
Differential Revision: https://phabricator.services.mozilla.com/D164805
|
|
|
|
| |
Differential Revision: https://phabricator.services.mozilla.com/D164234
|
|
|
|
|
|
|
|
|
|
| |
The fix is calling set_outline_style so that we also reset the actual
outline width. Also clean-up surrounding code a little bit to be
marginally more efficient, and do the same change for border-*-style
(which was doing the right thing, but it's better to make sure both stay
in sync).
Differential Revision: https://phabricator.services.mozilla.com/D164554
|
|
|
|
|
|
| |
layout.css.grid-template-subgrid-value.enabled, since it's been default-enabled for years
Differential Revision: https://phabricator.services.mozilla.com/D164389
|
|
|
|
| |
Differential Revision: https://phabricator.services.mozilla.com/D164224
|
|
|
|
|
|
| |
to expect lowercase
Differential Revision: https://phabricator.services.mozilla.com/D164219
|
|
|
|
|
|
| |
spec; fix the associated WPT test to do case-insensitive comparisons
Differential Revision: https://phabricator.services.mozilla.com/D164202
|
|
|
|
| |
Differential Revision: https://phabricator.services.mozilla.com/D164128
|
|
|
|
| |
Differential Revision: https://phabricator.services.mozilla.com/D163792
|
|
|
|
|
|
|
| |
For example, inline elements may have container-type:size but they don't
support size containment, so @container(width >= 0) shouldn't match.
Differential Revision: https://phabricator.services.mozilla.com/D163936
|
| |
|
|
|
|
|
|
| |
only the bad component to be dropped, not the entire descriptor
Differential Revision: https://phabricator.services.mozilla.com/D163810
|
|
|
|
|
|
| |
Depends on D163879
Differential Revision: https://phabricator.services.mozilla.com/D163844
|
|
|
|
| |
Differential Revision: https://phabricator.services.mozilla.com/D163879
|
|
|
|
|
|
|
|
| |
They were checking the border-box size (with paddings and borders), but
https://drafts.csswg.org/css-contain-3/#size-container says it should
be the content-box size.
Differential Revision: https://phabricator.services.mozilla.com/D163784
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
'container-type' and 'content-visibility' can trigger various kinds of
containment, but this was done via nsStyleDisplay::EffectiveContainment,
to avoid affecting the computed value of 'contain'.
This was fine except for style containment, which needs to set the flag
SELF_OR_ANCESTOR_HAS_CONTAIN_STYLE in order to really work, but this was
only done with 'contain: style'.
So this patch removes nsStyleDisplay::EffectiveContainment, and instead
uses two fields for containment: mContain and mEffectiveContainment.
This is somewhat analogous to mDisplay and mOriginalDisplay, though in
that case the computed value is the modified display.
Also fixes a typo in IsContainStyle() that made it return true for any
kind of containment, not just for style containment.
Differential Revision: https://phabricator.services.mozilla.com/D163779
|
|
|
|
|
|
|
|
| |
This removes a few branches and null-checks that I found in profiles.
Depends on D163627
Differential Revision: https://phabricator.services.mozilla.com/D163628
|
|
|
|
|
|
|
|
|
| |
This makes relatively simple changes so that we check lowercase-ness of
local-name selectors first. If so, we don't need to check whether we're
an HTML element in an HTML document, which requires a fair bit of
pointer-chasing.
Differential Revision: https://phabricator.services.mozilla.com/D163627
|
|
|
|
|
|
| |
Needs some extra test expectation updates.
Differential Revision: https://phabricator.services.mozilla.com/D157748
|
|
|
|
|
|
|
| |
This doesn't seem necessary anymore. It was originally added to disable
unions, which is now done with disable_untagged_union.
Differential Revision: https://phabricator.services.mozilla.com/D163662
|
|
|
|
|
|
|
|
|
|
| |
And hide internal but used values. System fonts are not exposed in the
computed style so this should be fine.
If we need the old values for some obscure reason, it's trivial to alias
them to e.g., menu or so.
Differential Revision: https://phabricator.services.mozilla.com/D163269
|
|
|
|
| |
Differential Revision: https://phabricator.services.mozilla.com/D163375
|
|
|
|
|
|
|
|
| |
<general-enclosed> should be handled in parse_in_parens.
Add some convenience functions to KleeneValue.
Differential Revision: https://phabricator.services.mozilla.com/D163214
|
|
|
|
|
|
| |
See https://drafts.csswg.org/mediaqueries-5/#typedef-general-enclosed
Differential Revision: https://phabricator.services.mozilla.com/D158662
|
| |
|
|
|
|
| |
Differential Revision: https://phabricator.services.mozilla.com/D163166
|
|
|
|
|
|
|
|
| |
It's unclear to me when they were disabled, but we do want to enable
these as otherwise there's no way to catch bindgen issues that can end
up in subtle bugs at best, or memory corruption at worst.
Differential Revision: https://phabricator.services.mozilla.com/D162997
|
|
|
|
| |
Differential Revision: https://phabricator.services.mozilla.com/D162674
|
|
|
|
| |
Differential Revision: https://phabricator.services.mozilla.com/D162864
|
|
|
|
| |
Differential Revision: https://phabricator.services.mozilla.com/D162853
|
|
|
|
| |
Differential Revision: https://phabricator.services.mozilla.com/D162487
|
|
|
|
| |
Differential Revision: https://phabricator.services.mozilla.com/D162568
|
|
|
|
|
|
| |
This we don't need to uplift.
Differential Revision: https://phabricator.services.mozilla.com/D162535
|
| |
|
|
|
|
|
|
|
|
|
|
| |
XUL layout
This reduces the weird interactions that can appear on menus.
This also progresses BiDi support, including for accesskeys.
Differential Revision: https://phabricator.services.mozilla.com/D161498
|
|
|
|
| |
Differential Revision: https://phabricator.services.mozilla.com/D161764
|
|
|
|
| |
Differential Revision: https://phabricator.services.mozilla.com/D161965
|
|
|
|
| |
Differential Revision: https://phabricator.services.mozilla.com/D161844
|
|
|
|
|
|
|
| |
We already rely on it applying only to XULPopupElement's. Make it
explicit and remove the CSS value.
Differential Revision: https://phabricator.services.mozilla.com/D161552
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the start of the organization of types that are in their own
crates in order to break dependency cycles between other crates. The
idea here is that putting these packages into their own directory is the
first step toward cleaning them up. They have grown organically and it
is difficult to explain to new folks where to put new shared types. Many
of these crates contain more than traits or don't contain traits at all.
Notably, `script_traits` isn't touched because it is vendored from
Gecko. Eventually this will move to `third_party`.
|
|
|
|
|
|
|
|
| |
lists while constructing the list
This helps avoid OOM with very large repeats.
Differential Revision: https://phabricator.services.mozilla.com/D161533
|
|
|
|
|
|
|
| |
This will allow us to enable panel animations in some Linux
configurations but not others. Also, it's cleaner.
Differential Revision: https://phabricator.services.mozilla.com/D161693
|
| |
|
|
|
|
|
|
| |
Co-Authored-By: Emilio Cobos Álvarez <emilio@crisal.io>
Differential Revision: https://phabricator.services.mozilla.com/D156742
|