Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0056360132677eba67ada5ca8f6768fdf050a8c4
      
https://github.com/WebKit/WebKit/commit/0056360132677eba67ada5ca8f6768fdf050a8c4
  Author: Alan Baradlay <[email protected]>
  Date:   2025-05-01 (Thu, 01 May 2025)

  Changed paths:
    A 
LayoutTests/fast/repaint/block-color-changes-fail-repaint-with-inline-box-expected.txt
    A 
LayoutTests/fast/repaint/block-color-changes-fail-repaint-with-inline-box.html
    M Source/WebCore/rendering/RenderElement.cpp

  Log Message:
  -----------
  [Repaint] Changing text-decoration-color on the block has no affect on inline 
content when it is completely wrapped inside an inline box
https://bugs.webkit.org/show_bug.cgi?id=292342

Reviewed by Antti Koivisto.

This change triggers point invalidation (RepaintIfText) on the following 
construct

<div><span>text</span></div>

when the inline content (text) is completely nested inside an inline box.

* 
LayoutTests/fast/repaint/block-color-changes-fail-repaint-with-inline-box-expected.txt:
 Added.
* 
LayoutTests/fast/repaint/block-color-changes-fail-repaint-with-inline-box.html: 
Added.
* Source/WebCore/rendering/RenderElement.cpp:
(WebCore::hasNonWhitespaceTextContent):
(WebCore::RenderElement::shouldRepaintForStyleDifference const):

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