mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-04 23:29:52 +00:00
LibWeb/CSS: Rename background-repeat related symbols to align with spec
These will be used for the mask-repeat property as well in an upcoming commit, hence the more generic names. Also, this more closely matches the names used in the spec.
This commit is contained in:
parent
667f195d1e
commit
add3a095d8
Notes:
github-actions[bot]
2025-08-06 22:10:59 +00:00
Author: https://github.com/InvalidUsernameException
Commit: add3a095d8
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5511
Reviewed-by: https://github.com/AtkinsSJ ✅
Reviewed-by: https://github.com/Calme1709
17 changed files with 151 additions and 150 deletions
|
@ -16,7 +16,6 @@
|
|||
#include <LibWeb/CSS/StyleValues/AnchorSizeStyleValue.h>
|
||||
#include <LibWeb/CSS/StyleValues/AnchorStyleValue.h>
|
||||
#include <LibWeb/CSS/StyleValues/AngleStyleValue.h>
|
||||
#include <LibWeb/CSS/StyleValues/BackgroundRepeatStyleValue.h>
|
||||
#include <LibWeb/CSS/StyleValues/BackgroundSizeStyleValue.h>
|
||||
#include <LibWeb/CSS/StyleValues/BasicShapeStyleValue.h>
|
||||
#include <LibWeb/CSS/StyleValues/BorderImageSliceStyleValue.h>
|
||||
|
@ -58,6 +57,7 @@
|
|||
#include <LibWeb/CSS/StyleValues/RadialGradientStyleValue.h>
|
||||
#include <LibWeb/CSS/StyleValues/RatioStyleValue.h>
|
||||
#include <LibWeb/CSS/StyleValues/RectStyleValue.h>
|
||||
#include <LibWeb/CSS/StyleValues/RepeatStyleStyleValue.h>
|
||||
#include <LibWeb/CSS/StyleValues/ResolutionStyleValue.h>
|
||||
#include <LibWeb/CSS/StyleValues/ScrollbarColorStyleValue.h>
|
||||
#include <LibWeb/CSS/StyleValues/ScrollbarGutterStyleValue.h>
|
||||
|
@ -128,10 +128,10 @@ AngleStyleValue const& CSSStyleValue::as_angle() const
|
|||
return static_cast<AngleStyleValue const&>(*this);
|
||||
}
|
||||
|
||||
BackgroundRepeatStyleValue const& CSSStyleValue::as_background_repeat() const
|
||||
RepeatStyleStyleValue const& CSSStyleValue::as_repeat_style() const
|
||||
{
|
||||
VERIFY(is_background_repeat());
|
||||
return static_cast<BackgroundRepeatStyleValue const&>(*this);
|
||||
VERIFY(is_repeat_style());
|
||||
return static_cast<RepeatStyleStyleValue const&>(*this);
|
||||
}
|
||||
|
||||
BackgroundSizeStyleValue const& CSSStyleValue::as_background_size() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue