[webkit-changes] [WebKit/WebKit] a5cee4: [Outline] BorderPainter functions should not take ...
alan
noreply at github.com
Thu Oct 6 11:21:29 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a5cee42b3ed7132ff2fb00f0a0adca4cff69110c
https://github.com/WebKit/WebKit/commit/a5cee42b3ed7132ff2fb00f0a0adca4cff69110c
Author: Alan Bujtas <zalan at apple.com>
Date: 2022-10-06 (Thu, 06 Oct 2022)
Changed paths:
M Source/WebCore/rendering/BorderPainter.cpp
M Source/WebCore/rendering/BorderPainter.h
Log Message:
-----------
[Outline] BorderPainter functions should not take RenderStyle
https://bugs.webkit.org/show_bug.cgi?id=246061
Reviewed by Antti Koivisto.
This is in preparation for supporting outline with border-radius.
(This patch ensures that BorderPainter functions do not try to consult RenderStyle for border related style information. It enables us to use these functions for both border and outline painting.)
* Source/WebCore/rendering/BorderPainter.cpp:
(WebCore::BorderPainter::paintBorder):
(WebCore::BorderPainter::paintSides):
(WebCore::BorderPainter::paintTranslucentBorderSides):
(WebCore::BorderPainter::paintBorderSides):
(WebCore::BorderPainter::paintOneBorderSide):
(WebCore::BorderPainter::drawBoxSideFromPath):
* Source/WebCore/rendering/BorderPainter.h:
Canonical link: https://commits.webkit.org/255230@main
More information about the webkit-changes
mailing list