Avoid updating layout in getComputedStyle(e).length

getComputedStyle(e).length should only return 0 if the element is not in
an active document meaning it has no RenderStyle.

BUG=413573

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182411 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Promises Panel for DevTools.

This depends on https://codereview.chromium.org/574353002/.

BUG=348919

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182413 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Roll forward r182405 with the test fixes incorporated

TBR=dgozman

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182414 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Change EllipsisBox::paint to use TextPainter.

This not only simplifies it, but it becomes more consistent with the usual text
style. In particular, ellipsis boxes gain print color adjustment (so white
ellipsis no longer disappears) and text strokes, when the style asks for them.

Two layout tests are added to demonstrate this. These fail without this patch.

The performance impact of moving textPaintingStyle to TextPainter.cpp seems
negligible.

BUG=241073

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

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