wpt / css / css-counter-styles / counter-style-at-rule / descriptor-negative.html

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

/css/css-counter-styles/counter-style-at-rule/descriptor-negative.html

<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS Test: descriptor negative</title>
<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/">
<link rel="help" href="https://drafts.csswg.org/css-counter-styles-3/#counter-style-negative">
<link rel="match" href="descriptor-negative-ref.html">
<link rel="stylesheet" href="support/test-common.css">
<style type="text/css">
  @counter-style a {
    system: extends decimal;
    negative: \207B;
  }
  @counter-style b {
    system: extends decimal;
    negative: '(' ')';
  }
</style>
<ol start="-2" style="list-style-type: a">
  <li><li><li><li><li>
</ol>
<ol start="-2" style="list-style-type: b">
  <li><li><li><li><li>
</ol>

/css/css-counter-styles/counter-style-at-rule/descriptor-negative-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>&#x207B;2.&nbsp;</div>
<div>&#x207B;1.&nbsp;</div>
<div>0.&nbsp;</div>
<div>1.&nbsp;</div>
<div>2.&nbsp;</div>
<!-- list-style-type: b -->
<div>(2).&nbsp;</div>
<div>(1).&nbsp;</div>
<div>0.&nbsp;</div>
<div>1.&nbsp;</div>
<div>2.&nbsp;</div>