Files
sousa-gecko/testing/web-platform/tests/mathml/presentation-markup/operators/mo-fallback-font-ref.html
T
Ahmad Saleem 66ca1819fb Bug 2049075 [wpt PR 60766] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=316728, a=testonly
Automatic update from web-platform-tests
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=316728 (#60766)
--

wpt-commits: d209eea293ff07e679787eabe4b6cecf8e9d378b
wpt-pr: 60766
2026-06-23 08:18:14 +00:00

30 lines
826 B
HTML

<!DOCTYPE html>
<html class="reftest-wait">
<head>
<meta charset="utf-8">
<title>Operator glyph resolved from a fallback font (reference)</title>
<script src="/mathml/support/fonts.js"></script>
<style>
@font-face {
font-family: hasminus;
src: url("/fonts/GentiumPlus-R.woff"); /* Contains U+2212 MINUS SIGN. */
}
.operator {
font-size: 50px;
/* Render the same minus directly from the font that provides the glyph. */
font-family: hasminus;
}
</style>
<script>
window.addEventListener("load", () => {
loadAllFonts().then(() => document.documentElement.classList.remove("reftest-wait"));
});
</script>
</head>
<body>
<p>Test passes if there are two minus signs below.</p>
<math><mo class="operator">&#x2212;</mo></math>
<math><mo class="operator">&#x2212;</mo></math>
</body>
</html>