Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(137)

Unified Diff: LayoutTests/css3/compositing/isolation-isolate-simple.html

Issue 77723004: [CSS Blending] Fix isolation for the hardware path. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/css3/compositing/isolation-isolate-simple-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | LayoutTests/css3/compositing/isolation-isolate-simple-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698