Materialize twice

This commit is contained in:
Laurenz 2025-07-18 15:13:20 +02:00
parent 4163fd59a6
commit 5cf25874bc

View File

@ -555,6 +555,7 @@ fn prepare(
// Copy style chain fields into the element itself, so that they are // Copy style chain fields into the element itself, so that they are
// available in rules. // available in rules.
elem.clone().materialize(styles.chain(map));
elem.materialize(styles.chain(map)); elem.materialize(styles.chain(map));
// If the element is locatable, create start and end tags to be able to find // If the element is locatable, create start and end tags to be able to find