[LayoutNG] Implement line height from font metrics when elements wraps
When elements wraps, 'line-height: normal' should take used fonts of each line into account, but it was talking used fonts of the element instead. This patch implements this case using the ShapeResult from ShapingLineBreaker. This patch also fixes a case where ShapeResult was not set. BUG=636993 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_layout_ng Change-Id: Idf11e7b4676ec0639aa3ffa94890619502064070 Reviewed-on: https://chromium-review.googlesource.com/572603Reviewed-by:Emil A Eklund <eae@chromium.org> Commit-Queue: Emil A Eklund <eae@chromium.org> Cr-Commit-Position: refs/heads/master@{#487110}
Showing
Please register or sign in to comment