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

Unified Diff: LayoutTests/css3/filters/backdrop-filter-rendering.html

Issue 1299323005: blink: Add backdrop-filter support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: removed some todos Created 5 years, 4 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
« no previous file with comments | « LayoutTests/TestExpectations ('k') | Source/core/animation/CompositorAnimations.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/css3/filters/backdrop-filter-rendering.html
diff --git a/LayoutTests/css3/filters/backdrop-filter-rendering.html b/LayoutTests/css3/filters/backdrop-filter-rendering.html
new file mode 100644
index 0000000000000000000000000000000000000000..61225c890933000426d524dd3bd60aa15641148e
--- /dev/null
+++ b/LayoutTests/css3/filters/backdrop-filter-rendering.html
@@ -0,0 +1,37 @@
+<script>
+if (window.testRunner)
+ testRunner.waitUntilDone();
+
+window.addEventListener('load', function () {
+ var el = document.querySelector("div");
+ el.className = "backdrop_filter";
+ setTimeout(function () {
+ if (window.testRunner)
+ testRunner.notifyDone();
jbroman 2015/08/20 02:49:46 Drive-by: please no setTimeout in layout tests. Yo
+ }, 0);
+}, false);
+</script>
+<style>
+div {
+ width: 100px;
+ height: 100px;
+ position: absolute;
+}
+
+.backdrop_object {
+ left: 120px;
+ top: 80px;
+ background: orange;
+}
+
+.backdrop_filter {
+ left: 70px;
+ top: 50px;
+ background: blue;
+ opacity:0.25;
+ backdrop-filter: blur(5px);
+}
+</style>
+
+<div class="backdrop_object"></div>
+<div class="backdrop_filter"></div>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | Source/core/animation/CompositorAnimations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698