Skip to content

Conversation

nicoburns
Copy link
Collaborator

@nicoburns nicoburns commented Aug 7, 2025

Ensure's that methods defined by the bitflags crate (all, contains, empty, etc) take into account the possibility of externally set bits. See: https://docs.rs/bitflags/latest/bitflags/#externally-defined-flags

delan and others added 9 commits August 2, 2025 14:30
Any ancestors of this commit are from upstream mozilla-central, with
some filtering and renaming. Our patches and sync tooling start here.

The sync tooling has all been squashed into this commit, based on:
https://github.com/servo/stylo/commits/64731e10dc8ef87ef52aa2fb9f988c3b2530f3a7
This is a rebase of 22df130

Signed-off-by: Oriol Brufau <[email protected]>
Signed-off-by: Oriol Brufau <[email protected]>
There is no point in setting this flag to true when it's no longer doing
anything, `transition-behavior` is now enabled unconditionally.

Signed-off-by: Oriol Brufau <[email protected]>
…servo#222)

* Simplify restyle damage macros

Signed-off-by: Nico Burns <[email protected]>

* Don't diff custom properties if we've already set damage anyway

Signed-off-by: Nico Burns <[email protected]>

---------

Signed-off-by: Nico Burns <[email protected]>
Copy link
Collaborator

@Loirooriol Loirooriol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIRC in some places we were using truncate() or such to remove external bits. Seems your patch would break that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants