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 upTrack event state changes on Document and do the dirtying from layout #8098
Conversation
highfive
commented
Oct 20, 2015
|
r? @pcwalton |
|
@frewsxcv can you kick off a try push for me? |
|
oh wait, need to fix some tidness. Moment. |
|
@bors-servo: try |
Track event state changes on Document and do the dirtying from layout This is a first step in fixing #6942. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8098) <!-- Reviewable:end -->
|
|
|
|
Another try push plz. :-) |
|
/me facepalms about tidiness again. |
|
@bors-servo: try |
Track event state changes on Document and do the dirtying from layout This is a first step in fixing #6942. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8098) <!-- Reviewable:end -->
|
|
|
@bors-servo: try That last fail was intermittent |
|
I don't think there's value in re-trying try pushes that have known intermittent failures. |
|
|
|
|
This adds some overhead, but also provides the small performance benefit of avoiding dirtying in the case where an event state is toggled an even number of times between reflows. The main benefit here though is that it sets us up to be smarter about what we mark as dirty using restyle hints.
|
Looks good to me. |
|
(at least layout. r? @jdm for script) |
|
Reviewed 1 of 1 files at r1, 1 of 1 files at r2. Comments from the review on Reviewable.io |
|
@bors-servo: r+ Reviewed 1 of 1 files at r1, 1 of 1 files at r2, 5 of 5 files at r3, 6 of 6 files at r4. Comments from the review on Reviewable.io |
|
|
|
|
Track event state changes on Document and do the dirtying from layout This is a first step in fixing #6942. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8098) <!-- Reviewable:end -->
|
|
bholley commentedOct 20, 2015
This is a first step in fixing #6942.