Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upFix restyle hints to handle non-last psuedo-selectors, and track pristine state values rather than changesets #8341
Conversation
highfive
commented
Nov 5, 2015
|
@bors-servo try |
|
|
c05ae51
to
eb23e74
…puting restyle hints, not just the rightmost one. For some reason when I wrote this code I mixed up the rules for pseudo-elements (rightmost, maximum of one) with those of pseudo-classes (which have no such restriction). This caused a correctness issue which can be demonstrated with the associated reftest modification.
eb23e74
to
4501fdb
|
@bors-servo try |
Fix restyle hints to handle non-last psuedo-selectors, and track pristine state values rather than changesets <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8341) <!-- Reviewable:end -->
|
|
|
This is the strategy we'll need to take for attributes, and so this change puts us in a position to handle attributes and state the same way. This does mean that we stop taking care to track the situations where our state has reverted to the original state, with no net change. I think that's probably of negligible value though.
4501fdb
to
7dba444
|
@bors-servo try |
Fix restyle hints to handle non-last psuedo-selectors, and track pristine state values rather than changesets <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8341) <!-- Reviewable:end -->
|
|
|
r? @pcwalton |
|
@bors-servo: r+ |
|
|
|
|
|
@bors-servo retry try- r=larsberg |
|
|
|
|
|
|
Fix restyle hints to handle non-last psuedo-selectors, and track pristine state values rather than changesets <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8341) <!-- Reviewable:end -->
|
|
Fix restyle hints to handle non-last psuedo-selectors, and track pristine state values rather than changesets <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8341) <!-- Reviewable:end -->
|
This is going to fail the build due to a lockfile change. Apply the diff here to both lockfiles in ports/ and you should be good to go |
|
|
Fix restyle hints to handle non-last psuedo-selectors, and track pristine state values rather than changesets <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8341) <!-- Reviewable:end -->
|
@bors-servo r- force (So other PRs can build, since this is going to fail the CI -- someone re-r+ when the lockfile patch is applied) |
|
|
|
@bors-servo r=larsbergstrom That failure should not have happened, my bad. Something off with the CI, will look at it again later. In the meantime, I'll keep this in the queue. |
|
|
…gstrom Fix restyle hints to handle non-last psuedo-selectors, and track pristine state values rather than changesets <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8341) <!-- Reviewable:end -->
|
|
|
Okay, ignore all the spam above about the lockfile; a infra deploy pulled in some untested changes and led to some confusing results. Your PR is fine, sorry about the confusion @bors-servo r=pcwalton |
|
|
Fix restyle hints to handle non-last psuedo-selectors, and track pristine state values rather than changesets <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8341) <!-- Reviewable:end -->
|
|
bholley commentedNov 5, 2015