table-caption stride over pages.

In normal block layout, pagination struts are propagated from child
blocks to parent blocks in order to indicate that an object needs to
push to the next page. Table captions were setting a pagination strut
for a push, but this strut was not being used.

Made sure RenderTable applies the caption's pagination strut when
placing the caption.

Added strut of a RenderCaption to RenderCaption's position.

BUG=329421

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

git-svn-id: svn://svn.chromium.org/blink/trunk@164742 bbb929c8-8fbe-4397-9dbb-9b2b20218538
WebSocketHandshake doesn't need to be able to accept ExecutionContext

The only user is MainThreadWebSocketChannel and always Document is passed.

BUG=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@164743 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Show better CORS error message when status code is not set

When no response is received for a CORS request, Blink shows a misleading
message saying "No Access-Control-Allow-Origin header is present".
This change makes Blink say that "no valid response is received".

BUG=327834

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

git-svn-id: svn://svn.chromium.org/blink/trunk@164744 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Moving Text Simple/Complex Path prefix from Font.cpp to new File

Moving Text/String Path emum to new file "TextPath.h", this is
done inline with the comments given in "https://codereview.chromium.org/111833006/"
which required breaking commit to two.

BUG=330832

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

git-svn-id: svn://svn.chromium.org/blink/trunk@164745 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Test case for when the XSS vector is in the path.

We don't cover this very well at the moment, assuming instead that
the path portion of the URL is handled in the same way as the query
args (and in fact, the code doesn't break down the URL to distinguish
these in any way so this seemed reasonable).

BUG=330972

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

git-svn-id: svn://svn.chromium.org/blink/trunk@164746 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Split EventContext.{cpp,h} into {Node,TouchEvent,TreeScope}EventContext.{cpp,h} files.

BUG=329445

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

git-svn-id: svn://svn.chromium.org/blink/trunk@164747 bbb929c8-8fbe-4397-9dbb-9b2b20218538
V8WindowShell::setSecurityToken() - pass around SecurityOrigin.

In some case Frame::m_document isn't available for setSecurityToken(),
This change passes Document pointer to setSecurityToken(), so that
V8WindowShell doesn't need to ask Frame::document().

TEST=viewsource-1.html
BUG=331061
R=abarth,eseidel

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

git-svn-id: svn://svn.chromium.org/blink/trunk@164748 bbb929c8-8fbe-4397-9dbb-9b2b20218538
XSSAuditor takes post body from current request, not the original request.

In the face of a redirect, the information in the original body can't be
reflected in the final page, when we redirect from post to get, since the
get has no body.  And for a 307-style redirect from post to post, the body
will appear in the final post.

This avoids some false positives and also the possibility of some info
leaks from the original post.

BUG=331725
R=abarth@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@164749 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove flaky line for fast/line-grid/line-align-left-edges.html.

It no longer times out on Linux.

BUG=313659
TBR=yurys@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@164750 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IDL compiler: Compute ancestors in compute_dependencies.py

The ancestor chain is dependency information, since we treat interfaces
that inherit from these 4 interfaces differently:
AudioBuffer, Document, EventTarget, Node

This stores the ancestor chain in interfaces_info, so the Python IDL
compiler can handle these without having to depend on the ancestor file
itself.

Will followup with 4+ Python IDL compiler CLs to handle
each of the interfaces.

(This does not store the extended attributes, which are a tricky issue
 that we are discussing separately.)

Also some refactoring to simplify the functions and correct some typos.

BUG=239771
R=haraken

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

git-svn-id: svn://svn.chromium.org/blink/trunk@164751 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IDL compiler: Window type attributes

Window.idl has [ImplementedAs], so we needed real IDL interfaces_info
to implement this.
There's also a special type conversion on the setter, which this adds.

BUG=239771
R=haraken
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@164752 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[import] Refactoring: Renaming and Inlining

- Renamed BlockingSate -> State
- Renamed HTMLImport::Unblocked -> HTMLImport::Ready
- Inlined HTMLImportLoader::isLoaded()
- Tweaked HTMLImportLoader::isDone() to hasError()
- Killed  HTMLImportLoader::isProcessing()

More simplification will follow.

TEST=none
BUG=none
R=dominicc,dglazkov

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

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