gecko/layout/reftests/z-index/stacking-context-perspective.html
L. David Baron d04a0ecef6 Bug 976364: Make 'perspective' create a stacking context. r=mattwoodrow
While it seems a little silly since 'perspective' doesn't require
atomicity (rather, it adds an additional transformation to any 3-D
descendants, which already require atomicity), the spec requires it, and
it matches WebKit.
2014-02-26 13:36:36 -08:00

18 lines
412 B
HTML

<!DOCTYPE HTML>
<meta charset="UTF-8">
<title>Does 'perspective' create a stacking context?</title>
<link rel="stylesheet" href="stacking-context-common.css">
<style>
.perspective {
-webkit-perspective: 200px;
perspective: 200px;
}
</style>
<div class="contain">
<div class="maybesc perspective">
<div class="inner1"></div>
<div class="inner3"></div>
</div>
<div class="intruder"></div>
</div>