[omnibox chrome:omnibox]: Fix table overflowing.
Certain table cells contain children div's with negative right-margins as a workaround for the lack of flex-gap-support (see comments in omnibox_output.js for more details). When the direct child of a table cell has negative margins, the child overflows the right side of the cell causing: 1) The overflowing cell's scrollbar will overlay adjacent cells. 2) If the overflowing cell is in the rightmost table column, it overflows the table as well, causing the page to receive a horizontal scroll bar. To avoid these issues, this CL nests div's with negative margins inside 'dummy' parent div's. Bug: 891303 Change-Id: I43e2156448c2f5c58a3a4d67063b008f2d90f913 Reviewed-on: https://chromium-review.googlesource.com/c/1491993Reviewed-by:Tommy Li <tommycli@chromium.org> Reviewed-by:
manuk hovanesian <manukh@chromium.org> Commit-Queue: manuk hovanesian <manukh@chromium.org> Cr-Commit-Position: refs/heads/master@{#636118}
Showing
Please register or sign in to comment