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

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

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

<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS Test: descriptor pad</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-pad">
<link rel="match" href="descriptor-pad-ref.html">
<link rel="stylesheet" href="support/test-common.css">
<style type="text/css">
  @counter-style a {
    system: extends upper-roman;
    range: infinite 5;
    pad: 3 '*';
  }
  @counter-style b {
    system: extends decimal;
    negative: '(' ')';
    pad: 3 '0';
  }
  @counter-style c {
    system: alphabetic;
    symbols: a\0304  a\0301  a\030c  a\0300;
    pad: 3 o;
    suffix: '';
  }
  @counter-style d {
    system: extends decimal;
    pad: '0' 3;
  }
</style>
<ol start="-3" style="list-style-type: a">
  <li><li><li><li><li>
  <li><li><li><li><li>
</ol>
<ol start="-2" style="list-style-type: b">
  <li><li><li><li><li>
</ol>
<ol style="list-style-type: c">
  <li><li>
  <li value="6"><li value="16">
  <li value="27"><li value="70">
</ol>
<ol style="list-style-type: d">
  <li>
</ol>

/css/css-counter-styles/counter-style-at-rule/descriptor-pad-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>-III.&nbsp;</div>
<div>-II.&nbsp;</div>
<div>-*I.&nbsp;</div>
<div>0.&nbsp;</div>
<div>**I.&nbsp;</div>
<div>*II.&nbsp;</div>
<div>III.&nbsp;</div>
<div>*IV.&nbsp;</div>
<div>**V.&nbsp;</div>
<div>6.&nbsp;</div>
<!-- list-style-type: b -->
<div>(2).&nbsp;</div>
<div>(1).&nbsp;</div>
<div>000.&nbsp;</div>
<div>001.&nbsp;</div>
<div>002.&nbsp;</div>
<!-- list-style-type: c -->
<div>ooa&#x0304;</div>
<div>ooa&#x0301;</div>
<div>oa&#x0304;a&#x0301;</div>
<div>oa&#x030c;a&#x0300;</div>
<div>a&#x0304;a&#x0301;a&#x030c;</div>
<div>a&#x0300;a&#x0304;a&#x0301;</div>
<!-- list-style-type: d -->
<div>001.&nbsp;</div>