| Index: LayoutTests/css3/compositing/isolation-isolate-simple.html
|
| diff --git a/LayoutTests/css3/compositing/isolation-isolate-simple.html b/LayoutTests/css3/compositing/isolation-isolate-simple.html
|
| index 907d8f6b9412374d74bf313e719277a8556349a3..6572c901dea74ad813423ac2d2b171a0560dfeb8 100644
|
| --- a/LayoutTests/css3/compositing/isolation-isolate-simple.html
|
| +++ b/LayoutTests/css3/compositing/isolation-isolate-simple.html
|
| @@ -12,10 +12,16 @@
|
| <!-- Isolation should create a stacking context. Test if "isolation:isolate" sets the zIndex to 0, instead of the default "auto" value. -->
|
| <body>
|
| <div id="isolator"></div>
|
| + <div id="isolator_accelerated" style="-webkit-transform: translateZ(0)"></div>
|
| +
|
| <script src="../../resources/js-test.js"></script>
|
| <script>
|
| - var zIndex = getComputedStyle(document.getElementById("isolator")).zIndex
|
| + // Software path.
|
| + var zIndex = getComputedStyle(document.getElementById("isolator")).zIndex;
|
| + shouldBeZero(zIndex);
|
|
|
| + // Hardware path.
|
| + zIndex = getComputedStyle(document.getElementById("isolator_accelerated")).zIndex;
|
| shouldBeZero(zIndex);
|
| </script>
|
| </body>
|
|
|