ASSERTION FAILED: !extraRowSpanningHeight in WebCore::RenderTableSection::distributeRowSpanHeightToRows

Spanning rows have only percent rows and total percent is less than 100 So only
percent portion of extraRowSpnnaingHeight is consumed in percent spanning rows and
remaining is left to distribute in non-spanning rows. But non-percent rows height
is zero So assertion is failing.

Now, whole extraRowSpanningHeight is distributed to percent spanning rows if non-percent
spanning rows height is zero.

R=jchaffraix@chromium.org
BUG=366579

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180417 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Implement translate() and translateSelf() in DOMMatrix.

The methods multiply a translation transformation on the current matrix.

The specification:
  http://dev.w3.org/fxtf/geometry/

Intent to Implement:
  https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/V_bJNtOg0oM

BUG=388780

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180418 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [CodeMirror] roll codemirror to v4.4.1

This rolls codemirror to 2b30a049fd, which is slightly
later than 4.4.1.

Layout test change: In codemirror version 4.4.1 the viewport update logic has changed and it no longer works if text editor offsetHeight is 0px. So creation of editor instance
for tests now setups default editor height of 100px.

R=apavlov
BUG=404120

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180419 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Don't allow native global functions in injected script.

R=yurys

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180420 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Implement scale*() methods in DOMMatrix.

The methods multiply a scale transformation on the current matrix.

The specification:
  http://dev.w3.org/fxtf/geometry/

Intent to Implement:
  https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/V_bJNtOg0oM

BUG=388780

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180421 bbb929c8-8fbe-4397-9dbb-9b2b20218538
ASSERT(!m_referencedNodes.size()) in AudioContext's destructor should be enabled in oilpan builds

Given that we clear the m_referencedNodes in AudioContext::uninitialize(),
the m_referencedNodes should be empty in both oilpan builds and non-oilpan builds.

BUG=340522

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180423 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert of Oilpan: Move more code of RenderObject destructors to destroy(). (patchset #1 of https://codereview.chromium.org/459353002/)

Reason for revert:
Caused crashes in ImageQualityController::highQualityRepaintTimerFired().


Original issue's description:
> Oilpan: Move more code of RenderObject destructors to destroy().
> 
> Like [1] and [2]. We should do it in general.
> 
> [1] http://src.chromium.org/viewvc/blink?view=revision&revision=180023
> [2] http://src.chromium.org/viewvc/blink?view=revision&revision=180029
> 
> BUG=398342
> 
> Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180046

TBR=oilpan-reviews@chromium.org,haraken@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=398342

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180424 bbb929c8-8fbe-4397-9dbb-9b2b20218538
remove DocumentParser::startParsing()

This CL removes |DocumentParser::startParsing()|.
This was only used from XMLDocumentParser, but it was a no-op.
The method initializes |m_state| to |ParsingState|, however the state should
already be in |ParsingState| from c-tor initializer.

BUG=404107

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180425 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Don't use ServiceWorkerContainer.unregister in service_worker_unregister_and_register

Another step toward removing the deprecated ServiceWorkerContainer.unregister.
service_worker_unregister_and_register is the biggest consumer of it in our
tests.

Now to unregister, the function first registers at that scope to get a
registration, then calls unregister on it. This only works with registrations
that cleanly install, which is the most common use case.

BUG=404064

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180426 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Cleanup namespace usage in Source/web/*.h

- Merge multiple |namespace blink| blocks
- Remove unnecessary blink:: prefix
- Other minor style fixes.

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180427 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: When copyStackUntilSafePointScope, allow more stack copying for ASan/LSan builds

1. This stack copying limit is a performance sanity check;
2. ASan/LSan use more space on the stack, and performance is not an issue for LSan/ASan. So, we allow more stack copying to avoid test case failed on these builds.

R=ager@chromium.org, oilpan-reviews@chromium.org
BUG=403273

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180428 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove CSSWillChange runtime flag (status=stable)

BUG=402536

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180429 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[ServiceWorker] Add WebServiceWorkerRequest::setBlob() to support body of FetchEvent

BUG=402387

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180430 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Merge acceleratedCompositingForFixedRootBackground into preferCompositingToLCDText

This removes the acceleratedCompositingForFixedRootBackground setting
and makes the WebSetting setter a no-op. Any code that checked for
this setting is replaced with a check for
preferCompositingToLCDTextEnabled instead.

R=abarth, vollick@chromium.org
BUG=365851

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180431 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add 'stream' to XMLHttpRequest response type.

Make XMLHttpRequest return a ReadableStream when the response type is set to
'stream'. This CL also modifies ReadableStream interface and implementation to
make it enable for XMLHttpRequest to use ReadableStream functionalities.

BUG=401396

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180432 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rename FullscreenElementStack to just Fullscreen

This class does more than just manage the fullscreen element stack, and
the shorter name makes the code more readable in many places. In the
renamed Fullscreen class, it also makes it more obvious when the actual
fullscreen element stack is being manipulated.

BUG=383813

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180433 bbb929c8-8fbe-4397-9dbb-9b2b20218538
ImageSource misc cleanup

Remove unused includes, simplify and clarify a comment, format the
frameBytesAtIndex() code like the rest of the code in this file.

BUG=None

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180434 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Sync fullscreen element removal with the spec (again)

http://fullscreen.spec.whatwg.org/#model
https://www.w3.org/Bugs/Public/show_bug.cgi?id=26568#c12
https://www.w3.org/Bugs/Public/show_bug.cgi?id=26568#c16

BUG=383813
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180435 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Regression: r170111 Tapping listbox items should fire change/input event

BUG=403184

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180436 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Use common converter for -webkit-column-[gap, width].

This patch adds support for the 'converter' attribute for a group of
semi-custom CSS properties handled by the 'apply_auto' macro. This gets
rid of the redundant 'compute_length=true/false' argument, plus the code
related to that.

It also makes it easier to add other things to the apply_auto-list which
can't be converted with computeLength or a primitive value mapping.

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

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