mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-17 07:50:04 +00:00
LibWeb: Parse transition values and cache them on Animatable elements
Co-authored-by: Matthew Olsson <matthewcolsson@gmail.com>
This commit is contained in:
parent
392510c631
commit
e544166977
Notes:
github-actions[bot]
2024-09-22 04:42:52 +00:00
Author: https://github.com/AtkinsSJ
Commit: e544166977
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1442
3 changed files with 96 additions and 4 deletions
|
@ -40,14 +40,15 @@ namespace Web::CSS {
|
|||
NonnullRefPtr<StyleProperties::Data> StyleProperties::Data::clone() const
|
||||
{
|
||||
auto clone = adopt_ref(*new StyleProperties::Data);
|
||||
clone->m_animation_name_source = m_animation_name_source;
|
||||
clone->m_transition_property_source = m_transition_property_source;
|
||||
clone->m_property_values = m_property_values;
|
||||
clone->m_animated_property_values = m_animated_property_values;
|
||||
clone->m_property_important = m_property_important;
|
||||
clone->m_property_inherited = m_property_inherited;
|
||||
clone->m_animated_property_values = m_animated_property_values;
|
||||
clone->m_math_depth = m_math_depth;
|
||||
clone->m_font_list = m_font_list;
|
||||
clone->m_line_height = m_line_height;
|
||||
clone->m_animation_name_source = m_animation_name_source;
|
||||
clone->m_math_depth = m_math_depth;
|
||||
return clone;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue