summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/filter-effects/filter-cb-abspos-inline-003-ref.html
blob: 7536951a6b9ceddece3bfed3e73e8438e417a4e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!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>