[webkit-changes] [WebKit/WebKit] c16641: On some cases async/await creates a race where we ...

Commit Queue noreply at github.com
Fri Nov 15 12:00:27 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c1664193f635f84f326b21237c3fffb0616f63f4
      https://github.com/WebKit/WebKit/commit/c1664193f635f84f326b21237c3fffb0616f63f4
  Author: Pedro Varangot <pvarangot at apple.com>
  Date:   2024-11-15 (Fri, 15 Nov 2024)

  Changed paths:
    M Source/WebCore/css/ComputedStyleExtractor.cpp

  Log Message:
  -----------
  On some cases async/await creates a race where we try to compute translate with null values
https://bugs.webkit.org/show_bug.cgi?id=282846
rdar://137177447

Reviewed by Ryosuke Niwa.

This fixes some cases where translate-x is 0 or null that can result in the function returning undefined values.

* Source/WebCore/css/ComputedStyleExtractor.cpp:
(WebCore::computedTranslate):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list