mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Minor tweaks: rename composed_parent_node_ref, remove or update outdated comments...
This commit is contained in:
parent
0313e38074
commit
bdd2f32c0f
6 changed files with 33 additions and 46 deletions
|
@ -994,7 +994,7 @@ impl LayoutElementHelpers for LayoutDom<Element> {
|
|||
unsafe {
|
||||
let mut current_node = Some(self.upcast::<Node>());
|
||||
while let Some(node) = current_node {
|
||||
current_node = node.parent_node_ref();
|
||||
current_node = node.composed_parent_node_ref();
|
||||
match node.downcast::<Element>().map(|el| el.unsafe_get()) {
|
||||
Some(elem) => {
|
||||
if let Some(attr) =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue