1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:37:35 +00:00

LibWeb/CSS: Add "text" into list of possible "background-box" values

This commit is contained in:
Zac Brannelly 2024-03-03 14:13:27 +01:00 committed by Alexander Kalenik
parent 0c18450c4f
commit 4a3680cafc
2 changed files with 4 additions and 1 deletions

View file

@ -392,6 +392,8 @@ void NodeWithStyle::apply_style(const CSS::StyleProperties& computed_style)
return CSS::BackgroundBox::ContentBox;
case CSS::ValueID::PaddingBox:
return CSS::BackgroundBox::PaddingBox;
case CSS::ValueID::Text:
return CSS::BackgroundBox::Text;
default:
VERIFY_NOT_REACHED();
}