diff --git a/Tests/LibWeb/Screenshot/data/whf.svg b/Tests/LibWeb/Screenshot/data/whf.svg
new file mode 100644
index 00000000000..2937a1c3527
--- /dev/null
+++ b/Tests/LibWeb/Screenshot/data/whf.svg
@@ -0,0 +1,14 @@
+
\ No newline at end of file
diff --git a/Tests/LibWeb/Screenshot/expected/mask-image-with-scroll-offset-ref.html b/Tests/LibWeb/Screenshot/expected/mask-image-with-scroll-offset-ref.html
index b5fb714ed68..7da2bc7c3eb 100644
--- a/Tests/LibWeb/Screenshot/expected/mask-image-with-scroll-offset-ref.html
+++ b/Tests/LibWeb/Screenshot/expected/mask-image-with-scroll-offset-ref.html
@@ -1,10 +1,11 @@
+
-
+
diff --git a/Tests/LibWeb/Screenshot/images/mask-image-with-scroll-offset-ref.png b/Tests/LibWeb/Screenshot/images/mask-image-with-scroll-offset-ref.png
index 9c286a105ae..57dd9bcdbb4 100644
Binary files a/Tests/LibWeb/Screenshot/images/mask-image-with-scroll-offset-ref.png and b/Tests/LibWeb/Screenshot/images/mask-image-with-scroll-offset-ref.png differ
diff --git a/Tests/LibWeb/Screenshot/input/mask-image-with-scroll-offset.html b/Tests/LibWeb/Screenshot/input/mask-image-with-scroll-offset.html
index cc2f329daa1..4b0fcf7bec2 100644
--- a/Tests/LibWeb/Screenshot/input/mask-image-with-scroll-offset.html
+++ b/Tests/LibWeb/Screenshot/input/mask-image-with-scroll-offset.html
@@ -1,6 +1,5 @@
-