Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 31c11245b0efecb8a3b65ae6fb2669accddfc419
      
https://github.com/WebKit/WebKit/commit/31c11245b0efecb8a3b65ae6fb2669accddfc419
  Author: Sammy Gill <[email protected]>
  Date:   2025-07-21 (Mon, 21 Jul 2025)

  Changed paths:
    M Source/WebCore/rendering/RenderBox.h
    M Source/WebCore/rendering/RenderImage.cpp
    M Source/WebCore/rendering/RenderImage.h
    M Source/WebCore/rendering/RenderReplaced.cpp
    M Source/WebCore/rendering/RenderReplaced.h
    M Source/WebCore/rendering/svg/RenderSVGRoot.cpp
    M Source/WebCore/rendering/svg/RenderSVGRoot.h
    M Source/WebCore/rendering/svg/legacy/LegacyRenderSVGRoot.cpp
    M Source/WebCore/rendering/svg/legacy/LegacyRenderSVGRoot.h

  Log Message:
  -----------
  Rename computeIntrinsicRatioInformation to 
computeIntrinsicSizeAndPreferredAspectRatio.
https://bugs.webkit.org/show_bug.cgi?id=296284
rdar://156333988

Reviewed by Brandon Stewart and Brent Fulgham.

computeIntrinsicRatioInformation is a pretty vague name so let's rename
it to be a bit more descriptive. Since this function seems to have two
primary goals we can rename it computeIntrinsicSizeAndPreferredAspectRatio.
Although this is a bit more wordy, this does a better job of capturing
what this function does.

Rename the intrinsicRatio argument also to preferredAspectRatio since
that is what these functions are actually computing by checking the
aspect-ratio property and not just returning the ratio associated with
the replaced content.

Canonical link: https://commits.webkit.org/297705@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