gecko-dev/testing/web-platform/tests/css/css-pseudo/first-letter-opacity-float-001-ref.html
Koji Ishii d0dc02e646 Bug 1476821 [wpt PR 12060] - Disable kerning for css/css-pseudo/first-letter-opacity-float-001.html, a=testonly
Automatic update from web-platform-testsDisable kerning for css/css-pseudo/first-letter-opacity-float-001.html

This test has "P" in a float with "ASS" in an inline
formatting context, while its ref has "P" and "ASS" in the
same inline formatting context.

This patch disables kerning to ensure the same rendering.

TBR=eae@chromium.org

Bug: 636993
Cq-Include-Trybots: luci.chromium.try​:linux_layout_tests_layout_ng
Change-Id: Ie36c9bc8885467e1272f4a7ccb936791362cdaea
Reviewed-on: https://chromium-review.googlesource.com/1142049
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#576211}

--

wpt-commits: 73160366b3f95a16226623ad26285cad8c1718ae
wpt-pr: 12060
2018-07-29 18:51:23 +01:00

6 lines
220 B
HTML

<!DOCTYPE html>
<style>
/* Disable kerning because kerning may differ for different node tree. */
html { font-kerning: none; font-feature-settings: "kern" off; }
</style>
<div><span style="opacity:0.5">P</span>ASS</div>