Add more offsetLeft/offsetTop for tests empty/space inline elements

Besides the test for empty inline elements, this CL also adds tests
for inline elements containing spaces that are leading/trailing of the
lines, to test that offsetLeft/offsetTop still works regardless of
space collapsing.

Also rename the tests to follow the common naming convention.

Bug: 953479
Change-Id: I1c447e205b48b7cc54b358e6e9c66dced05f4684
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1572538
Reviewed-by: Koji Ishii <kojii@chromium.org>
Reviewed-by: Xiaocheng Hu <xiaochengh@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Auto-Submit: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#652167}
7 files changed