Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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
- Loading branch information
1 parent
b483b29
commit 3870776
Showing
2 changed files
with
24 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters