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

Unified Diff: LayoutTests/paint/invalidation/spv2/fixed-pos-inside-composited-intermediate-layer.html

Issue 1302183007: Convert some text-based-repaint tests for spv2 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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: LayoutTests/paint/invalidation/spv2/fixed-pos-inside-composited-intermediate-layer.html
diff --git a/LayoutTests/compositing/repaint/fixed-pos-inside-composited-intermediate-layer.html b/LayoutTests/paint/invalidation/spv2/fixed-pos-inside-composited-intermediate-layer.html
similarity index 79%
copy from LayoutTests/compositing/repaint/fixed-pos-inside-composited-intermediate-layer.html
copy to LayoutTests/paint/invalidation/spv2/fixed-pos-inside-composited-intermediate-layer.html
index f8d1c420d22357055b2a5d1530bb7ccc63cf0c0f..af6a4fed055779db56bdad4d88cfeeea1e67d096 100644
--- a/LayoutTests/compositing/repaint/fixed-pos-inside-composited-intermediate-layer.html
+++ b/LayoutTests/paint/invalidation/spv2/fixed-pos-inside-composited-intermediate-layer.html
@@ -1,8 +1,9 @@
+<!-- Based on compositing/repaint/fixed-pos-inside-composited-intermediate-layer.html -->
<!DOCTYPE html>
<html>
<head>
-<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
+<script src="resources/paint-invalidation-test.js"></script>
<style>
.compositedBehind {
@@ -39,7 +40,10 @@
internals.settings.setPreferCompositingToLCDTextEnabled(false);
}
- function repaintTest() {
+ window.expectedPaintInvalidationObjects = [
+ "LayoutBlockFlow (positioned) DIV class='fixed'",
+ ];
+ function paintInvalidationTest() {
window.scrollTo(0, 100);
}
</script>
@@ -48,7 +52,7 @@
-<body onload="runRepaintTest()">
+<body onload="runPaintInvalidationTest()">
<!--
Among other duplicate bugs: https://code.google.com/p/chromium/issues/detail?id=128375
A non-composited fixed-position element can get grouped into a composited container.

Powered by Google App Engine
This is Rietveld 408576698