<!DOCTYPE html>
<html>
<head>
<style>
.a:first-line { }
.a { overflow: scroll; }
.b, .c { overflow: inherit; }
</style>
</head>
<body>
<div class="a"><span class="b"><div class="c"></div></span></div>
</body>
</html>