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
30 lines
826 B
HTML
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">−</mo></math>
|
|
<math><mo class="operator">−</mo></math>
|
|
</body>
|
|
</html>
|