-
Notifications
You must be signed in to change notification settings - Fork 57
Mark border-color and border-radius as repaint
#253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
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]>
Signed-off-by: Oriol Brufau <[email protected]>
Signed-off-by: Oriol Brufau <[email protected]>
Signed-off-by: Oriol Brufau <[email protected]>
Signed-off-by: Oriol Brufau <[email protected]>
Signed-off-by: Oriol Brufau <[email protected]>
Signed-off-by: Oriol Brufau <[email protected]>
Signed-off-by: Nico Burns <[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]>
|
Sounds fine, but please run tests in Servo |
It's no longer needed. Signed-off-by: Oriol Brufau <[email protected]>
Signed-off-by: Nico Burns <[email protected]>
ae1fd7a to
8daa45b
Compare
Signed-off-by: Nico Burns <[email protected]>
8daa45b to
e04e74a
Compare
| logical_group="border-color", | ||
| allow_quirks="No" if is_logical else "Yes", | ||
| ignored_when_colors_disabled=True, | ||
| servo_restyle_damage="repaint", |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
Servo PR: servo/servo#39864