Index: LayoutTests/fast/repaint/change-text-content-and-background-color.html |
diff --git a/LayoutTests/fast/repaint/change-text-content-and-background-color.html b/LayoutTests/fast/repaint/change-text-content-and-background-color.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..bf114faf5b522e58a9e1d4c648cf18e67f362096 |
--- /dev/null |
+++ b/LayoutTests/fast/repaint/change-text-content-and-background-color.html |
@@ -0,0 +1,21 @@ |
+<!DOCTYPE html> |
+<script src="resources/text-based-repaint.js"></script> |
+<script> |
+function repaintTest() |
+{ |
+ var input = document.getElementById('input'); |
+ input.style.backgroundColor = 'green'; |
+ input.value = 'NEW'; |
+} |
+window.onload = runRepaintTest; |
+</script> |
+<style> |
+input { |
+ background-color: red; |
+ position: absolute; |
+ font-size: 20px; |
+ padding: 20px; |
+ width: 200px; |
+} |
+</style> |
+<input id="input" type="text" value="OLD"> |