mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:07:35 +00:00
LibWeb: Declare overflow_value_makes_box_a_scroll_container as static
It is only used in this file, and not being declared static gives a "no previous declaration" error.
This commit is contained in:
parent
f251ff0521
commit
b3d033f027
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ Box::~Box()
|
|||
}
|
||||
|
||||
// https://www.w3.org/TR/css-overflow-3/#overflow-control
|
||||
bool overflow_value_makes_box_a_scroll_container(CSS::Overflow overflow)
|
||||
static bool overflow_value_makes_box_a_scroll_container(CSS::Overflow overflow)
|
||||
{
|
||||
switch (overflow) {
|
||||
case CSS::Overflow::Clip:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue