<!doctype html><title>CSS Test: nested clip-path() inside the same reference frame with position: fixed</title><linkrel="author"href="mailto:emilio@crisal.io"title="Emilio Cobos Álvarez"><linkrel="author"href="https://mozilla.org"title="Mozilla"><linkrel="help"href="https://bugzilla.mozilla.org/show_bug.cgi?id=1501111"><linkrel="help"href="https://drafts.fxtf.org/css-masking/#the-clip-path"><linkrel="match"href="clip-path-fixed-nested-ref.html"><style>body,html{margin:0;padding:0;}.outer-clip{height:100vh;clip-path:inset(0000);background:green;}.fixed{position:fixed;}.inner-clip{height:50px;width:50px;clip-path:inset(0000);}.inner-clip-contents{height:100px;width:100px;background:purple;}</style><divclass="outer-clip"><divclass="fixed"><divclass="inner-clip"><divclass="inner-clip-contents"></div></div></div></div>