[webkit-changes] [WebKit/WebKit] deb6f1: Revert Resizing video on YouTube can result in ali...

mwyrzykowski noreply at github.com
Thu Aug 10 22:48:30 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: deb6f171e956eb22cf21134ccbd9eadd04895cb1
      https://github.com/WebKit/WebKit/commit/deb6f171e956eb22cf21134ccbd9eadd04895cb1
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2023-08-10 (Thu, 10 Aug 2023)

  Changed paths:
    M Source/WebCore/rendering/RenderVideo.cpp
    M Source/WebCore/rendering/RenderVideo.h

  Log Message:
  -----------
  Revert Resizing video on YouTube can result in aliasing
https://bugs.webkit.org/show_bug.cgi?id=259171
<radar://113731917>

Unreviewed revert 266284 at main as it causes a regression opening to fullscreen.

* Source/WebCore/rendering/RenderVideo.cpp:
(WebCore::areAspectRatiosEssentiallyEqual):
(WebCore::RenderVideo::videoBox const):
(WebCore::RenderVideo::updatePlayer):
(WebCore::contentSizeAlmostEqualsFrameSize): Deleted.
(WebCore::RenderVideo::inElementOrVideoFullscreen const): Deleted.
* Source/WebCore/rendering/RenderVideo.h:

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




More information about the webkit-changes mailing list