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

Unified Diff: LayoutTests/compositing/repaint/should-not-repaint-composited-opacity.html

Issue 390933004: Split compositing/repaint/should-not-repaint-*.html into smaller tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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/compositing/repaint/should-not-repaint-composited-opacity.html
diff --git a/LayoutTests/compositing/repaint/should-not-repaint-composited-opacity.html b/LayoutTests/compositing/repaint/should-not-repaint-composited-opacity.html
new file mode 100644
index 0000000000000000000000000000000000000000..d79a76bd423287c9129fd19e7a267596da63feb9
--- /dev/null
+++ b/LayoutTests/compositing/repaint/should-not-repaint-composited-opacity.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<style>
+#composited-box {
+ backface-visibility: hidden;
+ width: 100px;
+ height: 100px;
+ background: green;
+ opacity: 0.8;
+}
+</style>
+<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
+<script>
+function repaintTest() {
+ document.getElementById('composited-box').style.opacity = 0.5;
+}
+window.onload = runRepaintTest;
+</script>
+<div id="composited-box"></div>

Powered by Google App Engine
This is Rietveld 408576698