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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/canvas-resize-no-full-invalidation-as-text.html

Issue 1366763002: Text expectations of paint/invalidation/spv2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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: third_party/WebKit/LayoutTests/paint/invalidation/spv2/canvas-resize-no-full-invalidation-as-text.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/spv2/canvas-resize-no-full-invalidation.html b/third_party/WebKit/LayoutTests/paint/invalidation/spv2/canvas-resize-no-full-invalidation-as-text.html
similarity index 80%
copy from third_party/WebKit/LayoutTests/paint/invalidation/spv2/canvas-resize-no-full-invalidation.html
copy to third_party/WebKit/LayoutTests/paint/invalidation/spv2/canvas-resize-no-full-invalidation-as-text.html
index f0c1a7bc92634adcb1ce3452404f21d9a8f00940..58bd5be7a8640d9d1f5ecb98f6483fe8cb4bd397 100644
--- a/third_party/WebKit/LayoutTests/paint/invalidation/spv2/canvas-resize-no-full-invalidation.html
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/spv2/canvas-resize-no-full-invalidation-as-text.html
@@ -8,9 +8,6 @@ canvas {
top: 50px;
left: 50px;
/* object-fit and object-position make the content of the canvas not affected
- window.expectedPaintInvalidationObjects = [
- "LayoutHTMLCanvas (positioned) CANVAS id='canvas'",
- ];
by the resize in paintInvalidationTest(). */
object-fit: contain;
object-position: 0 0;
@@ -22,9 +19,8 @@ Tests paint invalidation of canvas when it's resized which doesn't affect its co
<script src="resources/paint-invalidation-test.js"></script>
<script>
- window.expectedPaintInvalidationObjects = [
- "LayoutHTMLCanvas (positioned) CANVAS id='canvas'",
- ];
+if (window.testRunner)
+ testRunner.dumpAsText();
function paintInvalidationTest() {
document.getElementById('canvas').style.width = '500px';
}

Powered by Google App Engine
This is Rietveld 408576698