[webkit-changes] [WebKit/WebKit] dfee46: [Outline] Outline painting should be able to call ...

alan noreply at github.com
Wed Oct 5 21:19:46 PDT 2022


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

  Changed paths:
    M Source/WebCore/rendering/BorderPainter.cpp
    M Source/WebCore/rendering/BorderPainter.h
    M Source/WebCore/rendering/style/RenderStyle.h

  Log Message:
  -----------
  [Outline] Outline painting should be able to call BorderPainter with border-radius info
https://bugs.webkit.org/show_bug.cgi?id=246051

Reviewed by Antti Koivisto.

This is in preparation for supporting outline with border-radius.
(BorderPainter::paintBorder calls BorderPainter::paintSides with border content while RenderElement::paintOutline is going to call it with outline content.)

* Source/WebCore/rendering/BorderPainter.cpp:
(WebCore::BorderPainter::paintBorder):
(WebCore::BorderPainter::paintSides):
* Source/WebCore/rendering/BorderPainter.h:
* Source/WebCore/rendering/style/RenderStyle.h:
(WebCore::RenderStyle::borderRadii const):

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




More information about the webkit-changes mailing list