Remove x-webkit-speech implementation

The API has been considered deprecated for some time, was disabled in
https://src.chromium.org/viewvc/blink?revision=171373&view=revision

BUG=223198

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173329 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add use counters for VTTCue use/rendering and its attributes

Having some data about how often WebVTT is used/rendered and which cue
attributes are mostly commonly used could prove valuable in spec
discussions, and is if nothing else interesting to know.

BUG=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173330 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make createEvent do case-insensitive matches for certain interface values as specified here:
http://dom.spec.whatwg.org/#dom-document-createevent

Update the python generator scripts for this and add tests to create-event.html.

This behavior matches Firefox and IE11.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173331 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Treat error pages of initial iframe loads as initial iframe loads.

This also allows for getting rid of a FrameLoaderStateMachine state
after switching Document::finishedParsing's check to
committedFirstRealDocumentLoad.

Amend multiple-back-forward-entries.html to test this case more
and fix its expectations. The old expectations were missing the
child frame's history item.

BUG=368960

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173332 bbb929c8-8fbe-4397-9dbb-9b2b20218538
iPhone 5c marketing site repaints incorrectly with layer squashing

In the PaintsIntoGroupedBacking branch of
RenderLayerRepainter::setBackingNeedsRepaintInRect, we can
mistakenly use LayoutState if the transformedAncestor of the
RenderLayer is actually the RenderView. Unforunately,
LayoutState is not yet smart enough to handle repaints into
compositing containers, which means we'll compute the wrong
repaint rect for the squashed layer.

This CL adds a LayoutStateDisabler to this code path so that
we'll explicitly not use LayoutState. In the future, if we
make LayoutState smart enough to handle composited repaints,
we'll need to remove this disabler.

BUG=369478
R=leviw@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173333 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove HTMLAnchorElement::create overload

This overload is not needed since we always call the other create().

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173335 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Re-establish ASSERTS that were dropped in  crrev.com/180363004. Add RELEASE_ASSERT to Dispose method, 
which shouldn't be called with an empty value.

(This shouldn't happen; but it would explain the stack trace in
the referenced issue.)

R=jochen@chromium.org
BUG=368095

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173336 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Switch WebIDBDatabase::put over to the version with blobs.
Also, remove the shims in the other direction [WebIDBCallbacks], now that the Chromium side has landed.

BUG=108012

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173337 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Replace SVGDocument by XMLDocument since it is removed from SVG2. In order to achieve this move its functionality to SVGDocumentExtensions and adjust the call sites. XMLDocument now knows how to create a SVG Document and getSVGDocument returns a Document. Finally mark XMLDocument as final.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173338 bbb929c8-8fbe-4397-9dbb-9b2b20218538
HTMLTableSectionElement.insertRow()'s argument default value should be -1

HTMLTableSectionElement.insertRow()'s argument default value should be -1, not
0, as per the specification:
http://www.whatwg.org/specs/web-apps/current-work/multipage/tabular-data.html#the-tbody-element

The new behavior matches the one of Firefox 29 and IE11.

This CL also cleans up the implementation of HTMLTableSectionElement::insertRow()
a bit.

R=arv@chromium.org, tkent@chromium.org
BUG=369803
TEST=fast/dom/HTMLTableSectionElement/insertRow-default-argument.html

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173339 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Change SourceBuffer.appendBuffer() to handle neutered buffers the same way as empty ones.

BUG=367634
TESTS=Test cases added to LayoutTests/http/tests/media/media-source/mediasource-append-buffer.html

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173340 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove the PrefixedSpeechAttribute UseCounter and its deprecation message

BUG=223198

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173341 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Factor CompositingLayerAssigner out of RenderLayerCompositor

This CL moves the algorithm for assigning layers to backings out of
RenderLayerCompositor and into an algorithm object named
CompositingLayerAssigner. Moving separating this code makes it easier to
understand how this algorithm works.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173342 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move InvalidationGuard/InstanceUpdateBlocker out of SVGElementInstance

Move InvalidationGuard/InstanceUpdateBlocker out of SVGElementInstance and
rename InvalidationGuard to InstanceInvalidationGuard.

BUG=313438

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173343 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Limit synthetic bold/italic webfonts workaround to GDI skia backend

Limit the workaround for synthetic bold and/or italic webfonts to the
Skia GDI backend as it does not apply to the DirectWrite backend.

This ensures that synthetic bold and/or italic webfonts render correctly
regardless of skia font backend on Windows.

BUG=333430
R=dglazkov@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173344 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Inline RenderLayerCompositor::canRender3DTransforms

This function is the same as RenderLayerCompositor::hasAcceleratedCompositing.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173345 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add a Blink test that observing the global throws

R=rafaelw@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173346 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Re-enable fast/frames/location-observe-callback-crash.html

It was disabled when Object.observe itself was disabled, but
now that Object.observe is back on this test should be run.

TBR=rafaelw@chromium.org
BUG=367817

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173347 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Mark when we may have been invalidated to early out on repaintTreeAfterLayout.

This CL adds in a flag to mark if we may have been invalidated. If the flag is
set we will propagate the flag up to our parents. This allows us to early
out of the repaintTreeAfterLayout walk if at any point the node does not
need to be invalidated.

This improves the performance of the
large-table-with-collapsed-borders-and-colspans-wider-than-table.html test
by ~17% and removes some over-invalidations that were output.

I visually verified the items in TestExpectations to make sure they matched.

BUG=320139, 368739

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173348 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[CSS Grid Layout] Use GridResolvedPosition in a few more places

BUG=258258

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

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