mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:38:11 +00:00
LibWeb: Remove unused StyleProperties::background_repeat()
This commit is contained in:
parent
ea0f6b42f0
commit
69878cde3e
3 changed files with 0 additions and 16 deletions
|
@ -688,16 +688,6 @@ Optional<CSS::Overflow> StyleProperties::overflow(CSS::PropertyID property_id) c
|
|||
}
|
||||
}
|
||||
|
||||
Optional<BackgroundRepeatData> StyleProperties::background_repeat() const
|
||||
{
|
||||
auto value = property(CSS::PropertyID::BackgroundRepeat);
|
||||
if (!value.has_value() || !value.value()->is_background_repeat())
|
||||
return {};
|
||||
|
||||
auto& background_repeat = value.value()->as_background_repeat();
|
||||
return BackgroundRepeatData { background_repeat.repeat_x(), background_repeat.repeat_y() };
|
||||
}
|
||||
|
||||
Optional<CSS::BoxShadowData> StyleProperties::box_shadow() const
|
||||
{
|
||||
auto value_or_error = property(CSS::PropertyID::BoxShadow);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue