Merge Document::recalcStyle into updateStyleIfNeeded

No one should call recalcStyle directly, especially not with arbitrary
StyleRecalcChange values. This patch merges it into updateStyleIfNeeded
and switches callers to using the normal setNeedsStyleRecalc() and
updateStyleIfNeeded() or updateLayout() API.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166897 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove Unused measure DocumentTypeEntities

Intent to Remove:
https://groups.google.com/a/chromium.org/forum/?pli=1#!topic/blink-dev/ze27T2M682w

BUG=342302

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166898 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove HTMLMediaElement::pageConsentRequiredForLoad()

It is unused.

BUG=342339

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166899 bbb929c8-8fbe-4397-9dbb-9b2b20218538
<dialog>: Non-modals are no longer magically positioned

As per spec change: http://html5.org/r/8457
Now <dialog> is centered and promoted to the top layer only in showModal().

Existing tests are modified to meet the change. In
particular I revamped non-anchored-dialog-positioning.html
not just for the new change but also to be more readable.

BUG=332133

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

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