Simplify Node::invalidateNodeListCachesInAncestors()'s code a bit

Simplify Node::invalidateNodeListCachesInAncestors()'s code a bit by re-using
Node::nodeLists() getter instead of duplicating its implementation.

R=adamk, abarth

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166786 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make "embedder custom elements" on by default.

This isn't a web-visible feature. It's used by C++ embedders to
provide bespoke elements, even if Custom Elements aren't
enabled. Since Custom Elements are enabled by default, it makes sense
to simply enable embedder elements by default too. Embedder elements
don't do much unless you register an element anyway.

BUG=274833

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166787 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[FastTextAutosizer] Fix crash when list items don't have markers

It's possible for a list item to not have a marker (e.g., using
list-style-type: none;) but FastTextAutosizer::inflateListItem
assumes a list item's marker exists. This patch adds a check that the
list item's marker exists in RenderListItem::layout before calling
the fast text autosizer. Similar checks can be found throughout
RenderListItem.

An existing test has been modified to check for this case.

BUG=342247

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166788 bbb929c8-8fbe-4397-9dbb-9b2b20218538
autofill: clear suggested value in <textarea> when setting actual value

BUG=341437

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166789 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Update WATCHLIST entries for pdr.

This patch changes the pdr@google SVG entry to pdr@chromium, and adds
pdr to the rendering watchlist.

NOTRY=true
TBR=eseidel

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166790 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix WorkerGlobalScopePerformance thread state mismatch asserts.

A handful of worker tests (in webexposed/ and http/tests/w3c/webperf/)
currently assert and fail.

The Persistent reference to WorkerPerformance from
WorkerGlobalScopePerformance requires that the worker thread looks up
and uses the current thread state rather than that of the main thread.
That state is associated with the Persistent object when created.

R=
BUG=340522

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166791 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add compositing states to DocumentLifecycle state machine

This CL adds two compositing states to the DocumentLifecycle state machine.
This state machine will help us avoid introducing new chicken-and-egg
relationships between style, layout, and compositing state.

BUG=341627

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

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