DevTools: [CodeMirror] release text editor autocompletion experiment

This patch moves autocompletion from experiments into settings.

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@155338 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix RenderBox layout overflow.

hasHorizontalLayoutOverflow and hasVerticalLayoutOverflow now simply compares the layout overflow rect to the no-overflow rect; this is both clearer and more correct than what exists now.

A small error in RenderBox::clearLayoutOverflow was also corrected; m_overflow should be cleared only if there was no visual overflow (note that the default visual overflow rect is the border box, not the no-overflow box).

BUG=254002

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

git-svn-id: svn://svn.chromium.org/blink/trunk@155339 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fire null Device Motion events only once.

This CL makes sure that the all-null events are fired only once. This lets the developers determine that no motion information can be provided and allows to save battery.

Summarized this CL also implements the following features:
- Unregister controller when receiving a null event.
- Don't fire controllers removed or added during event dispatch.
- Purge the controllers asap, i.e. not only on dispatch. This is also necessary to save battery in the case of Device Orientation events which fire only when substantially changed.

Layout-Tests:
- Tests for firing all null or partial null events.
- Tests no firing of listeners added during event dispatch.
- Tests firing last available event in case of multiple iframes.

BUG=263415

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

git-svn-id: svn://svn.chromium.org/blink/trunk@155340 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix inline-block baseline with overflow: <not visible>

They should align to the bottom of the margin box.
   The baseline of an 'inline-block' is the baseline of its last line
   box in the normal flow, unless it has either no in-flow line boxes or
   if its 'overflow' property has a computed value other than 'visible',
   in which case the baseline is the bottom margin edge.
(http://www.w3.org/TR/CSS21/visudet.html#line-height)

BUG=259083
R=ojan@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@155341 bbb929c8-8fbe-4397-9dbb-9b2b20218538
WebGLRenderingContext: Add more GLenum validation checks.

Adding validation checks for cullFace, depthFunc, frontFace.

BUG=266296
R=kbr@chromium.org, zmo@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@155342 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove hyphen dictionary from WebKitUnitTests isolate file (take 2).

We need to remove this before we can delete the chromium
code.

BUG=None
TBR=ojan@chromium.org

First landing attempt: https://codereview.chromium.org/21124014

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

git-svn-id: svn://svn.chromium.org/blink/trunk@155343 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Compositor hit test performance improvement

When computing touch hit rects, keep track of the rect for the parent element
in the render tree.  If a child lives in the same layer and it's rect
is entirely contained by the parent (fairly common in practice), then
we can skip it.

For the sites I've found with the most hit rects (from our main telemetry
page sets), this decreases hit rect computation time by about 20-60%.

BUG=263416

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

git-svn-id: svn://svn.chromium.org/blink/trunk@155344 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make CharacterData::insertData() / deleteData() / replaceData() arguments mandatory

As per the specification, CharacterData::insertData() / deleteData() / replaceData() arguments
should be mandatory:
http://dom.spec.whatwg.org/#characterdata

This behavior is consistent with IE10 and Firefox.

BUG=266813

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

git-svn-id: svn://svn.chromium.org/blink/trunk@155345 bbb929c8-8fbe-4397-9dbb-9b2b20218538
::part should be guarded by RuntimeEnabledFeatures::shadowDOMEnabled.

BUG=254020

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

git-svn-id: svn://svn.chromium.org/blink/trunk@155346 bbb929c8-8fbe-4397-9dbb-9b2b20218538
On request error, always fire events on the XMLHttpRequestUpload before the XMLHttpRequest

On request error, fire events on the XMLHttpRequestUpload object before the XMLHttpRequest
object as per the latest specification:
http://xhr.spec.whatwg.org/#request-error

IE10 behaves according to specification but blink was firing the events on the XMLHttpRequest
object BEFORE the XMLHttpRequestUpload object in case of 'network error' or 'abort error'.
Blink was however behaving according to specification in case of 'timeout error', which was
inconsistent.

BUG=264609

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

git-svn-id: svn://svn.chromium.org/blink/trunk@155347 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add assertions for CSSPrimitiveValue's m_value.valueID accessor.

This is a backport from WebKit r153401 from Sam Weinig reviewed by
Andreas Kling.

In addition of the backport the patch fixes a problem where a new
ASSERT was triggered. The text-align property can now take
<string> as a value (see http://www.w3.org/TR/css3-text/#text-align0)
and the parsing code seems to be partially implemented but the rendering
code does not yet take into account this case. The StyleBuilder was
asserting (thanks to the new ASSERTS) because we were trying to use
a CSSPrimitiveValue holding a string as one holding an ident. Needless
to say that the previous code was setting a buggy ETextAlign.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@155348 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Presubmit check for DevTools should remove the generated protocol_externs.js file

R=yurys@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@155349 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Auto-rebaseline for r155337

http://src.chromium.org/viewvc/blink?view=revision&revision=155337

BUG=252120
TBR=a.suchit@samsung.com

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

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