Repository navigation
stylo: Stop restyling display: none elements, remove the has_changed hack that made us use ReconstructFrame unconditionally. - #12757
Merged
Merged
Conversation
Member
Author
|
@bors-servo: try |
Contributor
bors-servo
pushed a commit
that referenced
this pull request
Aug 7, 2016
stylo: Stop restyling display: none elements, remove the has_changed hack that made us use ReconstructFrame unconditionally. <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> r? @bholley <!-- 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/12757) <!-- Reviewable:end -->
Contributor
|
💔 Test failed - mac-rel-css |
Member
Author
|
@bors-servo: try |
Contributor
bors-servo
pushed a commit
that referenced
this pull request
Aug 7, 2016
stylo: Stop restyling display: none elements, remove the has_changed hack that made us use ReconstructFrame unconditionally. <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> r? @bholley <!-- 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/12757) <!-- Reviewable:end -->
Contributor
|
💔 Test failed - linux-rel |
|
Member
Author
|
That's a known intermittent (#12568), cool :) |
| /// performed. | ||
| /// | ||
| /// If it's false, then process_postorder has no effect at all. | ||
| fn should_traverse_back_up(&self) -> bool { true } |
Contributor
There was a problem hiding this comment.
Call this has_postorder_traversal?
| context.pre_process_child_hook(node, kid); | ||
| if context.should_process(kid) { | ||
| doit::<N, C>(context, kid); | ||
| if !should_stop { |
Contributor
There was a problem hiding this comment.
Same as above: don't convert RestyleResult to a boolean.
Contributor
|
r=me |
… nodes in the display: none case.
…andling to the caller.
Member
Author
|
@bors-servo: r=bholley,pcwalton |
Contributor
|
📌 Commit 9b8eac0 has been approved by |
Contributor
bors-servo
pushed a commit
that referenced
this pull request
Aug 11, 2016
stylo: Stop restyling display: none elements, remove the has_changed hack that made us use ReconstructFrame unconditionally. <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> r? @bholley <!-- 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/12757) <!-- Reviewable:end -->
Contributor
|
☀️ Test successful - arm32, arm64, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt, windows-dev |
4 of 5 tasks
Contributor
|
@emilio does the gecko-dev branch need to be updated in correspondence with this commit? |
Member
Author
|
@bholley no, not necessarily |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsr? @bholley
This change is