<!DOCTYPE html>
<meta charset=UTF-8>
<title>CSS Filter: Establishing containing block for absolutely-positioned elements, on an inline element</title>
<link rel="author" title="L. David Baron" href="https://dbaron.org/">
<link rel="author" title="Mozilla Corporation" href="http://mozilla.com/">
<style>
#abspos {
position: absolute;
top: 0;
right: 0;
width: 10px;
height: 10px;
background: blue;
}
</style>
<div>
<span id="cb">Blue box should be in top-right corner of screen.</span>
</div>
<div id="abspos"></div>