wpt / css / css-counter-styles / counter-style-at-rule / system-additive.html

Status: FAIL | Duration: 13ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/css-counter-styles/counter-style-at-rule/system-additive.html

<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS Test: system additive</title>
<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/">
<link rel="help" href="https://drafts.csswg.org/css-counter-styles-3/#additive-system">
<link rel="match" href="system-additive-ref.html">
<link rel="stylesheet" href="support/test-common.css">
<style type="text/css">
  @counter-style a {
    system: additive;
    additive-symbols: 6 \2685, 5 \2684, 4 \2683, 3 \2682, 2 \2681, 1 \2680;
    suffix: "";
  }
  @counter-style b {
    system: additive;
    additive-symbols: 7 \2630, 6 \2631, 5 \2632, 4 \2633, 3 \2634, 2 \2635, 1 \2636, 0 \2637;
    suffix: "";
  }
  @counter-style c {
    system: additive;
    additive-symbols: 3 "a", 2 "b";
  }
  @counter-style d {
    system: additive;
    additive-symbols: 1 \10300;
  }
</style>
<ol start="-2" style="list-style-type: a">
  <li><li><li><li><li>
  <li><li><li><li><li>
  <li value="10"><li><li><li>
  <li value="360"><!-- 60 code points -->
</ol>
<ol start="-2" style="list-style-type: b">
  <li><li><li><li><li>
</ol>
<ol style="list-style-type: c">
  <li><li><li><li><li>
</ol>
<ol style="list-style-type: d">
  <li value="60"><!-- 60 code points -->
</ol>

/css/css-counter-styles/counter-style-at-rule/system-additive-ref.html

<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS Reference: symbols function, invalid</title>
<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/">
<link rel="stylesheet" href="support/ref-common.css">
<!-- list-style-type: a -->
<div>-2</div>
<div>-1</div>
<div>0</div>
<div>&#x2680;</div>
<div>&#x2681;</div>
<div>&#x2682;</div>
<div>&#x2683;</div>
<div>&#x2684;</div>
<div>&#x2685;</div>
<div>&#x2685;&#x2680;</div>
<div>&#x2685;&#x2683;</div>
<div>&#x2685;&#x2684;</div>
<div>&#x2685;&#x2685;</div>
<div>&#x2685;&#x2685;&#x2680;</div>
<div><script type="text/javascript">
  document.write(Array(61).join('&#x2685;'));
</script></div>
<!-- list-style-type: b -->
<div>-2</div>
<div>-1</div>
<div>&#x2637;</div>
<div>&#x2636;</div>
<div>&#x2635;</div>
<!-- list-style-type: c -->
<div>1.&nbsp;</div>
<div>b.&nbsp;</div>
<div>a.&nbsp;</div>
<div>4.&nbsp;</div>
<div>ab.&nbsp;</div>
<!-- list-style-type: d -->
<div><script type="text/javascript">
  document.write(Array(61).join('&#x10300;'));
</script>.&nbsp;</div>