[webkit-changes] [WebKit/WebKit] 387077: [Outline] Introduce BorderData::Radii
alan
noreply at github.com
Wed Oct 5 08:28:35 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 387077670b14ff83b0f1ea2c1f65be35ad962ad0
https://github.com/WebKit/WebKit/commit/387077670b14ff83b0f1ea2c1f65be35ad962ad0
Author: Alan Bujtas <zalan at apple.com>
Date: 2022-10-05 (Wed, 05 Oct 2022)
Changed paths:
M Source/WebCore/rendering/style/BorderData.h
M Source/WebCore/rendering/style/RenderStyle.h
Log Message:
-----------
[Outline] Introduce BorderData::Radii
https://bugs.webkit.org/show_bug.cgi?id=246044
Reviewed by Antti Koivisto.
This is in preparation for supporting outline with border-radius.
(This structure is going to be used to pass around radii information in BorderPainter)
* Source/WebCore/rendering/style/BorderData.h:
(WebCore::BorderData::hasBorderRadius const):
(WebCore::BorderData::operator== const):
(WebCore::BorderData::topLeftRadius const):
(WebCore::BorderData::topRightRadius const):
(WebCore::BorderData::bottomLeftRadius const):
(WebCore::BorderData::bottomRightRadius const):
(WebCore::BorderData::BorderData): Deleted.
* Source/WebCore/rendering/style/RenderStyle.h:
(WebCore::RenderStyle::resetBorderTopLeftRadius):
(WebCore::RenderStyle::resetBorderTopRightRadius):
(WebCore::RenderStyle::resetBorderBottomLeftRadius):
(WebCore::RenderStyle::resetBorderBottomRightRadius):
(WebCore::RenderStyle::setBorderTopLeftRadius):
(WebCore::RenderStyle::setBorderTopRightRadius):
(WebCore::RenderStyle::setBorderBottomLeftRadius):
(WebCore::RenderStyle::setBorderBottomRightRadius):
Canonical link: https://commits.webkit.org/255172@main
More information about the webkit-changes
mailing list