Regression(r164102): CSS Selector queries on duplicate ids match non-descendant elements

After r164102, CSS Selector queries on duplicate ids match non-descendant
elements. It returns ALL elements with the given identifier, without checking
that these are descendant of the scope Element.

This CL adds the missing scope check.

BUG=331692
TEST=fast/dom/SelectorAPI/duplicate-id-scope.html
R=esprehn, abarth

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

git-svn-id: svn://svn.chromium.org/blink/trunk@164484 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rename NodeRenderingContext to RenderTreeBuilder

NodeRenderingContext is only used during render tree construction so
rename it for that purpose. I also removed previousRenderer() since
nothing uses it and made all the methods private except the two
create methods which are used by Element and Text.

Finally I added a bunch of ASSERTs to the constructor which will
ensure that this is only used in the right places.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@164485 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove #if ENABLE(NAVIGATOR_CONTENT_UTILS) from blink

r163413 and r239691 have supported a runtime enable flag for the navigator content utils.
So, ENABLE(NAVIGATOR_CONTENT_UTILS) doesn't need to be exist anymore.

BUG=N/A

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

git-svn-id: svn://svn.chromium.org/blink/trunk@164486 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IDL compiler: sync Python to r164451

Python side to:
Remove raw DOM templates from V8 bindings
https://codereview.chromium.org/104873018

BUG=239771
TBR=haraken
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@164487 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IDL compiler: sync Python to r164407

Python side to:
Remove custom signatures from V8 bindings
https://codereview.chromium.org/109473008/

BUG=239771
TBR=haraken
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@164488 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DOM serialization: proper quoting for < and > in HTML attribute values.

< and > should not be quoted in HTML attributes. Internet Explorer and
Firefox do not quote them. Safari (still) does. The DOM serialization
and parsing specification defers to the HTML specification, which says
that < and > should not be quoted.
http://www.w3.org/html/wg/drafts/html/master/syntax.html#attribute's-serialized-name

In XML attributes, < must be quoted. > does not need to be quoted, but
all browsers currently quote both < and > in XML, so we do the same. The
DOM serialization and parsing specification says neither should be
quoted, but there is an outstanding bug, because not quoting < produces
invalid XML.
https://dvcs.w3.org/hg/innerhtml/raw-file/tip/index.html#dfn-concept-serialize-xml-attributes
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24174

This change makes us not quote < and > in HTML attributes, and slightly
expands the test that ensures we quote < and > in XML attributes.

BUG=330949

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

git-svn-id: svn://svn.chromium.org/blink/trunk@164489 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Copy WebFrameImpl.{cpp,h} to TextFinder.{cpp,h}

This patch copies Source/web/WebFrameImpl.{cpp,h} into Source/web/TextFinder.{cpp,h} for decoupling WebFrameImpl and text finder.

Another patch will complete decoupling.

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@164490 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix a wrong code example in a comment.

We should not add "void" to destructors.

BUG=
NOTRY=true

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

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