Skip to content
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

Refactor display lists to use an explicit traversal #589

Merged
merged 1 commit into from Jul 16, 2013

Conversation

@eric93
Copy link

eric93 commented Jul 16, 2013

No description provided.


/// Like traverse_preorder, but don't end the whole traversal if the callback
/// returns false.
fn partially_traverse_preorder(&self, callback: &fn(FlowContext) -> bool) {

This comment has been minimized.

@tikue

tikue Jul 16, 2013

could this implement std::iterator::Iterator now?

This comment has been minimized.

@eric93

eric93 Jul 16, 2013

Author

This function doesn't follow the iterator convention, since when the closure returns false it doesn't end the traversal.

@pcwalton

This comment has been minimized.

Copy link

pcwalton commented on 5fc794f Jul 16, 2013

r+

Net loss of lines of code, nice!

@bors-servo

This comment has been minimized.

Copy link
Contributor

bors-servo commented on 5fc794f Jul 16, 2013

saw approval from pcwalton
at eric93@5fc794f

This comment has been minimized.

Copy link
Contributor

bors-servo replied Jul 16, 2013

merging eric93/servo/diplaylist-refactor = 5fc794f into auto

This comment has been minimized.

Copy link
Contributor

bors-servo replied Jul 16, 2013

eric93/servo/diplaylist-refactor = 5fc794f merged ok, testing candidate = 45e6873

This comment has been minimized.

Copy link
Contributor

bors-servo replied Jul 16, 2013

fast-forwarding master to auto = 45e6873

@bors-servo bors-servo merged commit 5fc794f into servo:master Jul 16, 2013
1 check passed
1 check passed
default all tests passed
@jdm

This comment has been minimized.

Copy link
Member

jdm commented on src/components/main/layout/layout_task.rs in 5fc794f Jul 17, 2013

Is this supposed to use the new partial traverse?

ChrisParis pushed a commit to ChrisParis/servo that referenced this pull request Sep 7, 2014
…dershadowroot

Removed tests using an obsolete attribute
@jdm jdm mentioned this pull request Nov 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

5 participants
You can’t perform that action at this time.