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

Unified Diff: LayoutTests/css3/compositing/mix-blend-mode-isolation-layer.html

Issue 23511004: mix-blend-mode implementation for accelerated layers - blink part (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Renamed a variable 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
Index: LayoutTests/css3/compositing/mix-blend-mode-isolation-layer.html
diff --git a/LayoutTests/css3/compositing/mix-blend-mode-isolation-layer.html b/LayoutTests/css3/compositing/mix-blend-mode-isolation-layer.html
new file mode 100644
index 0000000000000000000000000000000000000000..effaab17184a9975abf026bc748f488b63f1850c
--- /dev/null
+++ b/LayoutTests/css3/compositing/mix-blend-mode-isolation-layer.html
@@ -0,0 +1,28 @@
+<html>
+<head>
+<script>
+ if (window.testRunner) {
+ testRunner.dumpAsText();
+ window.addEventListener('load', function () {
+ document.getElementById('layers').textContent = window.internals.layerTreeAsText(document);
+ document.getElementById('stacking-context').style.display = 'none';
+ }, false);
+ }
+</script>
+<style>
+#stacking-context,
+.accelerated {
+ -webkit-transform: rotateX(0deg);
+}
+.blended {
+ mix-blend-mode: multiply;
+}
+</style>
+</head>
+<body>
+ <div id="stacking-context">
enne (OOO) 2013/11/11 21:52:46 Can you add another test with an additional stacki
rosca 2013/11/12 20:27:07 Done for the two tests you suggested. I added one
+ <img class="accelerated blended" src="resources/reference.png">
+ </div>
+ <pre id="layers">Layer tree goes here when testing</pre>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698