<!DOCTYPE html>
<html>
<head>
<title>This tests that paginated lines are painting properly when lines visually overflow.</title>
<style>
html {
	overflow: hidden;
}
div {
  font-size: 241px;
  line-height: 0.7;
  padding-top: 47px;
}
</style>
</head>
<body>
<div>
foobar
foobar
</div>
</body>
</html>
