Chromium Code Reviews| Index: LayoutTests/fast/forms/relayout-shifts-inner-editor-expected.html |
| diff --git a/LayoutTests/fast/forms/relayout-shifts-inner-editor-expected.html b/LayoutTests/fast/forms/relayout-shifts-inner-editor-expected.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..95823ba2ef2e11fb785a63543722575b501c4ef5 |
| --- /dev/null |
| +++ b/LayoutTests/fast/forms/relayout-shifts-inner-editor-expected.html |
| @@ -0,0 +1,16 @@ |
| +<!DOCTYPE html> |
| +<style> |
| +input { |
| + position: absolute; |
| + top: 0; |
| + left: 30px; |
| + height: 50px; |
| + width: 200px; |
| +} |
| +</style> |
| +<div>This change checks that the caret in the >input< below doesn't shift out of it after several layouts.</div> |
| +<div>This test has passed if the caret is centered <b>inside</b> the >input<</div> |
| +<input id="input" type="text" autofocus> |
| +<script> |
| +input.focus(); |
| +</script> |