diff --git a/tests/content/test_caption.html b/tests/content/test_caption.html
index 3280701b166..64d487df922 100644
--- a/tests/content/test_caption.html
+++ b/tests/content/test_caption.html
@@ -17,5 +17,8 @@
t.caption = newCaption;
is(newCaption.parentNode, t);
is(t.caption, newCaption);
+
+ // Test for https://github.com/servo/servo/issues/3997
+ t.getBoundingClientRect();