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
commit 4a3680cafc
Notes: sideshowbarker 2024-07-17 03:03:15 +09:00
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();
}