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

Ensure Node.Normalize() acts on all descendants #2221

Merged
merged 1 commit into from Apr 24, 2014
Merged

Ensure Node.Normalize() acts on all descendants #2221

merged 1 commit into from Apr 24, 2014

Conversation

hmac
Copy link
Contributor

@hmac hmac commented Apr 24, 2014

Fixes #2170 by recursively calling normalize() on all children that aren't text nodes.

@highfive
Copy link

Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @larsbergstrom (or someone else) soon.

@hoppipolla-critic-bot
Copy link

Critic review: https://critic.hoppipolla.co.uk/r/1375

This is an external review system which you may optionally use for the code review of your pull request.

In order to help critic track your changes, please do not make in-place history rewrites (e.g. via git rebase -i or git commit --amend) when updating this pull request.

bors-servo pushed a commit that referenced this pull request Apr 24, 2014
Fixes #2170 by recursively calling `normalize()` on all children that aren't text nodes.
@bors-servo bors-servo closed this Apr 24, 2014
@bors-servo bors-servo merged commit 9e1f63e into servo:master Apr 24, 2014
Ms2ger added a commit to Ms2ger/servo that referenced this pull request May 2, 2014
The first 11 tests in Event-constructors.html were fixed in servo#2194; the
remaining failure is servo#2173. Node-normalize.html was fixed in servo#2221.
bors-servo pushed a commit that referenced this pull request May 2, 2014
The first 11 tests in Event-constructors.html were fixed in #2194; the
remaining failure is #2173. Node-normalize.html was fixed in #2221.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Node.normalize() should normalize all descendants, not just children
4 participants