diff options
author | Cameron Youell <cameronyouell@gmail.com> | 2023-03-27 01:01:20 +1100 |
---|---|---|
committer | Sam Atkins <atkinssj@gmail.com> | 2023-03-26 15:03:43 +0100 |
commit | f251ff0521b018acfe14ca4fb8dd5f3a81b84d2e (patch) | |
tree | 50e738ff72540af85e150401033ff022176d8c07 /Userland/Libraries/LibWeb/Layout | |
parent | 949483fb0100a9fe67a8c9961c5a81caf6ccc3fb (diff) | |
download | serenity-f251ff0521b018acfe14ca4fb8dd5f3a81b84d2e.zip |
LibWeb: Fix non return in overflow value check
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout')
-rw-r--r-- | Userland/Libraries/LibWeb/Layout/Box.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/Box.cpp b/Userland/Libraries/LibWeb/Layout/Box.cpp index f35239c95f..8ddfc78a7c 100644 --- a/Userland/Libraries/LibWeb/Layout/Box.cpp +++ b/Userland/Libraries/LibWeb/Layout/Box.cpp @@ -41,6 +41,7 @@ bool overflow_value_makes_box_a_scroll_container(CSS::Overflow overflow) case CSS::Overflow::Scroll: return true; } + VERIFY_NOT_REACHED(); } // https://www.w3.org/TR/css-overflow-3/#scroll-container |