ASSERT on renderer lifecycle

This CL adds document lifecycle assertions in for RenderObject::createObject,
RnederObject::addChild and RenderObject::removeChild.

In all cases we assert that we are currently in the InRecalcStyle state.

BUG=368052

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

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

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

BUG=361729
TBR=loislo@chromium.org

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

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

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

BUG=361729
TBR=loislo@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173679 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove setNeedsRecalcStyle() in Document::didLoadAllImports().

r173248 added it but there is a performance concern.
This change repalces it with a modest alternative that does same as what didRemoveAllPendingStylesheet() has been doing.

This change also removed 500ms sleep from a test that was added at r173248.

TEST=none
R=ojan@chromium.org,esprehn@chromium.org
BUG=367386

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

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

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

BUG=361729
TBR=loislo@chromium.org

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

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

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

TBR=esprehn@chromium.org

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

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

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

BUG=368078
TBR=reveman@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173683 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert "Web Animations: Timeline should not advance during task execution"
Revert "Web Animations: Fix error in clock update logic and re-enable timeline-time test"

This reverts r173583 and r173609. r173583 causes 
ImageResourceTest.MultipartImage to fail on Android debug, e.g.,
http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered_tests/builds/152167/steps/webkit_unit_tests/logs/stdio

TBR=dstockwell@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173685 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Regression(r169412): Fix serialization of frame / iframe

The frame / iframe src attribute value was not correctly updated upon
serializing because HTMLFrameElementBase::hasLegalLinkAttribute() was returning
true if the attribute name was 'href' instead of 'src'. The attribute was thus
not detected as a link attribute and its value was not correctly updated with
the path to the serialized frame.

R=tkent@chromium.org, adamk@chromium.org
BUG=370772
TEST=WebPageNewSerializeTest.SubFrameSerialization

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

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

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

BUG=370667
TBR=abarth@chromium.org

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

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