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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/compositing/should-not-repaint-composited-opacity.html

Issue 2321183002: Move repaint tests (except for svg/) to paint/invalidation (Closed)
Patch Set: - Created 4 years, 3 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: third_party/WebKit/LayoutTests/paint/invalidation/compositing/should-not-repaint-composited-opacity.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/compositing/should-not-repaint-composited-opacity.html b/third_party/WebKit/LayoutTests/paint/invalidation/compositing/should-not-repaint-composited-opacity.html
new file mode 100644
index 0000000000000000000000000000000000000000..9c6cb16a43c2081c1dbced5115047e93ccdef79d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/compositing/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="../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