Index: third_party/WebKit/ManualTests/overflow-on-text-beside-form-element.html |
diff --git a/third_party/WebKit/ManualTests/overflow-on-text-beside-form-element.html b/third_party/WebKit/ManualTests/overflow-on-text-beside-form-element.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7bc11e15d39096b96e037b91140b5a4941715348 |
--- /dev/null |
+++ b/third_party/WebKit/ManualTests/overflow-on-text-beside-form-element.html |
@@ -0,0 +1,14 @@ |
+<!DOCTYPE html> |
+<meta charset=utf8> |
+<p>crbug.com/667245: Overflow on text beside a form element should get repainted. When clicking on the checkbox there should be no artefact's left from the black rectangle and it should stay the same size (with the bug a row of pixels at the top and bottom were getting lost).</p> |
+<div id="test" style="font-size: 35px;"> |
+ <input type="checkbox" id="checkbox" checked=true onclick="toggle();"> █ |
+</div> |
+<script> |
+function toggle() |
+{ |
+ var node = document.getElementById("test"); |
+ node.style.color == 'rgb(255, 255, 255)' ? node.style.color = 'rgb(0, 0, 0)' : node.style.color = 'rgb(255, 255, 255)'; |
+} |
+</script> |
+ |