Simplify/remove plumbing from EventHandler

Several EventHandler methods had actual implementations in WebKit
but are just stubs or pass-throughs in Blink. This patch removes
such vestigial code.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149444 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[CSS Exclusions] polygon shape-inside layout fails

The firstIncludedIntervalLogicalTop() method's implementation relied on optimistic assumptions about floating point accuracy which, in rare cases, caused it to discard first-fit locations based on the intersection of the minLogicalIntervalTop offset edge and a polygon offset edge. Now: we do not verify that first-fit locations based on the intersection of an offset edge and the minLogicalIntervalTop offset edge are below the horizontal minLogicalIntervalTop line. They're essentially below the line "by definition".

Added the Basis enum and field to OffsetPolygonEdge to enable tracking what the geometry of an offset edge is based on. LineTop means that the offset edge is based on the top of the line. We're avoiding floating point problems when checking intersections with the offset edge based on minLogicalIntervalTop; offsetEdge.basis == LineTop.

BUG=232720

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149445 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Invalid block doesn't make declaration invalid.

BUG=140608

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149446 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Removed isGLES2Compliant, isResourceSafe, and isErrorGeneratedOnOutOfBoundsAccesses checks


BUG=236227

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149447 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove ChromeClient cruft

Many ChromeClientImpl overrides simply return true, false, or do
nothing. This patch plumbs that information back up to WebCore and
thus simplifies a bunch of code.

R=darin@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149448 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Round when converting percentage length to LayoutUnit

In minimumValueForLength we currently floor when converting from float
to LayoutUnit for percentage lengths. This can lead to differences in
width or height for elements using percentage lengths vs auto lengths.

BUG=234652
TEST=fast/sub-pixel/height-from-top-bottom.html
R=leviw@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149449 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add bitcoin: URI scheme to whitelist for registerProtocolHandler

The HTML5 spec just whitelisted the bitcoin: URI scheme for web app usage via registerProtocolHandler:

http://www.whatwg.org/specs/web-apps/current-work/#whitelisted-scheme

This CL updates chrome whitelist to reflect this

BUG=235441
TEST=webkit\tools\layout_tests\run_webkit_tests.sh LayoutTests/fast/dom/register-protocol-handler.html LayoutTests/fast/dom/unregister-protocol-handler.html

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149450 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove EFL-specific options from run-webkit-tests.

BUG=
R=dpranke@chromium.org, ojan@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149451 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove hackAroundLibXMLEntityBug and related code

We don't need the hackAroundLibXMLEntityBug hack anymore since the bug
it was working around was fixed in libxml 2.6.27 and Chromium compiles
with 2.7.7.

Crazy that eseidel added this hack 7 years ago and we still have it!
https://trac.webkit.org/changeset/15648

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149452 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Tweak jsbell@'s email address in bindings watchlist entry.

NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149453 bbb929c8-8fbe-4397-9dbb-9b2b20218538
FINALizing of the Node hierarchy.

A couple of the stable DOM/ microbenchmarks are perf positive on Linux clang:
- CloneNodes time reduced from 162.4 to 156.5 ms.
- CreateNodes time reduced from 113.9 to 104.9 ms.

(Don't get too excited; official Linux builds still use GCC, v4.6 as far as I
know, which does not support final yet. The GCC 4.6 scores are 170ms and 98ms.
Interesting that GCC + nofinal is faster on CreateNodes that clang + final,
and slower than clang + nofinal on CloneNodes).

TEST=wktry compiles
R=eseidel@chromium.org, esprehn@chromium.org

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

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