Update scrollbar layer opacity when scrollbar theme changes

If the scrollbar theme changes from being opaque to non-opaque (as happen
when unplugging an external mouse on Mac), a situation results where the
scrollbar layers think they were opaque (because they were when they were
created), but the content that they draw assumes that it is not opaque, and
black scrollbars result.

BUG=383205

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178421 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [Console] fix certain case that forces console to shake

Currently, ViewportControl uses clientHeight of its main element to
estimate visible viewport height. This falls shortly under the following
scenario:
1. ViewportControl has its "stickToBottom" flag set to true and just
scrolled to bottom as its "refresh" method got executed. Note, that
this refresh has scheduled one more scroll as it "scrolls to bottom".
2. The "refresh" method call figured out that there's a necessity to
render one more element in the beginning of viewport, and this new
element happen to add a horizontal scroll to the console.
3. Another "refresh" method gets executed (it was scheduled in #1)
4. The method figures out that client height changed (due to added
horizontal scroller), thus first element not needed any more and
gets removed from viewport.
5. Goto #1.

This change migrates from using clientHeight to using offsetHeight
which doesn't change as horizontal scroller gets added or removed in
result of viewport rendering.

BUG=387465

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178422 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add a test which confirms a regression about input element focusing.

This test confirms that changing an input's value on blur event does not cause
 re-focus.

BUG=393168

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178423 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove WebNode::getElementsByTagName.

It's not used.

BUG=394234

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

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