` if the expression inside `calc()` computes to a valid integer, which is either 2, 3, or 4.">
<meta name="flags" content="dom">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>

<style>
#valid_digits_calc_1_plus_1 {
  text-combine-upright: digits calc(1 + 1);
}

#valid_digits_calc_1_plus_1_plus_1 {
  text-combine-upright: digits calc(1 + 1 + 1);
}

#valid_digits_calc_2_plus_2 {
  text-combine-upright: digits calc(2 + 2);
}

#valid_digits_calc_4_minus