[DL] Add style recalc as one of the needed lifecycle states.

This patch adds style recalc and one of the stages that the display
lock prevents. Note that in order to reach the element during commit,
this also adds a "style needs recalc" to the element.

I'll replace these with smaller hammers after updating the layout tests,
and fixing any bugs that popup there.

R=chrishtr@chromium.org

Bug: 882663
Change-Id: Icf8ac9c285b5e340c38addca7483b419f34ebadc
Reviewed-on: https://chromium-review.googlesource.com/c/1340570
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: vmpstr <vmpstr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#609700}
7 files changed