mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
layout: Merge inline nodes based on node address, not node style.
This commit is contained in:
parent
6f134892da
commit
4bafdedf64
1 changed files with 1 additions and 1 deletions
|
@ -1789,7 +1789,7 @@ impl InlineFragmentContext {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
for (this_node, other_node) in self.nodes.iter().zip(&other.nodes) {
|
for (this_node, other_node) in self.nodes.iter().zip(&other.nodes) {
|
||||||
if !arc_ptr_eq(&this_node.style, &other_node.style) {
|
if this_node.address != other_node.address {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue