Files
serenity/Userland/Libraries/LibWeb/CSS/StyleComputer.cpp
Aliaksandr Kalenik 0a348c394c LibWeb: Make sure style is up-to-date in getAnimations()
StyleComputer is responsible for assigning animation targets, so we
have to make sure there are no pending style updates before querying
animations of an element.

This change also introduces a version of getAnimations() that does not
check style updates and used by StyleComputer to avoid mutual recursion.

(cherry picked from commit 94b3b84dd808b6607e8fd0aead1796709f3a8721)
2024-11-04 13:15:58 -05:00

134 KiB