static

relative-B with absolute-B inside

absolute-B inside a relatively positioned element

static

relative-A

absolute-A

fixed

static