Don't force display:inline-table/table on table elements when in quirks mode

Currently in quirks mode we force table elements to display:inline-table
or table. This current action is not supported in quirks spec and is
inconsistent with Gecko. This leads to elements with display set to
lose that information. This patch fixes that and allows those elements
with display to retain this state even in quirks mode.

BUG=369979

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

Cr-Commit-Position: refs/heads/master@{#370382}
12 files changed