<!DOCTYPE html>
<html>
<head>
<title>This tests that the span content gets properly laid out after calling surroundContents.</title>
<style>
span {
	font-family: system-ui;
	font-size: 12px;
    margin-right: 2px;
    text-decoration: underline;
}
</style>
</head>
<body>
<span>foobar</span>
<br>PASS if foobar gets underlined while hovering.
</body>
</html>
