[webkit-changes] [WebKit/WebKit] bb3ba5: (REGRESSION 255300 at main) Transparent outlines not ...

Alan Baradlay noreply at github.com
Wed Mar 22 06:37:56 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bb3ba56cc5da4c71d8627a02ec8df685c6d31207
      https://github.com/WebKit/WebKit/commit/bb3ba56cc5da4c71d8627a02ec8df685c6d31207
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-03-22 (Wed, 22 Mar 2023)

  Changed paths:
    A LayoutTests/fast/block/transparent-outline-with-and-without-border-radius-expected.html
    A LayoutTests/fast/block/transparent-outline-with-and-without-border-radius.html
    M Source/WebCore/rendering/BorderPainter.cpp

  Log Message:
  -----------
  (REGRESSION 255300 at main) Transparent outlines not rendered around all elements
https://bugs.webkit.org/show_bug.cgi?id=251987
<rdar://problem/105545310>

Reviewed by Simon Fraser.

Compute haveAllSolidEdges in paintOutline the same way we compute it for border painting.
(Move "haveAllSolidEdges" logic to a static helper to be able to share it between these 2 decoration painter functions)

* LayoutTests/fast/block/transparent-outline-with-and-without-border-radius-expected.html: Added.
* LayoutTests/fast/block/transparent-outline-with-and-without-border-radius.html: Added.
* Source/WebCore/rendering/BorderPainter.cpp:
(WebCore::BorderPainter::paintOutline):

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




More information about the webkit-changes mailing list