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
stylo: Fix adjustment of the display property to save mOriginalDisplay properly. #15742
Conversation
Heads up! This PR modifies the following files:
|
Or, also r? @bzbarsky, if he wants to, I guess ;) |
/// which we want to keep. | ||
pub fn set_adjusted_display(&mut self, v: longhands::display::computed_value::T) { | ||
use properties::longhands::display::computed_value::T as Keyword; | ||
let result = match v { |
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.
Worth factoring this shared code out of set_display and here?
@bors-servo r+ |
@bzbarsky: 🔑 Insufficient privileges: Not in reviewers |
@bors-servo r=bzbarsky |
📌 Commit f695789 has been approved by |
⌛ Testing commit f695789 with merge cecbc33... |
stylo: Fix adjustment of the display property to save mOriginalDisplay properly. r? @heycam <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/15742) <!-- Reviewable:end -->
He's done a bunch of reviews (servo/servo#15742, servo/servo#15691 and a bunch of others unofficially), both as part of stylo as part of the DOM integration. I think he's trusted enough to have review powers.
☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css, mac-rel-wpt1, mac-rel-wpt2, windows-gnu-dev, windows-msvc-dev |
r? @heycam
This change is