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

Unified Diff: LayoutTests/css3/compositing/mix-blend-mode-composited-layers.html

Issue 23503046: [CSS Blending] Implement mix-blend-mode in software. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 7 years, 2 months 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-composited-layers.html
diff --git a/LayoutTests/css3/compositing/mix-blend-mode-composited-layers.html b/LayoutTests/css3/compositing/mix-blend-mode-composited-layers.html
new file mode 100644
index 0000000000000000000000000000000000000000..c3da1c02a39e87cb0cd23e6a70f41edf43640c68
--- /dev/null
+++ b/LayoutTests/css3/compositing/mix-blend-mode-composited-layers.html
@@ -0,0 +1,35 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+<style>
+ div {
+ width: 10px;
+ height: 10px;
+ }
+</style>
+</head>
+<body>
+
+<!-- Mix-blend-mode should not create a composited layer -->
+<div style="background-color: green">
+ <div style="background-color: blue; mix-blend-mode: multiply"></div>
+</div>
+
+<!-- Mix-blend-mode should create a composited layer when having composited descendants-->
+<div style="background-color: green">
+ <div style="background-color: blue; mix-blend-mode: multiply">
+ <div style="background-color: yellow; -webkit-transform: translatez(0);"></div>
+ </div>
+</div>
+
+<pre id="layers">Layer tree appears here in DRT.</pre>
+
+<script type="text/javascript">
+ if (window.testRunner) {
+ window.testRunner.dumpAsText();
+ document.getElementById('layers').innerHTML = window.internals.layerTreeAsText(document);
+ }
+</script>
+</body>
+</html>
+
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/css3/compositing/mix-blend-mode-composited-layers-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698