[LayoutNG] Fix vertical-align: text-top in quirks mode
When in quirks mode and there are no text siblings; e.g.: <div><img><span>text</span></div> and 'vertical-align: text-top' applied to <img> hits DCHECK failure and results in incorrect position. The test ensures that results are the same with the standard mode. Bug: 901123 Change-Id: I30564c66d5847f09caf3672ba3d456c0eb798d3e Reviewed-on: https://chromium-review.googlesource.com/c/1320529 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by:Emil A Eklund <eae@chromium.org> Cr-Commit-Position: refs/heads/master@{#605965}
Showing
Please register or sign in to comment