Stablize editing/selection/5232159.html for LayoutNG
The layout test was introduced to verify the ability to select text on certain elements (*). Incidentally, it hit tests the 1px gap between two lines on Linux, which results in different behaviors between legacy and NG due to different line box sizing. This patch explicitly sets font metrics and line-height to stablize its behavior. (*) crrev.com/20a8d9a8 Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng Change-Id: I44918bf049607110572fc479548f3c958770c8ba Reviewed-on: https://chromium-review.googlesource.com/1152216 Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by:Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#578546}
Showing


