Skip to content

Truly independent web browser

LibWeb: Remove the duplicate unit-test font stub

Andreas Kling430d3bf6216e
diff --git a/Libraries/LibWeb/Rust/src/painting/scrollable_overflow.rs b/Libraries/LibWeb/Rust/src/painting/scrollable_overflow.rs
index bbeb18177c7..aaf15fc8f96 100644
--- a/Libraries/LibWeb/Rust/src/painting/scrollable_overflow.rs
+++ b/Libraries/LibWeb/Rust/src/painting/scrollable_overflow.rs
@@ -1022,11 +1022,6 @@ mod tests {
use crate::layout::fragment_tree::FragmentLink;
use crate::layout::node_data::{FfiStylePayloads, StylePayloadsRef};
- #[unsafe(no_mangle)]
- extern "C" fn ladybird_gfx_font_is_invisible(_font: *const std::ffi::c_void) -> bool {
- unreachable!("the overflow fixtures have no text fragments");
- }
-
#[test]
fn overflow_percentage_margins_use_the_containing_blocks_inline_size() {
for (mode, expected_bottom) in [