[webkit-changes] [WebKit/WebKit] c3770c: [Outline] Add support for outline with border-radi...

alan noreply at github.com
Fri Oct 7 16:49:12 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c3770c7b04d216f822e3a4308c43b01ec0e7afed
      https://github.com/WebKit/WebKit/commit/c3770c7b04d216f822e3a4308c43b01ec0e7afed
  Author: Alan Bujtas <zalan at apple.com>
  Date:   2022-10-07 (Fri, 07 Oct 2022)

  Changed paths:
    A LayoutTests/fast/borders/outline-border-radius-simple-expected.html
    A LayoutTests/fast/borders/outline-border-radius-simple.html
    M Source/WebCore/rendering/BorderPainter.cpp

  Log Message:
  -----------
  [Outline] Add support for outline with border-radius (non-inline edition)
https://bugs.webkit.org/show_bug.cgi?id=246064

Reviewed by Antti Koivisto.

1. Compute the radii for inner/outer outline border.
2. Call BorderPainter::paintSides as if we were drawing "border" property.

* Source/WebCore/rendering/BorderPainter.cpp:
(WebCore::BorderPainter::paintOutline):

(Test needs fuzzy adjustment due to the slightly different border radius values to mimic outline.)

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




More information about the webkit-changes mailing list