wpt / css / css-fonts / font-style-sign-function.html

Status: PASS | Duration: 46ms | Subtests: 1/1 | Open test on wpt.live | wpt.fyi

/css/css-fonts/font-style-sign-function.html

<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Fonts test: font-style with CSS sign() function</title>
<link rel="help" href="https://drafts.csswg.org/css-fonts/#font-style-prop">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/computed-testcommon.js"></script>
<style>
:root {
  font-size: 16px;
}
</style>
<div id="target"></div>
<script>
  test_computed_value("font-style", "oblique calc(sign(1rem - 1px) * 10deg)", "oblique 10deg");
</script>