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 purity/mutability of RenderBox style-related methods #220
Comments
|
If we're talking about purity in terms of mutability, I believe things like get_parent are pure now. |
ChrisParis
pushed a commit
to ChrisParis/servo
that referenced
this issue
Sep 7, 2014
shadow-dom: Refine script tests related to ownerDocument property.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Methods like can_merge_with_box just compare FontStyle, so they should be pure. It seems that this is not the case because (transitively) Node.get_parent is not pure.