Remove Pasteboard::clear, since it is a no-op.

As the comment indicated, this is taken care of on the Chromium side.

BUG=276565

Review URL: https://chromiumcodereview.appspot.com/23173008

git-svn-id: svn://svn.chromium.org/blink/trunk@156523 bbb929c8-8fbe-4397-9dbb-9b2b20218538
RenderListBox should scroll to the selection option upon creation

When a <select multiple> attaches it doesn't scroll to the selected option,
instead options expect to be able to call scrollToSelection() inside
HTMLOptionElement::insertedInto which only works if the select already has
a renderer. Instead we should just always scroll to the selected option
when the RenderListBox is created.

This makes us match Firefox and old Opera behavior as well and gives a much
better user experience since now when a <select> is reattached() it'll scroll
down to the selected option instead of starting at the top.

BUG=276687

Review URL: https://chromiumcodereview.appspot.com/22914025

git-svn-id: svn://svn.chromium.org/blink/trunk@156524 bbb929c8-8fbe-4397-9dbb-9b2b20218538
fast/forms/autofocus-in-sandbox-with-allow-scripts.html should wait for onload

autofocus doesn't happen until onload once the parser lazy attaches, so
alert(document.activeElement) in the iframe in this test doesn't work. Instead
do the alert inside onload.

It turns out making the parser lazy attach makes our autofocus behavior match
other browsers as well (moving it to onload).

BUG=276687
R=ojan@chromium.org

Review URL: https://codereview.chromium.org/23332014

git-svn-id: svn://svn.chromium.org/blink/trunk@156525 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix style errors in InputType.cpp.

This is a preparation to split InputType into two classes.

BUG=274205
TEST=none; no behavior changes.
R=keishi@chromium.org, yosin@chromium.org

Review URL: https://codereview.chromium.org/23279016

git-svn-id: svn://svn.chromium.org/blink/trunk@156526 bbb929c8-8fbe-4397-9dbb-9b2b20218538