Should paint border before background when bleedAvoidance is  BackgroundBleedBackgroundOverBorder.

This is a fixing patch for a regression caused by r158295:
http://src.chromium.org/viewvc/blink?revision=158295&view=revision

BUG=305216
TEST=fast/table/table-with-border-radius.html

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163220 bbb929c8-8fbe-4397-9dbb-9b2b20218538
File constructor understands lastModified.

This re-lands https://codereview.chromium.org/74213009/ with a
modification to the File constructor layout tests that should make it
not flake on XP.

BUG=164933

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163221 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[CSS Shapes] shape-inside rectangle layout can fail

Apply LayoutUnit::fromFloatCeil() to return value consistently in RectangleShape::firstIncludedIntervalLogicalTop().

BUG=323696

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163222 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Web Animations CSS: Add a couple of assertions to CSSAnimations for clarity

R=dstockwell

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163223 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Removed passwordShouldAutocomplete from WebPasswordFormData. Now that we are
ignoring autocomplete='off', this property is no longer used and is irrelevant.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163224 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[XHR] Clear m_receivedLength in clearResponse()

m_receivedLength was cleared in clearVariablesForLoading() since it was
never used after abort/finish of loading. But it is now used also for
generating ProgressEvent instances which are dispatched on error which
happens at the end of each algorithm.

For ProgressEvent generation, m_receivedLength is checked together with
m_response. It's more appropriate to clear it at the same time as
m_response.

BUG=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163225 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make FontCache forget about Font.

Font is a higher-level abstraction and FontCache shouldn't
know about it.

BUG=319475
R=eae,eseidel,ksakamoto@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163226 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Implement missing LocalObject functions.

LocalObject is declared to extend RemoteObject, but doesn't implement
callFunction and callFunctionJSON.

BUG=144646

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163227 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make PageAllocator generic and enhance it to support arbitrary alignments.

PageAllocator no longer refers to "super pages", that is a concept specific to
PartitionAlloc.
The PageAllocator API is simplified to handle randomization automatically if
the client passes a NULL address.
The code to handle aligned allocations was genercized to work on Windows and
also support arbitrary alignments (this will be needed in the next CL in the
series). The new code also uses a simpler and easy to understand strategy.
Finally, make the MappingCollision test run on all platforms.

There should be no functional changes because the super page size remains 64KB.

BUG=324960

Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=163125

R=tsepez@chromium.org

Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=163198

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163228 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix duplicate/missing entries in core.gypi.

This is a result of a bad merge in r162052.

R=abarth
BUG=303332

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163229 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Web Animations: Clarify logic for applying animated properties with matched properties cache

This change clarifies the logic in StyleResolver::applyMatchedProperties() to
make clear the three cases in which we need to apply animated properties when
using the matched properties cache. Note that
StyleResolver::applyAnimatedProperties() already null-checks the animating
element. This will simplify an upcoming change for pseudo elements in
https://codereview.chromium.org/76033002

Also rename some method parameters from 'e' to 'element' for clarity.

No functional change.

R=timloh@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163230 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Re-adds the loop that enforces that line breaks never point at empty inlines that was originally added in https://codereview.chromium.org/42803002. This
fixes the regression introduced by the refactor in
https://codereview.chromium.org/66043002. Also fixes the broken unit test that
ought to have caught this regression in the first place :-(

BUG=322937

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163231 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[webcrypto] order Key.usages alphabetically.

This isn't described by the WebCrypto spec, however is planned in a forthcoming update (was discussed during TPAC: https://www.w3.org/Bugs/Public/show_bug.cgi?id=22548#c1)

BUG=245025

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163232 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[webcrypto] Mark some methods in public API as const.

BUG=245025

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

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