• Koji Ishii's avatar
    [LayoutNG] Not to fix line-height quirks for negative ascent/descent · c8c3d8e8
    Koji Ishii authored
    This patch changes a test to non-quirks mode, that hits
    not-defined, non-interoperable line-height quirks.
    
    When all characters on a line is above baseline or below
    baseline, by applying e.g., 'vertical-align: 1em' or
    'line-height: 0':
    * Blink/WebKit assumes the baseline is part of line-height,
      except for atomic inlines.
    * Gecko does not include baseline to line-height.
    * Edge always include baseline to line-height.
    * This problem appears only in line-height quirks mode,
      because otherwise we have a strut that includes baseline.
    
    It's not hard to fix this, but does not seem to worth. We can
    revisit if webcompat proves this is necessary.
    
    Bug: 636993
    Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng
    Change-Id: I46fa04beae3f216a9293d029520cff69e8e63656
    Reviewed-on: https://chromium-review.googlesource.com/1065751
    Commit-Queue: Koji Ishii <kojii@chromium.org>
    Reviewed-by: default avatarAleks Totic <atotic@chromium.org>
    Reviewed-by: default avatarMorten Stenshorne <mstensho@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#567954}
    c8c3d8e8
enable-blink-features=LayoutNG 81.7 KB