Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1d9888c85e204821e7f0489d01bc5b3ae0a42833
      
https://github.com/WebKit/WebKit/commit/1d9888c85e204821e7f0489d01bc5b3ae0a42833
  Author: Simon Fraser <simon.fra...@apple.com>
  Date:   2024-04-22 (Mon, 22 Apr 2024)

  Changed paths:
    M Source/WebKitLegacy/mac/WebView/WebHTMLView.mm

  Log Message:
  -----------
  macOS 14.4 Regression: HTML elements in a WebView (Legacy) do not repaint 
when their width/height change
https://bugs.webkit.org/show_bug.cgi?id=270898
rdar://124564409

Reviewed by Matt Woodrow.

After 271261@main we don't update compositing layers on every layout, but when 
WebKitLegacy forces
layout, we need to update them. This fixes an issue resizing solid-color-only 
layers; for other
layers, the triggered repaint avoids the bug.

I tried to fix DumpRenderTree to respect `testRunner.dontForceRepaint()` so I 
could write a test,
but even with this, the runloop observer fires in DRT and updates layers, so 
the test didn't work.

* Source/WebKitLegacy/mac/WebView/WebHTMLView.mm:
(-[WebHTMLView _web_updateLayoutAndStyleIfNeededRecursive]):

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



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

Reply via email to