[webkit-changes] [WebKit/WebKit] cee3c7: Audio element control buttons are no longer circul...
Richard Robinson
noreply at github.com
Fri Jun 30 13:15:43 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: cee3c7d1803a4e8ab72a2f4c8065e4d226b18c54
https://github.com/WebKit/WebKit/commit/cee3c7d1803a4e8ab72a2f4c8065e4d226b18c54
Author: Richard Robinson <richard_robinson2 at apple.com>
Date: 2023-06-30 (Fri, 30 Jun 2023)
Changed paths:
M Source/WebCore/Modules/modern-media-controls/controls/button.js
Log Message:
-----------
Audio element control buttons are no longer circular after refreshing the page in visionOS
https://bugs.webkit.org/show_bug.cgi?id=258739
rdar://111523213
Reviewed by Jer Noble.
Fix the logic in `_updateImageMetrics` to possibly return early only after the final new width and
height are actually computed.
* Source/WebCore/Modules/modern-media-controls/controls/button.js:
(Button.prototype._updateImageMetrics):
(Button):
Canonical link: https://commits.webkit.org/265665@main
More information about the webkit-changes
mailing list