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

Unified Diff: LayoutTests/fast/repaint/change-text-content-and-background-color.html

Issue 298973011: Fix under-repaint in non-RAL mode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: NeedsRebaseline on mac Created 6 years, 7 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/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">
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/repaint/change-text-content-and-background-color-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698