Commit 88090230 authored by Daniel Holbert's avatar Daniel Holbert Committed by dsmith@mozilla.com
Browse files

Bug 2019272: Remove reftest 1798297-1's "notref" comparison. a=dsmith

This "notref" file relied on a 'palt' font-feature of the "Yu Gothic"
font that's bundled with Windows; and the != comparison is only valid if that
font-feature is present.

And the "palt" font-feature was in fact removed from this font in a recent
Windows upgrade (no longer present as of Yu Gothic version 1.95). So the
notref comparison is no longer valid/meaningful.  So let's just remove this
part of the test.

This test was a regression-test for bug 1798297 which was specifically about
adding a special-case for the "palt" font-feature in this specific font; so
it's not too concerning to be nerfing the test, given that this font-feature is
being removed from this font.

Original Revision: https://phabricator.services.mozilla.com/D285548

Differential Revision: https://phabricator.services.mozilla.com/D297963
parent 6904a6a2
Loading
Loading
Loading
Loading
+0 −17
Original line number Diff line number Diff line
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8" />
<title>Coordination of kern and palt features for CJK kerning</title>
<style>
.test {
  font-family: "Yu Gothic UI";
  font-size: 3em;
  font-feature-settings: "kern" 1, "palt" 1;  /* should render differently from testcase */
}
</style>
<body>
<p>Enabling font-kerning:normal should NOT apply 'palt' for the Yu Gothic UI font</p>
<div class=test>幻塔 イラストコンテスト 開催</div>
</body>
</head>
+0 −1
Original line number Diff line number Diff line
@@ -2133,7 +2133,6 @@ pref(layout.css.prefers-color-scheme.content-override,1) == 1787127.html 1787127
pref(layout.css.prefers-color-scheme.content-override,2) == 1787127.html 1787127-ref.html
== 1792643-1.html 1792643-1-ref.html
skip-if(!winWidget) == 1798297-1.html 1798297-1-ref.html
skip-if(!winWidget) != 1798297-1.html 1798297-1-notref.html
== 1799425-1.html 1799425-1-ref.html
fuzzy-if(winWidget,111-114,572-572) == 1800437-1.html 1800437-1-ref.html
== 1803999-1.html 1803999-1-ref.html