Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d92d45cc2dbe3a59acfd7ed0f83e7d836577a0fe
      
https://github.com/WebKit/WebKit/commit/d92d45cc2dbe3a59acfd7ed0f83e7d836577a0fe
  Author: Simon Fraser <[email protected]>
  Date:   2025-05-13 (Tue, 13 May 2025)

  Changed paths:
    M Source/WebCore/rendering/style/RenderStyle.h
    M Source/WebCore/rendering/style/RenderStyleInlines.h
    M Source/WebCore/rendering/style/StyleRareNonInheritedData.h
    M Source/WebCore/style/StyleTreeResolver.cpp

  Log Message:
  -----------
  Make testing for the presence of scrollTimelines and viewTimelines a little 
more efficient.
https://bugs.webkit.org/show_bug.cgi?id=292616
rdar://problem/150772054

Reviewed by Antti Koivisto.

Checking for scrollTimelines() and scrollTimelineNames() has to jump through 
`m_nonInheritedData->rareData`
twice, so add a helper on StyleRareNonInheritedData to avoid that.

* Source/WebCore/rendering/style/RenderStyle.h:
* Source/WebCore/rendering/style/RenderStyleInlines.h:
(WebCore::RenderStyle::hasScrollTimelines const):
(WebCore::RenderStyle::hasViewTimelines const):
* Source/WebCore/rendering/style/StyleRareNonInheritedData.h:
(WebCore::StyleRareNonInheritedData::hasScrollTimelines const):
(WebCore::StyleRareNonInheritedData::hasViewTimelines const):
* Source/WebCore/style/StyleTreeResolver.cpp:
(WebCore::Style::TreeResolver::createAnimatedElementUpdate):

Canonical link: https://commits.webkit.org/294845@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to