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

Unified Diff: LayoutTests/fast/repaint/repaint-descandant-on-ancestor-layer-move.html

Issue 354613003: Properly repaint RenderLayer's descendants when it moves (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use a flag instead of a seperate tree walk. Created 6 years, 6 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/fast/repaint/repaint-descandant-on-ancestor-layer-move.html
diff --git a/LayoutTests/fast/repaint/repaint-descandant-on-ancestor-layer-move.html b/LayoutTests/fast/repaint/repaint-descandant-on-ancestor-layer-move.html
new file mode 100644
index 0000000000000000000000000000000000000000..b4c62e2d15994a3f8734b950fc122fb440be4b7a
--- /dev/null
+++ b/LayoutTests/fast/repaint/repaint-descandant-on-ancestor-layer-move.html
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<style>
+body {
+ position: absolute;
+ left: 0px;
+ top: 0px;
+ right: 0px;
+ bottom: 0px;
+}
+body > div {
+ position: absolute;
+ left: 400px; top: 10px; opacity: 1;
+}
+div > div {
+ position: relative;
+ display: inline-block;
+ left: 20px;
+ top: 20px;
+ width: 300px;
+ background-color: papayawhip;
+}
+</style>
+<body onload="runRepaintTest();">
+<div id="container">
+ <div>
+ There should only be one copy of this text.
+ </div>
+</div>
+
+<script src="resources/text-based-repaint.js"></script>
+<script>
+function repaintTest() {
+ var container = document.getElementById('container');
+ container.style.left = '0px';
+};
+</script>

Powered by Google App Engine
This is Rietveld 408576698