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

Unified Diff: LayoutTests/paint/invalidation/spv2/textarea-resize-property-change-expected.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/textarea-resize-property-change-expected.html
diff --git a/LayoutTests/fast/repaint/textarea-resize-property-change.html b/LayoutTests/paint/invalidation/spv2/textarea-resize-property-change-expected.html
similarity index 55%
copy from LayoutTests/fast/repaint/textarea-resize-property-change.html
copy to LayoutTests/paint/invalidation/spv2/textarea-resize-property-change-expected.html
index d9f4dce24e38ae0a2269d926c904e37de0688151..ebc705ea4c9d2961f9fa30f9c506b59f8e065193 100644
--- a/LayoutTests/fast/repaint/textarea-resize-property-change.html
+++ b/LayoutTests/paint/invalidation/spv2/textarea-resize-property-change-expected.html
@@ -1,11 +1,4 @@
<!DOCTYPE html>
-<script src="resources/text-based-repaint.js"></script>
-<script>
-function repaintTest() {
- document.getElementById('textarea').style.resize = 'auto';
-}
-onload = runRepaintTest;
-</script>
Tests paint invalidation when a textarea's resize property changed.
Passes if the resize handle is repainted correctly.
<textarea id="textarea" style="
@@ -14,5 +7,5 @@ Passes if the resize handle is repainted correctly.
left: 0;
width: 100px;
height: 100px;
- resize: none">
+ resize: auto">
</textarea>

Powered by Google App Engine
This is Rietveld 408576698