Commit ded541f9 authored by Mason Freed's avatar Mason Freed Committed by Chromium LUCI CQ

Add more text to test to make sure it still scrolls at dsf>1

This test makes sure highlighting text in a disabled control still
scrolls. At device scale factor = 1.5, the entire text of the
control almost fits in the field. This CL adds more text. It also
changes the text of the test to indicate what should happen, not
what shouldn't happen.

Fixed: 1101178
Change-Id: I15e831bc2bf2d027f4c66e600fae262bdead2bae
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2594311Reviewed-by: default avatarStephen Chenney <schenney@chromium.org>
Commit-Queue: Mason Freed <masonfreed@chromium.org>
Cr-Commit-Position: refs/heads/master@{#837824}
parent f5bbb66f
...@@ -38,9 +38,9 @@ ...@@ -38,9 +38,9 @@
</script> </script>
</head> </head>
<body onload="test()"> <body onload="test()">
<p>Test for <a href=http://bugs.webkit.org/show_bug.cgi?id=11534">bug 11534</a>.</p> <p>Test for <a href="http://bugs.webkit.org/show_bug.cgi?id=11534">bug 11534</a>.</p>
<p>Readonly text fields don't scroll when selecting content.</p> <p>Readonly text fields should still scroll when selecting content.</p>
<input id="tf" readonly value="abcdefghijklmnopqrstuvwxyz"></input> <input id="tf" readonly value="abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz"></input>
<div id="res"></div> <div id="res"></div>
</body> </body>
</html> </html>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment