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

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

Powered by Google App Engine
This is Rietveld 408576698