From 4bafdedf64f42be5efae85a8b9cabd61afa0a6fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Fri, 10 Mar 2017 14:10:46 +0100 Subject: [PATCH] layout: Merge inline nodes based on node address, not node style. --- components/layout/inline.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/layout/inline.rs b/components/layout/inline.rs index e115810a972..f28e583460f 100644 --- a/components/layout/inline.rs +++ b/components/layout/inline.rs @@ -1789,7 +1789,7 @@ impl InlineFragmentContext { return false } 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 } }