Skip to content

Conversation

@nicoburns
Copy link
Collaborator

@nicoburns nicoburns commented Oct 10, 2025

Servo PR: servo/servo#39864

delan and others added 13 commits October 1, 2025 22:37
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 d10ddec

Signed-off-by: Oriol Brufau <[email protected]>
Signed-off-by: Oriol Brufau <[email protected]>
* Define main version number at the workspace level

This is the version number that most of the Stylo packages follow

* Define in-repo dependencies at the workspace level

* Add back newline at end of workspace Cargo.toml

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

---------

Signed-off-by: Nico Burns <[email protected]>
This patch does various things:
 - Unifies the definitions and implementations of `ImportSheet` among
   Gecko and Servo. In particular, Servo gains `ImportSheet::Pending`.
 - Removes unsound `StylesheetContents::from_data()`, which we were
   keeping as a diff from upstream.
 - Removes `Stylesheet::update_from_bytes`. It was only used by Servo,
   which will no longer need it.

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

It was previously taking a `MediaList` parameter, and then wrap it in
a locked arc. This was suboptimal for callers that already have an
`Arc<Locked<MediaList>>`.

Signed-off-by: Oriol Brufau <[email protected]>
@Loirooriol
Copy link
Collaborator

Sounds fine, but please run tests in Servo

logical_group="border-color",
allow_quirks="No" if is_logical else "Yes",
ignored_when_colors_disabled=True,
servo_restyle_damage="repaint",
Copy link
Collaborator

Choose a reason for hiding this comment

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

For collapsed table borders, the color is resolved during layout. So I don't think this will work

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Hmm... we should probably change that (presumably by resolving the source of the color in layout but not the actual color) because changing border-color of e.g. a button on :hover or :active is pretty common and we really don't want to be re-running layout for 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